Destiner / astro-analytics

Astro components for site analytics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support plausible.io?

kissu opened this issue Β· comments

Hi, is it possible to support Plausible please? πŸ™πŸΌ

Hey @kissu, I added Plausible. If you could try it that would be great.

While this is great I would love if you could add support for a custom script. Because if you selfhost it the script isn't hosted on plausible.io

I would add the script source as optional and if it isn't provided it just fallbacks to the plausible.io one

@Pukimaa I added optional src prop, which you can use to replace the default script source.

Ye wasn't clear at the first moment...I added a PR to clarify it: #6