Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/zeusmicro/zm-google-tag-manager/archive/refs/heads/main.zipDescription
This WordPress plugin makes it easy for you to add the Google Tag Manager code into your webpage.
You can obtain your Google Tag Manager ID from tagmanager.google.com.
After getting your Google Tag Manager ID, log in to your WordPress Dashboard > Settings > General > Google Tag Manager ID, enter your ID, and save.
Installation
- Upload
zm-google-tag-manager.phpto the/wp-content/plugins/directory. - Activate the plugin through the Plugins menu in WordPress.
- Go to Settings > General and set the ID from your Google Tag Manager account.
Frequently Asked Questions
What is Google Tag Manager?
Google Tag Manager is a system that lets you load multiple website add-ons (analytics, ads, etc.) by installing a single code snippet into your webpage. When your page loads, GTM calls those add-ons based on rules you configure.
What does this plugin do?
It inserts the GTM `