PersonalizationService
The PersonalizationService service is used handle the interactions with the external systems. It can be extended and overridden if needed. A normal project shouldn't need to provide its own service and achieve all customizations through custom Personalization provider.
import { PersonalizationService } from '@archibald/personalization';
The PersonalizationService is registered under the hood through the PersonalizationModule.
await this.registerModules([
new PersonalizationModule({ provider: new GrowthBokProvider({ config: CONFIG }) })
]);
It then connects to the configured Provider and forwards all function calls to it.