When you use Littledata’s CartHook and Shopify connections, our app audits your Google Analytics setup and applies an improved tracking script to your Shopify store.

The marketing attribution of orders through CartHook frequently goes wrong with CartHook’s basic Google Analytics integration. When customers are referred to the CartHook checkout the original source of the customer is often lost. Littledata has worked with CartHook to solve this problem.

This works in conjunction with our Shopify app – you can find the full list of improvements here.

What happens behind the scenes?

Littledata makes a server-side integration between Shopify, CartHook and Google Analytics. Every time an order is processed on Shopify from CartHook we link that order to the pre-checkout session in Google Analytics.

To link those two we add a script to the checkout pages to stitch the GA Client ID and CartHook session ID to the Shopify order for correct attribution.

Setup guide

First, install CartHook and Littledata apps for your Shopify store, then follow these steps to activate the CartHook connection.