https://github.com/kudinovfedor/wp-gtm
This plugin makes it even easier to use Google Tag Manager, adding all the code itself — all you need to do is provide the Account ID!
https://github.com/kudinovfedor/wp-gtm
analytics google google-tag-manager gtm plugin tag-manager wordpress-plugin
Last synced: about 2 months ago
JSON representation
This plugin makes it even easier to use Google Tag Manager, adding all the code itself — all you need to do is provide the Account ID!
- Host: GitHub
- URL: https://github.com/kudinovfedor/wp-gtm
- Owner: kudinovfedor
- Created: 2018-04-03T10:49:01.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-03T11:37:55.000Z (over 8 years ago)
- Last Synced: 2025-01-26T06:09:50.481Z (over 1 year ago)
- Topics: analytics, google, google-tag-manager, gtm, plugin, tag-manager, wordpress-plugin
- Language: PHP
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Google Tag Manager (GTM) plugin for Wordpress
## Installation
Upload *fk-google-tag-manager* to the /wp-content/plugins/ directory
Activate the plugin through the 'Plugins' menu in WordPress
## Usage
Add a hook **`do_action('wp_body')`** after opening tag **<body>**
```php
... other code
```
Go to Settings > General and set the ID from your Google Tag Manager account.
Use comma without space (,) to enter multiple IDs.