Stack Exchange Network

Stack Exchange network consists of 174 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

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
13 views

Data from custom UTM parameter won't show up as a custom dimension in Google Analytics [on hold]

We are currently using up all 5 Google Analytics UTM parameters. Now we have a need to use a custom UTM parameter so we decided to follow Step Up Your Game & Track Custom UTM Parameters in Google ...
1
vote
1answer
26 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
17 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
0answers
19 views

How to use Session control, redefining session, or creating a new metric

Frustrated with the way sessions are recorded, I wanted to create a custom metric fitting for “website visits”. It would work similar to the session, but if someone left the website and came back from ...
0
votes
1answer
40 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
34 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
43 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
36 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
25 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
28 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
49 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
40 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
34 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
11 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
24 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
70 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 ...
1
vote
0answers
60 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
16 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
86 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
22 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
25 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
135 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
193 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 ...
3
votes
1answer
73 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
23 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
1answer
216 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
90 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
35 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
206 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
49 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
14 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
21 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
29 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
31 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
20 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
93 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
364 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 ...
0
votes
0answers
72 views

Implementing GTM and Data Layer with Squarespace CMS

I only have a remedial understanding of javascript and how data layers work at the moment. I am simply trying to implement a data layer onto a basic ecommerce site using the Squarespace CMS so I can ...
1
vote
0answers
34 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 ...
5
votes
1answer
429 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 ...
1
vote
1answer
99 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
351 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 ...
1
vote
0answers
23 views

Tracking Form Submit using Google Analytics and Tag Manager [closed]

I've set a Google Tag Manager for tracking my website form, I know its working because I saw it on the preview. I've tried to create a conversion goal for track the form submitting but I don't find it ...
1
vote
1answer
34 views

Google Tag Manager / Google Analytics - multiple internal site searches and parameter cleaning of uris

I use Google Analytics to track the searches users do on my website. I have no query parameter for searches (nothing like q=mykeyword). Therefore I use Google Tag Manager to send a "fake" value for ...
1
vote
3answers
326 views

Can I use Google Analytics from a local HTML file on Android (no hosting)?

I created an HTML file that uses Google Analytics. When I use it at a URL on my web host, it is working perfectly. Can I instead use it locally on my Android device, instead of hosted on my website?...
2
votes
1answer
55 views

Google Tag Manager event listener cannot find Youtube video

I am trying to insert video tracking with GTM on a Wordpress website, and use two custom JS codes for that: youtube-is-present function () { for (var e = document.getElementsByTagName('iframe'), x = ...
0
votes
2answers
11 views

Am I supposed to be able to see the AdWords conversion tag when using Google Tag Manager?

I have Google Tag Manager installed and I see it in the source and in Google Tag Assistant. I added an AdWords conversion tracking goal. I input the conversion id and conversion label into Google Tag ...
1
vote
1answer
42 views

Do I have to delete google analytics & FB pixel code if I wanna implement google tag manager?

Do I have to delete google analytics & FB pixel code if I wanna implement google tag manager? Do you have any experience with that? I will be gladder if I can let it in code.
1
vote
0answers
31 views

GTM “Set as Latest Version” Alternatives

Is there any way to at least overwrite the recent version ID (version3) instead of Set as Latest Version? It seems that I can edit the recent version but in my previous versions I have the option to ...
1
vote
1answer
347 views

GA Limit of 500 hits per session - workarounds & awareness?

We're currently walking the fine line between gathering as much data about the user journey and interaction with the site - and also being aware of our 500 or bust limit that GA analytics imposes on ...