This package is great, thank you for making it! Plausible's script installation instructions currently suggest the use of a custom script ID, e.g. https://plausible.io/js/pa-12345ABCDE.js. I believe this is a part of support for their optional measurements such as outbound link clicks. Right now the package hardcodes a reference to https://plausible.io/js/script.js in fetching the script for caching.
Would you consider allowing a new .env option that allows specifying the script URI, and/or perhaps just replace the existing .env that specifies the domain to fetch the script with the full script URL?
How to reproduce the bug
When I want to track outbound link clicks, the Plausible script fetched by the package does not provide support for that.
Package Version
1.5
PHP Version
8.4
Laravel Version
12
Which operating systems does this happen with?
No response
Notes
No response
### What happened?
This package is great, thank you for making it! Plausible's script installation instructions currently suggest the use of a custom script ID, e.g. `https://plausible.io/js/pa-12345ABCDE.js`. I believe this is a part of support for their optional measurements such as outbound link clicks. Right now the package hardcodes a reference to `https://plausible.io/js/script.js` in fetching the script for caching.
Would you consider allowing a new .env option that allows specifying the script URI, and/or perhaps just replace the existing .env that specifies the domain to fetch the script with the full script URL?
### How to reproduce the bug
When I want to track outbound link clicks, the Plausible script fetched by the package does not provide support for that.
### Package Version
1.5
### PHP Version
8.4
### Laravel Version
12
### Which operating systems does this happen with?
_No response_
### Notes
_No response_
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What happened?
This package is great, thank you for making it! Plausible's script installation instructions currently suggest the use of a custom script ID, e.g.
https://plausible.io/js/pa-12345ABCDE.js. I believe this is a part of support for their optional measurements such as outbound link clicks. Right now the package hardcodes a reference tohttps://plausible.io/js/script.jsin fetching the script for caching.Would you consider allowing a new .env option that allows specifying the script URI, and/or perhaps just replace the existing .env that specifies the domain to fetch the script with the full script URL?
How to reproduce the bug
When I want to track outbound link clicks, the Plausible script fetched by the package does not provide support for that.
Package Version
1.5
PHP Version
8.4
Laravel Version
12
Which operating systems does this happen with?
No response
Notes
No response