Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WP Google Tag Manager Inject

A simple WordPress plugin for inject the Google Tag Manager JS code snippet into the site <head> and the <noscript> snippet after the open <body> tag.

Usage

In order to put the plugin into action you must first define GTM_CONTAINER_ID const in the wp-config.php file and set its value to the container ID you got from GTM.

define( 'GTM_CONTAINER_ID', 'container-id' );

About

A simple WordPress plugin for inject the Google Tag Manager JS code snippet into the site <head> and the <noscript> snippet after the open <body> tag.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages