-
Introduction
- Understanding Matomo
-
Matomo Core development
- Contributing to Matomo Core
- Contributing to Matomo Plugins
- Coding Standards
- Using GitHub Issues
- Pull Requests and Reviews
- The Core Team Workflow
- Maintaining Plugins
- Maintaining Translations
- Matomo APIs
- Debugging Core
- Profiling Code
- Reproducing Issues
- FAQs
- Core Components
- Composer dependencies
- Release Management
- Using GitHub Actions
- Matomo's Roadmap
- Matomo Plugin development
- Web Interface
- Utils
- Reporting API
- Data Model
- Tests
- Tools
-
Plugin Development
This documentation is for an outdated Matomo version.
Click here if you want to read this article for the latest version.
Click here if you want to read this article for the latest version.
Matomo Tag Manager In Depth
This page is mostly aimed for Matomo contributors. If you are looking for instructions on how to extend the Tag Manager please also have a look at the Tag Manager Develop guides and the Tag Manager JS API reference.
What browsers do we support in the Tag Manager containers?
We support the same browsers as the JavaScript Tracker does.
Some tags, variables, or triggers may require newer browser versions though which can be fine as long as the code doesn't break in older browsers.
How do I minify the TagManager JavaScript file
Open the file javascripts/tagmanager.js. In the beginning of the file you will find a comment with instructions on how to minify the file like this:
/**
* To minify execute
* cat javascripts/tagmanager.js ...
*/
When I change tagmanager.js or a tag / trigger / variable how do I test these changes?
It's currently required to run the command ./console tagmanager:regenerate-released-containers to update all container JS files whenever you modify any of these files.