App embed blocks are customizable components provided by apps that can be embedded into the Shopify theme.
They allow apps to inject functionality directly into the theme without requiring manual code changes. Littledata needs this functionality to load tracking scripts
If you installed Littledata before June 2024, you'll be prompted to add our app embed when you login.
Littledata updated our tracking script to use an app embed in June 2024.
This is an improvement on the previous script-tag implementation
Seamless integration
Improved loading speed
Optimized loading ensures better performance compared to script tags.
Using app embeds, the script is loaded faster not needing to wait for other assets in the theme code.
In our tests using average internet speed, results state that the app embed has reduced the loading time of the trackers by ~94%.
Improved security
In our dashboard, you can notice one of the three different states of our tracking script:
Tracking script detected
Litteldata's app embed is enabled; no action needed.
New tracking script available
We've noticed that your store is on an older version of the tracking script; click "Update now" and follow the guide on how to enable Littledata's app embed.
Missing tracking script
We've detected that Littledata's app embed is disabled; click "Fix this" and follow the guide on how to re-enable Littledata's app embed.
Go to your store's source code and look for littledata-revenue-tracking/blocks/LittledataLayer.
Our script should be displayed there, if not make sure you've followed the installation steps precisely.
If you have the Segment app installed, in the store's source code look for segment/blocks/LittledataLayer