You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Essentially, you will want to map the page, track methods to the Matomo JS calls
exportdefaultfunctionpluginExample(userConfig){return{/* All plugins require a name */name: 'matomo-plugin',/* Everything else below this is optional depending on your plugin requirements */config: {whatEver: userConfig.whatEver,elseYouNeed: userConfig.elseYouNeed},initialize: ({ config })=>{// load matomo script to page},page: ({ payload })=>{// call matomo specific page tracking},track: ({ payload })=>{// call matomo event tracking},loaded: ()=>{// return boolean so analytics knows when it can send data to third partyreturn!!window.myPluginLoaded}}}
Any plan to support Matomo? https://matomo.org/