From the course: Learning Google Tag Manager
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Install Google Tag Manager in WordPress - Google Tag Manager Tutorial
From the course: Learning Google Tag Manager
Install Google Tag Manager in WordPress
- [Instructor] In the previous example, we showed how to install the container code on a single webpage. While that works to show you the concept, it's not all that common in practice for anything other than an extremely simple site, because you'd have to repeat that process for every single web page on the site. And often that's just not realistic. And the reality is that most sites aren't just a hand-built collection of hard-coded HTML pages anymore. Most of us have a CMS or Content Management System out there to help manage our site. Now, there are thousands of CMS's out there. So of course we can't go through each of them here and each one's going to work a little bit differently, but the general idea is similar. You need to find a way to automatically inject the GTM code, either via an include file or a plugin or something similar. Now the most popular CMS in the world is WordPress. So we're going to use that here as an…