-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to new Plausible proxy methods #1572
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
next.config.js
Outdated
// eslint-disable-next-line functional/immutable-data | ||
module.exports = withNextAnalyser(moduleExports); | ||
module.exports = withNextAnalyser(withPlausibleProxy(moduleExports)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This worked for me @marxian and fixed the build - module.exports = withNextAnalyser(withPlausibleProxy()(moduleExports));
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @rosejbon - You're absolutely right.
We use a same-domain proxy for our Plausible anlytics to reassure privacy tools that we control our data carefully. THe support for doing this in Plausible changed from DNS level changes to preferring local proxies. This is well-supported by next-plausible: https://plausible.io/docs/proxy/guides/nextj
1f4d0c7
to
9f1dc04
Compare
📦 Next.js Bundle Analysis for toiletmapThis analysis was generated by the Next.js Bundle Analysis action. 🤖 🎉 Global Bundle Size Decreased
DetailsThe global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster. Any third party scripts you have added directly to your app using the If you want further insight into what is behind the changes, give @next/bundle-analyzer a try! |
Passing run #1065 ↗︎
Details:
Review all test suite changes for PR #1572 ↗︎ |
We use a same-domain proxy for our Plausible anlytics to reassure
privacy tools that we control our data carefully.
The support for doing this in Plausible changed from DNS level changes
to preferring local proxies. This is well-supported by next-plausible:
https://plausible.io/docs/proxy/guides/nextj