Hi there,
I’m trying the Tag Manager, i create a basic Tag and Trigger in my container.
The Tag basically set an Event with a EventCategory=“FAQS” and EventAction="{{ClickID}}" and a EventName="{{ClickText}}". The Trigger is “All Element Click”. Nothing special here…
Testing in the page with the Debug i see in the Log tab:
"event: "
{"tags":[{"action":"Fire","type":"Matomo","name":"Matomo Analytics","numExecuted":1}],"variables":[],"metTrigger":{"name":"Clique em todos os elementos","type":"AllElementsClick"},"name":"mtm.AllElementsClick","eventData":{"event":"mtm.AllElementsClick","mtm.clickElement":{"piwikTrackers":[{}]},"mtm.clickElementId":"tema2","mtm.clickElementClasses":"active","mtm.clickText":"Questões Gerais","mtm.clickNodeName":"A","mtm.clickElementUrl":"https://mysite.com/Pages/faqs.aspx?mtmPreviewMode=L5WMFUOW#"},"container":{"variables":[{"name":"ClickClasses","type":"ClickClasses","value":"active"},{"name":"Configuração do Matomo","type":"MatomoConfiguration","value":{"matomoUrl":"https://dv-matomo.com/","idSite":"5","enableLinkTracking":true,"enableCrossDomainLinking":false,"enableDoNotTrack":false,"enableJSErrorTracking":false,"enableHeartBeatTimer":false,"trackAllContentImpressions":false,"trackVisibleContentImpressions":false,"disableCookies":false,"setSecureCookie":false,"cookieDomain":"","cookiePath":"","alwaysUseSendBeacon":false,"userId":"","customDimensions":[],"bundleTracker":true}}],"tags":[{"action":"Not Fired Yet","type":"Matomo","name":"Matomo Analytics","numExecuted":1}],"id":"L5WMFUOW","versionName":"Versão Teste 1","dataLayer":{"mtm.containerId":"L5WMFUOW","mtm.startTime":1563792547126,"event":"mtm.AllElementsClick","mtm.mtmScriptLoadedTime":1563792547363,"mtm.clickElement":{"piwikTrackers":[{}]},"mtm.clickElementId":"tema2","mtm.clickElementClasses":"active","mtm.clickText":"Questões Gerais","mtm.clickNodeName":"A","mtm.clickElementUrl":"https://mysite.com/Pages/faqs.aspx?mtmPreviewMode=L5WMFUOW#"}},"time":"11:49:10 AM.762","index0":0,"index":1}
So, the Tag and Trigger are correctly fired, but watching in the Matomo Dashboard (Visits in Real-time) i not see the fired event, only the Page load Action.
For testing proposes i set a event in the page button, and i can see the event in the Matomo Dashboard (Visits in Real-time).
onclick="_paq.push(['trackEvent', 'click', 'btnDownload']);"
Also looked for Nginx, Database and Matomo logs, but nothing special there.
Any idea for debugging my issue?
Thanks,
TP