How to set up Google Ads Conversion Tracking with the Google Analytics 4 Extension

Loading...
Back to Blog
How to set up Google Ads Conversion Tracking with the Google Analytics 4 Extension

In this article, we'll be looking at how to set up Google Ads Conversion Tracking with the WeltPixel Google Analytics 4 and Google Analytics 4 PRO extensions. The process is very simple and only takes a couple of minutes, so let's dive straight in.

Note: This guide assumes you already have the basic Google Analytics 4 tracking set up via the steps provided in the extension's User Guide.

Note: To see conversions in Google Ads, you may need to have an active campaign configured and enabled.

 

The Magento Admin Setup

The first part of the configuration process involves enabling the Google Ads Conversion Tracking functionality in the extension's Magento Admin settings, as well as gathering some details from your Google Ads account. Here are the steps:

  1. Log in to your Magento Admin panel and head to WeltPixel ⮕ Google Analytics 4 eCommerce Settings ⮕ Google Ads Conversion Tracking and expand the section.
  2. Set the Enable option to Yes.
  3. Get your Conversion ID and Conversion Label from your Google Ads account. You can find them in your Conversion action's settings, under Tag Setup ⮕ Use Google Tag Manager. More details about the process can be found in the Google Documentation.

    Google Ads Google Tag Manager Setup

  4. Copy and paste the values into their respective fields, then choose your Currency Code and add that to the Magento Admin configuration as well.
  5. If you have the PRO version of the extension, you can choose to enable Enhanced Conversions and New Customer Acquisition functionalities as well. Your configuration should look similar to the image below:

    WeltPixel Magento Admin GA4 Settings

  6. Save the configuration, then head to the JSON Export Options section.
  7. Click the Generate JSON for Tags, Triggers and Variables button.
  8. Once the JSON file is generated, click the Download button to download the new JSON container.

 

Importing the JSON Container into Google Tag Manager

The next step of the process involves taking the newly generated JSON container file and importing it into your Google Tag Manager account to get the new Conversion Tracking Tag and dataLayer variables up and running.

  1. Log in to your Google Tag Manager account and head into Admin Import Container.
  2. Choose the JSON container file you downloaded.
  3. Choose your workspace.
  4. Choose the MergeOverwrite conflicting tags, triggers and variables option when prompted. This will ensure you don't completely rewrite the container, so your 3rd party Tags, Triggers and Variables should not be affected.

    Google Tag Manager Import Container Settings

  5. If you're promoted, create a Conversion Linker tag as well. This may help ensure more accurate tracking for Google Ads. More details about the Conversion Linker tag can be found in the Google Documentation.
  6. Hit Confirm to apply the changes.
  7. Use the Preview Mode functionality to test and make sure everything is working as you expect. See the section below for more details on how this can be done.
  8. Once you've confirmed everything is working correctly, publish your container.

 

Testing to make sure Conversions are being recorded

The final step of the process is to test everything out and make sure your Google Ads Conversion Tracking Tag is being fired on the Success Page. This can be done with Google Tag Manager's Preview Mode functionality.

  1. Head into your Google Tag Manager container and hit the Preview button.
  2. Input your website's URL and click Connect. This will open your website in a new tab.

    Google Tag Assistant Interface

  3. Place a test order on your store.
  4. Once you're on the Success Page, head back into Google Tag Assistant and check the tags that have been fired on the page. You should see the Google Ads Conversion Tracking tag successfully fired.

    Google Tag Assistant Conversion Tracking Tag

  5. You can click on the tag to view specific details about it, including the data that's being passed to Google Ads with it.

    Google Tag Assistant Conversion Tracking Tag Details

  6. Once you've confirmed everything is correct, head back into Google Tag Manager and publish your container if you haven't done so already.

Related Products