kremalicious / gatsby-plugin-matomo

🥂 Gatsby plugin to add Matomo (formerly Piwik) onto a site.
https://kremalicious.com/gatsby-plugin-matomo
MIT License
56 stars 17 forks source link

Support custom event tracking #34

Open samajammin opened 4 years ago

samajammin commented 4 years ago

Hey there! I'm curious - does this plugin support custom events? https://developer.matomo.org/guides/tracking-javascript-guide#manually-trigger-events

I'm envisioning something similar to the function offered by the Gatsby GA plugin: https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-google-analytics/src/index.js#L80

I looked through the code & didn't find anything. Is there something I'm missing? If not, consider this an enhancement request 😄

Thanks!

samajammin commented 4 years ago

Hey @kremalicious - just checking in on this. Thanks!