Shopify Google Ads Conversion Tracking (2024 Setup Guide)

Shopify Google Ads Conversion Tracking Thumbnail

On this page

When it comes to Google Ads, conversion tracking plays a crucial role in deciding the effectiveness of any ad campaign. Yet, many marketers find themselves grappling with the challenge of setting up a seamless conversion tracking system, particularly when it comes to integrating it with Shopify.

So, in this comprehensive guide, we’ll go over what Google Ads conversion tracking is, why we should add Google conversion tracking to Shopify, and provide you with a step-by-step guide to make it happen. We won’t keep you waiting any longer, let’s get started! 

What is Google Ads conversion tracking?

So, before we dive further into anything else, let’s get these questions out of the way: What exactly is Google Ads conversion tracking?

Basically, Google Ads conversion tracking is a tool that shows you the actions customers take after interacting with your ads. Here’s how it works:

You define a conversion event in Google Ads, such as making a purchase or clicking on an ad. Google provides a tracking code that records when users complete this action on your website. Then, this data is sent back to Google and becomes accessible in your Google Ads account, helping you identify the most effective ads.

Why we should add Google Ads conversion tracking to Shopify?

Since Shopify is one of the world’s leading e-commerce platforms, there is a pressing need to intergrate Google Ads conversion tracking into Shopify stores. This will allow businesses to track their users interactions with their Shopify stores, particularly those resulting from Google Ads campaigns. So now, let’s look deeper into the benefits you can get:

  • In-depth conversion insights: By linking Google Ads with Shopify, you gain access to valuable data on how many conversions your ads are generating, along with the generated revenue. This granular data, available at the campaign, ad group, or ad level, allows you to understand your campaign’s effectiveness in real-time.
Check conversion
  • Strategic bid adjustments: With detailed conversion data, you can fine-tune your bidding strategies. For instance, with manual CPC bidding, you can adjust bids for high-performing keywords and reduce or pause those underperforming. Automated bidding strategies, like Target CPA or Target ROAS, leverage this conversion data to optimize bids automatically, aiming to maximize conversions or return on ad spend.
  • Keyword and ad optimization: Conversion tracking helps identify which keywords and ads drive the most conversions. With this data, you can prioritize high-converting keywords and optimize ad copy, leading to improved campaign performance and higher ROI.

How to set up Google Ads conversion tracking in Shopify?

In term of how to set up Google Ads conversion tracking on Shopify, there are two main ways to go about this: Use the Google & YouTube app or Input the code (Google Tag) on your Shopify site manually. So, in the next section of this blog post, we’ll go over the details of both methods. 

Method 1: Use the Google & Youtube app

The Google & Youtube app is an application available on the Shopify app store. It’s mainly for Shopify merchants to sync their products to Google Merchant Center. What’s interesting is that if you are using Shopify’s Google & Youtube app, the channel will automatically add conversion tracking to your Google Ads account

So, besides having to have a Shopify store, businesses will also need to have a Google Merchant Center account. We recommend creating one if you haven’t already, as it is completely free of charge and only takes a few seconds to make.

Moving on to the next order of business, check if you can satisfy all the Shopify requirements to use the Google & Youtube channel. Make sure that your store checks all the boxes before setting up your account. You’ll also be required to have a Google Merchant Account. The process is really simple and will only take a few seconds to set up. : 

Step 1: Go to Shopify Appstore and install the Google & YouTube app

Install the Google & Youtube app on Shopify appstore

Step 2: On the next screen, click on Connect Google Account and choose one from your account list. 

Connect Google account

Step 3: In case you have not finished all the requirements stated in the beginning, you’ll see a checkbox listing them before you can set up the sync. 

Checklist before sync

Step 4: Connect your Shopify store to your Google Merchant Account by clicking the Connect button. 

Connect Google Merchant Center account

Step 4: Add your product feed settings by selecting your target country, language and shipping settings

Add product feed settings

Step 5: Accept the terms & conditions to complete the setup. 

And that’s all. Please note that you might have to wait a few hours before you see any action. Other than that, you’re done! 

Method 2: Set up Google Ads conversion tracking manually by using Google Tag

This option is undoubtedly more complicated, as you’ll have to set up the conversion tracking yourself. The many steps include creating a conversion action, installing the Google tag then adding the event snippet to the web pages you want to track. The process can be quite painstaking, so we suggest you get some help from an expert or developer while setting it up. Now, let’s get right to it!

Step 1: Create a conversion action in Google Ads

Access your Google Ads account. There, head to Goals > Conversions

Select conversions

Once there, click on add New conversion action at the top of the page.  

Add new conversion action

Here, you can choose the kind of conversion you want to track. In this case, we want to track on our Website

Track conversions on Website

Then, input your website URL into the box for scanning purposes. 

Input website's URL

Scroll down to the bottom of the page to the Create conversion actions manually using code box. Click on Add a conversion action manually to start setting it up. 

Create conversion actions manually using code

A Conversion action details will pop up. Choose the options for the event details. Here, for Goal and action optimization, we’ll go with Purchase. Fill in other details as per your preference. However, make sure to choose the Use different values for each conversion option for Value to include all the products you’re selling. Hit Done to save your conversion action. 

Set conversion action details

Step 2: Add Google Tag to your Shopify store

Once you finished all the steps above, an event snippet for the conversion action you just set up should be available. Click on Set up to get the Google Tag and install it on your website.

Copy Google tag

