Difference between revisions of "Matomo"

From Wasya Wiki
Jump to: navigation, search
 
Line 5: Line 5:
 
   _paq.push(['trackEvent', 'category', 'action', 'name', 'value'])
 
   _paq.push(['trackEvent', 'category', 'action', 'name', 'value'])
  
Event Category: Contact
+
* Event Category: Contact
Event Action: Email Link Click
+
* Event Action: Email Link Click
Event Name: {{ClickDestinationUrl}}
+
* Event Name: {{ClickDestinationUrl}}
Event Value:
+
* Event Value:

Latest revision as of 21:31, 21 December 2023

From: https://matomo.org/faq/reports/implement-event-tracking-with-matomo/

 window._paq.push(['trackEvent', 'Contact', 'Email Link Click', 'some-name?', 'some-value?'])
 _paq.push(['trackEvent', 'category', 'action', 'name', 'value'])