Is there any way to check how much time Your tags are taking to fire on your website? i just wanted to know how to check gtm tag load time? is there any settings we can implement in Google analytics or gtm to check it?
Related
Does anyone know how to deploy Google Tag Manager succesfully in an Iframe?
I am working on the JavaScript widget for external partners which will be embedded on their websites as an iframe.
I want to track some of the events in my widget with Google Tag Manager which sends collected data to Google Analytics. I went through the whole configuration and set up some of the first triggers and events. For testing purposes, I put my iframe with the source code to my widget on one of the clients' websites. When I use a Google Tag manager for debugging my tags I can see all of my tags being fired and working correctly as they should from that iframe. Unfortunately, when testing it on the website without the debugger, none of the events appear in Google Analytics. Since I am the creator of the widget and I have full control over my source code what could be the reason for those events not being registered to Google Analytics but still being fired in the debugger? I went through the documentation of Google Tag Manager, and it says clearly that I can track my iframe if I have the access to the source code to configure it.
Any help and insight will be very appreciated here, did anyone faced a similar problem, and what could be the possible solution?
I've just replaced my google analytics tag with a Google Tag manager installation integrated into GA. When I inspect my page with Google Tag assistant I see the installation of tag manager and 2 GA tags, is this correct?
I only have 1 GA property setup, is there a reason I'm seeing a second one?
There are many third-party widgets or plugins such as comment boxes or forms that use Google Analytics to track user interaction with their plugin. Considering the fact that the two Google Analytics Id's are from different accounts, this seems like a plausible reason.
To check this, copy the GA Id in question, view the page source, and search, (cmd+F) for the Id in the code. If this is the reason, the GA code will likely be embedded with the widget's code.
We want to use Google Tag Manager to deploy our Google Analytics code but we do not want to change over our event tracking _gaq.push('_trackEvent') over to the Google Tag Manager dataLayer method yet.
Is this something that is possible or do we need to migrate those events to Google Tag Manager at the same time?
From posts to the Google Forums it look like this is not recommended.
https://productforums.google.com/forum/#!searchin/tag-manager/_gaq.push$20with$20google$20tag$20manager/tag-manager/9jSsmZhzuCo/vOAwcQqba0QJ
https://productforums.google.com/forum/#!topic/tag-manager/cglXIlLmTvc
I believe that this is possible but I'm not certain. You could set it up on the fly and test it out in debug mode:
Add your base tag (Google Analytics page view tag) to all pages.
Select Preview > Debug and then visit the website in question
Open the console and check using your go to debugging tool. I use GA Debugger for chrome (https://chrome.google.com/webstore/detail/google-analytics-debugger/jnkmfdileelhofjcijamephohjechhna?hl=en)
Try clicking a link or button that triggers an event using __gaq.push
I'm attempting to learn how to incorporate Google Analytics and custom event tracking on a new website. After researching into it, I can't seem to understand the difference and relationship between Google Tag Manager and just writing custom event tracking code.
Is Google Tag Manager just an easier way to track information without having to write JS?
Yes - Google Tag Manager is a "Tag Management System" wherein you can implement a lot of tags external of a typical development release cycle.
Adding tags without efficient management prompts big problems. All that code bogs down your site. Redundant or incorrectly applied tags can distort your measurement and result in duplicate costs or missing data. And it can be time-consuming for the IT department or webmaster team to add new tags, which means important marketing and measurement programs can be delayed. With Google Tag Manager, you eliminate these problems—and run your campaigns when you need them. -- source
Marketing and tracking services provide “tags” — snippets of code you’re often asked to embed right before the end of your tag — and they’re relatively easy to use, but when more than a few tags are involved, managing them can be a tedious task. This is where Google’s new Tag Manager comes in, which consolidates all of your site’s tags into a single admin panel. Now, you only have to include one automatically-updated snippet on your site. -- source
A Tag Management System (TMS) is solution that controls the deployment of externally hosted Javascript "page tags", very similar to what a Content Management System does for content. Probably the most known tag-based application known is Google Analytics, but other apps include simple social media interactions such as the Facebook Like or Tweet This buttons to more complex systems such as the Intense Debate or Disqus comments systems. -- source
So in your question, you can implement google analytics via custom event tracking code or you can install google tag manager and then code all your custom google analytics event hooks in it.
The google analytics is for user tracking and website traffic analysis and statistics.
The Tag manager is to manage plugin to website like google analytics basically they are different.
You could add google analytics to your tag manager account and the only plugin you will add to your website it the tag manager
i have tried this already.
hoping this was helpful.
thanks (=
Let me share my experience of implementing custom event tracking with Google Tag Manager.
Goggles Tag Manager (GTM) is a layer between your website and Google Analytics (GA).
We can use GA code for event tracking but in this case we have to write JavaScript in the website code. We have to look for event and need to add GA code inside that event handler. Since we have updated code, now we have to wait for the code release cycle to make it available to live site.
Using GTM it is possible to handle custom event tracking without adding code to the website and we can test our implementation with GTM inbuilt debugger before deploying to production website, at anytime.
And there is one more design pattern where we can implement generic custom event tracking for the whole website without adding JavaScript, but adding data-attributes to links, buttons or div- what ever event we want to track just add your data-attributes to the link and those attributes will go to GTM trigger and if it matches the rule, that event will be tracked. This design pattern is good for any kind of generic custom event tracking. I have implemented custom click tracking number of times using this pattern, and I am happy with it.
Google Tag Manager makes tagging easy as it has quite a few builtin dom variables and event handlers for Click, Pageview, Custom Events etc.
It also allows you to manage various external vendors and sends them the data they need. (I.e., Facebook pixel)
It really is a great eco-system for non-developers to get involved in tagging and event tracking.
I have a situation in which a page already contains the Google Analytics snippet which sends data to one account (not mine).
I have inserted the Google Tag Manager snippet with Google Analytics on it with a second tracking number of a different account.
But the second Google Analytics, deployed via Google Tag Manager, is not receiving any data.
Everything looks like it's set correctly, What is the cause of the problem?
Can there be some conflict between the original Google Analytics snippet and the one deployed via Google Tag Manager?
First check whether the container of GTM has been published or not. If it is not the 'Google Analytics' tag from GTM is not being fired on the page.
You can preview the container and see for the 'Google Analytics' call being made via Omnibug
You'll need to add the default Tag for sending Pageview data to Google Analytics and then Publish these changes. Verify they work in your GA Real Time Tool. The other GA tag shouldn't matter to you.
According to the Tag Manager team you can and should use both the new analytics.js and GTM tags when transitioning to Tag Manager, using different property IDs.
Once you've tested the GTM setup is working properly you can then remove the analytics.js code.
See this video for details - https://youtu.be/XBCNJo9qGH8
Could it be that you're using the old GA library? If so just update to analytics.js and try again.