Littledata’s new V8 tracking script is a major upgrade in terms of data accuracy, page speed, and versatility. Aimed at any Shopify or Shopify Plus store that wants accurate data in Segment or Google Analytics, the new script will supercharge your tracking.
But as with any new tech, there are some limitations to know about. Our dev team is currently working to address the following issues.
1. Shopify webhook de-duplication
De-duplication ensures that only one webhook is generated per 10-second window of time, even if multiple update actions occur within that window. The webhook that is issued after 10 seconds contains the most up-to-date payload, as per Shopify.
Example: if a product is created and then updated multiple times within a 10-second timeframe, only two webhooks are generated.
The first webhook reports the webhook create event, and the second webhook reports the latest state of the object after ten seconds.
2. LittledataLayer tracks maximum 50 products impressions
LittledataLayer can only hold the impressions of a maximum number 50 products. This is caused by the fact that Shopify limits their total collection products to 50 and there is no consistent way of returning the shop’s total number of products.
3. Cart initialisation only on script load
Our server side tracking initialises the cart and stores all of the changes for 60 minutes. If the user leaves the session and reinitialises it after the 60 minute mark, our servers will be able to detect the initial cart and apply all new updates to it.
This will not work if the user does not reinitialise (refresh) the session.
Example: if a user keeps the session open for more than 60 minutes without updating the cart and does not refresh the session, all past updates to the cart will be seen as a different cart.
4. First product variant impression
Client-side events such as view_item will have by default the details of the first variant of the product, even if there is other or more variants selected by default. Fortunately, this will not affect any server-side events like Add to cart, Remove from cart and Transaction, as they will have the right variants of the selected products.
The v8 script is currently in beta release. If you’re interested in trying it out for your Shopify store, shoot us a note at email@example.com.