Google Tag Manager

The plugin inserts Google Tag Manager script into your site.


Insert your email address. Download link will be sent to this email address.

joomla 2.5joomla 3.0joomla 3.1joomla 3.2joomla 3.3joomla 3.4

The plugin inserts Google Tag Manager script into your site. Plugin is extendable via other plugins such as
Google E-commerce Tracker for Virtuemart for tracking checkout and order status change using GTM dataLayer
Google E-commerce Tracker for RSForms for tracking checkout and order status change using GTM dataLayer.

Attention: using this plugin requires skills in using Google Tag Manager and/or Google Analytics.

Version Version created Version description
2.0.0 2015-04-10 03:17:57 Beta version - change save all fields from session into database.
1.1.2 2014-08-18 13:41:52 Default settings fixed to prevent conflicts with ajax requests
1.1.1 2014-08-12 13:00:18 cs-CZ translation added
1.1.0 2014-08-08 12:08:29

See: or (ver.2)

Attention: In order to use this plugin effectively, you must be familiar with Google Tag Manager and Google Analytics or you need to read their documentation.

See video documentation on Youtube:

Basic usage:

  1. Install the plugin using Joomla Extensions Manager
  2. Register / Login at Google Tag Manager website (further referred to as GTM): and create a container (thus you will get a container ID)
  3. Enter the container ID into the plugin parameters
  4. Enable the plugin

You can also set the rest of the basic parameters:

Enable in backend - enable backend tracking

Enable for tmpl component - this Google tag manager sometimes conflicts with some AJAX searches so it is a safety feature. If you experience any strange behavior, leave it set to NO.

Enable for custom formats - if set to NO, the scripted will not be included when there is a "format" parameter in the URL. It is specifically for PDFs and any custom formats. We strongly recommend to set it to NO.

Write log - if you want to keep track of the logs, set it to YES


Advanced - Virtuemart 2 orders dataLayer & custom variables

This advance setting enables you to track your orders. Let's asume you have done the above mentioned steps.

  1. Enable checkout tracking / order status change tracking in the plugin parameters
  2. Enable plugin
  3. Define events tracking inside your GTM account, such as order status conditions, secondary dimensions like payment method etc. based on dataLayer variables

Track checkout - select whether you want to track the checkout   

Checkout event - in GTM, create an event with a unique title and paste it here

Transaction ID format - here you can define how your order will look in Google Analytics. You have 3 variables at your disposal: id, number, status. The variables can be divided with any character. However, if you define "status", it will not affect anything because at this point, we do not have the status. Example: id:number

Track order status - select whether you want to track the order statuses      

Order status update event - in GTM, create an event with a unique title and paste it here 

Transaction ID format - you can set a different format for this event. Example: id:number:status. 

Tracked statuses - set the status of orders you want to track. The statuses load from Virtuemart   

Custom variable 1-5 - here you can set custom variables that will be passed to GTM so you will be able to filter your orders according to a custom variable.    
Push custom variables extra - if set to YES, this will create a an extra event named customVariables before the other events 

comments powered by Disqus

Additional information

For our products there is:

  • no warranty!
  • no support!
  • it is as it is
  • use it on your own risk!