• Access & Security 95
  • Administration 171
  • Advertisement 92
  • Audio & Video 66
  • Author & Content 99
  • Comments 96
  • Communication 110
  • Communities & Forums 84
  • Development 47
  • E-Commerce 76
  • Email Management 53
  • Events & Calendars 80
  • Language 25
  • Map & Weather 44
  • Migration & Conversion 28
  • Miscellaneous 254
  • Mobile 15
  • Photos 143
  • Plugins 260
  • SEO & Site Speed 118
  • Social 186
  • Theme Enhancement 169

  • Add this plugin to a List

    You need to be logged in to add this plugin to your list.

    DuracellTomi's Google Tag Manager for WordPress

    Add to List

    Google Tag Manager (GTM) is Google’s free tool for everyone to be able to manage your analyitcs, PPC and other code snipets
    using an intuitive web UI. To learn more about this tool, visit the official website.

    This plugin can place the necessary container code snippet into your website so that you do not need to add this manually.
    Multiple containers are supported!

    The plugin can support your GTM setups by adding lots of meta data about the visited page and about the user into the so called data layer.
    GTM help center incluldes more details about this data layer.

    Some parts of the plugin requires PHP 5.3 newer.
    PHP 5.4 or newer is recommended.

    Please note that PHP 5.x is nearing its end of life cycle thus it is recommended to upgrade. If you are not sure which version you are using, please contact
    your hosting provider for support.

    GTM container code placement

    GTM container code snippet is currently divided into two parts: the most important part will be added to the tag of your website every time. The second part is
    called the iframe tag and it is only being used when users do not have JavaScript enabled. Code placement option only controls this second code snippet. For best
    performance this should be just after the opening body tag but it might be also safe to use the footer option in plugin settings as the worst case.

    Yaniv Friedensohn showed me a solution that can add the GTM container code after the opening body tag
    for almost every theme without modifying the theme files:

    Hack: Placing the Google Tag Manager in WordPress After the body Tag

    I added this solution to the plugin, currently as an experimental option.

    Users of the Genisis Framework should use the “Custom” option but without altering the theme.
    The Google Tag Manager container code will be added automatically.

    Basic data included

    • post/page titles
    • post/page dates
    • post/page category names
    • post/page tag names
    • post/page author ID and names
    • post/page ID
    • post types
    • post count on the current page + in the current category/tag/taxonomy
    • logged in status
    • logged in user role
    • logged in user ID (to track cross device behavior in Google Analytics)
    • logged in user email address (to comply with GTM terms of service do not pass this towards Google tags)
    • search data
    • site name and id for WordPress multisite instances

    Browser / OS / Device data


    • browser data (name, version, engine)
    • OS data (name, version)
    • device data (type, manufacturer, model)

    Data is provided using the WhichBrowser library:

    Weather data


    Add the current weather conditions into the dataLayer so that you can use this information to generate special
    remarketing lists and additional segmentation in your web analytics solution:

    • weather category like clouds, rain, snow, etc.
    • weather description: more detailed data
    • temperature in Celsius or Fahrenheit
    • air pressure
    • wind speed and degrees

    Weather data is queried from Open Weather Map. Depending on your websites traffic, additional fees may be applied:

    It is also required to obtain a free API key from OpenWeatherMap on the page above.

    To determine to current location of your visitor, this plugin uses
    Depending on your websites traffic, additional fees may be applied:

    Media player events


    The plugin can track user interaction with your embeded media:

    • YouTube
    • Vimeo
    • Soundcloud

    It fires dataLayer events when a media player was being loaded on the page, when the media is being played, paused or stopped.
    It can fire dataLayer events when the user reaches 10, 20, 30, …, 90, 100% of the media duration.

    Tracking should work with embedded media using the oEmbed feauture of WordPress and it should also work with other plugins or even with copy/pasted codes.
    Currently, players injected into the website after page load are not being tracked.

    Scroll tracking

    Fire tags based on how the visitor scrolls from the top to the bottom of a page.
    You can track this as Analytics events and/or fire remarketing/conversion tags to if you want to track micro conversions.
    Separate readers (who spend a specified amount of time on a page) from scrollers (who only scroll through within seconds)

    Scroll tracking is based on the solution originally created by

    • Nick Mihailovski
    • Thomas Baekdal
    • Avinash Kaushik
    • Joost de Valk
    • Eivind Savio
    • Justin Cutroni

    Original script:

    Google AdWords remarketing

    Google Tag Manager for WordPress can add every dataLayer variable as an AdWords remarketing custom parameter list.
    Using this you can create more sophisticated remarketing lists.

    Blacklist & Whitelist Tag Manager tags and variables

    To increase security on your website, you can whitelist and blacklist tags and variables.
    This means you can disable certain tags from being fired or prevent the use of certain variable types
    from being used regardless of your current Tag Manager setup.

    If your Google account is being hacked that is associated with your Google Tag Manager account,
    an attacker could easily execute malware on your website without accessing its code on your hosting server.

    By blacklisting custom HTML tags and/or custom JavaScript variables for example you can have a more secure Tag Manager container
    if you do not use those kind of elements.


    Google Tag Manager for WordPress can integrate with several popular plugins.

    • Contact Form 7: fire an event after a successful form submission
    • WooCommerce:
      • Classic e-commerce:
        • fire event when visitors ads a product to your cart
        • include transaction data to be sent to Google/Universal Analytics
        • include necessary remarketing tags for Google AdWords Dynamic Remarketing
      • Enhanced e-commerce (beta):
        • implementation of Enhanced E-commerce
        • Does not include tracking of promotions since WooCommerce does not have such a feature (yet)
        • Does not currently support refunds

    More integration to come!

    Rate This Plugin

    Please Login to Rate this Plugin!




    0 Votes
    Not Rated Yet Stats

    Last Updated122 Days ago
    Published4 years ago

    Report Wrong Category!

    Do you think this Plugin belongs to another Category?

    What Category Should this Plugin belong to? *

    Reason *

    Create a Plugin List

    You need to be Logged in to Create a Plugin List.

    Submit A plugin

    You need to be logged in to submit a plugin.


    WPD is the unofficial online plugin directory of WordPress.

    An attempt has been made to list Only functional, active,efficient and up-to-date plugins.

    Categorized : Plugin are listed by category and subcategory based on functionality and uses. Here you can browse wordpress plugin from our neatly categorized plugin directory and sort the plugins by rating, votes, last updated and published and search plugins using tags.

    Search : Plugins can be searched by their functionality using multi-tag search and you can search plugins using their exact name although we are not ensuring Google like search accuracy.

    Create Plugin Lists : You will be able to create list of plugins and share them with Wordpress Community or you can keep them private and use them as a bookmarks.
    e.g. Plugins That I’ve Used on My Site, Best Event Management Plugins, Christmas Plugins etc.

    If you think certain awesome plugin is not in the directory then notify us through our Submit a Plugin page.

    Browsing the Plugin Directory

    Browse by Category

    In WPD, Plugins are categorized carefully. You can browse all the categories from the homepage or you can access the category lists from any page by clicking the button from the left of the website.

    Browse by Tags

    Each plugin listed in WPD is marked with useful tags. You can browse plugins by Tags from the All Tags page

    Searching in WPD

    Multi Tag Search

    You can search plugins using multiple tags. To perform a multi-tag search. Go to Homepage and then in the search field type any keywords or tags(comma separated) and then click on the search button. To search plugins from a selected category just select the category from the dropdown and type your tags.

    Searching a specific Plugin in WPD

    If you want to find a specific plugin in our directory, Go to Homepage and then select the "Search in Title" option. Then write the name of the plugin and click the search button to find the Plugin.

    Plugin Lists

    Whats a Plugin List

    Plugin Lists are user created lists of plugins. Any registered users can create Plugin Lists and share it with anyone or make it private.

    Why Create a plugin List?
    • Easy to keep track of your favourite and useful plugin.

    • Share list of plugins on blogs, social media or to a client.

    • Keep a track of what plugins you installed in which of your blogs by creating a list for each blog

    Creating a Plugin List

    To create a Plugin List, click the button from the left of the page; a popup box will appear. In the "List Name" field, put the name of the List. eg: Best Seo plugins for your site.
    In the Description field, put a few words describing the List.
    By default, lists are automatically published as public, which is visible to everyone. If you do not want others to see the List, select "Private" from the dropdown list. Then click the "Create List" button to create the list.

    Adding Plugins to your List

    To add a plugin to your List, go to a plugin page and click the "Add to List" button. A popup box will appear where you can select in which of your list you want to add this plugin. You can add a note if you want, this note will appear below the plugin in your list.
    P.S: You can only add plugins that are in our directory.

    Your Lists will appear in our "Plugin Lists" page when you set the list as "Public" and your list contains atleast 2 plugins.

    Editing your Lists

    When you are on your list page, notice there is a button on the top right corner of the page. Click it to edit the List Name and the List Description.

    Accessing All your Lists

    You can access all your Plugin lists by going to your profile and clicking the "Lists" tab.

    Removing your Lists

    You can remove your Plugin lists by going to your profile and clicking the "Lists" tab. on top right of each list click the button to remove the list completely.

    While tremendous effort has been put to keep this directory precise and complete, still errors and omissions are unavoidable and possible. We welcome any suggestions for corrections, deletions, and idea that might improve the overall experience.

    To submit a Feedback click the from the bottom right corner of the site.

    Register or log in to assess the record