Note: The latest version is v2.3 of the ReCharge connection. If you aren’t sure if you have the latest version, login to your Littledata account.

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’).

New views and filters added by Littledata

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.

  1. One-time orders and first-time subscriptions (Littledata) 
    This view contains one-time orders and first-time subscription orders placed.
    Filters applied:
    a) Exclude recurring orders (Littledata)
    b) Exclude duplicate orders (Littledata)
    c) Exclude prepaid orders (Littledata)
  2. All orders (Littledata) 
    This view contains all orders placed on your store including one-time orders placed, first-time subscriptions, recurring orders, and prepaid orders.
    Filters applied:
    a) Exclude duplicate orders (Littledata)
  3. Raw backup DO NOT EDIT (Littledata)
    As the name suggests, this view is added to maintain a raw backup for your data from the time Littledata’s ReCharge connection was installed. No filters are applied to this view.

One-time order refers to one-off orders that are non-recurring and placed via Shopify checkout (affiliation code: Shopify). While first-time subscription refers to the first time a subscription was placed via ReCharge checkout (affiliation code: Subscription, Subscription First Order). All subsequent orders in that subscription are referred to as recurring orders (affiliation code: Subscription, Subscription Recurring Order).

‘One-time orders and first-time subscriptions (Littledata)’ view

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:

  1. One-time orders (affiliation code: Shopify)
  2. First-time subscriptions (affiliation code: Subscription, Subscription First Order)

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 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.

‘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:

  1. One-time orders (affiliation code: Shopify)
  2. First-time subscriptions (affiliation code: Subscription, Subscription First Order)
  3. Recurring orders (affiliation code: Subscription, Subscription Recurring Order)
  4. Prepaid orders (affiliation code: Prepaid, Subscription, Subscription Recurring Order)

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.

Subscription lifecycle events

Littledata sends complete subscription lifecycle events to Google Analytics (or Segment). This helps you understand subscriber growth and customer behavior in more detail.

find recharge events

The connection automatically adds tracking for the following events:

  • Subscription Created
  • Subscription Cancelled
  • Subscription Updated
  • Order Processed
  • Customer Updated
  • Charge Failed
  • Payment Method Updated
  • Max Retries Reached

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.

Where to find subscriptions in Google Analytics

With the ReCharge connection, you can distinguish between three types of order:

  1. One-time orders (affiliation code: Shopify) standard one-off orders through your Shopify checkout
  2. First-time subscriptions (affiliation code: Subscription, Subscription First Order): first-time subscription orders made via ReCharge
  3. Recurring orders (affiliation code: Subscription, Subscription Recurring Order): recurring subscription orders made via ReCharge
  4. Prepaid orders (affiliation code: Prepaid, Subscription, Subscription Recurring Order) recurring subscription orders made via ReCharge that are paid in advance for a fixed period of time, usually 6 or 12 months.

order tags in affiliation

Learn more about how to segment orders using the ‘Affiliation’ dimension in Google Analytics.

ReCharge Checkout Events

When the end customer starts and progresses through the checkout we send Checkout Step event actions to GA.

  1. Contact Information
  2. Shipping Information
  3. Payment Method

These checkout step events can be segmented by product, SKU, brand etc – along with any other user dimension in GA. You can read more about how we generate the checkout events.

Littledata’s checkout tracking works without the need to Google Tag Manager or other tracking scripts to the ReCharge checkout, simplifying implementation – and reducing the risk that 3rd party script interrupt or intercept the sensitive payment details.

How the ReCharge connection works behind the scenes

Littledata makes a server-side integration between Shopify and Google Analytics. Every time an order is processed on Shopify we link that revenue to the customer session on Google Analytics (as measured by the GA user ID stored in a cookie). To link those two we need to add the customer’s cart token to the notes field; that means notes should not be published to customers, but you can still use it for internal notes.

If our app cannot find a user session associated with the order — for example, when the subscriber signed up before our app started tracking — we add a default client ID. You can still link all these ‘orphan’ user sessions together via the Shopify customer ID dimension.

Learn more