<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: DataLayer not passing user email for Google Ads Enhanced Conversions after HubSpot form submi... in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/DataLayer-not-passing-user-email-for-Google-Ads-Enhanced/m-p/1213285#M84986</link>
    <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/1002299"&gt;@SaketTripathi25&lt;/a&gt;&lt;/SPAN&gt;,&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for posting to the Community!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'd like to tag in some of our Top Contributors to see if they have any ideas on this -- Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/484534"&gt;@Franci&lt;/a&gt; &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/642495"&gt;@beeginman&lt;/a&gt; and &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/428335"&gt;@jolle&lt;/a&gt; Do any of you have any tips for &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/1002299"&gt;@SaketTripathi25&lt;/a&gt;&lt;/SPAN&gt;?&lt;BR /&gt;&lt;BR /&gt;Cassie, Community Manager&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Oct 2025 22:08:28 GMT</pubDate>
    <dc:creator>chighsmith</dc:creator>
    <dc:date>2025-10-16T22:08:28Z</dc:date>
    <item>
      <title>DataLayer not passing user email for Google Ads Enhanced Conversions after HubSpot form submission</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/DataLayer-not-passing-user-email-for-Google-Ads-Enhanced/m-p/1212882#M84962</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I’m trying to implement &lt;STRONG&gt;Google Ads Enhanced Conversion Tracking&lt;/STRONG&gt; for a HubSpot form submission, but I’m facing an issue where the &lt;STRONG&gt;dataLayer doesn’t pass the user’s email address&lt;/STRONG&gt; after successful form submission.&lt;/P&gt;&lt;P&gt;Here’s what we did:&lt;/P&gt;&lt;P&gt;On the &lt;STRONG&gt;thank-you page&lt;/STRONG&gt;, we placed this code snippet to push the enhanced conversion data:&lt;BR /&gt;&amp;lt;script&amp;gt;&lt;BR /&gt;dataLayer.push({&lt;BR /&gt;'event': 'ec_formsubmit',&lt;BR /&gt;'enhanced_conversion_data': {&lt;BR /&gt;"email": 'email'&lt;BR /&gt;}&lt;BR /&gt;})&lt;BR /&gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;When we test the form and inspect the &lt;STRONG&gt;dataLayer&lt;/STRONG&gt; in the browser console on the thank-you page, the “email” value appears as a &lt;STRONG&gt;literal string 'email'&lt;/STRONG&gt; instead of the actual user email that was entered in the form.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Attached below is a screenshot of the console showing the dataLayer output after submission — as you can see, it’s not capturing the user’s email.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (31).png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/158814iAD1C86976A303E5C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot (31).png" alt="Screenshot (31).png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&amp;nbsp;Our website is on the Drupal platform, and we are using the HubSpot form on Contact us and Request a demo CTAs. We have already created a conversion action on Google Ads and triggered it with the help of GTM.&lt;BR /&gt;Website link:&amp;nbsp;&lt;A href="https://www.beroeinc.com/contact" target="_blank" rel="noopener"&gt;https://www.beroeinc.com/contact&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Any guidance or code examples from the HubSpot developer community would be really appreciated. Also, please do let me know after making changes to the code what changes we have to do on the GTM, too, if needed.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Saket Tripathi&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;(Assistant Digital Marketing Manager at Beroe Inc.)&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Oct 2025 06:50:23 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/DataLayer-not-passing-user-email-for-Google-Ads-Enhanced/m-p/1212882#M84962</guid>
      <dc:creator>SaketTripathi25</dc:creator>
      <dc:date>2025-10-16T06:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: DataLayer not passing user email for Google Ads Enhanced Conversions after HubSpot form submi...</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/DataLayer-not-passing-user-email-for-Google-Ads-Enhanced/m-p/1213285#M84986</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/1002299"&gt;@SaketTripathi25&lt;/a&gt;&lt;/SPAN&gt;,&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for posting to the Community!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'd like to tag in some of our Top Contributors to see if they have any ideas on this -- Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/484534"&gt;@Franci&lt;/a&gt; &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/642495"&gt;@beeginman&lt;/a&gt; and &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/428335"&gt;@jolle&lt;/a&gt; Do any of you have any tips for &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/1002299"&gt;@SaketTripathi25&lt;/a&gt;&lt;/SPAN&gt;?&lt;BR /&gt;&lt;BR /&gt;Cassie, Community Manager&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Oct 2025 22:08:28 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/DataLayer-not-passing-user-email-for-Google-Ads-Enhanced/m-p/1213285#M84986</guid>
      <dc:creator>chighsmith</dc:creator>
      <dc:date>2025-10-16T22:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: DataLayer not passing user email for Google Ads Enhanced Conversions after HubSpot form submi...</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/DataLayer-not-passing-user-email-for-Google-Ads-Enhanced/m-p/1221973#M85342</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/407807"&gt;@chighsmith&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I haven't received any response to my query. I need a solution asap kindly let me know what can I do to get reply of my query asap so that I can implement Enhance Conversions for my company.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Nov 2025 08:42:18 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/DataLayer-not-passing-user-email-for-Google-Ads-Enhanced/m-p/1221973#M85342</guid>
      <dc:creator>SaketTripathi25</dc:creator>
      <dc:date>2025-11-10T08:42:18Z</dc:date>
    </item>
  </channel>
</rss>

