Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
58 views

Empty _fbc parameter, what to pass?

I'm trying to improve my event score in meta business panel. Pixel is loaded from the GTM. I am working on Prestashop 1.7.8.5 and I'm not using facebook module. I'm around 3 out of 10 points in every ...
Piczon's user avatar
  • 19
0 votes
1 answer
20 views

dataLayer.push Not Firing on Purchase Event - Backend to Frontend Issue

I’m experiencing an issue with implementing dataLayer.push on my website, AdGPT.com, specifically related to tracking successful purchases for Google Ads, Facebook Ads, and GA4. Problem: I’ve added ...
Daniel Rozin's user avatar
0 votes
0 answers
28 views

Hashed email & phone submission to datalayer after form submission

I was trying to push to dataLayer hashed email and phone number (for later transfer to GTM and then to FB), using a code below. Unfortunately it doesn't work - email and phone are still coming ...
Norfol87's user avatar
0 votes
1 answer
88 views

Will GTM get messed up if users push data to the data layer at the same time?

When using Google Tag Manager with a data layer variable ('payment_type'), if multiple users on different devices push data to the data layer simultaneously with different values, could this lead to ...
piku_baba's user avatar
0 votes
1 answer
61 views

GTM dataLayer.push isn't working if sent straight before or after gtm initialisation

I want to send some data to GTM as soon as possible. I tried to call the dataLayer.push before the tag initialisation, after it and inside an initialisation script. All the 3 ways failed. <head> ...
Dzmitry Vasilevsky's user avatar
0 votes
0 answers
42 views

Object add no showing to event add_to_cart

i trying integrate Woocommerce with Google Tag Manager, Google Analytics and Google ADS. When i try configurate add_to_cart event, i don't know because no show this object "add" in my ...
TI Two Dogs's user avatar
0 votes
0 answers
46 views

Numeric Event Custom Parameter from GTM not being properly passed on to GA4

I'm tracking many events in GTM. Most of them have custom parameters created and, in some cases, these parameters are passed through dataLayer and, among them, some collect numeric data (as opposed to ...
user19512127's user avatar
0 votes
0 answers
75 views

What is the best way to use dataLayer custom variable in Google tag manager for sales tracking in google ads

My gtm script is already setup. and dataLayer push is also working fine. But cant able to get value of transcationId, currency & transcationTotal in google tag manager on order completed page of ...
Jatin Gadhiya's user avatar
0 votes
1 answer
82 views

How do I make sure my Select Content GA4 event doesn't remove the type and ID values?

I'm trying to set up the select_content event as laid out in the GA4 Recommended Events page. However, my current organization wants to use the dataLayer syntax to push this event to GTM instead of ...
Hamadyne's user avatar
0 votes
0 answers
109 views

Dynamic Google Tag Manager Load on Cookie Consent | 404 Error

I'm trying to dynamically load Google Tag Manager (GTM) based on user consent in a JavaScript function. My GTM ID is correct and the container is published (and updated). I'm getting a 404 Not Found ...
mybackhurtstoomuch12's user avatar
0 votes
0 answers
33 views

explanation of "window.dataLayer || []" [duplicate]

I am trying to understand what exactly: window.dataLayer = window.dataLayer || []; means in gtag() initialization as per google instructions Does it assign window.dataLayer the object window....
cccnrc's user avatar
  • 1,239
0 votes
1 answer
82 views

Contact from 7 API integration + data layer

I'm working on integrating Contact Form 7 with an API, which is functioning as expected. However, the challenge arises with the API returning a dynamic "gatewayID" that I need to push to ...
JohnK's user avatar
  • 33
0 votes
1 answer
37 views

Values from XSL parameters are showing up as undefined in GA4 select_item event

I'm working on converting our Universal Analytics dataLayer into the GA4 format, and as part of this I need to create events to collect data that would previously have been passively sent on pageload ...
Karen's user avatar
  • 38
0 votes
0 answers
12 views

I have an issue with the DataLayer. It's grouping all events into a single pageview, and it's not capturing events as it should. How can I fix this?

I have a webpage with my own code, apparently, I have an issue with the DataLayer. It's grouping all events into a single pageview, and it's not capturing events as it should. How can I fix this? Fix, ...
Camilo Acosta's user avatar
0 votes
0 answers
23 views

Limiting GTM Code Functionality on Website: Hiding Dimensions and Events from External Agency

I have a website for ordering a product, which involves a four-step process. I've been tasked with integrating a GTM (Google Tag Manager) code from an external agency, and I already have a snippet of ...
Tadex's user avatar
  • 1
0 votes
0 answers
38 views

dataLayer Control Automation

String dataLayer = (String) jsExecutor.executeScript("return JSON.stringify(window.dataLayer);"); Hello friends, I want make dataLayer testing automation with java and selenium.İf you know ...
Hasan Gunduz's user avatar
2 votes
1 answer
100 views

Number of item-scoped custom parameters

