GTM simple present

Hello

Today I am launching review 9 of the digital analytics mini degree presented from CXL

As we discussed in the last article, it was a preview of the google tag manager, and hence I am telling a simple story to understand the principle of not only google tag manager but also and tagging system 

What we should know as a start for google tag manager?

  • The meaning of Tag
  • The meaning of Trigger
  • The meaning of Variable
  • The meaning of Organization

what happens is you've got all these different tags set up?

 and these are the logos of Google Ads or Facebookor Hotjar, a very popular visualization tool. You've got Google Analytics, of course, and PayPal, PayPal is one tracking script And there are countless others. And we're going to show you some examples of these as well. But these are the tags, we're going to use these as our examples. So, Google Tag Manager has these things called tags. Now, the most helpful way, the most useful way to think about this is really, this is what you want Google Tag Manager to do. I want you to go tell this platform or that platform or the other platform, what's going on, that's it. That's all it really comes down to. tag is, it's basically the script. It's the code that instead of copying and pasting, for example, Google Analytics code that you would get from Google Analytics in your back and when you set up Google Analytics. Instead of just copying and pasting that script, you would let the tag manager essentially do that for you. Instead of copying and pasting the Hotjar script that you get when you would go to set up Hotjar on your own to individual pages, you would give that to the tag manager to do the copying and pasting of the script on the different pages.







What is the trigger?

triggers when do you want Google Tag Manager to take an action.for ex, when do you want Facebook to tag to fire? , when a page view happens

we've got three different types of triggers here, so three different types of when items here. When a pageview occurs, do this. When a play video behavior occurs, do this. When the conversion behavior occurs, then do this. In this case, telling AdWords a conversion occurred, telling Facebook a conversion occurred, and telling Google Analytics a conversion occurred.


What is a variable?

The variable is an information GTM needs to do its job, So if you think about a tag, and a tag is what Tag Manager needs to do, and then you think about the trigger and the trigger is when should Google Tag Manager do the thing that it needs to do, a variable is just there’s information you're going to need in order to do the thing that you need to do when you need to do it.

Example 

So we've got in this case a Pageviewand it's telling the different platforms somebodys on the page. But how does it know which page to tell them? Well, that's actually what a variable does. So the variable, in this case, would be the page path of /welcome would be information.So now we can tell them not that they’re a page, but that they are on this specific page. On the Play Video, we've got this little video play event well, which video is actually being played? In this case, All About Widgets would be an example of a video that's being played. And then you've got the Conversion event.

they've watched 50 percent. Or then they stopped it and they clicked pause or then they completed it. So this variable can change now and start telling a better story to the different platforms to how the users are interacting and engaging with your content. Under Conversion, yeah it's great to tell them that it's 29.95 value but what about what product? What product did they buy? In this case, a widget.So the widget itself was 29.95. And if you have another product you can put that in there for 17.95. Or whatever the details are. So you can have more than one variable that is associated with this information.


What is a data layer?


Data layer is like filing cabinet, it's a little place to temporarily store details.

understand there are two parts to a data layer. There are the keys and there are the values, right? Again, a place to store details.Just like in a actual filing cabinet you have a folder and you've got the contents of the folder.It's kind of the same thing.


So, it's the key, and what the value of the key is,and to bring this a little more usefulness here,

what do you think the key is and what do you think the value is? For example,

the key is visitor type and the value was visitor was logged out.

The key was page post type, and the value was this is the front page.

The page post author, in this case, we have got the page post author as a key, and Gio was the author of this particular post.

some tips on the preview

 the biggest one by far is the ability to minimize preview mode.

The second thing is to keep it turned on for as long as you need it


Organize your containers

As your Google Tag Manager implementations grow over time, it is a good idea to put some strategies in place for how to organize your containers.


One account, multiple containers

Most organizations will set up a single Tag Manager account for all of their containers. Within that account, the most common practice is to use a unique container for each website or mobile app. For example, a bike shop has a website that is set up to showcase their business, and they have built an app to track workouts. They have set up four containers in Tag Manager:


Container 1: Web container for a bike shop website.

Container 2: Web container for a web app that tracks bike workouts.

Container 3: Android container for a mobile app that tracks bike workouts.

Container 4: iOS container for a mobile app that tracks bike workouts.


Google tag manager needs hundreds of articles to discuss in detail, but I guess the simplest way to understand it is formula is the way to be an expert on it


To view or add a comment, sign in

More articles by Alaa Elbaradei

  • Basic principles of GDS

    My 11th review of digital analytics mini degree of cxl institute Why google data studio? It is a free product, a data…

  • Introduction to Bigquery

    What is big query? BigQuery is a fully-managed, serverless data warehouse that enables scalable analysis over petabytes…

  • A marketer without GTM, is not a marketer

    Why you should be an expert in GTM, and what is GTM ? Simple entry of GTM from the mini degree of digital analytics…

  • Why we are doing AB testing

    Review 7 from the amazing CXL institute Why we are doing AB testing to start with? Testing is for validation and…

    1 Comment
  • Hidden Conversion Oppretunites

    It is one my most exiting articles, here we have questions and answers that came across in CXL digital analytics…

  • GA4, things you should know

    Todayin review 5 or digital analytics mini degree from CXL As ga4 has everyday updates, some of them are taken from…

  • GA4 audit, what else...

    Hello again from the most amazing mini degree from cxl for deep understanding of data analytics Today is review number…

  • Google Analytics 4 audit, part 1

    Hello again from the most amazing mini degree from cxl for deep understanding of data analytics Today is review number…

  • Review 2 , Data attribution

    In the last article we were discussing the module of attribution and attribution models from CXL minidegree, today we…

  • Review 1 - Digital analytics Minidegree

    Hello all, I am thrilled to say that I have got into digital analytics minidegree with the amazing cxl institute, and…

    2 Comments

Insights from the community

Others also viewed

Explore topics