Email Template: How to request your developer to implement Enhanced Conversions via Google Tag (gtag)

Hi {First name of your developer},

I hope you’re doing well.

I’d like your help implementing Enhanced Conversions for our Google Ads setup. Enhanced Conversions improves the accuracy of our conversion measurement and enables more effective automated bidding. It works by securely sending hashed first‑party customer data from our website to Google, supplementing our existing Google Ads conversion tracking that’s already implemented via the Google tag (gtag).

This implementation requires only minor changes to our existing Google tags. Below is a clear, step‑by‑step guide outlining what needs to be done.

1. Make Customer Data Accessible

We need to make the following first‑party data points available on our conversion page(s)—specifically, on the pages where the Google Ads conversion event fires.

Required Data Points

  • Email address
    • Description: User email
    • Example: jdoe@example.com
  • Phone number
    • Description: User phone number (must be in E.164 format)
    • Example: +11231234567

Important: These values do not need to be hashed manually. Google will handle hashing automatically.

Conversion Page URLs

Please ensure these data points are available on the following conversion page(s):

  • {Insert conversion pages}
    Example: https://www.optizent.com/order/success/

2. Implement the Enhanced Conversions Script

On the conversion page(s) listed above, please add the following script where the Google Ads event snippet is installed.

Make sure to update the variable names so they match the actual variables used on the page.

Example

  • If the email is stored in a variable called email_address, replace yourEmailVariable with email_address.
  • You may also hardcode the value as a string or use a function if preferred.

<script>

  gtag(‘set’, ‘user_data’, {

    “email”: yourEmailVariable,

    “phone_number”: yourPhoneVariable

  });

</script>

For additional technical details, please refer to Google’s official documentation linked at the end of this email.

3. Configure the Google Tag on Conversion Pages

Next, we need to enable Enhanced Conversions in the Google tag configuration.

Please add the following parameter to the gtag(‘config’) line on all conversion pages:

{‘allow_enhanced_conversions’: true}

Implementation

<!– Google tag (gtag.js) – Google Ads: 123456 –>

<script async src=”https://www.googletagmanager.com/gtag/js?id=TAG_ID”></script>

<script>

  window.dataLayer = window.dataLayer || [];

  function gtag(){dataLayer.push(arguments);}

  gtag(‘js’, new Date());

  gtag(‘config’, ‘TAG_ID’, { ‘allow_enhanced_conversions’: true });

</script>

4. Enable Enhanced Conversions in Google Ads

Once the code updates are complete, I’ll enable Enhanced Conversions directly within the Google Ads UI. No action is needed from you for this step.

If you have any questions or run into anything unexpected during implementation, please don’t hesitate to reach out.

Thanks in advance for your help.

Best regards,
{Your name}

Official Google Resource:
https://support.google.com/google-ads/answer/12785474?hl=en