Closed appinteractive closed 5 months ago
Hi there, I managed to setup a working proxy, where multiple clicks are still recognized as only one user. The documentation is misleading.
vercel.json
:
{
"rewrites": [
{
"source": "/js/script.js",
"destination": "https://plausible.io/js/script.js"
},
{
"source": "/api/event",
"destination": "https://plausible.io/api/event"
}
]
}
nuxt.config.ts
:
plausible: {
// Must be the same as the url your vercel deployment is hosted.
apiHost: 'https://mywebsite.com',
},
Maybe this helps.
Hey @madebyfabian thanks for your input.
As far as I can see, it's the exact setup I use currently, only that I use an empty string for the domain, and this should result in the usage of the current domain.
Maybe the current version of Plausible fixed that issue silently, I will have to upgrade anyway and re-test it.
Thanks 👍
Is this issue still relevant?
Closing this, as the issue seems to be related to a provider, not this module itself.
When using this module and proxy the requests like advised in the documentation of plausible, it counts users x times as unique.
my configs: