Use closures for custom JS variables in Google Tag Manager

use-js-closures-for-custom-js-variables-main (1)

Google+TwitterFacebookLinkedinYou do know what custom JS variables in Google Tag Manager are, don’t you? So I won’t waste neither your nor mine time providing a sprawling explanation for these fundamentals (see my previous post). If you don’t, then, probably, that’s…

Encrypt users’ personally identifiable information using Google Tag Manager

encrypt-personally-identifiable-information-using-google-tag-manager-fields-main-min

Google+TwitterFacebookLinkedinIn this post I’ll show how to encrypt personally identifiable information using Google Tag Manager before sending it elsewhere (say, Google Bigquery or Google Sheets). Fairly speaking, you can encrypt any data you like using the solution described. But since web/app…

Track users’ interaction with YouTube videos using Google Tag Manager

Google+TwitterFacebookLinkedinYes, it has finally happened. Now we have a special trigger helping us to track YouTube videos in Google Tag Manager. Honestly, I don’t like writing a lot about ready-to-use features. What I love about GTM is that all tools…

Use Google Tag Manager for Yandex.Metrica: hitCallback for reachGoal method

use google tag manager for yandex metrica mainpic

Google+TwitterFacebookLinkedinHere’s a quick tip on how to use Google Tag Manager for Yandex Metrica (Яндекс.Метрика). In this post I’ll show you how to easily register goals (reachGoal method) and/or make use of dataLayer array in order to send e-commerce data…

3 custom variables for working with cookies and Web Storage API in Google Tag Manager

Google+TwitterFacebookLinkedinHere’s a quick tip on how to deal with browser storages (local and session storages) and/or cookies in Google Tag Manager. In this post I will show you three functions helping you to easily create, delete cookies in GTM and…

Manage query parameters in GTM (like UTM) with these simple functions

Manage query parameters in GTM (like UTM) with these simple functions

Google+TwitterFacebookLinkedinIn this post I’ll show you a simple JS function which allow you to manage your UTM parameters using Google Tag Manager. With the help of this solution, you can easily get values of UTM parameters (say, utm_campaign or utm_content),…

One function to rule them all: easily send events to Facebook through Google Tag Manager

send-facebook-events-through-google-tag-manager-postbanner

Google+TwitterFacebookLinkedinIn this post I will show you how to handle and send event data to other analytics services using a single JS function. With this solution you can easily send events to Facebook through Google Tag Manager with Universal Analytics…

Send Google Analytics hits to 3rd party services using Google Tag Manager

send-analytics-hits-to-3rd-party-services-using-tag-manager-main

Google+TwitterFacebookLinkedinYes, I know. It’s been a huge while since my last post. However, it wasn’t that I lost my passion for web-analytics and/or web development. Rather on the contrary, I decided to focus on deepening my Javascript and SQL skills…

Use Optimizely X API within Google Tag Manager for sending experimental data to GA

how to use optimizely x api within google tag manager

Google+TwitterFacebookLinkedinIn my previous post I have described a solution that allows you to mitigate FOOC (flash of original content) while using Google Tag Manager to perform A/B tests. That post also contains a tip on how to use Optimizely X…