Thanks for your feedback everyone, we believe that there's definitely value in introducing this to lead flows. @Mateusz if possible would you be able to share some documentation for the 'ID' attribute support in GA?
Sharing additional feedback from our legacy feedback forum with 42 votes here.
A colleague, far cleverer than I, worked out a solution using Google Tag Manager, so you'll need to be relatively well versed in GTM should you wish to follow suit as I'm undoubtedly going to miss some important information in translation.
GTM can monitor all events and activity on your website including the submission of pop-up lead flows. By creating a monitoring event using the inspect panel on the webpage to find the form URL and submission class form he was able to have the event track successful submissions. This event can then be used to trigger a conversion within Analytics.
I have a different solution other than using GTM ninja skills that's been working pretty well for me. I've set up a "blank" html page that loads the regular GTM (or Google Analytics) code then redirects to the download offered on the Lead Form with javascript. I know almost nothing about javascript so don't be intimidated if you're new to it. Here's the base of the code I use if you want to replicate it.
<!doctype html> <html> <head> <meta charset="utf-8"> <title>cfo guide download</title> {{ standard_header_includes }} <!-- Google Tag Manager [insert your own GTM code in this section]--> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','');</script> <!-- End Google Tag Manager --> </head> <body> <!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> </body>
{{ standard_footer_includes }} <script type="text/javascript"> window.location.href = "[put your document link here]"; </script> </html>
This has worked perfectly for me for tracking these downloads. The main downside to this method is you have to create a new page (and a new template, I think) for every document you want to use. I'd love some feedback on this method if you have any insights. Let me know if you have questions on how to do this.
My name is Joe, I'm the Ideas Forum Manager. I've been in contact with the HubSpot product team about this Idea, and I wanted to provide a quick update.
We appreciate all the feedback you’ve shared here to help our team evaluate this feature request. However, at this time, this functionality is not something our team is planning to build into HubSpot. This is certainly subject to change in the future, so feel free to leave feedback if you'd like. We'll update this thread if our plans change.
Sie müssen ein registrierter Benutzer sein, um hier einen Kommentar hinzuzufügen. Wenn Sie sich bereits registriert haben, melden Sie sich bitte an. Wenn Sie sich noch nicht registriert haben, führen Sie bitte eine Registrierung durch und melden Sie sich an.