Frontend Opt-In Dialog for WP-Matomo. Unlike other solutions this one is supposed to work with caching.
Heavy development. Might be unstable and/or harmful. Help appreciated.
- Head over to releases
- Download 'wp-matomo-optin.zip'
- Upload and activate it like any other WordPress plugin
- AutoUpdate will run as long as the plugin is active
- Install Andy Fragen's GitHub Updater first.
- In WP Admin go to Settings / GitHub Updater / Install Plugin. Enter
mcguffin/wp-matomo-optin
as a Plugin-URI.
- cd into your plugin directory
- $
git clone git@github.com:mcguffin/wp-matomo-optin.git
- $
cd wp-matomo-optin
- $
npm install
- $
gulp
- Respect DNT Header
- PLL Strings
- Move asset loading to compat
- Status messages
- Set Cookie Lifetime 3 months
- Allow Dialog Theme override