Closed EmilMoe closed 1 month ago
I think it depends on the pliny module.
Have you tried by setting the dataApi
prop? https://github.com/timlrx/pliny/blob/b91eb82057989d428496cf8e94accf70564b175b/packages/pliny/src/analytics/Plausible.tsx#L5
Its possible to proxy the domain: https://github.com/timlrx/pliny/blob/b91eb82057989d428496cf8e94accf70564b175b/packages/pliny/src/analytics/Plausible.tsx#L11
I think it depends on the pliny module. Have you tried by setting the
dataApi
prop? https://github.com/timlrx/pliny/blob/b91eb82057989d428496cf8e94accf70564b175b/packages/pliny/src/analytics/Plausible.tsx#L5 Its possible to proxy the domain: https://github.com/timlrx/pliny/blob/b91eb82057989d428496cf8e94accf70564b175b/packages/pliny/src/analytics/Plausible.tsx#L11
Thanks, it even seems to be this simple:
plausibleAnalytics: {
plausibleDataDomain: '<domain in plausible>', // e.g. tailwind-nextjs-starter-blog.vercel.app
src: 'https://<my domain>/js/script.js',
},
Is your feature request related to a problem? Please describe. I'm hosting my own Plausible server, I don't see how I can integrate that?
Describe the solution you'd like An optional parameter with domain
Describe alternatives you've considered I tried to update my config to this, but that didn't seem to work