After getting your Google tag, It’s time to head back to your Shopify store. Navigate to Online Store > Themes. Edit your themes by clicking on the three-dot button and hit Edit Code

Edit code in Shopify theme

Here, navigate to the left-hand side menu and open theme.liquid file under Layout. Add your Google Tag code after the <head> element. The code should look something like this, starting with <!– Google tag (gtag.js) –> and ending with </script>. Once you’ve got it, remember to click Save

Paste your gg tag

Step 3: Add the event snippet to Shopify

Go back to Google Ads Manager. Move on to the Get instructions and finish page. Click on See event snippet. 

See event snippet

Select the Page load option and copy your event snippet. 

Copy event snippet

Go back to your Shopify admin page. Navigate to the end of the page and go to Settings.

Once there, go to Checkout. Next, scroll down to Order status page, paste the Google Tag code first in the Additional scripts box. Then, paste the event snippet. 

Additional scripts

A little note for you:

Google Ads might record a conversion twice if a customer reloads the Checkout page. To avoid this, add the tag code before and after the event snippet in Additional scripts (so it only triggers once per customer)

  • Paste this line {% if first_time_accessed %} right above the event snippet code.
  • Paste this line {% endif %} right below the event snippet code. 
  • In the event snippet, the default currency is USD. If you sell in other other currencies, replace ‘USD’ with ‘{{ currency }}’.
  • To record different orders, find  ‘transaction_id‘. Right next to it, replace the black with ‘{{ order_number  }}’
  • In case your store sell items at different price points, navigate to ‘value’ and replace it with one of these snippets: ‘value’: {{ checkout.subtotal_price | divided_by: 100.0 }} (exclude tax & shipping) OR ‘value’: {{ checkout.total_price | divided_by: 100.0 }} (include tax & shipping)
  • Remember to hit Save to save your edit. 

After a few hours, you can also test the conversion actions to see if they’re working properly. The easiest way is to actually purchase one of your products by yourself and see if Google Ads records the conversion action. 

If you’re feeling a bit lost in these tutorials, no need to worry! We’re here to provide you with a visual solution to guide you through. Take a look at our step-by-step video guidance, where we show you how to set up and track data from your Shopify store using Google Ads conversion tracking. In just under 10 minutes, you’ll have Google Ads Conversion tracking all set up and be ready to tackle it on your own!

Some common errors with Google Ads conversion tracking 

Kudos on getting your Google Ads conversion tracking up and running! You should start to see some data coming in. But, if you haven’t seen anything yet, don’t fret just now. We’ve got you covered. Take a look below, where we’ve outlined some of the typical errors that could lead to your Shopify Google Ads conversion tracking not working

No conversion data

If there’s no conversion data recorded, then it’s likely that something has gone wrong in the conversion tracking set up. In this case, simply use Google’s Tag Assistant tool to double check your implementation. 

Google Tag assitant

All you have to do is type in your domain and hit Connect. Then, take the action you want to test (eg: make a purchase). Then, you’ll know if the conversions are still functioning or not. 

Incorrect or lost conversion value 

If you set up Google Ads conversion tracking in Shopify manually, then chances are it might be prone to errors. So, in case you notice and lost or incorrect value, revisit your tracking code and double-check the values like currency or transaction_id. For the currency value, you can change it manually to whichever currency you prefer (eg: ‘EUR’ or ‘JPY’) or use the currency set in your Shopify account by using ‘{{ currency }}’. Meanwhile, for transaction_id, remember to set the value to ‘{{ order_id  }}’ to record the purchases made on your site. 

Explore a Google Ads conversion tracking alternative 

Google Ads conversion tracking is undeniably valuable for monitoring user behavior and assessing your Shopify store’s performance. However, the setup can be quite burdensome and time-consuming, especially if you’re not well-versed in coding or Google Tag Manager.

However, there’s a more efficient and user-friendly alternative – harnessing marketing attribution software like NestAds. With NestAds, you can wave goodbye to the complexities of a lengthy setup process, as it seamlessly integrates with Shopify.

What’s more, NestAds operates on a multi-touch data-driven attribution model, offering a flexible look-back window of up to 90 days. This extended window empowers businesses to delve deeper into past performance trends, facilitating more informed decision-making. The excitement doesn’t stop there. NestAds is also able to centralize data from various platforms into a unified dashboard, simplifying the monitoring of cross-channel performance for businesses.

Given all these benefits, it seems like a no-brainer to position NestAds as one of the most compelling alternatives to Google Ads conversion tracking. So, why wait any longer? Level up your Shopify conversion tracking with NestAds today!

Just For You

NestWidget 1.1: Upgrade Shoppable Feed with Instagram UGC & Media Curation

Committed to enhancing the user experience and continuous improvement, we’re excited to unveil some thrilling updates for NestWidget that promise to elevate your experience to a whole new level. With NestWidget ...

10 min

Google Ads Not Spending: 8 Common Reasons & How to Solve

Have you ever encountered a scenario where your budget not spending on Google Ads, leaving you wondering? This situation is quite common among advertisers and can be frustrating. This article ...

10 min

Yakkyofy x NestScale Partnership: Boost Your E-Commerce Sales

Welcome back, our valued customers! We are thrilled to introduce the new partnership between Yakkyofy and NestScale, offering innovative solutions to succeed in your e-commerce endeavors. Stay tuned as we reveal ...

10 min
Ready to unlock your business growth today?

Accelerate your growth with a purpose-built app ecosystem for brands and agencies.