Skip to main content
Version: 1.x

How it Works: Recharge to Google Analytics connection

shopify to google analytics

This is a guide to how Littledata's Recharge connection works with your Google Analytics setup. We look at which subscription events you can track, how to use Littledata's views and filters in your Google Analytics account, 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").

Tracking subscription orders

In addition to the one-off orders tracked automatically by Littledata's Shopify connection, our Recharge connection tracks different types of subscription orders, including first-time subscription orders, recurring orders, and prepaid subscriptions. This helps with both marketing analysis (seeing where subscribers come from) and LTV analysis (seeing where your best subscribers come from, and how their subscriptions evolve over time).

We automatically sets the order affiliation in Google Analytics for all orders coming from Recharge as follows:

  1. First time subscription orders are tagged as Subscription First Order *
  2. Recurring orders generated by the terms of the subscription contract are tagged as Subscription Recurring Order
  3. Prepaid recurring orders generated by the terms of the subscription contract are tagged as Subscription Prepaid Order

* For subscriptions in the Shopify checkout, this affiliation is only added once you have authorized Littledata's app to access Recharge.

In Google Analytics you'll need to create an event-scope custom dimension for the affiliation property to use this in segments or reports.

adding affiliation dimension

Subscription lifecycle events

Littledata sends subscription lifecycle events to Google Analytics and Segment destination.

We automatically tie these events back to the original customer web session. This means that you can retarget customers in Google Ads whose payments have reached the maximum number of retries, or see how many cancelations came after users clicked on an Instagram Ad.

find recharge events in GA

The following events are tracked by default:

EventGoogle Analytics event
Subscription Createdsubscription_created
Subscription Cancelledsubscription_cancelled
Subscription Updatedsubscription_updated
Subscription Skippedsubscription_skipped
Subscription Charge Failedsubscription_charge_failed

Where to find subscriptions in Google Analytics

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

  1. One-time orders (affiliate code: Shopify) standard one-off orders through your Shopify checkout
  2. First-time subscriptions (affiliate code: Subscription, Subscription First Order): first-time subscription orders made via Recharge
  3. Recurring orders (affiliate code: Subscription, Subscription Recurring Order): recurring subscription orders made via Recharge
  4. Prepaid orders (affiliate 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.

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

Learn more