FAQ: Shopify to Google Analytics

Frequently asked questions about Littledata's Shopify to Google Analytics connection for Shopify and Shopify Plus stores

Littedata's Shopify to Google Analytics connection is an advanced Google Analytics integration for tracking ecommerce events, including marketing channels and sales data. Here are Frequently Asked Questions about the connection.

chevron-rightIs the connection available in the Shopify app store?hashtag

Yes, you can install Littledata's Shopify to Google Analytics connection directly from the Shopify app storearrow-up-right.

chevron-rightIs Littledata compatible with Shopify Online Store 2.0hashtag

Littledata's tracking script is fully compatible with Online Store 2.0, so you can safely update to OS 2.0.

chevron-rightWhat do I get with the connection?hashtag
  • End-to-end Google Analytics tracking for the shopper journey

  • Accurate sales tracking, including sales and refunds

  • Accurate marketing attribution (say goodbye to large amounts of mysteriously "Direct" traffic)

  • Complete Enhanced Ecommerce data for reporting in GA

  • Meaningful checkout funnels

  • Custom dimensions to calculate customer lifetime value and create custom audiences for retargeting

  • Ability to segment performance in Google Analytics by subscription plan type, and product category

  • Extensible data layer, plus additional connections for tracking Recharge checkout

See the connection overview for more details.

chevron-rightHow is this different from Shopify's default tracking?hashtag

In short, Shopify's native analytics are inaccurate and incomplete, and their basic Google Analytics integration is hardly any better. Littledata uses a combination of client-side and server-side tracking to stitch sessions together and capture everything that happens in your Shopify store, from marketing channels through browsing behavior, repeat purchases, subscriber behavior and refunds. Initial case studies have found a 10x savings on development time and upkeep, not to mention that the data is far more accurate!

chevron-rightWill you make Shopify match GA?hashtag

Yes! 88% of Shopify stores have inaccurate dataarrow-up-right in Google Analytics. There are several possible reasonsarrow-up-right for this, but Littledata fixes most issues automatically.

chevron-rightDo I need to disable Shopify's default Google Analytics tracking?hashtag

Yes. During the install flow, you will be prompted to disable Shopify's native Google Analytics tracking setup. This is an important step to ensure that you don't have double tracking in Google Analytics, and that Littledata's tracking works correctly. Disabling the default tracking will not mess with your historic data, only help to improve your tracking going forward. See how to disable Shopify's default GA trackingarrow-up-right.

chevron-rightCan I set up cross-domain tracking for my Shopify store?hashtag
chevron-rightDo you support multi-currency?hashtag

Yes. If you are selling in multiple currencies with different Shopify stores, Littledata's Shopify to Google Analytics connection makes it easy to track this and convert sales into your shop currency. Read more about multi-currency tracking.

chevron-rightDo you support headless Shopify setups?hashtag

Yes, Littledata provides accurate sales and marketing data for headless ecommercearrow-up-right. This requires manual setup steps. Follow this guide to setting up Littledata for headless Shopify tracking.

chevron-rightDoes the connection work with GTM?hashtag

Littledata’s tracking script for Shopify stores adds detailed events which you can use to build funnels or trigger other marketing tags in Google Tag Manager (GTM). You can use Littledata to replace GTM, or use Littledata with GTM. Our script uses the naming conventions set by Google for gtag. Here is an overview of Littledata's GTM and Google Analytics data layer.

chevron-rightDo you track by Product ID or SKU?hashtag

Shopify has a unique way of tagging and organizing products and variantsarrow-up-right. Littledata enables tracking by SKU, ID and variant in Google Analytics. Learn more about how Littledata handles SKUs, Shopify product IDs and product variants.

chevron-rightHow does the connection fix marketing attribution?hashtag

Google Analytics loses the link between a customer choosing a product, checkout, and payment. Littledata fixes this by linking together the session that the customer had browsing products on your Shopify store with the actual checkout steps and payment. Learn more about marketing attribution.

chevron-rightWho uses Littledata?hashtag

Hundreds of top Shopify merchants around the world use Littledata's smart connections to increase sales and improve ROAS. Read some of our reviews in the Shopify app store, or feel free to contact us for references on Plus plansarrow-up-right.

chevron-rightCan I get this data into my data warehouse?hashtag

If you want raw, row-level data on your customers in a data warehouse you should export data to BigQuery, or our Segment connection.

chevron-rightCan you help track Amazon referrals?hashtag

Yes! Orders from Amazon are now displayed in GA reports as coming from "amazon.com/referral" instead of "direct". This eliminates confusion about an increase in direct traffic share (% of transactions coming from direct) without any increase in direct traffic volume.

chevron-rightWhy do I have to delete Google Property ID from Shopify Admin?hashtag

Once you complete this connection, Littledata will add client-side and server-side tracking to ensure complete tracking in Google Analytics. Deleting the Google Property ID from Shopify Admin simply replaces Shopify’s default tracking with Littledata’s more advanced tracking. This ensures accurate data and protects against duplicate tracking.

chevron-rightWill I lose any data?hashtag

