In most cases, this’ll be all you need to add Google Tag Manager to your WordPress site. If your site is complicated, then you’ll want a different solution that is sufficiently complicated to complete your idiom, but if you’re like me, and you just want to insert the GTM snippets on your site, this plugin is your huckleberry.
This plugin works on multisite installations as well as single installations. When used in a network, you have the option of specifying network default settings and allowing individual sites to override them or not.
Note: Google Tag Manager is a third-party service provided by Google. This plugin embeds code from that service onto your WordPress website.
Your own Google Tag Manager account, as well as its Container ID. It probably looks something like: GTM-Z3V1L.
Plus, your theme should follow two particular WordPress standards. Those standards are two function calls:
wp_head() from within the <head> element.wp_body_open() right after the <body> element begins.Google Tag Manager embeds snippets of HTML and Javascript on your website. It is often used to manage analytics tools on a website without changing the website’s code.
Così Tags embeds the snippets of HTML and Javascript that Google Tag Manager requires on your website — in the proper locations — without you having to manually change any code.
Yes. See: Google Tag Manager Terms of Service for information on usage, privacy, and terms.
Nothing. Well, nothing meaningful. If this is the case, disable the plugin until you’re ready to add a Container ID.
It instructs the browser not to load GTM and everything that comes with it until the user interacts with the page. Interaction could be moving the cursor, a click, a key press, or something else. But if none of that happens, GTM doesn’t load.
Your Page Speed scores will likely improve and you will reap all the associated benefits.
Probably. It’ll filter out bots and bounces which may lead to a drop in recorded pageviews and sessions. If you’re still leaning on those metrics and want to talk through options, contact me and we’ll talk it through.
Yes, you can add cosi-tags=nodefer to the URL’s querystring and that’ll cause GTM to load when the rest of the page loads regardless of what the user does.
You can enter more than one ID, separate them by commas.
Manage those directly in Google Tag Manager.
No. Tag Manager is loaded on the front end of the website only.