We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
May 17, 2022 10:22 AM
Hello Community members and experts,
Anyone if successfully applied please let me know how can we track the conversions of meeting integration on our website where traffic is being generated by paid ads.
Solved! Go to Solution.
May 19, 2022 11:04 AM
Hello @TiphaineCuisset, sure I would definitely love to give it a try.
So @PublisysMedia, the solution I’m sharing with you needs some technical knowledge or access to a developer.
So without going too into detail, a dataLayer.push is a bit of code your website developer can add to the form so third-party tools like Google Tag Manager can read it. This essentially overrides the information being blocked by HubSpot.
To set this up, reasonably add a data layer like the example below:
<script>
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
'event': 'new_subscriber',
});
</script>
Swap out the event trigger from ‘new_subsciber’ to whatever makes sense for you.
And to set up the trigger in Google Tag Manager, use the trigger type “Custom Event”, and, use the “Event name” you have chosen in your data layer. The example below shows a setup for a newsletter subscription form found across the site.
Newsletter Sign Up
The tag can be set up as your usual event type, use category, and actions.
GA Newsletter Sign Up
I hope this helps.
Regards,
May 19, 2022 11:04 AM
Hello @TiphaineCuisset, sure I would definitely love to give it a try.
So @PublisysMedia, the solution I’m sharing with you needs some technical knowledge or access to a developer.
So without going too into detail, a dataLayer.push is a bit of code your website developer can add to the form so third-party tools like Google Tag Manager can read it. This essentially overrides the information being blocked by HubSpot.
To set this up, reasonably add a data layer like the example below:
<script>
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
'event': 'new_subscriber',
});
</script>
Swap out the event trigger from ‘new_subsciber’ to whatever makes sense for you.
And to set up the trigger in Google Tag Manager, use the trigger type “Custom Event”, and, use the “Event name” you have chosen in your data layer. The example below shows a setup for a newsletter subscription form found across the site.
Newsletter Sign Up
The tag can be set up as your usual event type, use category, and actions.
GA Newsletter Sign Up
I hope this helps.
Regards,
May 18, 2022 5:19 AM
Thank you for reaching out.
I want to tag some of our experts here - @Aakar @Ben_M @Mike_Eastwood do you have any thoughts for @PublisysMedia on this?
I also want to share these two community threads that may help: here and here.
Thank you!
Best
Tiphaine
![]() | Saviez vous que la Communauté est disponible en français? Rejoignez les discussions francophones en changeant votre langue dans les paramètres ! Did you know that the Community is available in other languages? Join regional conversations by changing your language settings ! |