This cross-platform solution is targeted towards environments where customers are using multiple devices. For example, a customer initiates an order on their Android or iOS device in the mobile app, but finish the purchase on their desktop computer using a web browser.
This feature is currently only available upon request. Don’t hesitate to reach out if you’re interested or have any questions.
Create a combined website and mobile project in Smartlook
Implement the Smartlook SDK for relevant platforms
Implement identify method for both web and mobile app
1. Once you have signed up for Smartlook, you can create a new Combined website and mobile project.
2. Implement Smartlook on your website and mobile app.
A combined website and mobile project allows you to use the same project key/SDK key in any of the available Smartlook SDKs. Then, you can collect data from all platforms in a single project.
NOTE: You can find the tracking script and project key in the Project settings of your Smartlook account’s Organization settings.
3. In order for Smartlook to connect a user when they are active on multiple devices, Smartlook relies on the identify method call that is available in all Smartlook SDK versions.
To implement the identify method on a website, you can use:
Please see our Identify visitors in Smartlook article for additional details on implementation and settings.
To implement the identify method on mobile apps, the method varies according to the selected platform/framework. For example, for an iOS app, identification is:
class func setUserIdentifier(_ userIdentifier: String?)
TIP: Switch between frameworks in documentation via the dropdown menu located in the top right corner.
Remember to use the same user ID for both websites and mobile apps. Once implemented, Smartlook groups sessions based on user identification, regardless of the platform.
Creating a cross-platform solution allows you to see a perfect representation of a user journey allowing you to observe their behavior in a single dataset.