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…

Export query results data from Bigquery to Google Sheets

Google+TwitterFacebookLinkedinThis post will contain a simple JS function helping you to export data from Bigquery to Sheets. In fact, we’re going to export a resulting table after querying our GBQ tables. We’re going to need Google Bigquery API and Apps Script….

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…

Track chat interactions and users’ messages preceding a conversion

track chat interactions and users' messages in Google Analytics

Google+TwitterFacebookLinkedinOne of my clients wanted to know what percentage of live chat conversations resulted in a purchase conversion. In other words, the task was to get the number of conversions performed by the visitors who have interacted with live chat…

Track pop-up impressions in Google Analytics via Google Tag Manager

track pop-up impressions in google analytics via google tag manager

Google+TwitterFacebookLinkedinAt first glance, implementing a properly working set-up to track pop-up impressions in Google Analytics via Google Tag Manager may seem to be quiet an easy task, since all you have to do is to send an event/pageview hit to GA…