Custom Integrations
Shoplift makes it easy to enhance your analytics capabilities by providing direct access to visitor data and test participation through our JavaScript API.
Using the getVisitorData()
method, you can seamlessly integrate Shoplift’s data into your analytics tools to create enriched, visitor-specific insights.
Use case overview
With Shoplift’s getVisitorData()
method, you can send details about the current visitor and their participation in A/B tests to your preferred analytics platform. This allows you to:
Segment your analytics data by test participation or variant assignment.
Measure test impact beyond conversions tracked within Shoplift.
Build personalized experiences informed by analytics.
See the getVisitorDatareference to learn more.
Troubleshooting
If you experience issues with this integration:
Verify that the Shoplift script is loaded on the page.
Ensure that
getVisitorData()
is being called after the Shoplift script has initialized.Check your analytics platform’s API for any errors or rejected payloads.
Last updated