# Google Enhanced Conversions through HubSpot

**URL:** <https://community.hubspot.com/t/google-enhanced-conversions-through-hubspot/53322>\
**Category:** HubSpot Ideas\
**Tags:** ads, api\
**Created:** [March 16, 2022, 7:55pm UTC](https://community.hubspot.com/t/google-enhanced-conversions-through-hubspot/53322 "2022-03-16T19:55:40Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![STaruc](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/staruc/32/79091_2.png) [@STaruc](https://community.hubspot.com/u/STaruc)\
**Post date:** [March 16, 2022, 7:55pm UTC](https://community.hubspot.com/t/google-enhanced-conversions-through-hubspot/53322/1 "2022-03-16T19:55:40Z")

</div>

My marketing team would love to have anonymized lead data sent to Google Ads for accurate conversion information via Google’s Enhanced Conversions for both web and leads.

Enhanced Conversions work by sending hashed lead details to Google, which then matches that data to its own records . This can be implemented throughout frontend means as at least [one user has tried](https://community.hubspot.com/t5/Ads/Google-enhanced-conversions/m-p/596018/highlight/true#M1528), but [more](https://www.apple.com/newsroom/2021/06/apple-advances-its-privacy-leadership-with-ios-15-ipados-15-macos-monterey-and-watchos-8/) and [more](https://brave.com/) users and browsers are preventing tracking scripts and pixels from loading. Similar to Facebook/Meta’s Conversions API, incorporating Enhanced Conversions through the Google Ads API will help track conversions more reliably, and help further optimize ad campaigns.

HubSpot already uses the Google Ads API to allow users to manage Google ad campaigns in HubSpot, and HubSpot forms already capture lead information necessary to send to Google for EC data, so it seems like there’s existing runway here for implementation.  
Here’s more information for Enhanced Conversions: [About enhanced conversions - Google Ads Help](https://support.google.com/google-ads/answer/9888656)

---

<div class="post-metadata">

**Author:** ![jkeough78](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jkeough78/32/83064_2.png) [@jkeough78](https://community.hubspot.com/u/jkeough78)\
**Post date:** [March 30, 2022, 4:29pm UTC](https://community.hubspot.com/t/google-enhanced-conversions-through-hubspot/53322/2 "2022-03-30T16:29:12Z")

</div>

I just spoke to Google Ads technical implementation team. They confirmed that, as of now, the only way to get Enhanced Conversions to work is if the form fields are passed as URL Parameters to the ‘thank you’ page like this: [mywebsite.com](https://www.mywebsite.com/thanks?**email=john@gmail.com)\*\*

Please update HubSpot forms so the form fields are passed in this way. The Google rep told me that every other major platform (squarespace, webflow, etc) already does this.

---

<div class="post-metadata">

**Author:** ![SaketMaheshwari](https://avatars.discourse-cdn.com/v4/letter/s/a5b964/32.png) [@SaketMaheshwari](https://community.hubspot.com/u/SaketMaheshwari)\
**Post date:** [April 5, 2022, 2:25am UTC](https://community.hubspot.com/t/google-enhanced-conversions-through-hubspot/53322/3 "2022-04-05T02:25:17Z")

</div>

Having the capability to pass the required parameters will really help implement it easily. Would love to see it added as a feature!

---

<div class="post-metadata">

**Author:** ![ZItani](https://avatars.discourse-cdn.com/v4/letter/z/9de0a6/32.png) [@ZItani](https://community.hubspot.com/u/ZItani)\
**Post date:** [May 13, 2022, 10:42pm UTC](https://community.hubspot.com/t/google-enhanced-conversions-through-hubspot/53322/4 "2022-05-13T22:42:55Z")

</div>

100% please implement this Hubspot!

---

<div class="post-metadata">

**Author:** ![TGil](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tgil/32/76793_2.png) [@TGil](https://community.hubspot.com/u/TGil)\
**Post date:** [May 18, 2022, 2:17pm UTC](https://community.hubspot.com/t/google-enhanced-conversions-through-hubspot/53322/5 "2022-05-18T14:17:46Z")

</div>

I subscribe to that idea, it’s crucial!

---

<div class="post-metadata">

**Author:** ![KKusiak](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kkusiak/32/195032_2.png) [@KKusiak](https://community.hubspot.com/u/KKusiak)\
**Post date:** [May 20, 2022, 5:45pm UTC](https://community.hubspot.com/t/google-enhanced-conversions-through-hubspot/53322/6 "2022-05-20T17:45:49Z")

</div>

100% agree!

---

<div class="post-metadata">

**Author:** ![katie\_koenig](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/katie_koenig/32/75692_2.png) [@katie\_koenig](https://community.hubspot.com/u/katie_koenig)\
**Post date:** [June 6, 2022, 5:45pm UTC](https://community.hubspot.com/t/google-enhanced-conversions-through-hubspot/53322/7 "2022-06-06T17:45:20Z")

</div>

Hi folks,

I’m Katie, the Product Lead for HubSpot’s Ads tool.

Thank you all for taking the time to submit, upvote, and comment on this Idea. I’m happy to report that this Idea is now In Planning! This means that our engineers are actively building this feature.

The product development process is always filled with unexpected bumps and hurdles, so I can’t give a timeline, but I am confident in saying we’ll deliver this feature as soon as possible.

All updates will be relayed on this thread, so stay tuned!

Best,

Katie

---

<div class="post-metadata">

**Author:** ![STaruc](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/staruc/32/79091_2.png) [@STaruc](https://community.hubspot.com/u/STaruc)\
**Post date:** [June 6, 2022, 6:02pm UTC](https://community.hubspot.com/t/google-enhanced-conversions-through-hubspot/53322/8 "2022-06-06T18:02:48Z")

</div>

[@katie\_koenig](https://community.hubspot.com/t5/user/viewprofilepage/user-id/113408) Thanks, Katie and the HubSpot team. Thanks everyone else for the upvotes.

---

<div class="post-metadata">

**Author:** ![bhascher](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/bhascher/32/39140_2.png) [@bhascher](https://community.hubspot.com/u/bhascher)\
**Post date:** [June 15, 2022, 6:33pm UTC](https://community.hubspot.com/t/google-enhanced-conversions-through-hubspot/53322/9 "2022-06-15T18:33:17Z")

</div>

Thx for the update [@katie\_koenig](https://community.hubspot.com/t5/user/viewprofilepage/user-id/113408). Please let us known if there’s a (closed) beta being released. Our advertising team is eager to test it and to prepare rolling this out for our HubSpot customers.

---

<div class="post-metadata">

**Author:** ![KKingsley](https://avatars.discourse-cdn.com/v4/letter/k/c57346/32.png) [@KKingsley](https://community.hubspot.com/u/KKingsley)\
**Post date:** [July 25, 2022, 8:13pm UTC](https://community.hubspot.com/t/google-enhanced-conversions-through-hubspot/53322/10 "2022-07-25T20:13:28Z")

</div>

I appreciate your letting us know that this is in the works [@katie\_koenig](https://community.hubspot.com/t5/user/viewprofilepage/user-id/113408), our team is working on a Beta with Google and are eager to have this implemented into our account. If a beta release is coming out, we would also like to be a part of it.

---

<div class="post-metadata">

**Author:** ![ZItani](https://avatars.discourse-cdn.com/v4/letter/z/9de0a6/32.png) [@ZItani](https://community.hubspot.com/u/ZItani)\
**Post date:** [July 25, 2022, 8:59pm UTC](https://community.hubspot.com/t/google-enhanced-conversions-through-hubspot/53322/11 "2022-07-25T20:59:58Z")

</div>

[@katie\_koenig](https://community.hubspot.com/t5/user/viewprofilepage/user-id/113408) we are also interested in beta of this Google Ads feature in hubspot please do add us to the list as well.

---

<div class="post-metadata">

**Author:** ![ALunaJust](https://avatars.discourse-cdn.com/v4/letter/a/ecb155/32.png) [@ALunaJust](https://community.hubspot.com/u/ALunaJust)\
**Post date:** [July 30, 2022, 11:02pm UTC](https://community.hubspot.com/t/google-enhanced-conversions-through-hubspot/53322/12 "2022-07-30T23:02:03Z")

</div>

I’ve found a way to do it through GTM, thanks to a kind stranger on [stackoverflow](https://stackoverflow.com/questions/73111437/return-value-in-nested-arrays-in-google-tag-manager):

```lia-code-sample
<script type="text/javascript">
 window.addEventListener("message", function(event) {
 if(event.data.type === 'hsFormCallback' && event.data.eventName === 'onFormSubmitted') {
 window.dataLayer.push({
 'event': 'hubspot-form-success',
 'hs-form-guid': event.data.id,
 'email': Object.keys(hubspot._emailValidationAndResubCache)[0]
 });
 }
 });
</script>

```

This will push the clean email address to the dataLayer as part of the event array:

 ![Screen Shot 2022-07-30 at 19.58.04.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/c/6/c65914c3a1b9c5cc7b6c22a8434f41bc12629e23.png)

---

<div class="post-metadata">

**Author:** ![EMartin51](https://avatars.discourse-cdn.com/v4/letter/e/50afbb/32.png) [@EMartin51](https://community.hubspot.com/u/EMartin51)\
**Post date:** [September 8, 2022, 12:43pm UTC](https://community.hubspot.com/t/google-enhanced-conversions-through-hubspot/53322/13 "2022-09-08T12:43:46Z")

</div>

@ALunaJust Thank you! That is exactly what I was looking for, finally able to get the email address 🚀

---

<div class="post-metadata">

**Author:** ![ZItani](https://avatars.discourse-cdn.com/v4/letter/z/9de0a6/32.png) [@ZItani](https://community.hubspot.com/u/ZItani)\
**Post date:** [September 8, 2022, 5:05pm UTC](https://community.hubspot.com/t/google-enhanced-conversions-through-hubspot/53322/14 "2022-09-08T17:05:26Z")

</div>

@ALunaJust nice! thanks for the insight…

---

<div class="post-metadata">

**Author:** ![auto-mate](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/auto-mate/32/99678_2.png) [@auto-mate](https://community.hubspot.com/u/auto-mate)\
**Post date:** [October 17, 2022, 3:54pm UTC](https://community.hubspot.com/t/google-enhanced-conversions-through-hubspot/53322/15 "2022-10-17T15:54:42Z")

</div>

[@katie\_koenig](https://community.hubspot.com/t5/user/viewprofilepage/user-id/113408) Can you give a clue as to when the GEC will be ready? For those of us planning our GA4 updates and rebuilding events etc etc… now is a great time!

---

<div class="post-metadata">

**Author:** ![RomainG](https://avatars.discourse-cdn.com/v4/letter/r/8c91f0/32.png) [@RomainG](https://community.hubspot.com/u/RomainG)\
**Post date:** [November 10, 2022, 4:31pm UTC](https://community.hubspot.com/t/google-enhanced-conversions-through-hubspot/53322/16 "2022-11-10T16:31:17Z")

</div>

[@katie\_koenig](https://community.hubspot.com/t5/user/viewprofilepage/user-id/113408) Do you have news please ?

---

<div class="post-metadata">

**Author:** ![hakancanada](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/hakancanada/32/62922_2.png) [@hakancanada](https://community.hubspot.com/u/hakancanada)\
**Post date:** [November 18, 2022, 3:18pm UTC](https://community.hubspot.com/t/google-enhanced-conversions-through-hubspot/53322/17 "2022-11-18T15:18:59Z")

</div>

Great idea! Hubspot doesn’t pull ecommerce metrics from google analytics. How do you track website sales metrics and know the source of sales (whether coming from existing customer /new customer / stage of customer)?

---

<div class="post-metadata">

**Author:** ![STaruc](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/staruc/32/79091_2.png) [@STaruc](https://community.hubspot.com/u/STaruc)\
**Post date:** [November 21, 2022, 3:20pm UTC](https://community.hubspot.com/t/google-enhanced-conversions-through-hubspot/53322/18 "2022-11-21T15:20:33Z")

</div>

@hakancanada This feature as it’s described so far won’t help identify conversion attribution or customer journeys. I haven’t used Hubspot’s Sales features, but using the Marketing platform, you could create a custom behavioral event that fires after purchase, per purchase, that has properties for: product name or SKU, product value, and/or anything else you’re looking to track. Hubspot would automatically associate these events with right contact object.

If this conversion info is already being pulled into GA and you prefer the information there, then you just need to set up a connecting ID between GA and Hubspot to de-anonymize users and see their associated ecommerce data.

---

<div class="post-metadata">

**Author:** ![hakancanada](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/hakancanada/32/62922_2.png) [@hakancanada](https://community.hubspot.com/u/hakancanada)\
**Post date:** [November 21, 2022, 5:09pm UTC](https://community.hubspot.com/t/google-enhanced-conversions-through-hubspot/53322/19 "2022-11-21T17:09:13Z")

</div>

@STarucThanks so much for the valuable information. On Friday, one of my teammates informed me about this feature and we already started working on it Hopefully, your idea is implemented soon and we can all take advantage of it.

Have a wonderful day, 😊

---

<div class="post-metadata">

**Author:** ![Waran](https://avatars.discourse-cdn.com/v4/letter/w/e47774/32.png) [@Waran](https://community.hubspot.com/u/Waran)\
**Post date:** [January 9, 2023, 3:59pm UTC](https://community.hubspot.com/t/google-enhanced-conversions-through-hubspot/53322/20 "2023-01-09T15:59:35Z")

</div>

Looks like the most popular listener script stopped working - at least with

` 'email': Object.keys(hubspot._emailValidationAndResubCache)[0]`

in place. Can anyone confirm that? I also found this Reddit post: [https://www.reddit.com/r/GoogleTagManager/comments/z048dr/gtm\_hubspot\_form\_listener\_script\_stopped\_working/.](https://www.reddit.com/r/GoogleTagManager/comments/z048dr/gtm_hubspot_form_listener_script_stopped_working/)

**Can anyone confirm that this script is not working anymore? Any possible workarounds?**

[Next page](https://community.hubspot.com/t/google-enhanced-conversions-through-hubspot/53322.md?page=2)
