Skip to content

How to manually set up Google Ads Enhanced Conversions the easy way

There are a couple of ways of setting up Enhanced Conversions. You can let Google automatically gather the data, or set them up manually. Many users prefer to set them up automatically, however this isn’t ideal, and even Google recommends you implement an additional method for better results.

When it comes to implementing it manually, you can do it through Data Layer Variable, CSS Selectors, or directly through code.

While dabbling in code may sound scary and Data Layer Variables require more technical Tag Manager and Tag Assistant knowledge, setting up Enhanced Conversions through CSS Selectors is something anyone can do.


What are Enhanced Conversions and how do they work?

Enhanced Conversions can improve the accuracy of your conversion. It requires that a user that visits your site is signed into Google. Let’s take an example.

A user visits your website via Google Ads and doesn’t convert. It returns hours or days later by directly typing the website URL, and completes a purchase or submits a form. They may use a different browser, device, or delete cookies in the meantime, so normal conversion tracking wouldn’t detect this as a Google Ads conversion.

With Enhanced Conversions, when they submit a form or complete a purchase, their email will be hashed using SHA256 and sent to Google in a secure way. Google will then cross reference with their signed-in email, and if the hashes are a match it will attribute the conversion to Google Ads.

enhanced conversions for web


Prerequisites

There are of course a couple of prerequisites before setting up Enhanced Conversions.

  • Google Ads Account (obviously)
  • Tag Manager Account
  • Form conversions tracking set up through Tag Manager

If you’ve been tracking form completes already, you’re good to go.

Having trouble setting up conversions? Let us help!


Turning on Enhanced Conversions in Google Ads

We recommend setting up Enhanced Conversions at the account level. If you don’t have the option available, you need to go to each Conversion you want to enable Enhanced Conversion for and set them up from there. The process is almost identical.

  1. Go to Tools & Settings -> Conversions
  2. On the left, click on Settings, and then Enhanced Conversions.
  3. Check “Turn on enhanced conversions”, and select Google Tag Manager as the method for setting up and managing user-provided data
    google ads account enhanced conversions
  4. Click Go to Google Tag Manager to open up Tag Manager, but come back to Google Ads.
  5. Go to Tools and Settings -> Conversions again and find the conversion you want to track. Click on it and make sure it says Enhanced Conversions are managed through Tag Manager. If not, edit the conversions and enable them.
google ads enhanced conversions


Google Tag Manager Enhanced Conversions Setup

After enabling Enhanced Conversions in Google Ads, the next steps happen in Tag Manager and on the website.

  1. Go to Tag Manager, find and Click on the Google Ads Conversion Tag
  2. Click to edit the Tag Configuration and scroll down to “Include user-provided data from your website”
    screenshot 2023 11 22 141411
  3. Check that, and select New Variable
  4. Give the variable a name, like “User-Provided Data – Manual Collection”
  5. Select Manual Configuration
    user provided data manual config
  6. Click on the Email field, scroll down and select New Variable
  7. Name the new variable something like “EC – Email”
  8. Click on Variable Configuration, and select DOM Element
  9. Under Selection Method, choose CSS Selector
    enhanced conversions email dom element css selector
  10. Now you need to go to the page where the form resides, in order to get the CSS Selector.
  11. Right-click on the Email field, and select Inspect. This will open Developer Options in your browser and some code will be highlighted
  12. Right-click on the highlighted code, hover over Copy ->, and select Copy Selector
    inspect element copy selector code
  13. Go back to Tag Manager and Paste the selector you copied, and Save.
    enhanced conversions email variable, dom element css selector
  14. Do steps 6-13 for the Phone Field as well.
  15. Save everything and Publish the changes.


Enhanced Conversions Validation

After setting up everything, you need to make sure it actually works. This method doesn’t work on some forms, like the ones that use AJAX. There are 2 ways of validating


Validate through Chrome Developer Tools

The quickest way to validate is through Chrome Developer Tools.

  1. Right-click on your web page.
  2. Select Inspect.
  3. Select the Network tab.
  4. Enter “google” in the search bar.
  5. Find the network request that’s going to “googleadservices.com/pagead/conversion/” (or “google.com/pagead/1p-conversion/” on some browsers).
  6. Click the Payload tab to view the list of query string parameters.
  7. Look for a parameter “em” with a hashed string as the value. The value should start with “tv.1~em” followed by a long string of characters. If you see the “em” parameter, this means that the enhanced conversions tag is picking up and hashing the enhanced_conversion_data object.
screenshot 2023 11 23 151642

If the tv.1~em parameter doesn’t have a hashed string after it, it means that the enhanced conversion tag is not picking up the enhanced_conversion_data object.


Validate through Tag Assistant

  1. Go to Tag Manager and hit Preview to open Tag Assistant
  2. Go through the conversion steps, fill out the form, and submit
  3. In Tag Assistant, go to the event that fires the conversion tag
  4. Click on the Google Ads tag that fired, and Show More
  5. Make sure you select Values in the top right corner
  6. Check that cssProvidedEnhancedConversionValue contains the email you added, for example it should say something like this: {email: “adrian@adden.agency”, _tag_mode: “MANUAL”}
validation success

In this case we have only gathered the email. Ideally, you would also have the phone number in there.

If this returns a value of null, you need to look at other ways to implement Enhanced Conversions, such as through the Data Layer, or JavaScript.

Conclusion

Setting up Enhanced Conversions through CSS Selectors is one of the easiest ways of doing so, but you need to verify that the implementation is actually working.

Once you confirmed it’s working, it will take a while to see results in Google Ads. After 48 hours, you should check the Diagnostics tab under the conversion action that has enhanced conversions enabled.

image

Setting up Enhanced Conversions is more important than ever, as we are fast approaching a cookieless future, where we’ll be forced to rely on first-party data.

Having trouble setting up conversions? Let us help!

Leave a Reply

Adrian Salcu