Scenario: You implemented Matomo Tag Manager but MTM is not tracking any pageviews for your site. Using MTM is a good move. Compared to Matomo's javascript tracker, Matomo Tag Manager is more maintainable, versionable, and can inject JS into your site without you going into the server. (Caveat, in case you didn't see the word inject just now: tag managers are a security risk. Don't give access to someone casually. An intern should probably not have User Permission to your MTM.) So, all you want to do is start tracking your site, same as you used to with the javascript tracker. Let's go:
4. (you can accept the default values or check/uncheck. I like to enable heartbeat tracker for example) 5. New Tag >> Analytics >> Matomo Analytics 4. Set these :
Okay, now check your HTML. Is it how you want it? Here is the normal Javascript Tracker that most people have on their page when they start using Matomo. Here is the script which connects Matomo Tag Manager. You don't need both! You can have both if you are careful that one is not redundantly tracking what the other is. The main thing as a beginner is don't track pageviews in both. As a beginner, easiest solution for ensuring that is to remove one of them.
0 Comments
Leave a Reply. |
AuthorEvan Genest Archives
December 2023
Categories |