Close this search box.

How to Set Up Google Ads Enhanced Conversions with GTM

Last Modified on June 29, 2023

Do you want to receive more accurate conversion data and use it for targeted ads?

You can set up Google Ads enhanced conversions with Google Tag Manager using a conversion tag. This will help you to optimize the conversion tracking of your campaigns.

GTM For Beginners

Sign up to the FREE GTM for Beginners Course...

In this guide, we’ll learn how to implement Enhanced Conversion Tracking with the help of Google Tag Manager

An overview of what we’ll cover:

Let’s dive in!

What are Enhanced Conversions?

Enhanced conversions is a feature of Google Ads that provide more accurate conversion data to marketers by sending supplementary data from a corresponding website.

To implement this for your tracking, you need to ensure that you have the following: 

  • A Google Tag Manager Account 
Owning a Google Tag Manager Account

🚨 Note: If you’re still a beginner, a Google Tag Manager Tutorial can help get started!

  • Conversions in the Google Tag Manager Account that you would like to enhance 
Conversions that are set up in the Google Tag Manager account
  • Your web page 
Website shop in an online marketplace
  • Google Ads Account 
Google Ad Campaign Manager Account

To understand Enhanced Conversions better, Google Ads has provided a brief introduction that we can refer to. 

The first step is viewing the Ad. 

Documentation of data first step explained in Google Ads

Then the user goes to the website and purchases a product.

The Conversions step in Google Ads

After the purchase is completed, the conversion tag captures the user’s data and hashes it, and then sends it to Google. 

If you’re wondering what hashing means, then don’t worry! It doesn’t involve any secret cipher code. It is just a method to send Google the data in a secure manner. 

Step 3 where the conversion Tag hashes the data and sends it to Google

Once hashing is accomplished successfully, Google uses the data acquired to match customers with their Google Accounts. 

Step 4 of linking data with accounts

This helps in getting more accurate reports and more conversions. It is basically an ad stack with vital information about users such as their phone number, email, name, surname, etc.

Now that we are familiar with the functions, let’s get started with implementation. 

How to Identify the User?

We cannot magically capture the user data, but we can use product conversions or some kind of tracking.

 In this guide, we will be using Purchase data.

Using Purchase Data of Users in Google Tag Manager

You can use a Google Tag Manager for WordPress plug-in to generate all the customer data. It sends the customer data to the web page as a usable data layer, securely, and reliably.

🚨 Note: Instead of using a WordPress plug-in, you can also ask your developer for the data or use CSS Selectors.

Google Tag Manager plugin for WordPress

When it comes to EC implementation, Google gives a lot of flexibility. You can choose a solution that would be the most suitable for your tracking case.

In this guide, we will be focusing only on one of the many implementation options provided by Google, specifically on the GTM implementation with the data layer.

If you are using WordPress, there is a possibility to activate this feature so that a plugin will send additional data about your customers automatically.

Logging in to your WordPress Admin dashboard and selecting Installed plugins

Login to your WordPress Admin dashboard and select Installed plugins (assuming that you have your GTM4WP installed already).

Finding Google Tag Manager for WordPress in the list and clicking Settings

Find Google Tag Manager for WordPress in the list and click Settings.

Navigating to WooCommerce in the plugin settings and activating Customer data in the data layer

Navigate to Integration → WooCommerce in the plugin settings and activate Customer data in the data layer.

Make sure that you are also tracking enhanced e-commerce if you want to use a purchase event sent automatically as your GTM trigger.

Saving changes in Google Tag Manager

Do not forget to save your changes. You would need to scroll down a bit to do that.

Now we can move to the next step, which is making a test purchase to check if the data layer is populated correctly with the customer data. Sounds intriguing, doesn’t it?

Test Purchase

The second step is to make a test purchase on your website. To begin with the test purchase, we first need to go to Google Tag Manager and select the Preview option on the top right of the screen. 

Clicking Preview button on Google Tag Manager

