google tag manager: how does it work?

tools & trends video
4 mins

 

google tag manager allows you to track almost any kind of event or user behaviour on your website you can think of without having to add tags manually into your website code. instead, you can install, manage and deploy marketing tags from the google tag manager interface.

in today’s video, the team discuss how google tag manager works, whether it’s needed for the new google analytics 4 (ga4) and whether it’s something all marketers should be using. 

if you have any questions you would like answered as part of our 'so' series, please get in touch and let us know.

our podcast, 'the digital marketing podcast' is in video format on our youtube channel. make sure to subscribe for a brand new video podcast every week!

 

transcription:

 

so, what is google tag manager?

tag manager is a tool from google, unsurprisingly, that allows you to insert tags into web pages. i think where the confusion comes is you say to people “i've got some google analytics code, a tag that i want to put into my webpage” and they go, “no, no, you just put the tag manager code”.

and it's like, well, why am i putting that bit of code instead of the other bit of code into the page? so it's a container basically. and that content allows you to kind of insert things into it.

 

so do you need to add code into a website?

yeah. so you're adding this bit of code. you put this one piece of code in and then you can add the google analytics code, code from facebook, from the meta platforms, from linkedin, all those kind of places as well. it means you can manage it in one place, and you can roll back to previous versions.

you've got kind of version control so you can go and see what is was like before, so it gives you more control. it’s quite a technical tool. it’s not necessarily for everyone, so i’d be a bit cautious with it.

the important thing is that that google tag manager code goes on every single page of your website. and as daniel said, effectively, it's an empty container. once it's there, you can then use the tag manager interface to inject any other bits of code. some of these bits of code need to go on every single page, some of them need to just go on the thanks/conversion page, and you can control what goes where, but it's like one container to rule them all. it makes that whole process of putting new tracking’s on the website so easy.  you can just do it with tag manager.

 

so do you need to set it up for ga4?

you don't. so there's a, there's a misconception that in order to get ga4 running, you have to have tag manager. you don't. i mean, once tag manager is up and running it’s very, very easy to set ga4 up.

ga4 will allow you to track people watching videos, but only if they're youtube videos, so if you want to track anything else, tag manager is an easy way to go because you can put some extra events into that, so you don't have to do it. but if you do it that way, it gives you more flexibility going forwards.

 

is it something that all marketers should be using?

no. so, what i would say is that it should be set up on every website, ideally.

you don't have to on really simple websites. but it's quite technical and you can break websites with it really, really easily. so you need a certain level of technical ability and confidence in order to use it. so i think, yes, every marketer should aspire to learning it, understanding technicalities of it as well.

but realistically be careful and don't just give access to everyone. i never allow myself to have admin access to tag manager. because it means i can publish and i don't know what javascript is doing. so i always insist on a code review by somebody who knows what and can check.

it is possible for you to unwittingly put what you think is the right code there, and it could have all sorts of trash and security risk with it. so yeah, that's how far i go with it. like a little bit of power can be a very dangerous thing, especially when you're working on multiple websites for lots of other clients.

build a ü free personalised ¥ learning plan to see our course recommendations î for you

free for 30 days

build a å free personalised ¥ learning plan to see our course recommendations î for you

free for 30 days