Back
Google Ads Conversion Tracking with Google Tag Manager
What is it and why you need it
This feature allows you to track purchase conversions for both paid and free items using Google Tag Manager. It provides accurate details such as:
• Conversion amount
• Currency
• Product items purchased
These details are sent to the data layer, making it easy to pass the information to Google Ads for conversion tracking.
By using this feature, you can:
• Measure the value of each purchase accurately.
• Track user purchases for both paid and free items.
• Gain insights into which products drive conversions.
This ensures your advertising campaigns are optimized for accurate results and improved ROI.
Adding Google Tag Manager
First, you’d have to connect Google Tag Manager with your EzyCourse platform. This makes tracking with Google Ads easier and more efficient for your website. To set up Google Tag Manager (GTM) and enable purchase conversion tracking in EzyCourse, follow these steps:
1. Create a Google Tag Manager Account
• Go to the Google Tag Manager website.
• Create an account, if you do not have one.
• Copy the GTM code ID (e.g., GTM-XXXXXX), placed at the top bar.

2. Add GTM Code on Your Platform
• Log in to your EzyCourse admin dashboard.
• Navigate to Site Settings → General Settings → and find the Google Tag Manager Event Tracking section. Enable the toggle button and then paste the GTM code, and you can also give an event name.
• Click the Save button to keep the changes.

To check if GTM connection is successful, go to your tag manager account and click on Preview button on the top right corner of the screen.

Give your EzyCourse site URL and click the Connect button. If everything is right, you’ll see the connected message. Your website will also popup on a new window so you can test with clicks, purchase, and see if it’s working.


Create a Google Ads Conversion Action
The Google Ads Conversion Action helps to track specific customer activity. Follow these steps to create an action and set it up:
• Go to your Google Ads account.
• Navigate to Goals → Conversion → Summary.

• Scroll down and then click the Create Conversion Action button.

• Tick mark the Conversions on a website option and go to Edit.

• Paste your website URL. And then save and continue.


• Next, select any category for the conversion actions. We’ll select purchase.

• Click Add conversion actions and select your website.

• Select the Set up manually using code and click Done. Save and continue.

• Go to Use Google Tag Manager tab and copy two things: 1) Conversion ID and 2) Conversion label.

Creating a New Tag in Google Tag Manager
Head over to your GTM account and create a new tag.

Choose the tag type to be Google Ads → Google Ads Conversion Tracking.


Paste the Conversion ID and Conversion label on the respective fields.

For Conversion Value, follow these steps:
• Click the Add icon on the field. A new window will appear.
• Click the + icon on the top right corner of the new window.
• Choose a variable type. Select Data Layer Variable.

Put “ecommerce.value“ on the field and save.

For Transaction ID, do the same. Just put “ecommerce.transaction_id“ on the field. And similarly for Currency Code, paste “ecommerce.currency“ on the data layer variable name field.

Now, choose Triggering.

Add new trigger by clicking the + icon on the top right corner. Then, select Custom Event to be the trigger type. Put “Purchase“ on the Event Name field and save it.


Save the tag. Make sure you try the preview and debug mode to ensure the conversion tag is firing correctly.

Once checked, click the Submit button on the top right corner. And then publish it.


You can verify the conversion tracking in Google Ads. Go to Goals → Summary. Ensure your conversion action status is showing Active.