I have a question about the Google Support website (https://developers.google.com/analytics/devguides/collection/ga4/item-scoped-ecommerce) "you can include up to 27 custom parameters in the ...
Iñaki Gangutia's user avatar
0 votes
0 answers
55 views

Index In Google Anlytics's Enhanced Ecommerce Event 'view_item_list' not flowing

I am passing the index as number for GA that is getting captured in item_list_index field of GA in Web. But same thing is not flowing for Android. Getting not set. Reference: https://developers.google....
Satish Shriwas's user avatar
0 votes
2 answers
290 views

How do you setup a Google Tag Manager JavaScript Variable to capture a parameter when the amount of ecommerce items is unknown?

I am attempting to setup Data Layer variables on Google Tag Manager to capture ecommerce data for our site. I can successfully capture the id, name, price, and quantity for a single item; but if I ...
Dizy's user avatar
  • 1
0 votes
0 answers
32 views

Item in GTM Data Layer preview that is not in the Website code

I'm having an issue with an item appearing in the Data Layer that the WebDev team swears is not in the code. What I'm referring to is the contents of Custom Data > Contents - there is an extra item ...
ThrowAwayGTMIssues's user avatar
0 votes
0 answers
95 views

Unable To Add 'Line_item' Property From 'Checkout' Object To DataLayer On The Order Status Page

I'm trying to get the value of a checkout object property to get pushed to the dataLayer on the Order Status page after a purchase. But for some reason I can't seem to access it. The image attached ...
user2056189's user avatar
2 votes
1 answer
65 views

Push multiple objects into the dataLayer

I have the following javascript function that pushes 1 object made of 5 key values into the dataLayer. function pollForDatalayer() { if (typeof(dataLayer.push) === 'function') { // The dataLayer....
UgoL's user avatar
  • 889
0 votes
0 answers
21 views

Custom definitions not populated in BigQuery, but are when previewed in Tag Manager

I have a setup where a Drupal site sets a data layer in the HTML that, as far as I have tested and debugged, correctly sets keys and values. I then have the site connected to GA4 through a Tag Manager ...
AlbionBrown's user avatar
0 votes
0 answers
120 views

Adding variations to dataLayer in WooCommerce (Add to cart event)

I'm using the code below which works great for simple products but doesn't log multiple variations when selected and added to cart. How can I modify the code so that the specific variations get pushed ...
J82's user avatar
  • 8,417
0 votes
1 answer
80 views

undefined Variables in Tag Manager

I am new to Datalayers and GTM but i want to learn it on myself and right now im struggeling to get everything done correctly. enter image description here i have tried to add this item_id from ...
Massud Monshizadeh's user avatar
1 vote
0 answers
177 views

Google tag manager datalayer

In GTM documentation there are ways to enable data layer by pasting a given code in the body section of website's source code for getting datalayer information of the purchase event. Now I have been ...
I.mahadi's user avatar
0 votes
0 answers
65 views

When I activate the data layer using a GTM server-side plugin, the "Add-to-Cart" remove button stops working

I created a unique theme for my WooCommerce business and chose to add a GTM server-side plugin https://wordpress.org/plugins/gtm-server-side/ to improve my analytics, however, something went wrong. It ...
Md Maruf Hosen's user avatar
0 votes
0 answers
65 views

Use gtag events as trigger for tags in tag manager

I am able to see which event on are being triggered and sent to GA4 in gtm preview mode but I am not able to use all these events as triggers in gtm. I can only able to use events which are triggered ...
TOP 10's user avatar
  • 97
1 vote
1 answer
1k views

fire custom event using dataLayer.push only after gtm script has fully loaded on page

I have a webpage using Google Tag Manager. At some point during loading, the page fetches data from an API, and pushes some of that data to the dataLayer via a function, "gtmPush". A custom ...
oldbhoy's user avatar
  • 11
0 votes
2 answers
114 views

Is it possible to get back user_id programmatically when user browse a site?

I use gtag manager to push unique user_id from my site to ga. I wanna get it back like client_id when a user browse my site. I definitely know that gtag does not allow to do that. also there is a ...
NashGC's user avatar
  • 691
1 vote
1 answer
309 views

How to retrieve dataLayer Object using Selenium?

I'm trying to find a way to extract the datalayer object from a website via java, using selenium webdriver. I am using the jsExecutor.executeScript to pass the "windows.dataLayer" command to ...
Prince's user avatar
  • 11
0 votes
1 answer
176 views

How does GTM dataLayer data go from a browser to the GTM console?

Perhaps a very obvious question, so please indulge me - how and when do the contents of the dataLayer on a users' browser make it to the users' GTM console / portal? Having looked at the network ...
rpman23's user avatar
0 votes
1 answer
427 views

Settting up GTM and GA4 for a new eCommerce website. Why is item information being imported into Ga4 for purchases, but not for general events?

I've tried setting up GA4 & GTM for a Wix website. Because the new site has an eCommerce store, I want to be able to track events like Add to Cart, checkout, purchase etc. all with corresponding ...
Connor Holbert's user avatar
0 votes
1 answer
1k views

Server Side Google Tag Manager eCommerce event not working

I have been banging my heads for couple of hours here... tried many things still not working! I don't know why but everything is setup correctly... Here tag is firing from my website... Here in debug ...
Sajjad Hossain Sagor's user avatar
1 vote
0 answers
81 views

_triggers dataLayer variable blocks tag from firing on some pages only

I'm using Google Tag Manager to send a custom event on click of any Contact Us button or email link. The tag fires as expected on the homepage, but is blocked by a _triggers variable on another page. ...
Ana's user avatar
  • 11
3 votes
1 answer
562 views

Custom DataLayer Code for WooCommerce | GA4

I hope all the experts are doing well. I am seeking a solution for my client's WordPress WooCommerce website, https://brille-klubben.dk. I need to track purchase events on the website. While I have ...
Anamul Hoque Sumon's user avatar
0 votes
1 answer
88 views

GTM - keep track of last processed dataLayer item

I have a custom javascript GTM tag that goes through items in dataLayer and makes some processing based on the items. The tag is triggered on a custom event. I need to keep track of which items in the ...
Martin Staufcik's user avatar
0 votes
1 answer
1k views

Google tag manger send all data layer as json

I am looking for a way to define all the data layer as variable and send it as is to analytics and from there to BigQuery. I didn't find a way to deal with all the data layer but only with specific ...
yoavba's user avatar
  • 411
0 votes
1 answer
524 views

Why all item revenue is null in Google Analytics Monetization Ecommerce purchases?

My site is connected to GA4, but if I watch Monetization Ecommerce purchases, all values are null, but there exist purchases. I add on my site Google tag manager script in the header, but I think can ...
Ruslan's user avatar
  • 31
0 votes
0 answers
56 views

Javascript not executing when inserted after page load

I'm trying to push an item to a GTM datalayer using an unusual method which is a workaround. I have a messaging service installed on my website. The messaging service creates a div: <div class=&...
JGSaxcat's user avatar
1 vote
1 answer
412 views

updating fields to set in GTM from dataLayer pushed variables

I'm having an issue with updating values in the "Fields to Set" section of Google Tag Manager for event parameters in GA4. I'm using GTM to send data to GA4, I have a configuration tag in ...
MINAMAJEFF's user avatar
1 vote
0 answers
78 views

Is a Custom Dimension or data type the reason why the price dimension isn't showing up on my scatterplot with Google Analytics 4 Explorer?

Can't report prices of item viewed. Help! Noticed that I couldn't "Explore" a basic scatter plot on one of my client's GA4 Explorer. I wanted to make a scatterplot: X = view_item, Y = price ...
Rómulo Córdova's user avatar
1 vote
1 answer
2k views

Interpreting GA4 "select_item" event

I am trying to decide what constitutes a select_item event. There are three different outcomes when an item within an item_list is clicked on: The item is immediately added to cart (already an ...
Matthew Michaud's user avatar
0 votes
1 answer
607 views

Google Tag Manager: how to send a custom array to GTM so that a proper custom report can be built in Google Analytics

I would like to ask a question about GTM, but no ecommerce items array object, we hope to built a custom report with custom data sending to GTM and GA. We have a multiple answer question in our survey,...
Lily's user avatar
  • 3
1 vote
0 answers
70 views

pushed value in dataLayer shows undefined in GTM admin

I get the "user-profile-name" variable from GTM, then encrypt it and push it to the dataLayer to use it in GA later. <script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.0....
Groha's user avatar
  • 11
0 votes
1 answer
592 views

How to sequence datalayer.push?

I have a question regarding GA4 Enhanced Ecommerce Tracking with GTM - although the problem isn't specific to GA4 or Ecommerce Tracking. The Situation the shop does use usercentrics as cookie ...
Michael Hammer's user avatar
0 votes
1 answer
425 views

google Tag Manager datalayer payload difference

So when I was working with GMT to GA4, I was facing an issue such as the datalayer to which events are being pushed are a little different sometimes from one another. I am also loading GTM script ...
That Coder's user avatar
0 votes
1 answer
427 views

Problem with the purchase tag via GTM for my GA4

I'm setting up the GA4 of an ecommerce, but I'm having some issues with the purchase tag: Some purchases are not being properly logged in GA4, while others are being logged twice. However, when I test ...
L I's user avatar
  • 1
-1 votes
1 answer
139 views

jQuery – loop DOM objects and pass them to dataLayer(json?)

I have to manually create my events for GA4, and I have a little knowledge of jQuery. I'm trying to loop through my DOM elements and pass the data from them to dataLayer (as I understand, that's json ...
NorthernStar's user avatar
0 votes
1 answer
271 views

How to test dataLayer events implemented in Ruby code in Google Tag Manager

There are a few events that have been implemented in Ruby in our website. When previewed within Google Tag Manager the events are not firing or visible. Javascript implemented data layer events are ...
Remya CV's user avatar
  • 144

1
2 3 4 5
8