In Freshdesk how to setup GTM tag to track Live chat? - google-tag-manager

I want to track live chat in Freshdesk using google tag manager. Currently I am unable to track it using google tag manager as the pop up window for chat disappears when I go to google tag manager preview mode.

Related

Google Tag Manager for iframe

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?

Google Tag Manager - preview/debug tracking working vs. regular site doesnt track

I want to set up clicks tracking for button on website, implement tracking for Google Analytics and Facebook Pixel. Everything works well when testing site in Preview/Debug mode of GTM. GA and FB tracks events as planned. I Submitted version in Google Tag Manager and Published it.
Problem is following: Website tracking in normal mode doesnt work, for example website in Incognite mode is not tracked. Where in the Submit/Publish process in GTM could I have made a mistake?
Thanks for help!

google analytics for youtube

I have embed youtube videos on my web site and want to track in google analytics video events. I set up Youtube tag in Google Tag Manager and install Google Tag Manager on my web site. I see Google Tag Manager debugger on my web site and fired tags. Tag details. But I don't see Youtube in Google Analytics. I am not sure what is wrong - my installation or I look at events in a wrong place.
Additionally in Chrome console I see a command executed.
What is a little bit confusing for me is tracking ids. Google Analytics shows UA-XXX77-7, while fired video tag has UA-XXX77-9 (as shown in the tag details before). But maybe everything is okay with this.

Can gaq.push be used to track events with Google Analytics deployed through Google Tag Manager?

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

Deploying Google Analytics original snippet and Tag manager GA in one page

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.

Resources