Littledata will stop using Liquid files to add the tracking script on your store. The script will be inserted through an API provided by Shopify.
This means the Littledata tracking script will not be affected by any theme changes done on your store; the tracker is reliably added via API without any dependencies on the theme files.
In order to see the tracking script you need to follow these steps:
Click on the dropdown to open the cloudfront folder:
The middleware tracking script is hosted in an Amazon S3 bucket and it is globally distributed on Amazon Cloudfront
There are 2 components in this Cloudfront folder.
The change is ongoing at the moment of writing this article; we will be migrating customers gradually to the new tracking script.
If your store has the old script, you would see the Littledatalayer.liquid file in your theme files (under Snippets).
With the new setup, this file is deprecated.
Check the “Where can I see my tracking script?” section for more information on where you can find the new tracking script.
Please reach out to our support team at email@example.com for assistance.
All of our customers have been migrated to the new script and the old Littledatalayer was deprecated.
If your store was migrated to the new script but you still have the old script running, you will have to delete the old script manually. In order to do this, access your Shopify Themes and search for Littledatalayer.liquid and delete the file. This will leave you with the new script only.
When installing Littledata, make sure to follow the steps to disable Shopify's default Google Analytics tracking as highlighted in this article.
Additionally, make sure to check for GTM tags (if applicable) that might send events already handled by Littledata to the same GA4 property as the Littledata tracker, and pause the tags as needed.
Furthermore, there are two Universal Analytics checks you should consider as these might sometimes interfere with your GA4 tracking: