Shopify
Attribution for Shopify Stores

Attribution offers a seamless integration with Shopify that automatically tracks pageviews, website interactions, and order events—no coding required. Storefront pageviews and interactions are collected by Shopify's Web Pixel, so nothing is added to your theme code.
- If you're an existing customer, simply go to Settings → Conversion Integrations → Shopify and connect your store.
- New to Attribution? Get started by installing our app ATB: Attribution Reports from the Shopify App Store.
- Segment customer? You can also install our CDP Connector for Segment to send the same events directly to your Segment Source—no need to worry about identity resolution or order matching. For more information please check Shopify CDP Connector Usage.
This integration supports advanced event tracking from both the Shopify Storefront and Admin APIs, enabling high-fidelity data collection for reporting and analysis. For a complete breakdown of supported events, refer to the Shopify CDP Connector Events Spec.
Enable the Attribution Analytics app embed
After connecting your store, turn on the Attribution Analytics app embed in your theme. It saves the visitor's ID on the cart, so the order can be tied to the visits that led to it. Without it, an order is matched only through the customer's Shopify account: shoppers recognized on an earlier visit, for example because they logged in, are still matched, but most guest checkouts are not and show up in Unknown Source.
- In your Shopify admin, go to Online Store and click Edit theme on your current theme.
- Click App embeds in the theme editor sidebar and turn on Attribution Analytics.
- Click Save.
The app embed is enabled per theme, so turn it on again whenever you publish a different theme. If the Shopify integration page in Attribution shows Missing Cart UI Extension, its click to install link opens this setting directly.
Note!
If you are using any non-Shopify pages these may not be automatically tracked! You may need to use the cross-domain snippet instead or manual install to track these pages. Please contact [email protected] if you have questions.
Updated 23 days ago
