How do I debug tags in Matomo Tag Manager?

Use the Preview/Debug mode in Matomo Tag Manager. Click “Preview” in the top right corner of your container. This loads your website with a debug panel showing which tags fired, which triggers matched, and what variable values were used.

Check the browser developer console for JavaScript errors if a tag does not fire. Matomo Tag Manager also logs container loading events that help identify configuration issues.

Have some questions? We have your solution.