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
Umami is super simple and popular open-source project for analytics. It provides API to send custom data to it and could potentially be integrated with analytics.
Essentially, you will want to map the page, track methods to the umami JS calls
exportdefaultfunctionproviderPluginExample(userConfig){return{/* All plugins require a name */name: 'my-example-plugin',/* Everything else below this is optional depending on your plugin requirements */config: {whatEver: userConfig.whatEver,elseYouNeed: userConfig.elseYouNeed},initialize: ({ config })=>{// load umami script to page},page: ({ payload })=>{// call umami specific page tracking},track: ({ payload })=>{// call umami event tracking},loaded: ()=>{// return boolean so analytics knows when it can send data to third partyreturn!!window.myPluginLoaded}}}
Umami is super simple and popular open-source project for analytics. It provides API to send custom data to it and could potentially be integrated with analytics.
https://github.com/mikecao/umami
The text was updated successfully, but these errors were encountered: