Littledata v11 tracking script

Updated on 2023-09-26

What is changing? 

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.

Benefits of the new tracking script

  • Compatible with the latest Shopify themes
  • No need for us to edit the theme files
  • If you decide to uninstall, every Littledata related script is automatically cleared/wiped from your store.
  • Settings are bundled in with the script, to reduce external dependencies
  • An overall slight increase in marketing attribution. 

Where can I see my tracking script?

In order to see the tracking script you need to follow these steps:

  • After you have finished connecting Littledata, access the homepage of your Shopify store.
  • Open up the browser console and go to the Sources tab:

Click on the dropdown to open the cloudfront folder:

  • Then open the folder starting with shops/:

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.

  • shops/5tRowcCkB6T3QGtms - this is the folder where the middleware script is hosted (colibrius-m).
  • colibrius-g, colibrius-p, colibrius-t, which are the tracking scripts; in this case, the store has only the Google Analytics, TikTok and Pinterest connections. Each connection has its own separate tracking script, invoked by the above mentioned colibrius-m.

When is the change happening? 

The change is ongoing at the moment of writing this article; we will be migrating customers gradually to the new tracking script.

How would I know if I am on an old vs. new setup?

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. 

What if my store is on a manual setup? How would the migration be handled?

Please reach out to our support team at help@littledata.io for assistance.