# Tracking subscription orders in the Shopify checkout

Littledata automatically tracks all major subscription apps on Shopify, making it easy to differentiate one-off purchases from recurring orders and first-time subscription purchases in destinations such as Google Analytics, Google Ads and Meta Ads. Benefits include:

* Marketing attribution for recurring orders
* Enable reporting on [subscriber lifetime value (LTV) by channel](https://help.littledata.io/google-analytics/subscriptions/subscription-revenue-by-channel-in-google-analytics-4)
* Build lookalike audiences for high LTV subscribers
* Block or target current subscribers from marketing campaigns
* Optimize Meta Ads campaigns for new subscription customers by triggering a [First Recurring Purchase](https://github.com/littledata/helpcenter-content/blob/main/posts/how-it-works-shopify-to-meta-conversions-api/README.md#new-customer-vs-returning-customer-conversions) conversion
* Checkout funnel tracking, including [checkout extensibility](https://help.littledata.io/shopify/shopify-checkout-extensibility)
* Send the data back to [Google Analytics (GA4)](https://help.littledata.io/integrations/shopify-to-google-analytics/how-it-works-shopify-to-ga4), Google Ads\[/posts/shopify-to-google-ads], [Meta Ads,](https://help.littledata.io/integrations/facebook-capi/how-it-works-shopify-to-meta-conversions-api) [Segment](https://help.littledata.io/integrations/shopify-to-segment/how-it-works) and more

## Supported Shopify subscription apps

Littledata's automated server-side tracking works with all subscription apps in the Shopify checkout. We can support stores using the following apps to power subscriptions:

* [Recharge](https://help.littledata.io/integrations/recharge/how-it-works-recharge-to-google-analytics-connection)
* [Stay Ai](https://www.littledata.io/shopify/stayai)
* [Ordergroove](https://www.littledata.io/shopify/ordergroove)
* [Smartrr](https://www.littledata.io/shopify/smartrr)
* [Loop Subscriptions](https://www.littledata.io/shopify/loop)
* [Awtomic](https://www.littledata.io/shopify/awtomic)
* Skio
* Bold Subscriptions
* Appstle Subscriptions
* Casa Subscriptions
* PayWhirl
* Prive
* Recurpay
* Upscribe

## Which subscription events do you track?

For subscriptions in the Shopify checkout, Littledata tracks:

* **The checkout funnel**: how users and products progress through the [Shopify checkout steps](https://help.littledata.io/shopify/shopify-checkout-extensibility)
* **First-time subscription orders** which are tagged by the checkout app \*
* **Recurring orders** generated by the terms of the subscription contract

Our app stitches sessions together for unbiased marketing attribution, user path analysis, LTV analysis, CRO and conversion tracking in Google Analytics and other tools. Learn more about how [Littledata works behind the scenes](https://help.littledata.io/integrations/shopify-to-google-analytics/how-it-works-shopify-to-ga4) to ensure 100% accurate conversion tracking and robust marketing attribution without the need for Google Tag Manager (GTM).

For Recharge, we also track [subscription lifecycle events](https://help.littledata.io/integrations/recharge/how-it-works-recharge-to-google-analytics-connection) including subscription skipped, charge failed and subscription updated.

\* Littledata picks up these order tags added up to 20 seconds after the order is created

## Where can I send the data?

### Google Ads and Analytics

Littledata's [GA4 connection](https://help.littledata.io/integrations/shopify-to-google-analytics/how-it-works-shopify-to-ga4) sends browsing behavior, marketing, order, payment, refund and subscription data directly to Google Analytics. You can see complete subscription data directly in GA4 as well as any connected reporting tool (eg. Tydo, Sweet Analytics, Daasity, Looker Studio, Tableau, PowerBI) or Google BigQuery.

Littledata's robust [Google Ads](https://www.littledata.io/shopify/google-ads) integration also enables subscription audience building and retargeting across Google Ads networks, including with [enhanced conversions](https://help.littledata.io/integrations/google-ads/google-ads-how-it-works).

### Meta Ads (Facebook and Instagram)

Littledata's [Meta Conversions API connection](https://help.littledata.io/integrations/facebook-capi/how-it-works-shopify-to-meta-conversions-api) (Meta API) sends checkout steps, LTV, order and subscription data back to Meta for audience building and remarketing in Facebook Ads and Instagram Ads.

### Twilio Segment

Littledata's [Segment connection](https://help.littledata.io/integrations/shopify-to-segment/how-it-works) sends complete subscription data back to your Segment workspace. From there you can connect to data destinations like Mixpanel and Amplitude, engagement platforms like Klaviyo and Braze, and data warehouses like Snowflake.

## How can I see the orders in Google Analytics?

You can see the different order types in Google Analytics 4 by first [creating the Affiliation custom dimension](https://help.littledata.io/integrations/shopify-to-google-analytics/create-affiliation-custom-dimension-ga4) and then using it to create an Exploration report with Affiliation as the main dimension and any combination of metrics (Purchase revenue, Conversions or Sessions).

{% hint style="success" %}
You can use this Affiliation dimension to create a segment of subscription customers. [See our video guide](https://blog.littledata.io/2023/03/15/how-to-create-segments-for-subscription-orders-in-google-analytics-4)
{% endhint %}

The main order types that are included in the Affiliation dimension are:

* **Shopify** - one time purchases
* **Subscription First Order** - the first order that starts a subscription
* **Subscription Recurring Order** - recurring orders

![](https://3956158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QhTbrMraNWciQeDvu1b%2Fuploads%2Fgit-blob-fbbdd4def4b10b6a027652f857c2770840f9e07b%2Fscreenshot-2023-06-15-at-12.19.48.png?alt=media)

The affiliation dimension is a comma-seperated list of order tags passed from the Shopify order. For example, to create a filter for only first orders you would filter by Affiliation **includes** `Subscription First Order`.

## Using Recurring Purchase in Meta Ads

For Meta Conversions API we [send the recurring orders](https://github.com/littledata/helpcenter-content/blob/main/posts/how-it-works-shopify-to-meta-conversions-api/README.md#server-side-events) as a seperate `Recurring Purchase` event, which can be used to retarget only subscription customers - or build lookalike audiences from them.

* **One-time purchase & Subscription First Order** will register as a `Purchase`
* **Subscription Recurring Order** will register as a `Recurring Purchase`
* **Subscription First Order** will register as a `First Recurring Purchase`

## Compatibility with subscription apps

We've tested with all of the apps above, and the tracking of recurring orders works for all apps using the Shopify checkout. Please contact Littledata to check if the app you use is not on that list.

The affiliation dimension depends on order tags set by the checkout app:

* **Subscription First Order** - if an order tag contains the word `First Order`
* **Subscription Recurring Order** - if an order tag contains the word `Recurring Order`

We additionally pass through further tags set by the subscription app - see these app support docs for more order tags:

* [Recharge order tags](https://support.rechargepayments.com/hc/en-us/articles/360008829873-Using-Shopify-order-and-customer-tags#h_bfcabe5d-db08-4f97-bd59-097281451216)
* [Skio order tags](https://integrate.skio.com/skio/extras/subscription-tags)
* [Loop subscription tags](https://help.loopwork.co/article/150-subscription-tags) (you need to opt in to the tags)
* [Prive order tags](https://help.tryprive.com/prive-functionality-in-shopify-admin/order-tagging)
