How to Set Up Shopify Google Analytics for Conversion Tracking: Complete Guide
By Braincuber Team
Published on April 6, 2026
What You'll Learn:
- How to create a Google Analytics account and generate your tracking ID
- How to integrate the Google Analytics Tracking ID in Shopify admin
- How to set up basic eCommerce tracking for revenue and transactions
- How to enable enhanced eCommerce tracking from both Shopify and Google Analytics sides
- How to use User Reports, Acquisition Reports, and Monetization Reports to gain customer insights
- How to troubleshoot common data discrepancies and tracking issues
Shopify conversion tracking, as in any other eCommerce platforms, is crucial to your business growth. There comes a saying: "If you can not measure it, you can not improve it." Even for a super small or a new store, if you do not spend a particular amount of time and effort to track your statistics well, then it would be harder to know the problems and where to improve your store for better revenue. A clever tracking dashboard is like your assistant. It helps you detect which marketing channels have the highest ROI, which product items bring most top revenue, whether your customers love purchasing on weekend nights or not. In this complete tutorial, we will show you how to connect Google Analytics to Shopify (the new Google Analytics - GA4) to better measure your sale performance. This step by step guide will show you exactly how to set up conversion tracking and gain valuable customer insights. Whether you are a beginner or experienced merchant, this beginner guide will show you exactly how to make data-driven decisions for your store.
How To Connect Google Analytics To Shopify
If you are running a Shopify store, understanding how visitors interact with your website is crucial to growing your business. Google Analytics is a powerful tool that helps you track key metrics like traffic, user behavior, and conversions, giving you valuable insights to improve your store performance.
Step 1: Create a Google Analytics Account
Before you add Google Analytics to Shopify, you will need a Google Analytics account. If you do not already have one, follow these steps:
Go to Google Analytics and Start Measuring
Go to analytics.google.com and sign in with your Google account. Click on the Start measuring button to create a new account.
Configure Account and Property Settings
Enter your account name (usually your business name) and configure data-sharing settings. Set up a property by entering your Shopify store name, selecting your time zone, and currency.
Complete Business Details
Complete the business details, including industry category and business size, then click Create. This step generates your Google Analytics tracking ID (starting with "G-"), which is necessary for the next step.
Step 2: Integrate the Google Analytics Tracking ID in Shopify
Now that your Google Analytics for Shopify is set up, the next step is ensuring you make full use of it.
Navigate to Shopify Preferences
Log in to your Shopify admin dashboard. Navigate to Online Store > Preferences. Scroll down to the Google Analytics section.
Install Google and YouTube App
Install the Google and YouTube app from the Shopify App Store. This app helps manage your Google integrations including Analytics.
Paste Tracking ID and Enable Enhanced eCommerce
Paste your Google Analytics Tracking ID (starting with "G-") into the provided field. Check the box for "Enhanced eCommerce" if you plan to use advanced tracking features. Click Save to complete the integration.
At this point, Google Analytics will begin collecting data from your Shopify store. However, there are a few more settings you should configure to ensure accurate tracking.
Step 3: Configure Shopify Preferences for Analytics
To maximize the effectiveness of Google Analytics, it is important to fine-tune your Shopify store settings. Here are some configurations you should check:
Enhanced eCommerce
Track detailed user interactions such as product views, add-to-cart actions, and checkout behavior.
Exclude Referral Spam
Filter out irrelevant traffic from bots or spammy websites to keep your analytics data clean and accurate.
Exclude Internal Traffic
Exclude your own visits and developer traffic from reports to increase the accuracy of traffic indexes.
Setup Shopify Google Analytics Conversion Tracking
By leveraging Shopify features combined with the power of Google Analytics such as enhanced eCommerce tracking, merchants can gain a deeper understanding of customer behavior and optimize their store performance. There are 2 ways to implement Shopify Google Analytics conversion tracking on your store:
| Tracking Type | Best For | What It Tracks |
|---|---|---|
| Basic eCommerce Tracking | Merchants who only want basic revenue and transaction stats | Total revenue, number of transactions, average order value |
| Enhanced eCommerce Tracking | Merchants who want deep customer behavior and interaction insights | Product views, add-to-cart, checkout steps, promotions, refunds |
Setup Basic Conversion Tracking
Go to your Google Analytics admin dashboard. Choose your Account, Property, and View that you want to track. Click on Ecommerce Settings.
Enable Basic eCommerce Tracking
At the first step of Ecommerce Settings, switch "On" to enable eCommerce tracking. Then save your change. You can either use eCommerce tracking now or continue with enhanced conversion tracking.
Setup Enhanced Conversion Tracking
Only after you have finished basic conversion tracking, you can turn on enhanced conversion tracking. To use enhanced conversion tracking, you have to enable it from both Shopify side and Google Analytics side.
Path: Shopify Admin > Sales Channels > Online Store > Preferences
Section: Google Analytics
Action: Check "Use Enhanced Ecommerce" checkbox
Result: Enables detailed product and checkout tracking
Path: GA Admin > Select View > Ecommerce Settings
Step 1: Enable basic eCommerce (already done)
Step 2: Switch "On" for Enhanced Ecommerce Settings
Action: Submit your change
Result: Full enhanced tracking is now active
Congratulations! Google Analytics tracking is now ready to run on your store.
How To Gain Customer Insight With Google Analytics
Now you have successfully hooked your Shopify store to Google Analytics - now is the time you put it to use. When following the developer team in the creation of page builder apps for Shopify stores, one of the most frequently debated topics on the forum was about traffic and sales. The familiar questions are something like "Help!!! Why there are no sales on my Ecommerce Web Site!" So Shopify merchants are asking about the performance of the store and they are not aware where the problem lies. In this section, we will take a look at steps needed to investigate proactively. Not just waiting for someone to come and helps with a store review and solution.
We are all business owners, right? So to grow our business we have to learn more and understand "traffic" and users behavior. Just ask yourself, what do we know about traffic? What does "traffic" mean? And where do we look at the details of website traffic?
Shopify does well with simplifying Google Analytics data and explaining this data via Reports Tab. But you must go to the source of the data and it is Google Analytics dashboard.
User Report: Where Do Customers Come From? Who Are They?
Whether you drive traffic from seeding community forums, Facebook, Instagram, Google ads, email campaigns or just direct traffic from offline campaigns, have a look at the WHO behind the people who visited your online store. Google Analytics User Report provides detailed insights into the demographics and interests of the visitors coming to your Shopify store.
Demographics Path:
User > User Attribute > Demographic detail
What You See:
- Age groups of your visitors
- Gender distribution
- Language preferences
- Full list of countries on your table
Actionable Insight:
If certain countries/regions don't bring conversions,
exclude them from your ad targeting and save budget.
One obvious thing that online store owners often do is targeting too broadly. It is a common mistake when we are not experts and set up Google ads to launch broadly to cover more audiences. The budget might go to countries with the cheap bidding and to get sales we need to raise the Google ads budget. However, that is not the best scenario. So when you get to know the list of countries or regions which do not bring conversions, exclude them from your targeting and save your budget for further experiments.
Acquisition Report: Where Is Your Traffic Coming From?
The Acquisition Report in Google Analytics is crucial for understanding how visitors are finding your Shopify store. This report breaks down your traffic sources, enabling you to evaluate the effectiveness of your digital marketing efforts and identify areas for improvement.
| Traffic Source | What It Shows | Actionable Insight |
|---|---|---|
| Organic Search | Visitors arriving via search engines like Google | If low, refine your SEO strategy. Monitor bounce rate and session duration. |
| Paid Search | Performance of Google Ads and paid campaigns | Track CPC and ROAS. Use UTM parameters to identify top-converting campaigns. |
| Organic Social | Traffic from Facebook, Instagram, Pinterest | If engagement is low, ramp up content strategy or leverage influencer marketing. |
| Referral Traffic | Visitors from other websites, blogs, or app partners | Focus on collaborations that deliver quality traffic. Analyze landing pages. |
If you notice a low conversion rate from organic traffic, it is time to revisit your SEO tactics. Target high-converting keywords and optimize your Shopify store for better user experience. On the other hand, if social media traffic is not converting into sales, it may be worth refining your social media strategy by introducing more targeted promotions or exploring attribution models to better understand the customer journey.
Mobile, Tablet and Desktop Traffic: Which One Drives Sales?
You can find the user device report via User > Tech. From here you can see how your potential customers go about shopping on your store. Check the purchase flow and start with the home page. Try to add the product to the cart then proceed to the checkout page.
Is it easy to discover the product on a mobile device? Is it intuitive to navigate across the whole store from page to page? Combine the data from Acquisition and use Secondary Dimension with filter "Device Category". You will see different pictures between desktop vs mobile user experience. In particular, look at Average Session Duration. On mobile devices, it is just half compared with desktop devices. The user experience is different.
So mobile purchases from year to year matter more and requires individual attention. For example, if you drive the traffic to the landing page the open question will be whether it is well optimized for mobile devices or not. The first thing to do is choose Shopify themes designed with the mindset of "mobile first." The theme performance matters because it will directly affect your daily sales and your Shopify store conversion rate.
Monetization Overview in Google Analytics for Shopify Stores
The Monetization Overview Report in Google Analytics is a key tool for tracking and analyzing the financial performance of your Shopify store. This report provides essential eCommerce metrics that help merchants make informed, data-driven decisions to optimize their store revenue and customer experience.
Revenue Metrics
Total revenue, purchase revenue, and ad revenue, offering insights into the store various income streams.
Customer Metrics
Total purchasers and first-time purchasers, important indicators for customer acquisition and retention strategies.
Order Metrics
Transaction volume and average order value (AOV), helping understand spending per order and guiding pricing strategies.
Product Metrics
Items purchased and items viewed in promotions, providing insights into product performance and marketing effectiveness.
This report also monitors the purchase journey and checkout journey, identifying where potential customers may abandon their carts. By understanding the conversion rates and checkout completion rates, merchants can take action to reduce cart abandonment and improve overall conversion optimization.
Troubleshooting Common Shopify Analytics Issues
Integrating Google Analytics with your Shopify store is vital for tracking key eCommerce metrics, but technical issues can hinder accurate reporting. Here is how to troubleshoot common Google Analytics Shopify setup problems.
Discrepancies Between Shopify and Google Analytics Data
Data discrepancies between Shopify and Google Analytics are common, but here is how to resolve them:
Time Zone Mismatch
Check that both platforms are set to the same time zone. Adjust the time zone in Google Analytics under Admin > View Settings.
Referral Exclusions
Payment processors like PayPal may show up as referral traffic, distorting your data. Add them to the Referral Exclusion List in Google Analytics under Admin > Tracking Info.
Missing Transactions
Transactions may not show up due to errors in your tracking code. Use Google Tag Assistant to ensure the Tracking ID is correctly installed in Shopify under Online Store > Preferences.
Data Not Appearing in Google Analytics
If your Google Analytics is not displaying data, here are some steps to troubleshoot:
Verify Tracking ID
Verify that the Tracking ID in Shopify matches the one in Google Analytics under Admin > Property Settings.
Wait for Data Delays
Be aware that it may take up to 24 hours for data to appear in your reports. This is normal for new integrations.
Check for Ad Blockers
Browser extensions like ad blockers can prevent data collection. Test your store in an incognito window or disable extensions to ensure proper tracking.
E-commerce Tracking Issues
Problems with Enhanced E-commerce Tracking can prevent you from gathering important data. Here is how to fix them:
Enable Enhanced E-commerce on Both Sides
Ensure that Enhanced E-commerce Reporting is enabled in both Google Analytics (under Admin > E-commerce Settings) and Shopify (under Online Store > Preferences).
Check Missing Event Data
If specific events like product views or checkout steps are not being tracked, check your event tracking setup. Use Google Tag Assistant and Google Tag Manager to implement tracking and troubleshoot using its Preview Mode.
Fix Tagging Issues
Incorrect tagging can lead to incomplete data. Implement Google Tag Manager to manage your tracking tags and ensure that your analytics setup is functioning properly.
Pro Tip: Use Google Tag Manager
For advanced tracking setups, consider using Google Tag Manager alongside Google Analytics. It allows you to manage all your tracking tags from one place and makes it easier to add custom events, remarketing tags, and conversion tracking without modifying your store code.
Google Analytics Reports Quick Reference
| Report | Navigation Path | Key Question It Answers |
|---|---|---|
| User Attribute Overview | User > User Attribute > Demographics | Who are my customers? What are their demographics? |
| Acquisition Report | Acquisition > Traffic Acquisition | Where is my traffic coming from? Which channels perform best? |
| Tech Report | User > Tech | Which devices drive the most sales? Desktop vs mobile? |
| Monetization Overview | Monetization > Overview | What is my revenue, AOV, and purchase journey performance? |
| Ecommerce Settings | Admin > Ecommerce Settings | Is enhanced eCommerce tracking enabled and working? |
Frequently Asked Questions
How do I add Google Analytics to Shopify?
Go to Shopify Admin > Online Store > Preferences. Scroll to Google Analytics, paste your GA4 Tracking ID (starting with "G-"), check "Enhanced eCommerce" if needed, and click Save. Also install the Google and YouTube app from the Shopify App Store.
What is the difference between basic and enhanced eCommerce tracking?
Basic tracking only records revenue and transactions. Enhanced tracking captures the full customer journey including product views, add-to-cart actions, checkout steps, promotions, and refunds for deeper behavioral insights.
Why is my Google Analytics data not showing up?
Data can take up to 24 hours to appear. Also verify your Tracking ID matches in both platforms, check that ad blockers are disabled, and ensure enhanced eCommerce is enabled on both Shopify and Google Analytics sides.
Why do Shopify and Google Analytics show different revenue numbers?
Common causes include time zone mismatches, referral traffic from payment processors like PayPal, and ad blockers preventing tracking. Align time zones, add payment processors to the Referral Exclusion List, and test in incognito mode.
How do I track mobile vs desktop conversion rates?
Go to User > Tech in Google Analytics to see device breakdown. Combine with Acquisition data using Secondary Dimension with "Device Category" filter. Look at Average Session Duration and conversion rates per device to identify optimization opportunities.
Need Help with Shopify Analytics Setup?
Our experts can help you configure Google Analytics, set up conversion tracking, and optimize your Shopify store for maximum revenue.
