google-tag-manager

Google Tag Manager with Facebook Analytics for Apps

浪尽此生 提交于 2020-01-06 06:20:44
问题 I have integrated my firebase analytics in apps and want to use facebook analytics to target ad campaigns. But, I don't want to code everything and integrate facebook analytics. I have heard that Google Tag Manager integreates with both facebook and firebase analytics. Can I share events from Firebase Analytics to Facebook Analytics via Google Tag Manager? 回答1: Google Tag Manager does not integrate with Facebook. You can find a list of integrations here: https://support.google.com/tagmanager

Invalid HTML, CSS, or JavaScript error in Google Tag Manager with FB Bot

爷,独闯天下 提交于 2020-01-06 05:38:10
问题 I'm trying to put the following Facebook bot code into Google Tag Manager but am getting the "Invalid HTML, CSS, or JavaScript found in template." error. Any idea why? <!-- Load Facebook SDK for JavaScript --> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = 'https://connect.facebook.net/en_US/sdk/xfbml.customerchat.js#xfbml=1&version=v2.12&autoLogAppEvents=1'; fjs

datalayer google tag manager

落花浮王杯 提交于 2020-01-06 03:22:13
问题 Iam using google tag manager it's going very well with click events but when I tried to use datalayer it's not working here is my datalayer <script> $('.tag').click(function(event){ dataLayer.push({ 'event':'myNewTransaction', 'eventCategory': 'App', //create a datalayer variable macro called eventCategory 'eventAction': 'Click', //create a datalayer variable macro called eventAction 'eventLabel': 'iOS' //create a datalayer variable macro called eventLabel }); }); And in the console when I

Event data, sent from via Google Tag Manager, not visible in Google Bigquery

自作多情 提交于 2020-01-05 04:56:09
问题 I created some usual events in Google Tag Manager: Category, Action Label. I see them in Google Analytics Reports, but I don't see them in row Google Bigquery Streaming. Here is an event in Tag Manager I see it in Google Analytics Row But nothing in Big Query Has anybody met this problem? I have found absolutely nothing anywhere (but maybe I queried Google Search incorrectly). Please help. 回答1: To avoid errors while exporting data from GA to BigQuery you need to verify the following as

Analytics for Firebase - User Properties with Google Tag Manager

大城市里の小女人 提交于 2020-01-05 04:30:28
问题 Does anyone know if there is a way to set User Properties of Analytics for Firebase with Google Tag Manager? I'm not finding deep documentation about converging this two tools. 回答1: Lets say you have a user property called exciting_sport and you have written the Firebase code for this user property as follows: Analytics.setUserPropery("exciting_sport", xcitingsport); Now in the GTM console you need to create a new variable that matches the user property key. Take a look at the attached

Taking the pageviews of urls

二次信任 提交于 2020-01-04 19:14:08
问题 I have a site and I want to take the pageviews for specific urls using google tag manager and datalayer variables. Example urls http://www.test.com http://www.test.com/e-shop http://www.test.com/contact I create datalayer variables with home eshop contact After I set the following trigger using every datalayer variable as custom events home eshop contact After that what code should I write in tag I have named it Pageviews in order to have this variables in google analytics? Is there any

My Custom Dimensions & Metrics don't show in Google Analytics?

你。 提交于 2020-01-04 05:34:29
问题 I am using Google Tag Manager with Google Analytics (Universal Analytics). Here is my setup, and here is our Donation Page. The dataLayer is created before the Google Tags as: var dataLayer = [{ 'pageCategory' : 'Donation Page', 'txnPhase' : 'Transaction Pageview', 'txnT1' : new Date() }]; On our eCommerce page I have added this code with executes only when a transaction is committed (and it works). //TEMP BATCH var gaqTemp = [].concat.apply([], gaq); //Puts 3 arrays of eCome data together so

Google Tag Manager causes full page reload in SPA - React

元气小坏坏 提交于 2020-01-04 02:12:07
问题 When I add trigger in GTM on a React <a /> or <Link /> element it causes full page reload on click instead of re-rendering just part of application. When I remove google tracking, everything works smoothly. Is there a way, how to configure GTM to not affect behaviour of application? 回答1: If strange things happens with Google Tag Manager link click tracking the first thing you should do is to go to your click trigger setup and see if the "wait for tags" and "check validation" checkboxes are

How does the Firebase help on firing tags in google tag management

倖福魔咒の 提交于 2020-01-03 02:55:24
问题 I am trying to understand what is the role of firebase to the google tag management. According to the GTM document Log events and variables, "your Firebase Analytics implementation acts as your data layer". And in the Fire tags section, the document mentions "Trigger conditions are evaluated whenever you log a Firebase event". My question is how this "DataLayer" Firebase Analytics triggers the other tags. Are those tags triggered by the Firebase server outside users' apps? Or the Firebase

Google Tag Manager: Eventtracking not working

不问归期 提交于 2020-01-01 18:17:56
问题 I try to track the clicks on all mailto-links on my site using the Tag Manager, but its not working at all. Looking at the network transfer using firebug I can see that nothing is submitted to Google (and of course also nothing appears in my Analytics interface). I have bind the push to the click using jQuery (correctly loaded on my page): $(function() { $("a[href^='mailto:']").bind("click", function() { dataLayer.push({ 'event': 'GAevent', 'eventCategory': 'Mail Link', 'eventAction':