This version (2014/11/15 14:55) was approved by alex.The Previously approved version (2014/11/10 21:43) is available.Diff

Dokuwiki plugin for Google Tag Manager

Dokuwiki plugin to add a gtm tag to each wiki pages. For more info about GTM, please go to https://www.google.com/tagmanager/.

You can think of GTM as a “include” manager for your statistics and other tags, e.g. Piwik, Google Analytics, Olark etc.

The main advantage of using this is that you can enable and disable tags with the management console from Google and preview the tags in your page without breaking them. Also you can enable and disable some tags based on different rules, e.g. leave out a certain tag for a certain subdir.

The code is based on the google analytics plugin from TJ Grant.