google-tag-manager Questions

3

I'm using Google Tag Manager (aka: GTM) to send events to my Google Analytics 4 account, some of them are custom that developers send thru the code like that: dataLayer.push({ event: 'CA:some-even...
Fumikofumitory asked 7/2, 2023 at 18:49

2

Solved

I am working on a chrome extension, and I would like to be able to track metrics with google analytics. I believe the easiest way to do that would be through tag manager, and I have found this tuto...

3

Solved

I need to record virtual Page Events with the Google Tag Manager PHP API. So far I have this code: $client = new Google_Client(); $client->setApplicationName("Partner Inquiry"); $client-&gt...
Legatee asked 12/6, 2015 at 10:44

5

I'm using Google Tag Manager to deliver Facebook Pixel. Then, I fire events using code like this <body> ... <script> fbq('track', 'ViewContent', { content_type: 'product', con...
Lenlena asked 27/10, 2017 at 10:26

4

Solved

I´m trying to improve the load time and performance of my website. To summarize this is the average loading time stats that I get without including Google Tag Manager. However when I just includ...
Bacon asked 26/3, 2020 at 11:42

5

Solved

When running the Debugger via Google Tag Manager and checking the Debug view in Google Analytics 4, everything looks fine... and then all of the sudden, multiples of every event show up. Sometimes ...
Kerriekerrigan asked 15/3, 2023 at 12:57

7

I am making a React-Native mobile application and want to incorporate Firebase and Firebase Authentication. However, I am facing this error when I run 'pod install' or 'pod update': I did some res...

5

I have integrated Firebase and GoogleTagManager into my iOS app target using Cocoapods. When I build my target, Xcode constantly gives me error: Showing Recent Messages PhaseScriptExecution [CP]...
Paulownia asked 3/5, 2019 at 7:18

11

From this answer and this article I've added a <Script> in order to add Google Tag Manager to my NextJS website: components/layout.tsx: import React from "react"; import Head from...
Rubberize asked 22/4, 2023 at 3:5

3

Solved

I'm making better performance and load time our online shop, and we use Google Tag Manager on it. But the script that includes google tag manager also loads Google Analytics (legacy ga.js) and Univ...

1

I'm not clear on if the Google Tag Manager Container is automatically refreshed, and if so how. The documentation states: By default, your container becomes eligible to be refreshed every 12 ho...
Exuviae asked 19/1, 2016 at 19:31

4

Solved

Next.js v11 released a new Script component which has different strategies. It is recommended to load Google TagManager with afterInteractive strategy. I've tried // _app.js import Script from 'ne...
Hame asked 24/6, 2021 at 12:19

3

Solved

I use Google Tag Manager. In documentation Google https://developers.google.com/gtagjs/reference/api?hl=en have client_id field name, but I don't understand what needs to be added to the Google Tag...
Wellfed asked 12/12, 2020 at 22:31

2

I am trying to implement GTM with reactjs. I have used react-google-tag-manager but it did not solve the purpose. Somehow, the data layer needs to be in a particular format and also the needs to b...
Licorice asked 9/4, 2018 at 13:33

1

We have a GA4 tag that is linked to a Google Ads tag. We load the GA4 tag with the standard snippet, and then GTM automatically loads the Google Ads tag. This is fine, except GTM is making two dupl...

3

I am using Google Analytics 4 (GA4) on the client to track a whole bunch of different events. However, there are 2 scenarios that I can't cover client side: A user completing check out on a paymen...

6

I have recently been tasked with cleanup of our GTM tags. I notice that a lot of the tags include remote scripts by injecting them into the DOM using JS, for example: var head = document.get...
Emprise asked 7/4, 2020 at 16:54

1

I'm migrating a website that currently uses UA analytics configured via GTM to use Analytics 4. Currently, the Website has the following purchase push event: ({'event':'purchase','ecommerce':{ 'pu...
Siegfried asked 19/5, 2022 at 14:53

3

I'm working on improving the performance of a site. After some investigation, I'm focusing on reducing the Total Blocking Time (TBT). Chrome Lighthouse tells me to "Reduce the impact of third-...
Bisayas asked 29/6, 2022 at 12:13

4

Solved

We have an official company website. When we check the page speed, the site is ranking low and showing Google Tag Manager script in "Reduce unused javascript". As google tag manager is im...
Crore asked 15/7, 2021 at 9:26

4

Solved

In order to implement Content-Security-Policy, I need to pass nonce to GTM to allow tags. Using nonce-aware version of GTM snippet works great for all tag types except Custom HTML. Is there a way t...
Ambroid asked 2/12, 2020 at 0:53

4

I have to send a google tag manager event when a user press a button in a web. On fact, this button is inside an iframe and after that click, this iframe is closed and another one comes up... I'm ...
Vipul asked 27/5, 2013 at 8:26

4

Solved

I have set up google tag manager with my GA4 property (NOT legacy Universal Analytics) according to the official guide: https://support.google.com/tagmanager/answer/6103696?hl=en&ref_topic=3...
Borkowski asked 2/2, 2021 at 14:48

3

Solved

On our site we have script tags for third-party services like Lotame, Peer39 and Google Analytics in the footer just before the closing body tag, to avoid blocking the page render. We make scripts ...
Nordrheinwestfalen asked 7/5, 2015 at 15:36

4

I would like to send a custom event to the new Google Analytics programatically, without defining it in the GTM first. I am using Google Tag Manager and according to this article: https://developer...

© 2022 - 2024 — McMap. All rights reserved.