Google Tag Manager – a WordPress Plugin

by mokusiga on 05/26/2013
Screenshot of the admin page for the Google Tag Manager Plugin

Screenshot of the Google Tag Manager Plugin

This is a WordPress Plugin to insert Google Tag Manager (GTM) into your wordpress site.
The GTM tag is inserted into the footer by default, using the wp_footer() hook.
A custom hook can also be used instead.

The plugin allows the user to choose the container ID to use, and also change the
dataLayer name. There is one extra option to add into the datalayer on whether
the current user is a logged in user. Other custom datalayer variables can be added, and these will be added to the generated code.

More datalayer options will be added as requested or need.


No Comments

No comments yet.

Write a comment: