GTM-GEAR
  • Blog
  • Templates
  • Tools
  • About

GTM-GEAR

Dataform setup and gentle intro based on GA4 BigQuery events

Dataform setup and gentle intro based on GA4 BigQuery events
Dataform can help you organize your GA4 BigQuery data pipelines, apply best engineering practices and add some JavaScript beauty to your SQL code base. In this post we will init GCP Datoform Workspace and create a simple Workflow for exporting GA4 page views. [Read More]
ga4  bigquery  dataform 

GA4 cross-domain for JavaScript redirects

GA4 cross-domain for JavaScript redirects
In the post I give step-by-step instructions on how to use a custom template which helps you to generate _gl parameters for GA4 cross domain set up. [Read More]
ga4  gtm-templates  cross-domain 

GA4 sessions magick. Which hit makes a session source / medium?

GA4 sessions magick. Which hit makes a session source / medium?
GA4 sessions are full of mysteries to me, that’s why I made dozens of tests to try to understand the logic. There are still a lot of black holes, but I’ve got some interesting findings. In this post I describe the experiments and share the results. [Read More]
ga4  ga4-sessions  source-medium  ga4-attribution 

GTM Templates Test API tips and tricks

GTM Templates Test API tips and tricks
Tips and tricks for the GTM Templates testing, I’ll show code samples for most often used GTM API: dataLayer, Cookies, Consent, SHA256, localStorage and even Firestore. [Read More]
serer-gtm  gtm-templates  promise-api  test-api 

GtmCleaner Tool – a free tool to standardize your containers naming

GtmCleaner Tool – a free tool to standardize your containers naming
GtmCleaner Tool is a free way to clean your container naming and to apply GTM best practices. [Read More]
gtm  tools 

Firestore and GTM. Create any conversion or audience based on user history. Part 2

Firestore and GTM. Create any conversion or audience based on user history. Part 2
The second part of the tutorial. Firestore and Server-Side GTM integration. Firestore Server Client and Firestore Server Tag set up. [Read More]
gtm-templates  firestore 

Firestore and GTM. Create any conversion or audience based on user history. Part 1

Firestore and GTM. Create any conversion or audience based on user history. Part 1
Create any conversion or audience based on user history, with a little help of Server-Side GTM and Google Firestore. Set up Firestore Web Tag and two test conversions - more than 3 purchases and the previous purchase was made more than a month ago. [Read More]
gtm-templates  firestore 

GTM Consent Settings. «Built-In Consent Checks» what do they really check?

GTM Consent Settings. «Built-In Consent Checks» what do they really check?
Can we blindly trust «Built-In Consent Checks»? Do they guarantee a tag is following GDPR or other regulations? How can we add «Built-In Consent Checks» for our Templates? [Read More]
gtm-consent-settings  built-in-consent-checks  consent 

Server GTM Promise API. How to test?

Server GTM Promise API. How to test?
In this post I'll show an example how to mock sendHttpRequest and return Promise with fake data and fake status. [Read More]
serer-gtm  gtm-templates  promise-api  test-api 

Server GTM Promise API. How to get / set user state and pass it to Google Ads Remarketing

Server GTM Promise API. How to get / set user state and pass it to Google Ads Remarketing
In this post I'll show how to make a few API calls using Server GTM Promise API after that generate new event by runContainer API. And at the end pass changed params to Google Ads Remarketing. Viva la Server GTM! [Read More]
serer-gtm  gtm-templates  promise-api 
(Last modified on December 10, 2022)

Artem Korneev  • © 2022  •  GTM-GEAR

Hugo v0.96.0 powered  •  Theme Beautiful Hugo adapted from Beautiful Jekyll