Google Tag Manager

April 30, 2020

Google Tag Manager Plugin

The Google Tag Manager plugin adds a field to the existing General Settings page for the ID and outputs the javascript to make it work.

You can sign up for a Google Tag Manager account here.

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!

Installation

  1. Upload google-tag-manager.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Settings > General and set the ID from your Google Tag Manager account.

FAQ

Why isn’t the output displaying?

Two possibilities: First, you haven’t yet specified the ID in the admin panel, or second, your theme is missing a <?php wp_footer(); ?> call.

Changelog

1.0.3

  • Add support for the new wp_body_open hook in core.

1.0.2

  • Switch to the new split-format for Google Tag Manager javascript and iframe format.
  • Add support for Genesis and Theme Hook Alliance themes to echo the iframe sooner in the dom.

1.0.1

  • Change to static methods to avoid errors in some versions of php

1.0

  • Initial Public Release

Details

  • Version: 1.0.3
  • Active installations: 10,000
  • WordPress Version: 2.7
  • Tested up to: 5.4.16

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars