Questions tagged [data-layers]

134 questions
0
votes
1 answer

How to define google_tag_params in Google Tag Manager?

i want to create a dynamic remarketing campaign in Google Ads, but i have to let GTM know where to extract the information for ecomm_prodid, ecomm_pagetype, ecomm_totalvalue and ecomm_category from my website. I understand that i have to create a…
0
votes
1 answer

Passing variable with changeable value to GTM

i would like to track user behaviour on the website depending on they are logged in or not. I’d like to create my own variable in JavaScript, kind of userState with different values, let’s say, logged and guest, and I want to pass it so dataLayer.…
0
votes
1 answer

How do I pass PHP variables to multiple GA product arrays in datalayer

I'm trying to set up Google Analytics on a stores 'thank you' page to track purchases but I'm struggling with getting each of the items bought through to Google Analytics. The current code I have is getting the last products details but I need all…
0
votes
1 answer

How to choose the last member of an array in a datalayer?

Then I would like to get the smallest child Category of a post that belongs lots of categories (via the datalayer pageCategory used plugin called GTM4WP by Duracell Tomi). How can I do that? I had already known to get the biggest category:…
Ngọc Kon
  • 11
  • 2
0
votes
1 answer

Why can't I see more than the first product SKU in facebook business manager?

I'm trying to set up a facebook purchase event in GTM and i'm almost there but i son't understand why I can only see the first product from the transactiuon array in facebook business manager? I can see that a transaction been made and I can see the…
0
votes
1 answer

What happens if a user turns off Cookie within a GA session

I am curious what happens if a user starts a GA session and let's say 1 minute later, the user turns off the Cookie, how is the information of that Session being recorded on GA? I am curious if this would be the reason for the observation shown as…
Yao lu
  • 37
  • 7
0
votes
1 answer

GTM datalayer.push sometime shows (not set) in GA report

-- 2019/07/08 Edit: Add event variable, trigger setting -- I set a DataLayer Variable called {{SP_sale_event}} to get "my_event", and set to version 2. Trigger is when page goes to "checkout" page, the end of purchase flow, AKA "thank you"…
RRTW
  • 3,160
  • 1
  • 35
  • 54
0
votes
1 answer

Logi Info DataLayer.REST Multi-Step Security Processing (401 Error when binding)

Currently working on adding the CheckBoxAPI to our webservice, and it seems to be quite the challenge getting Multi-Step Security Processing to work. I followed the directions found on logi Info's site, however my efforts yield a 401 unauthorized…
0
votes
1 answer

How to Persist Previous Events in Google Tag Manager

I need it to build a specific Events Flow - for certain buy-buttons that refer to corresponding paywalls and success-pages in order to find out what buttons/paywalls are more efficient. My website is an SPA. I use History Change triggers instead of…
Roman K.
  • 29
  • 5
0
votes
0 answers

Mvc simple dependency injection from service layer to data layer (three layer application)

I have to rewrite an old asp classic web application. I chose an architecture in three levels (tier/project = layer level) Web: views and controllers, thin as much as possible. References service layer project. Service: business logic. References…
albe
  • 139
  • 1
  • 1
  • 12
0
votes
1 answer

Entity assemblage in different layers

Let's assume I have the following classes: @Entity public class Book { ... } @Repository public class BookRepositoryImpl implements BookRepository { ... } @Service public class BookServiceImpl implements BookService { ... } @Entity public…
Akka Jaworek
  • 1,970
  • 4
  • 21
  • 47
0
votes
0 answers

How can I to check datalayer event using Nightwatchjs

is it possible to get datalayer event using Nightwatchjs on click some link on web page, when new page open occured? It's not problem to get data when page in browser by click some link do not changed. But if it's changed events in datalayer on…
Alexander
  • 1
  • 2
0
votes
1 answer

How to push Ecommerce Transactions to GTM Data Layer

I'm pushing some tags to the data layer and they all seem to be working as expected except for ecommerce transaction data. I have confirmed that the transaction data is being pushed to the data layer but for some reason I'm not seeing any results in…
jwerre
  • 9,179
  • 9
  • 60
  • 69
0
votes
1 answer

Making Sure DataLayer set up correctly

I'm trying to make sure our developer set up Google Tag Manager (GTM) DataLayers on our website correctly, as I'm having trouble validating. Here's the situation: I asked our developer to set up DataLayers on our website's product page using the…
Azores
  • 1
  • 1
0
votes
1 answer

Display data passed into dataLayer in Google Analytics using GTM

How can I display data passed into dataLayer in Google Analytics using GTM? Let me share with you what I was able to do so far. 1 There is a part in my client side JavaScript code from where I am sending a data. I am doing it in this way:…
1 2 3
8 9