-
Notifications
You must be signed in to change notification settings - Fork 405
Open
Description
Matomo (Piwik) uses:
trackEvent(category, action, [name], [value])
Angulartics uses:
$analytics.eventTrack('eventName', { param1: 'param1-value', param2: 'param2-value', ... })
How do they map to each other? The angulartics-piwik github page doesn't tell me. I couldn't find it anywhere. I had to figure it out myself by testing it out.
I started by assuming Angulartics' required 'eventName' was Matomo's optional name. This was wrong. The actual mappings from Matomo to Angulartics are:
required category -> optional parameter
required action -> required eventName
optional name -> optional parameter
Can't you just have (require) the plugin developers add the mapping to their documentation?
Metadata
Metadata
Assignees
Labels
No labels