jackabox / statamic-plausible-analytics

Integrate Plausible Analytics into your Statamic Dashboard
MIT License
5 stars 8 forks source link

adds ability to specify plausible domain #4

Closed pschocke closed 2 years ago

pschocke commented 2 years ago

This PR adds support for self hosted plausible instances.

It adds a new config variable to specify a different plausible domain.

It introduces no breaking chances since it has sensitive default values.

This PR also fixes a bug that if you use an other cp domain as /cp all requests fail.

jackabox commented 2 years ago

Thanks for this, looks good - will review this properly next week and hopefully merge!

ryanmitchell commented 2 years ago

Are there any plans on merging this? We use a self-hosted solution and it would be super helpful to have this built into our Statamic installs.

jackabox commented 2 years ago

@ryanmitchell Released 👍🏻