Shopify

Attribution for Shopify Stores

Shopify

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.

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.

  1. In your Shopify admin, go to Online Store and click Edit theme on your current theme.
  2. Click App embeds in the theme editor sidebar and turn on Attribution Analytics.
  3. 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.