Lost connections to Google Ads

Hello!

I have a problem with the User provided Data not working. This happend after we built and swittched to a new website, everything worked fine before.

There is a connection between HubSpot and Google Ads, but Google Ads can’t get User Provided Data (phone/email), like before (Enhanced Conversions).
I have tried a couple of days now to create listeners in GTM and variables to send to Google Ads that way, but nothing seems to work.

I asked the HubSpot support and they said this:

"I have checked internally and seems to be the issue is not from HubSpot. the problem lies with the User Provided Data (UPDs) or Enhanced Conversions. The issue is with the Website (Import from clicks) source. This type of conversion relies on the Google tag (Gtag/GTM) on your webpage to capture the customer’s email/phone number right when the form submits. When you switched the website, your new WordPress theme or custom code broke the script that was responsible for taking the email address entered in the form, hashing it, and sending it to Google along with the GCLID.

The best way to resolve this issue is to ensure that the JavaScript listener is properly installed, and then create a user-defined data variable in GTM. Please note that implementing this solution may require the expertise of a developer or someone with coding experience.”

Does anyone know how to get the data transfer to Google Ads working? How to create the right custom HTML tags and variables.

Hi, @Karl-Viktor :waving_hand: Welcome to our community! Thanks for the great question and for including your details. Tracking down GTM-related issues is tough. I’d like to invite some of our community experts to the conversation. Hey @SanjayKumar @JAalbers @Jigar_Thakker do you have any feedback or GTM-specific troubleshooting tips for @Karl-Viktor?

Thank you very much for taking a look! — Jaycee

Hi!

Thanks for helping me, if i can provide you guys with anything that might help you understand, just tell me! :slightly_smiling_face:

Hey, @Karl-Viktor :waving_hand: I think the honest answer here is you’re looking at two options:

  • Hire a dev for a few hours — Your instinct is right. The fastest, cheapest, and most reliable solution is to hire a GTM developer for 1-2 hours. They can implement the custom script fix properly, and your problem will be solved permanently. This is the standard “best practice” for this exact issue.
  • Search for a very specific type of plugin — You would need to search the WordPress plugin directory for a tool that specifically “integrates HubSpot Form submissions with the Google Tag Manager data layer for Enhanced Conversions.”

Best,

Jaycee