Free Open Source Matomo Tag Manager - A simple way to manage and maintain all of your (third-party) tags on your website.
Clone or download
diosmosis Merge pull request #139 from matomo-org/mysqli-fix
Convert fire_delay to int so tests pass on mysqli
Latest commit 2fd9ec8 Dec 8, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
API Support new ACL/permission management in Matomo (#36) Jul 24, 2018
Access/Capability Support new ACL/permission management in Matomo (#36) Jul 24, 2018
Activity make sure to trigger activity only if that api was called directly (#135 Dec 4, 2018
Commands Support new ACL/permission management in Matomo (#36) Jul 24, 2018
Context Create directory if it doesn't exist yet when writing container (#96) Oct 4, 2018
Dao Cast fireDelay to int. Dec 8, 2018
Diagnostic add initial files Jun 5, 2018
Input Support new ACL/permission management in Matomo (#36) Jul 24, 2018
Model Add support for Click Element Match CSS Selector (#83) Sep 30, 2018
Settings/Storage/Backend add initial files Jun 5, 2018
Template Support custom title and url for pageviews (#123) Dec 6, 2018
Validators add initial files Jun 5, 2018
angularjs Enable update button when removing a block trigger (#107) Oct 7, 2018
config Add possibility to configure different storage and web directory Jun 7, 2018
docs add initial files Jun 5, 2018
images Etracker event (#99) Dec 6, 2018
javascripts Add support for Click Element Match CSS Selector (#83) Sep 30, 2018
lang Etracker event (#99) Dec 6, 2018
libs/jquery-timepicker add initial files Jun 5, 2018
misc add initial files Jun 5, 2018
screenshots add initial files Jun 5, 2018
stylesheets Support new ACL/permission management in Matomo (#36) Jul 24, 2018
templates capture missed events and forward them at a later time Jul 2, 2018
tests Fix host. Dec 8, 2018
.gitattributes Move UI test screenshots to Git LFS (#77) Sep 10, 2018
.gitignore fix some tests Jun 18, 2018
.travis.yml updates travis.yml Nov 25, 2018
API.php Support new ACL/permission management in Matomo (#36) Jul 24, 2018
CHANGELOG.md Attempt to fix changelog display Nov 13, 2018
Configuration.php Support new ACL/permission management in Matomo (#36) Jul 24, 2018
Controller.php fix piwik dependency was not defined Sep 13, 2018
LEGALNOTICE Support assigning object values in Custom HTML tag (#39) Jul 24, 2018
Menu.php Link to Manage Tags page in top menu when user has only view access (#73 Sep 4, 2018
MenuTagManager.php add initial files Jun 5, 2018
README.md Tag Manager out of beta (#124) Dec 4, 2018
SystemSettings.php Support new ACL/permission management in Matomo (#36) Jul 24, 2018
TagManager.php Make sure super user can edit capabilities when only allowing super u… Dec 4, 2018
Tasks.php add initial files Jun 5, 2018
plugin.json bump version to 0.2.6 Nov 4, 2018

README.md

Free Open Source Matomo Tag Manager

Build Status

Description

Are you a developer? Please consider contributing more tags to our open source tag manager. Learn more on how to develop custom tags, triggers, and variables.
When you install this version of Matomo Tag Manager, users with admin access will be able to create custom HTML tags, triggers, and variables that may execute JavaScript on your website. These custom templates could be misused to steal for example sensitive information from users (known as XSS). You can disable these custom templates under "Administration => General Settings". We will later have new permissions in Matomo that allow you to configure who will be able to use these kind of templates.

Matomo Tag Manager lets you manage and unify all your tracking and marketing tags. Tags are also known as snippets or pixels. Such tags are typically JavaScript code or HTML and let you integrate various features into your site in just a few clicks, for example:

  • Analytics
  • Conversion Tracking
  • Newsletter signups
  • Exit popups and surveys
  • Remarketing
  • Social widgets
  • Affiliates
  • Ads
  • and more

It makes your life easier when you want to modify any of these snippets on your website as you will no longer need a developer to make the needed changes for you. Instead of waiting for someone to make these changes and to deploy your website, you can now easily make the needed changes yourself. This lets you not only bring changes to the market faster, but also reduces cost.

For example want to track an event into your Matomo whenever a certain button is clicked? It will take you only a few clicks to get the insights you need when you need them which in return lets you make decisions faster.

Matomo Tag Manager also comes in handy if you embed many third-party snippets into your website and want to bring in some order to oversee all the snippets that are embedded and have a convenient way to manage them. It also makes sure all that all snippets are implemented correctly and improves the performance of your website.

If you have different environments for your website or platform or want to test new changes before making them available globally you will be please to hear that we have you covered. With a click of a button you can deploy your tags to an environment of your choice.

Last but not least Matomo Tag Manager keeps track of all changes that you make and lets you restore snapshots at any given time.

Features

  • Create an unlimited number of containers
  • Create versions and releases of containers
  • See what changed in each version
  • Export / import of containers
  • Preview / debug mode
  • Configure multiple environments
  • Blacklist certain tags, triggers, or variables
  • Easily define your own tags, triggers, or variables
  • Schedule tags to run only during a certain time range
  • Limit how often a tag should run
  • Assign block triggers to avoid a tag from being executed as soon as this trigger was fired
  • Optionally delay the execution of a tag
  • Assign conditions to a trigger to restrict when a specific trigger should be fired
  • Define a default value for variables
  • Define a lookup/regexp/match table for variable values with various available comparisons (contains, equals, starts with, ends with, regexp, ...)
  • Data-Layer
  • Supports Activity Log

Tags

  • Matomo
  • CustomHtml
  • CustomImage
  • Google Analytics
  • More will follow

Are you a developer? If you use features regulary which are not available yet, or you have a product you want to integrate into the Tag Manager, please check out our developer documentation on how to add your own tags, triggers, and variables. It is really easy. Matomo Tag Manager is open source and we would love it if you contribute tags, triggers and variables to our project.

Triggers

  • All Elements
  • All Links
  • All Download links
  • Custom Event
  • Dom Ready
  • Element Visibility
  • Form Submit
  • Fullscreen
  • History Change
  • JavaScript Errors
  • Page View
  • Scroll Depth
  • Timer
  • Window Leave
  • Window Loaded
  • Window Unloaded

Variables

  • Constant Value
  • Random Number
  • Cookie
  • DataLayer
  • Dom Element
  • JavaScript Variable
  • HTML Meta Content
  • Referrer URL
  • Time Since Load
  • Page URL
  • Page Title
  • Page Hostname
  • Page Path
  • Page Hash
  • Page URL Parameter
  • First directory of page url
  • Environment
  • Container ID
  • Container Version
  • Container Revision
  • Local Hour
  • Local Date
  • Local Time
  • UTC Date
  • ISO Date
  • Weekday
  • Screen size width
  • Screen size height
  • Screen size width (available)
  • Screen size height (available)
  • User Agent
  • Lots of more variables for elements, clicks, scrolls, error, history, and form triggers

License

Matomo Tag Manager is released under the GPL v3 (or later) license, see misc/gpl-3.0.txt

Installation & Requirements

Matomo Tag Manager requires an installed Matomo Analytics see our installation guide and requirements guide.

Afterwards you can install the Tag Manager plugin in one click by going to "Administration => Marketplace".

Get involved!

We believe in liberating Web Analytics, providing a free platform for simple and advanced analytics and tag manager. Matomo was built by dozens of people like you, and we need your help to make Matomo better. Why not participate in a useful project today? Learn how you can contribute to Matomo.

Developer guides are available at developer.matomo.org/guides/tagmanager/settingup.

Security

Security is a top priority at Matomo. As potential issues are discovered, we validate, patch and release fixes as quickly as we can. We have a security bug bounty program in place that rewards researchers for finding security issues and disclosing them to us.

Learn more

Support for Matomo Tag Manager

For Free support, post a message in our community forums: forum.matomo.org

For Professional paid support, send a message to our network of Matomo professionals: matomo.org/support

Contact

Website: matomo.org

About us: matomo.org/team/

Contact us: matomo.org/contact/