A SiteSpect Campaign that is enabled for OmniChannel can provide a consistent experience across your website and your mobile app. This works when both the website and the application pass the same OmniChannel cookie for the same visitor. You must select Engine API from the Enable for Engine API drop-down on the Advanced Settings page for the web Campaign. This allows you to leverage the web Campaign in the mobile app and as a result, the same Campaign is used for both the web and the native app. If the web and app pass the same OmniChannel cookie, the visitor is assigned to the same Variation Group and has a consistent experience across devices.
To learn how to pass a custom cookie inside a native application, refer to the Engine API documentation on our developer's portal.
The following are general steps for implementing OmniChannel for web and app:
- Enable OmniChannel for the Site, select OmniChannel Override (optional), and give the OmniChannel Cookie a name if you prefer. It is named SSOC by default.
- Use the Campaign Builder to create a Campaign. Within that Campaign, select Enable OmniChannel and select Engine API from the Enable for Engine API drop-down on the Advanced Settings page for the web Campaign.
- On your website, when a visitor logs in, set the OmniChannel cookie to a unique identifier for each visitor (for example: SSOC=123).
- In your app, on the authentication page, set the cookie and re-request assignment (only if you have selected OmniChannel Override).
As a result, the visitor to the app and web is assigned to the same Variation Group of the Campaign and has a consistent experience.