No. The moment you complete this connection, Littledata will add client-side and server-side tracking to your store. You will not lose any data, and you will continue to have access to all of your data in Google Analytics, even if you ever choose to uninstall Littledata

chevron-rightDo all stores have to complete this step?hashtag

Yes. All stores that use Littledata’s Google Analytics must disable Shopify’s native tracker by deleting the Google property ID from Shopify admin.

chevron-rightWhat types of hits will I get in GA4?hashtag

While in Universal Analytics we can split the data into several hit types (page hits, event hits, ecommerce hits, etc.), in GA4 we will find a single hit type: events.

This means that any interaction tracked in GA4 can be translated to an event and there will be no difference between hit types.

chevron-rightWhere are the Views in GA4?hashtag

Whereas Universal Analytics is split into three levels - Account, Property, and View - there is no concept of View in GA4.

GA4 is split in Account and Property levels and the collected data can be analyzed in a Data Stream

This means you can't add view filters or report on only one current or geography. These filters or segments have to be set at the report level.

chevron-rightWhere can I find the Conversions reports in GA4?hashtag

While the ecommerce reports interface isn't quite the same in GA4, you can get similar insights from the Monetizationarrow-up-right reports.

At the same time, you can build your own reports using the Explorations feature.

chevron-rightHow do custom dimensions work in GA4?hashtag

GA4 allows you to create your own custom dimensions which can be either event-scoped or user-scoped (item-scoped dimensions are coming soon).

Currently, custom metrics must always be event-scoped.

There is a limit of 50 event-scoped custom dimensions, 25 user-scoped custom dimensions and 50 custom metrics per property.

However, you can send an unlimited number of events or user properties - these cannot all be reported on in GA4 but can be exported to BigQuery.

chevron-rightDo event category, action, label, value still exist in GA4?hashtag

In GA4 we don't have a fixed structure of an event like in UA, so the category/action/label are no longer present.

In addition to properties that are sent automatically such as page_title, you can have any number of custom properties. While you could name them event_category, event_label etc., you can also name them any way you want.

chevron-rightHow will GA4 work with Recharge?hashtag

Our GA4 connection provides end-to-end tracking for Recharge orders, including first-time subscriptions and ongoing subscriptions (recurring orders), as well as marketing attribution for subscription orders.

chevron-rightDoes Littledata track subscriptions in the Shopify checkout in GA4?hashtag

Yes! We now provide complete GA4 tracking for subscriptions in the Shopify checkout, including Recharge, Smartrr, Skio, Ordergroove, Awtomic, Stay Ai and others.

chevron-rightCan I modify Littledata's events in GA4?hashtag

GA4 offers the possibility to modify or create new events (from existing events) directly in the user interface by going to Configure > Events.

This feature allows you to either:

a) Modify events. This overwrites an existing event. You can add, change, or delete conditions and parameters.

b) Create events. This creates a new event from an existing event. You can copy the existing event's parameters and add new conditions and parameters.

However, you cannot modify server-side events at this time. You can find a complete list of the server-side events sent by Littledata in this article.arrow-up-right

Read morearrow-up-right about how you can modify and create events in GA4.

chevron-rightWhat is gtag.js?hashtag

The Google tag (gtag.js) is a single tag you can add to your website to use a variety of Google products and services. Instead of managing multiple tags for different Google product accounts, you can use the Google tag across your entire website and connect the tag to multiple destinations.

The Google tag uses the gtag.js JavaScript library to send data to Google Analytics. In addition to the Google tag, you can use Google Tag Manager to send data to Google Analytics.

chevron-rightWhy the 'affiliation' custom parameter doesn't mirror Shopify order tags 100%?hashtag

Because the Subscription tags are applied after the order is created. Our order processing is delayed intentionally to wait on those tags to be applied, but sometimes the tags are applied too late, and we've already processed the order - hence some orders might have the tag in Shopify but not sent to GA4. This happens because Shopify restricts recurring apps from creating the order directly with their tags, so an update has to run after the order has been placed.

chevron-rightDoes Littledata replace the need for gtag.js?hashtag

No, Littledata does not replace the need for gtag.js. Littledata's tracking script uses the gtag.js JavaScript library to send its client-side events such as page views, while it is also required to run other Google services such as Optimize or Tag Manager. So while Littledata does not replace the need for gtag.js, we do replace the need for Google Tag Manager (GTM) for many merchants. Read more about our gtag data layer and why Shopify is limiting GTM in the checkoutarrow-up-right for Shopify Plus merchants.

Once Google Analytics 4 extends the capability of sending Device and Geolocation data points server-side, then Littledata's tracking script will be able to be independent from gtag.js.

chevron-rightHow does thresholding work for GA4 reports?hashtag

GA4 will not displayarrow-up-right certain events if the event count is low. In this case you can adjust the time period or create an Exploration report to see all the events and their count.

chevron-rightI've just installed Littledata but I don't see any data in GA4?hashtag

The data processing time in Google Analytics 4 is between 24-48 hours, so after installing Littledata, it will take a few days before you could start seeing data in GA4.

Last updated

Was this helpful?