Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [google-tag-manager]

Google Tag Manager is an analytics tracking tool made by Google. It enables uses to implement a variety of tracking options, run custom JavaScript, add custom HTML tags to the page and more, all without having to change code on the site.

0
votes
0answers
11 views

Question about tracking forms as a goal in Google Analytics

I have a directory website, include lots of profiles and acetgories i.e Physicians, hospital and clinics On each page there is a consultation form, I need to track these metrics: Which organic ...
0
votes
1answer
12 views

Do Google Analytics filters accept regex for IP address rules?

I usually use regular expressions a lot in GA filters, but I'm also usually adding "custom" filters. The IP address predefined filter accepts values per the screenshot below Usually I'd expect this ...
0
votes
1answer
54 views

Structured data implementation using GTM (removal of old codes)

Consider we have created structured data using JSON-LD. After coming to know that we can do it using Google Tag Manager (GTM). We are planning to do it using GTM. What measures & precautions we ...
1
vote
1answer
40 views

Embedding Google Analytics/Tag Manager and gtag.js correctly (in WordPress): Is it o.k. in the head or does it have to be after the body tag?

The Google devguide says the following: To install the global tracking snippet, copy the following code and paste it immediately after the tag on every page of your site. Replace ...
0
votes
1answer
31 views

Google Analytics Goal Special URL Parameters based on {{page URL]] event

In my Google Tag Manager Events, I am tracking Downloads use {{Page URL}} as the action. However, in my Analytics Goals, I'd like to use an event to track downloads of a SPECIFIC PAGE. So, ...
2
votes
2answers
168 views

Google tag assistant reports: “Same web property ID is tracked twice”

I've added the following Google Tag and Google Analytics code in my website. When i checked with Google Tag Assistant (Chrome Addon), I can find a yellow indicator against Google Analytics Tag which ...
0
votes
0answers
86 views

Google Tag Manager + Facebook Messenger not working

I try to implent the Facebook Messenger code to my GTM. After importing and changing, it doesn't show up. Can anyone see whats wrong with my code? Code: <!-- FACEBOOK MESSENGER CHAT BOX --> &...
1
vote
1answer
16 views

Google Analytics event doesn't show up as conversion

I'm trying to implement event tracking in Google Analytics via Google Tag Manager. At the moment I can see the event being triggered in the real time report, but it doesn't show up under conversions. ...
1
vote
1answer
16 views

How do I revert to a different version in Google Tag Manager

Google tag manager is showing a previous version (31) as live. I want to have 32 live. How do I do this? 32 contains all the tags and triggers that should be firing on our site, as well as the ...
1
vote
1answer
52 views

Google Analytics Event fire Before Pageview

What happen if a Google Analytics Event fires before a Google Analytics pageview? I have some Landing Page Source attribution ( not set ) and i think that this firing issue could be the problem. I ...
0
votes
1answer
65 views

Realtime conversions not showing destination funnel

I'm trying to make my custom destination funnel work. Here's how it's set up: I confirm the individual steps are being recorded in the Content page: However, when I finish the flow, I don't see the ...
1
vote
1answer
33 views

Tracking medium of user on primary domain firing an event in a third-party iFrame

Recently one of the websites I work on have added a form to their website that uses a third-party iFrame. We do have access to the third party code and have added GTM. in GTM I have managed to ...
1
vote
1answer
18 views

Datalayer pushed 'topic' leaking on incorrect pages?

We push in the pages topic into the data-layer, this is autopopulated based on the category being selected when editing the page/post in the back-end (Wordpress). <script> window....
0
votes
1answer
120 views

Google Analytics won't track Events

Edit: We are not using Google Tag Manager and this question isn't related to it - I want to know how you do this via code on the website and Google Analytics itself - i.e. without using Google Tag ...
1
vote
2answers
185 views

GTM how to set up a trigger when message pushed to Data Layer doesn't contain Event variable?

When user clicks on a button a message is sent to the Data Layer, with the relevant information, however it doesn't contain Event To set up a GTM trigger to fire on custom events I need to specify an ...
1
vote
2answers
102 views

How to forward all Google Tag Manager events to Google Analytics?

When creating a Google Analytics tag, I'm left to choose either one of these: But I want to track both Page views and Events. So, to accomplish that, I'm creating two tags, one for each Track Type: ...
1
vote
1answer
140 views

