For most Shopify stores, the Littledata app automatically adds our code snippet and tracking script to your shop’s template. You should update this snippet manually if you have the Shopify theme under source control.
If you want to run this update, but do not see the COPY SNIPPET notification in the app, then please contact our support team
LittledataLayer.liquid
, or create a new snippet of that name.</head>
tag.<!-- Start of Littledata - Fix Google Analytics Script -->
{% include 'LittledataLayer' %}
<!-- End of Littledata - Fix Google Analytics Script -->
The snippet above generates a LittledataLayer
window-scope variable, which is uses by Littledata's app to customize the behavior of the tracking script.
LittledataLayer = {
// settings go here
};
See the full list of data pipeline settings you can change in the app.