google-tag-manager

Google Tag manager not registering Transactions for enhanced Ecommerce

ぐ巨炮叔叔 提交于 2019-12-10 19:51:59
问题 I am running a single page checkout and the pagevies are showing fine. however the purchase transactions doesn't seem to be being processed in Google analytics. I have the data layer up and it seems to be registering the purchase event, I have tag enabled with a page view on gtm.dom which has the enhanced ecommerce tag ticked, but still nothing . Here is the output from the Datalayer if any one can help would be really appreciative : [ { "ecommerce":{ "purchase":{ "actionField":{ "id":

Google Tag Manager V4 binary download container

自古美人都是妖i 提交于 2019-12-10 17:35:13
问题 I have read through all the posts here and other and can not find out how to make this work. I am following this from google: https://developers.google.com/tag-manager/android/v4/ In it is says to download a binary. However, I have no option at all on my container to download a binary file for the container. Only JSON. I verified that the container is set to Android. When I try to use the JSON file like the following: TagManager tagManager = TagManager.getInstance(this); PendingResult

Custom dimension data not showing in analytics (using google tag manager)

亡梦爱人 提交于 2019-12-10 15:13:23
问题 I've been following numerous implementation guides on this feature and have yet to see the final result. What i'm trying to do is very standard: Add a custom dimension called User type to UA. My site uses Google Tag Manager. Here are my implementation steps: Created a custom dimension in UA Created a Data Layer Variable name userType Added the dimension to my Analytics page view tag Added the following code to page load: var dimensionValue =$('#user_type').data('type'); dataLayer.push({

Google Tag Manager is hiding my custom HTML tag with css

我们两清 提交于 2019-12-10 11:39:54
问题 I have added a custom HTML tag which is being triggered by a dataLayer variable. Everything is showing up on the page but for some reason my entire custom html tag code is wrapped in a div that hides everything: <div style="display: none; visibility: hidden;"> <div id="newsletter" class="animated animatedvisible rubberBand"> <h3>Dynamic Drive Newsletter</h3> <p>Sign up for our FREE newsletter to get early access to new scripts!</p> <form action="" method="post"> <input type="email" value=""

GTM - One datalayer for multiple containers

柔情痞子 提交于 2019-12-10 11:28:11
问题 I use Google Tag Manager for several weeks now. Recently I had a special request and I have not found an answer. Is it possible that several containers share the same datalayer? In the Js code of two containers, I tried to give the same name to datalayer : the result is rather surprising ... All tags in each containers are executed twice. Specifically, I try to send an event in two tags which are in two different containers. I'd like to avoid having maximum countless number call on my onclick

Universal Analytics - 3rd Party Payment Gateway

青春壹個敷衍的年華 提交于 2019-12-10 09:50:58
问题 Our website is currently tracking with Universal Analytics via Tag Manager. Our check-out process includes getting redirected to a 3rd party payment gateway before going to the Thank You Page. So, it would look like this: site.com/checkout --> site.com/payment --> security.com --> site.com/thankyou Security.com is a 3rd party site and I am unable to add the tracking code there. I'd like to be able to see who are able to get past the security.com stage and make it to the site.com/thankyou page

Configure Firebase Analaytics + Google Tag Manager (GTM) per build variant

故事扮演 提交于 2019-12-10 02:40:04
问题 Before Firebase Analytics became available we use a multi flavour, multi build type Android Gradle project setup, and supply a different GTM container ID for each build variant, as follows: TagManager.getInstance(context) .loadContainerPreferNonDefault(BuildConfig.GTM_CONTAINER_ID, -1); TagManager.getInstance(context).getDataLayer().pushEvent(eventName, eventData); where Gradle would inject different GTM_CONTAINER_ID per build variant. How do we achieve the same with Firebase Analytics + GTM?

Tag Manager: How to load binary default container?

有些话、适合烂在心里 提交于 2019-12-09 15:05:00
问题 I'm trying to set up Google Tag Manager as per the Getting Started guide. When adding a default container, the docs make it clear that using binary default container file (as opposed to JSON) is recommended. Although using the binary file is recommended, if your container does not contain rules or tags, you may choose to use a simple JSON file instead. I've downloaded and added the binary default container under res/raw . But initialising Tag Manager with loadContainerPreferNonDefault() seems

PageSpeed review and optimization

萝らか妹 提交于 2019-12-09 14:52:01
问题 I analysed my page speed using google pagespeed insight and got below suggestion. Can any one help me how I can implement it. Leverage browser caching Setting an expiry date or a maximum age in the HTTP headers for static resources instructs the browser to load previously downloaded resources from local disk rather than over the network. Leverage browser caching for the following cacheable resources: http://www.googletagmanager.com/gtm.js?id=GTM-TVSKP6 (16.2 minutes) 回答1: You can't (you do

How to use Google Analytics and Google Tag Manager 2 on a local address?

五迷三道 提交于 2019-12-09 00:39:29
问题 I'm relatively new to GTM and have been experimenting with the new interface which will be fully replacing the original on 1 April: https://support.google.com/tagmanager/answer/4605576. However, I have encountered some issues getting Google Analytics to register pageviews when testing on a local address. There is a solution for this using the original GTM layout outlined here: Track localhost on Analytics in Google Tag Manager, so I don't wish to ask a duplicate question. However, in the new