> For the complete documentation index, see [llms.txt](https://help.littledata.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.littledata.io/google-analytics/behavior/10-ways-the-robust-littledata-shopify-tracking-signal-helps-your-ga4-reporting.md).

# 10 ways Littledata's Shopify tracking improves your GA4 reporting

Littledata sends Shopify events to Google Analytics 4 (GA4) from the server, so checkouts, subscription renewals and refunds all show up in your reports. This page lists ten practical ways to use that data, with links to the detailed guides.

### Why server-side tracking matters for GA4

Browser-only tracking misses a lot. Ad blockers, privacy settings and Shopify's server-side checkout all create gaps. Subscription renewals and refunds happen with no browser session at all.

Littledata fills those gaps by sending [Shopify data to GA4](https://www.littledata.io/shopify/google-analytics) from the server and linking it back to the original visitor.

{% embed url="<https://www.youtube.com/watch?v=O7HJuF5aMkI>" %}

### 1. Customize source/medium for hard-to-attribute orders

Orders often land in GA4 as `(direct) / (none)` or `(not set)`. This happens a lot with server-side checkouts, which are hard to tie back to a marketing touchpoint.

With the **Source and medium customization** setting in the Littledata app, you can set the source/medium for orders based on the **Sales channel**, **Payment gateway** or **Order tag**. For example, you can give orders from an external sales app or a specific payment provider their own source. See [Source/medium customization](https://help.littledata.io/integrations/shopify-to-google-analytics/source-medium-customization-payment-gateway).

### 2. Analyze subscription and recurring revenue

Subscription renewals happen on the server, with no session behind them. Most GA4 setups never see them.

Littledata sends recurring orders to GA4 and marks them with the affiliation `Subscription Recurring Order`. This lets you separate one-off purchases from recurring revenue in GA4 explorations. See [Tracking subscription orders in the Shopify checkout](https://help.littledata.io/sources/shopify/tracking-subscription-orders-in-the-shopify-checkout).

### 3. Attribute first subscription orders

To grow a subscription brand, you need to know what it costs to win a new subscriber. Littledata tells first subscription orders apart from renewals and keeps the original user identifiers (client ID and user ID). GA4 can then credit a customer's first subscription order to the channel that brought them in.

{% embed url="<https://www.youtube.com/watch?v=MOEE7cJOgLo>" %}

### 4. Measure product conversion rates

Site-wide conversion rates can hide weak collections or strong product pages. Littledata sends product details with each ecommerce event, so you can build funnels per product, for example:

* Item list views or item views to add to cart
* Add to cart to purchase
* How many sessions it takes before a viewed product is bought

See [How to measure Shopify product conversion rate in GA4](https://help.littledata.io/google-analytics/conversions/how-to-measure-shopify-product-conversion-rate-in-ga4).

### 5. Compare ROAS across ad channels

GA4 works well with Google Ads, but channels like Meta, TikTok and Pinterest are harder to compare. GA4 can import ad cost from other platforms. Combined with Littledata's revenue data, you can compare return on ad spend (ROAS) across channels in one place. See [Import Meta Ads cost to Google Analytics](https://help.littledata.io/google-analytics/setup/import-meta-ads-cost-ga4).

### 6. Use GA4's data-driven attribution

GA4's data-driven attribution model spreads credit for a purchase across the touchpoints in a customer journey. The more complete your purchase data, the better this works. It helps you see how much upper-funnel campaigns contribute, beyond last-click.

{% embed url="<https://www.youtube.com/watch?v=LyJ0gne1RQc>" %}

In GA4, the standard **Source**, **Medium** and **Campaign** dimensions (without a "session" or "first user" prefix) use the attribution model set for your property.

### 7. Find products that bring high-LTV customers

Some products turn first-time buyers into loyal customers more often than others. By tracking repeat purchases over time, you can find which first-purchase products lead to the highest lifetime value (LTV). You can then promote those products in your ads. See [Which products, if purchased first, bring in the highest LTV customers?](https://help.littledata.io/google-analytics/conversions/first-purchase-products-high-ltv).

### 8. Report on net revenue with refunds

Browser trackers miss what happens after a purchase, like refunds and returns. Littledata listens to Shopify webhooks and sends refunds processed in Shopify to GA4 as `refund` events. This lets you report on net revenue, not just gross sales. See [Refund tracking in Shopify and GA4](https://help.littledata.io/google-analytics/conversions/track-refunds-shopify-ga4).

### 9. Measure the impact of customer reviews

Review apps such as Okendo or Yotpo add social proof, but their effect on revenue is hard to measure. With review interactions tracked as events in GA4, you can compare users who interacted with reviews against those who didn't. Compare revenue per user and conversion rate between the two groups. See [Okendo](https://help.littledata.io/partner-recipes/amplify-okendo-reviews-with-littledata).

### 10. Measure the wider impact of A/B tests

A/B testing tools such as Shoplift or Intelligems change what shoppers see on your store. To understand the full effect, you need more than the test's own conversion rate.

{% embed url="<https://www.youtube.com/watch?v=p-X_L7vm-Ts>" %}

When the testing tool sends experiment variants to GA4 (for example as `exp_variant_string`), you can build segments for each variant. You can then compare average order value (AOV), engagement and retention, with purchases tracked by Littledata. See [How to analyze a Shoplift A/B test in Google Analytics](https://help.littledata.io/partner-recipes/shoplift/shoplift-ab-test-success-with-ga4).

### Related articles

* [Source/medium customization](https://help.littledata.io/integrations/shopify-to-google-analytics/source-medium-customization-payment-gateway)
* [Tracking subscription orders in the Shopify checkout](https://help.littledata.io/sources/shopify/tracking-subscription-orders-in-the-shopify-checkout)
* [Refund tracking in Shopify and GA4](https://help.littledata.io/google-analytics/conversions/track-refunds-shopify-ga4)
* [GA4 Explorations: complete guide for ecommerce growth](https://help.littledata.io/google-analytics/behavior/ga4-explorations-complete-guide-for-ecommerce-growth)
