This is a guide to how Littledata’s ReCharge connection works with your Google Analytics (GA) setup. We look at how to use Littledata’s views and filters in your GA account, which subscription lifecycle events you can track, and how the integration works behind the scenes.
Tip: For information on sending ReCharge data to your Segment workspace, see the Shopify to Segment guide (under ‘Subscription events’).
Littledata makes it easy and convenient to do ReCharge subscription analysis in Google Analytics by setting up dedicated views for subscription orders placed via ReCharge checkout. Let’s take a deep dive into the views that are created once you successfully install Littledata’s ReCharge to GA connection.
One-time order refers to one-off orders that are non-recurring and placed via Shopify checkout (affiliate code: Shopify). While first-time subscription refers to the first time a subscription was placed via ReCharge checkout (affiliate code: Subscription, Subscription First Order). All subsequent orders in that subscription are referred to as recurring orders (affiliate code: Subscription, Subscription Recurring Order).
For subscription analysis, it is helpful to distinguish one-time orders and first-time subscription orders from recurring orders. As the name suggests, this view contains the following orders:
This separation enables stores to easily calculate Customer Acquisition Cost (CAC) on one-time orders and first-time subscriptions. Further, for all the subscriptions that started after you installed Littledata’s ReCharge connection, you can group them by the subscriber (Shopify customer ID) or by marketing channel or campaign for insightful Return on Investment (ROI) calculations.
Note: ROI calculations on this view will not take into account the recurring orders. For a longer-term ROI calculation, you can use the ‘All orders (Littledata)’ view.
There are times when you want to look at just the revenue from new subscriptions and times when you want to look at the full history of payments from subscribers.
When you activate the ReCharge to Google Analytics connection, Littledata creates a new view in your connected Google Analytics property to track all orders including:
You can group those payments by subscriber (Shopify customer ID) and, for all subscriptions that started after you installed the Littledata app, by the marketing channel or campaign which caused them to start subscribing.
Littledata sends complete subscription lifecycle events to Google Analytics (or Segment). This helps you understand subscriber growth and customer behavior in more detail.
The connection automatically adds tracking for the following events:
Read the full guide to tracking subscription lifecycle events in Google Analytics with Littledata. The guide includes details about event naming conventions in Segment and Google Analytics.
With the ReCharge connection, you can distinguish between three types of order:
Learn more about how to segment orders using the ‘Affiliation’ dimension in Google Analytics.
These events work for both the ReCharge checkout and Shopify’s unified checkout. Read more about unified checkout steps.
When the end customer starts and progresses through the checkout we send Checkout Step event actions to GA, with the following event labels.
These checkout step events contain all the product data, and can be segmented by product, SKU, brand etc – along with any other user dimension in GA.
Littledata’s checkout tracking works without the need to add Google Tag Manager or other tracking scripts to the ReCharge checkout. This simplifies implementation and reduces the risk that 3rd party scripts will interrupt or intercept sensitive payment details or other data.
Littledata makes a server-side integration between Shopify and Google Analytics. Every time an order is processed on Shopify, Littledata links that revenue to the user in Google Analytics (as stored in the
_ga cookie). To link orders to users, Littledata needs to add the customer’s client ID to the note attributes of the order; that will appear in your Shopify admin, but is not visible to customers.
If our app cannot find a user session associated with the order — for example, when the subscriber signed up before you installed Littledata’s tracking — we add a default client ID. You can still link all these ‘orphan’ user sessions together via the
Shopify customer ID dimension.