Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

Most CMS platforms have plugins or modules which assist with the placing of a GTM tag on your site! It is worth checking for a canonical method for adding head script tags to your stack before development.

For example for Drupal there is the Google Tag plugin, and in WordPress’s case, you can simply add the tag to the Site Kit Plugin. In WordPress’s case, the plugin can create a Tag for you

Otherwise, the steps are as simple as:

...

Create a GTM Account

...

To set up Google Tag Manager on either your Drupal or WordPress site…

  1. Create a GTM Account

  2. Install the extension into your Content Management System

    1. Drupal: google_tag module

    2. WordPress: Site Kit Plugin

  3. Visit the configuration screen of the extension, and paste the supplied Code or ID into your application

  4. Configure Tags & Triggers for Google Analytics or other properties

That’s it! .

GTM Configuration

The rest of GTM is tags & triggers that register events with given services.

...