Join Corey Koberg for an in-depth discussion in this video Installing a container on WordPress (CMS), part of Google Tag Manager (V2) Essential Training.
- In a previous example, we showed you how…to install the container code on a single web page,…but you would have to repeat…that process for every page on the site.…Instead, many content management systems allow you…to inject the code automatically,…in a particular place on each page,…without having to paste it each time.…While there are hundreds of CMS systems out there,…the most popular is WordPress.…So, we'll use that as an example,…and that said, even if you don't run WordPress,…many of them work in a similar fashion,…so this may be of use to you as well.…Ok, we're gonna start by grabbing our container code,…and we come here to admin, install Google Tag Manager,…and grab that container.…
This is the same one…that's gonna go in every page of our site,…and then I'm gonna come here to WordPress,…in my case I'm gonna come down here,…and I'm gonna edit the Theme directly.…What I'm looking for here is header.php.…This is the WordPress header.…It's not an html header,…and it's going to be the beginning of each page.…
This course provides the skills to get up and running with Google Tag Manager quickly. It explores how to set up Tag Manager accounts and containers, use turnkey tags, create rules and macros, control versions and user access, debug tags, configure custom tags, and add code to capture specific Google Analytics events. Authored by GTM expert Corey Koberg, this course also provides crucial, time-saving best practices for working with Tag Manager.
Note: to keep the training as universal as possible, we use the nonmobile version of GTM, and configure it for a generic WordPress site. Your specific implementation will be dependent on how your site is coded.
- Creating an account and container
- Installing containers
- Using built-in tags from Analytics, ClickTale, and other services
- Working with variables
- Firing events with triggers
- Creating versions
- Using custom tags
- Implementing a data layer
Skill Level Beginner
Q: Which version of Google Tag Manager is used in this course? Does it support V2?
A: Yes. 2015 brought Google Tag Manager a brand new interface (known as "V2"), which will be mandatory starting June 1, when all accounts will be forced to migrate. You can learn all about how to create and use V2 containers in this course.