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/adman54/simple-google-tag-manager/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
A simple WordPress plugin to add Google Tag Manager to your site
Simple Google Tag Manager for WordPress
A lightweight WordPress plugin that makes it easy to add Google Tag Manager to your WordPress site.
Features
- Simple, user-friendly settings page
- Validates GTM container ID format
- Adds GTM code to proper locations (head and body)
- Secure - sanitizes all inputs
- No coding required
Installation
- Download the plugin
- Upload to
/wp-content/plugins/directory - Activate through the WordPress 'Plugins' menu
- Go to Settings → Google Tag Manager
- Enter your GTM container ID
- Save settings
Requirements
- WordPress 5.0 or higher
- PHP 7.0 or higher
License
GPL v2 or later