4lejandrito / next-plausible

Simple integration for https://nextjs.org and https://plausible.io analytics
https://next-plausible.vercel.app
MIT License
603 stars 33 forks source link

Adds local and manual extension props #29

Closed michaelwschultz closed 3 years ago

michaelwschultz commented 3 years ago

I needed the ability to track events on localhost for testing. Also, my use case requires custom events for tracking pages so I added the manual extension as well which disables automatic page tracking.

fixes: #27

4lejandrito commented 3 years ago

Hi @michaelwschultz,

Thanks a lot! I'll merge it tonight, I have a few changes I want to make on top.

Regards

4lejandrito commented 3 years ago

Hi @michaelwschultz,

I've merged this and made a few changes (mainly rename manual to manualPageviews).

I published it as next-plausible@3.1.0. Please let me know if it works.

Thanks!