I have an issue with GTM, Hubspot and ad platform tags. All my tags fire upon GTM submit, even though I have tested and debugged through GTM with the right ad platform tag so I would assume that the issue might not be UTMs, but the referrer parameter, that Hubspot Lps do not sent to GTM debug. Let me explain:
I have Hubspot Lp with Hubspot embedded form ( no manual UTMs, but some Automatic URL append for the Linkedin campaigns).
I have setup a custom event listener for GTM, just like in the below link:
https://codeandtonic.com/blog/how-to-track-hubspot-form-submits-in-google-analytics-with-google-tag-manager-2022
This custom event + custom trigger work perfectly.
I wanted to understand how would GAds tags + Linkedin tags + Facebook tags work with the same custom event trigger ( the one that pulls the form-name when the user successfully submits their details).
So I have created GA tags + Linkedin + Facebook tags that are triggered upon the submit of the form.
However, even though my LP is from insights.companyname.com all tags fire when the user completes the form submission process.
My latest discovery in terms of this tags behaviour is the fact that even though I have appended the utms to the linkedin ad that was running, and I have went trough GTM debug, all tags fire, no matter the UTMS that are appended to the link.
So I would like to know, how I can make only the Linkedin tag fire /only the GAds / only the Facebook tags to fire, while keeping my form submit trigger.
I need to mention that through GTM I cannot track Hubspot embedded forms without custom HTML tag, which, I assume can be customised to understand where does the user come from. Like a source/medium parameter that should be pushed forward in such a way that my tags fire only on the right referer (source/medium). Any help in order to customize this, either by event, by trigger or variables, would be amazing.
Thanks!!
Related
I have a number of sites that use Gravity Forms for their contact forms. Most sites are working fine/as they should and track accurately.
However, I have one site that it's tracking at all. I can't even see the events firing in the 'Real Time' tab in Google Analytics UA (GA UA). Other sites that track correctly in GA UA use text confirmation within Gravity Forms. This displays a script (as per most guides out there like this one) with the form ID which fires the event and gives the form ID to GA UA.
The site I'm having issues with uses a redirect confirmation (ties into a third-party CRM and then pushes back to a thank you page). I can't seem to set up goals (custom events or destination goals) to track this and all of the field mapping is correct, the events are just not firing.
I'm using the Gravity Forms Analytics add-on -- can anyone advise? Is there a simple way that I'm missing or a workaround to make this work?
I've tried using Google Tag Manager (GTM) to create the event and push through to GA UA with no luck.
Any advice would be appreciated!
I implemented form submission tracking with Google Tag Manager on my website. Whenever a form is submitted I got an email. It seems that maybe out of every 3 form submissions Google Analytics only records ~one event.
I tried to debug the issue using the preview mode in GTM. It seems that when I submit the form (making sure that the submitted form goes to a different browser window) I can see in the preview window that my form submission tag was fired, and I can also see the event in Google Analytics Real-Time / Events, so everything looks okay.
However if I leave the preview mode and do the same, I cannot see the form submission event any more in GA real-time.
My questions:
1. why do I not see the form submission when I leave the preview mode?
2. what would be the best way to debug the whole process to make sure that I will get all the form submission events in the future?
Thanks a lot for any hints?
W.
I've researched several sources to try and understand how to set up this up, but the documents found seem incorrect our out of date. I'm trying to achieve the following.
When someone submits on my 'contact us' form, I'd like to track that as a conversion in AdWords.
I've completed the following:
- Set up the Conversion in AdWords
- Added the Google Tag Manager code to Squarespace and validated it works
I'm struggling to understand what needs to happen next, I believe it is something like:
- Create a GTM AdWords tag and add in AdWords Conversion ID and Conversion Label
Set the trigger as a form submission
Do I then need to add some form of code into Squarespace on the contact us page to pick up the trigger? this is the part I'm stuck on.
Any guides that explain this in full would be great.
I am in the process of building a chaplinJS client app and needed capabilities to add google analytics.
I want to use Google Tag Manager (GTM) and added the tracking code to my html file. Then went on over to GTM and setup the PageView event tag.
For some reason none of the page view events after the initial load are trigged. Does GTM work with chaplinJS? I imagine its looking for url change and then pushes out a Universal analytics page view event.
Has anyone else done this? I suppose the other route could be to update application.coffee and listen for "route:match" event and then push out a pageview event. I figured its easier to do this with GTM because I can always add new tags as I go.
Thoughts?
I followed the approach listed here to get my pageView tracking working
http://decompile.it/blog/2013/06/21/integrating-google-tag-manager-and-google-analytics-in-a-single-page-application/
Exactly, throw virtual pageview event on every navigation and that should help getting all pages tracked.
I have used similar handling for my backbone single page application.
We have many clients that are using Google Analytics (GA) via Google Tag Manager (GTM) on their website. My company provides AJAX pages for our client's site where we track user interaction using custom trackPageView calls. For regular GA code this was not a problem - we would set up the GA code in the static header, omitting the trackpageview call
<script type="text/javascript">
var _gaq=_gaq||[];
_gaq.push(['_setAccount','UA-5620270-1']);
</script>
and then whenever the user interacts with something on the AJAX portion of the page (initial page load, clicking options etc) we call trackPageView with a virtual URL
_gaq.push(['_trackPageview','/someurl?param1=abc¶m2=def']);
The problem we have with GTM is that we are getting double tracking - the initial trackPageView call coming from GTM, then the virtual URL call on the AJAX portion of the page - on initial page loads. We can't disable the virtual URL on initial page loads on our end. We need to be able to get GTM to send through all the GA code (setAccount, domain name etc) except for the trackPageView bit. Is there any way to do this in GTM?
Not the most elegant, but easy to implement solutions:
pass a virtual url to the page call in GTM and set up a filter in your data views that excludes this url from the reports or
place your GA code in a custom tag instead of using a code template and omit the trackPageView-Call
I am not sure if this option is possible given your description, but virtual pageviews are not the best solution -- the total pageviews and related metrics are inflated and you cannot tell which segments are really engaging with the site more and which less.
Event tracking would be a smart way to do this. And with new GTM this is not difficult to setup at all. You could create all-new tracking (to the same account) and attach a string to your new tags, and then simply add include-only filter that will not allow any other requests.