Matomo (formerly Piwik) tag manager integration for redux-beacon.
Download node at nodejs.org and install it, if you haven't already.
npm install redux-beacon-matomo-tag-manager --save
- Sign up for or install Matomo Tag Manager and create a new web container.
- Add the Matomo Tag Manager container snippet to your site.
- Install redux-beacon in your app
- Use this library to connect redux-beacon to the tag manager
// Set up which actions should trigger which events or variables// Create the middleware// When you dispatch an action, the middleware will trigger the eventstore.dispatch
Thanks to Matomo for supporting this project by providing an analytics property for integration testing this library.