Member-only story
Google Tag Manager Review — Prt 5
A learning journey with CXL Institute, in Digital Analytics
Welcome to my 10th week, reviewing the CXL Institute Minidegree for Digital Analytics. This week, we’ll have Google Tag Manager, Part 5: Custom Dimensions vol.2 (in case you are wondering, you can find my previous posts here: Prt 1, Prt 2, Prt 3, Prt 4).
Boy! Only two weeks to go…
Introduction
Last time we talked about Custom Dimensions & Metrics: what they are, how you can use them and saw a basic example. If you recall, we created a custom dimension by using a built-in variable of Google Tag Manager. More specifically, we created a custom dimension in Google Analytics, in which we saved our container ID. But what happens when you don’t have a built-in variable to use?
Glad you asked…
customTask
Let me introduce you to a very interesting concept of Google Tag Manager: customTask. The customTask API is a feature of the Universal Analytics library. It lets you get
and set
values from the hit as it’s being generated.
As Simo Ahava states on his course:
customTask is special. It has no set functionality of its own. You use it to manipulate the “model” object.