Once you have clicked on the Preview button, a box will appear which says Connect Tag Assistant to your site. 

Before you move ahead by clicking the Connect button, ensure your website URL is functional. 

Connecting Tag Assistant to website

Now, to test the Tag Assistant, simply go to your website and click on Choose an item to purchase→ Place Order→ Get a confirmation message 

🚨 Note: You will see the Tag Assistant on your screen throughout your purchase journey.

Purchasing a product to test the Tag Assistant

To view the event fired, we will go to Google Tag Manager where it will be visible under Tags.

Conversion Tag that was recorded

To see the exact trigger, you can go to Variables

You can access the exact tag from the left hand side column, and clicking it will show you more details about the Variables of the Tag. 

Choosing variables to see more data of the triggered tag.

Now, get the customer’s information by going to Data Layer, and you will find all the relevant information there. 

Using Data Layer to access information about the customer

With access to the Data Layer, our goal is to capture and transfer it to Google Tag Manager, but how? Let’s discuss that in the next section. 

Data Layer Variables

Let’s say we want to capture and transfer the emails of the customers to Google Tag Manager. So, we will go to the Data Layer and copy the email prompt, i.e., customerBillingEmail. 

Copying email address from Data Layer

Now, we will go to Google Tag Manager and create a new Variable. So, the first step would be to go to Variables and then choose the New button on the top right hand corner. 

Creating a New Variable in Tag Manager

As you click New you will see a box appear that says Variable Configuration. In this box you need to Choose a variable type to begin set-up

Configuring new variables in Google Tag Manager

Now, we have to Choose a variable type, and we will be going with the Data Layer Variable

Choosing Data Layer variable as variable type

You will see a new box pop-up on the Variable Configuration screen, where you will have to enter the Data Layer Variable Name. 

Once done, you can also rename the Variable Configuration container name and finally hit on the Save button placed in the right hand corner.

Naming and saving new data layer variables

Now, let’s move to the next step, which is modifying our tag. It is like an upgrade but for our conversions. 

For this, we will go to the Tags tab and select the event,i.e., Purchase

Selecting the conversion tracking event in Tags

Once you have chosen the tracking event, you will see Tag Configuration, where you will be able to see a check-box that says Include user-provided data from your website. 

Check that box, and you will then be asked to Select the user-provided data variable. Then select the drop-down box and choose the option New Variable.

Choosing variable type for user-provided data

As soon as you choose New Variable, you will be redirected to a new page named Variable Configuration, where you have to choose variables for each field manually.

For example, for email you need to choose email, for the phone you need to choose phone, and so on.

Choosing variables for different fields

Once done with choosing variables, you can rename the Variable Configuration Folder, and don’t forget to hit the Save button. 

Renaming and saving Variable Configuration

Once you have saved your Variable Configuration, go back to Tag Configuration, where we have our modified text. 

Click on the Save button.

Saving the modified text in Tag Configuration

Now, let’s get to the most exciting part – testing. To begin with testing, click the Preview button.

Clicking the preview button to begin the testing process

Once you click Preview, you will see your website and Tag Assistant connecting, after it is connected, click on the Continue button. 

Clicking on the continue button to connect tag assistant with the website

You will be redirected to your eCommerce platform; so, once again buy a product from the catalog. In this case, we are buying the jumper again. 

Purchasing as a part of the testing process

Before you place the order, right-click on the screen and choose the Inspect option. 

Now, you will see your screen divided into two parts. On the right-hand side of the screen, you will see a top panel with options like Elements, Console, Sources, and an arrow indicating more options.

 Click on the arrow and then choose Network

Choosing the Network option in the inspect screen

Now, you can place your order on the website. 

Placing an order on the website

It’s time to move on to the Google Tag Manager and click on Summary. You will be able to see the event along with the tag fired. 

Checking the event and Tags fired in Tag Manager Summary

This will help us look at the Variables. If you see them become populated, then it means that they are working properly. 

Checking variables in Tag Manager