Questions tagged [data-layers]
134 questions
2
votes
1 answer
Can a custom object be passed in a datalayer to google analytics 4
I want to create an event in Google Analytics 4 which has an object as value. How can we achieve this .
DataLayer format :
dataLayer.push({
'event': 'test_event',
'prod': {
'item_name': 'test',
'item_id': '67891',
…

user2435067
- 21
- 4
2
votes
1 answer
window.dataLayer.push is working in local machine but not in the production environment
This is the logout logic, here the key logoutoverlay, is set in the local storage.
{
localStorage.removeItem("manage");
…

Abhiek
- 21
- 1
2
votes
1 answer
MVC using existing data- and businesslayer
I have an existing application with a datalayer (primary EF4), a businesslayer (custom code) and a windows application - now I want to create a webapplication using ASP.NET MVC but I am not sure exactly what to do especially in my models.
When my…

keysersoze
- 777
- 3
- 12
- 27
2
votes
1 answer
Parsing xhr.responseText | GTM DataLayer Push
I found this great script that does the job of collecting JSON to a specific triggered area of my site.
I would like to parse xhr.responseText to collect only ID_number.
Here is the script: