Snap icon indicating copy to clipboard operation
Snap copied to clipboard

Add Code for Local Matomo Instance

Open cycomachead opened this issue 2 months ago • 1 comments

Here's the JS for sending visits to a local Matomo instance.

I also decided to add a cache buster for development mode in the service worker, which should help avoid caching issues when testing locally.

  • Add a local matomo instance to snap.html + other demos
  • Use a dev mode / local server cache buster in sw.js

cycomachead avatar Oct 17 '25 07:10 cycomachead

thank you, Michael! Will pull for the next minor release, which, however, might take another couple of weeks. This is great, I love it!

jmoenig avatar Nov 03 '25 10:11 jmoenig