How do I implement a setTimeout event to adjust the bounce rate with Google Analytics snippet included in Google Tag Manager?

We use this Google Tag Manager (GTM) code on our website: <script> (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(...
1
vote
0answers
28 views

How to create a pageview using ga() function? [duplicate]

I manage google analytics inside google tag manager and I don't have any separated script for google analytics in the head of my website. I need to use ga() function like this: <!-- Google ...
1
vote
0answers
154 views

Pageviews and events in Google Tag Manager and Google Data Studio

I set up an event to track time on page after I found out that it wasn't tracked when the page is an exit page. It uses a timer trigger to trigger an event every 15s that reports the number of seconds ...
0
votes
1answer
79 views

How to connect adwords conversion tracking and analytics goals?

I am using AdWords conversion tracking using AdWords and Tag Manger. What I did is the following: 1) In AdWords: Tools -> Conversion -> New conversion -> Website -> Fill in all the conversion ...
0
votes
1answer
67 views

Can I have duplicated markup using schema.org?

I have this: <span itemscope itemtype="http://schema.org/NewsArticle"> <meta itemprop="mainEntityOfPage" content="true"> <span itemprop="author publisher" itemscope itemtype="...
1
vote
1answer
65 views

Google tagmanger is not working in incognito or private mode browsing causing chat to be non-functional

I can understand that because of the private browsing google tag manger or analytics NOT showing corresponding visits or action of the customer. But what my problem is, there is online chat in our ...
1
vote
0answers
18 views

Google Tag Manager Floodlight configuration Standard and Unique returning same results

I have two tags set up in GTM for floodlight tags where one is set to standard counting method and the other is unique. I would expect the unique one to only fire every 24 hours as it says in the ...
0
votes
1answer
48 views

Google Tag Manager - Trigger on asynchronous form

Is there a way within Google Tag Manager to track analytics with an asynchronous form that doesn't redirect to a confirmation page or other. For example, the form when submitted gives you a brief ...
2
votes
2answers
103 views

How to listen to gtm events fire from javascript file in my webpage?

I am using gtm with Universal analytics tag in my website. I know gtm fires - "gtm.js", "gtm.click", "gtm.dom", "gtm.load" etc events and send event data to google analytics based on rules specified ...
2
votes
0answers
147 views

How to setup custom dimensions in Google Analytics?

I have been working to track the user visiting my website with their userID. I am able to see the user by using user explorer in the GA View. But i want to fetch the data over the API to do achieve ...
0
votes
0answers
17 views

How do I know what keywords and ads led to a sign-up conversion?

I have two domains: mainsite.example.com and signup.example.com. The former is built by marketing, has SEO, and keyword tracking using Google Ads. The latter has a Google Tag Manager integration. ...
1
vote
1answer
267 views

How can I track outbound links with Google Analytics?

I currently have a WordPress website, where I would like to be able to create an Event which tracks when visitors click through to a 3rd party web page (outbound link). At present, my website has 3 ...
0
votes
1answer
32 views

Is there a way to track the Page Load Timestamp, of an External Link, for Google Analytics purposes?

In the interest of trying to generate more meaningful insights, I have inserted the following Event snippet into my Google Analytics Tracking code: setTimeout("gtag('event', 'adjusted bounce rate', ...
2
votes
1answer
51 views

Do I still need Google Ad Services' script if using Google Tag Manager?

I have inherited a site that has both GTM tags (one Google Ads Remarketing that fires on every page with a Conversion ID but no label, and the Conversion Linker), and the standard conversion script as ...
1
vote
1answer
350 views

How can I integrate the `setTimeout` into my Google Tag Manager/Analytics code?

I have recently come across the relative importance of creating an 'Adjusted Bounce Rate' Metric. In order to do this, the following code needs to the integrated into the Google Analytics coding: ...
1
vote
2answers
346 views

Can you change dataLayer variable name in GTM

A appreciate that this is not ideal but I have a dataLayer ecommerce tracking output which is in the old format for GA and is not compatible with Google Tag Manager. However, all of the values are ...
4
votes
1answer
97 views

How does ecommerce tracking work for multiple currencies

I have a client based in the UK which sells from one website to multiple countries. I am setting up standard ecommerce tracking through GTM and wondering, if someone pays in USD, will GA recognise ...
1
vote
0answers
25 views

Block Internal Traffic from Google Analytics for Remote Team Members [duplicate]

We are 100% remote, meaning no office. Currently I have an IP filter that blocks the IP of every single team member but this is not manageable since A) It's a pain to get everyone to send me their IP ...
0
votes
2answers
796 views

Can Tag Manager containers be moved to another account (owned by the same person)?

I've inherited a structure for Tag Manager containers that have each new container in a new account. Can I move the existing containers into one or 2 accounts so that I can group them into logical ...
0
votes
1answer
125 views

JSON-LD GTM Tag for BlogPosting

I'd like to do schema markup for my wordpress blog in Google Tag Manager. I've integrated the variables for Image url and Date Published into my JSON-LD GTM Tag, but I get an error in the Google ...
0
votes
2answers
38 views

Click to Call Tracking

I am trying to set up click to call tracking from the link on our mobile website. The link was set up on our mobile site using word press (Not sure if that matters). Here is the code on the page ...
0
votes
1answer
267 views

Both gtag.js tracking snippet and Google tag manager on?

I noticed that both the gtag.js tracking snippet and Google tag manager (with GA tracking tag enabled) were placed at the same time. Could this cause any tracking issues?
1
vote
0answers
96 views

How can Google Tag Manager fire correct pixels on the conversion page based on landing page UTM?

I am managing a crowdfunding website. We place ads for individual campaigns using different content networks like Adgebra and Taboola. Whenever someone clicks on an ad on any of these content ...
1
vote
0answers
16 views

Google Tag Manager tag creation requirements

I just created a new tag on one of my Google Analytics accounts. That generated a new Google Analytics tracking code. So because this property has a different tracking code does this now mean I have ...
1
vote
1answer
34 views

Cross Domain Tracking set up in GTM

I am trying to set up cross domain tracking for my company and I think I have most of it down except for a couple of questions regarding the modification of the GA Universal tag. When I click on "...
1
vote
0answers
45 views

Google Analytics not recording any hits on country subdomain. Google tag assistant reports net::ERR_ABORTED

We are having a bit of trouble in setting up country-specific subdomains in Google Analytics and it is not registering traffic on one of the subdomains. So the domains are example.com & nz....
3
votes
2answers
36 views

Is it ok to filter sensitive user information from GA hits in GTM (rather than in app)?

I'm using GTM to filter out PII in the data sent to Google Analytics. I do this by only letting GTM send non-PII values to GA. So the data flow is the following : app ->(sends full payload)-> GTM ->...
1
vote
2answers
21 views

The best practice of using Google Tag Manager among different domains and co-workers

I can’t wrap my mind around which account and container hierarchy in Google Tag Manager is best for my needs or – to be more precise – if it’s feasible to use multiple containers for different ...
1
vote
0answers
171 views

Can I add the same Facebook pixel for 2 websites?

The Facebook account that I use is a collective account for 2 services, which have 2 different websites, but they are the same company. I want to add the same pixel to the second (new) website. I use ...
5
votes
3answers
718 views

URL query removal in Google Analytics tracking

We are trying to track all of the page views to certain sites. We ONLY need to know how many folks visit each page. Unfortunately what is happening is Google Analytics (GA) is not aggregating the ...
1
vote
0answers
48 views

Element visibility with Google Tag Manager

I'm trying to know how far my users scroll on my website. With Google Tag Manager I've set a trigger that fire an event when some marked element appears on the page. It's working but something strange ...
6
votes
1answer
843 views

Why is Facebook Pixel firing the gtm.formSubmit event?

I have a Google Tag Manger container that contains a Facebook Pixel injector tag and a regular form submission tag (with standard form submission trigger). However, when the submit button of a form is ...
2
votes
1answer
151 views

How to exclude my domain from referrals?

I'm using Google Analytics with Google Tag Manager. In the Acquisition > Channels > Referral , I can see our domain: The website domain exists in the Tracking Infos Excluded list, but still I can ...
2
votes
0answers
425 views

Refused to execute script from 'https://googleads.g.doubleclick.net/pagead/viewthroughconversion/

I just added tags to track the conversion of our Google Ads and according to Google Tag Assistant, all is fine (the tag is blue; "To validate please enter the feed ID"). But in the console, I get ...