SDK migration from existing Engagement tracking

👍

Data hub rollout

Data hub provides new unified API integration methods for sending data to multiple Bloomreach products. Access is being rolled out in phases. For new implementations, we recommend using Data hub where available. Existing product-specific integrations remain fully supported for Engagement, Discovery, and Clarity.

Intro

This guide instructs in the steps necessary to migrate an existing setup.

Migrating from existing Engagement tracking

If you are migrating from an existing Engagement project and your existing tracking is already using exponea, then you should create an exponea alias for the new brweb snippet.

Normally, weblayers in migrating projects are also configured to use exponea and you can use a backwards-compatible alias to allow the old code to function.

For backwards compatibility, create an alias for brweb early in your JavaScript code, insert it right after your snippet and before calling the start() method:

...
}); // new snippet ends here
window.exponea = brweb; // create alias for backwards compatibility
exponea.start();