Questions tagged [data-layers]
134 questions
0
votes
1 answer
Is there any way to extract dataLayer information from a webpage with python?
I'm working in a dataset construction, make of dataLayer variable (object) information.
I want to automatized a classification process of pages with machine learning.
enter image description here

Andres
- 11
- 1
0
votes
1 answer
Enable Datalayers for Hubspot with GTM
Is there any way to enable Data layers in a website (built-in Hubspot) with GTM?
Is there any article or tool?

M. Awais
- 11
- 1
0
votes
1 answer
How to get specific values from an array with data layer
I would like to know the correct function for Google Tag Manager, when you create a Custom JavaScript, how can I get the product "id"("259496742","1061024") when you have an array.
{
"0": "event",
"1": "purchase",
"2": {
…

EmLa
- 1
- 1
0
votes
1 answer
save email address from contact form in datalayer
I have a form on my website and when a customer fills it out he gets to a thank-you page. Now I would like that the email address from the form is pushed dynamically in the datalayer on the thank-you page. Does anyone have an idea how I can…

sib
- 1
0
votes
0 answers
A/B test adjustment only visible on new page view
During the A/B tests that I start, I often see the following happening:
I open a page that is part of the A/B test and do NOT see the variation change
I refresh the page and see the change, so I was in the variant
So it seems that I don't see the…

Erik
- 1
0
votes
1 answer
Google Optimize Audience Targeting on dataLayer variable - (actual value not found)
I have in my code a dataLayer.push for this variable
and when I run the console.log on dataLayer it shows but in Google Optimize I have these settings:
But when I debug in…

user2589867
- 38
- 4
0
votes
0 answers
Push PHP variable to DataLayer
I am new to PHP and Pushing variables to the Datalayer and for marketing reasons I am trying to push this to the data layer, what I have done is below
I have a form where I grab the variables from the form and store them in PHP variables, I then…

KiriqN
- 21
- 4
0
votes
1 answer
React props don't show in console
I have a page containing a white t shirt and an add to basket button.
The reducer dispatches the action into a data layer
export const initialState = {
basket: [],
}
const reducer = (state, action) => {
console.log(action);
switch(action.type) {
…

hirat3
- 23
- 6
0
votes
1 answer
C# (VS2019): How to separate a domain layer from a data layer when both use a class using VS project structure
I have a simple IS that is following a three-layer architecture. So far I have had all code in one project and separated by files.
I understand, that using Visual Studio IDE, components should be packed in separate VS projects within the VS…

Ondřej Janča
- 107
- 7
0
votes
1 answer
Utility to generate DataLayer
I need to write a Utility, which will capable to generate Data Layer from any following Databases :
Mssql
MySQL
Oracle
For example :
I have SQL Database which contains several Tables, Views, Procs, Functions etc. With the use of above…

Gaurav Arora
- 2,243
- 6
- 40
- 57
0
votes
1 answer
Adding a key for "read time" to datalayer for tracking in Google Tag Manager/Analytics
With a WP plugin, I'll be adding "read time" to each article. NOTE: Read time simply shows how long it takes to read the article, not how long a user has read my article.
I want to pull this value into Google Analytics as a custom dimension. I'd…
0
votes
1 answer
Using Postgres' external procedural languages over application code
I am trying to figure out the advantages and disadvantages of using non-plpgsql procedural languages (PL/Python, PL/Perl, PL/v8, etc.) to implement data manipulation logic on the database level instead of going up to model level/ORM of the…

Big Monday
- 590
- 1
- 5
- 15
0
votes
1 answer
Performance of DB queries in layered application
I’m building an ASPnetCore layered application which in turn will have a large DB. I’m using entity framework core and asynchronous calls to retrieve data from the db in database. These calls I’m awaiting.
In the service layer I’m also using…

Lindstrøm
- 396
- 2
- 16
0
votes
2 answers
C#, ASP.NET core | SqlException: Incorrect syntax near the keyword 'TOP'
I was experimenting in ASP.NET Core with getting data from my small database.
I want to select 2 random rows from my table, but I can not get it to work.
My database table:
I figured the error I because my SqlCommand is not correct, but I don't…
user14443684
0
votes
0 answers
Implement Login/Logout in MVC with 3-Tier architecture using Entity Framework and DI
I want to implement Login/Logout service in ASP.NET MVC using 3-Tier architecture. I also want to use Entity Framework and dependency injection pattern, like NInject (for example).
Can somebody advise some articles, where I can see some examples or…

Dimitri
- 95
- 1
- 7