You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm completely at a loss, so hopefully you all can help. My org is switching from Google Analytics to Plausible. I don't know all the details, but Plausible ostensibly involves no user tracking (beyond just seeing that a webpage was visited). Regardless, most of the ad blockers still block the script they ask you to include. To counteract this, they include some suggestions for proxying to their script file. Something extremely basic, like this:
For the life of me, I can't get this module to do something this simple. I have to assume it's my own lack of understanding. Here are the relevant parts of my nuxt.config.js:
@thely I assume you're not generating a static site but have a server up and running. If so, and you're getting this, it's possible it's because of render.fallback, which sends early 404 responses for missing assets rather than let it hit the Vue part of your app. You can disable it for .js like so:
exportdefault{render: {fallback: {static: {// Avoid sending 404 for these extensionshandlers: {'.js': false}}}}}
I'm completely at a loss, so hopefully you all can help. My org is switching from Google Analytics to Plausible. I don't know all the details, but Plausible ostensibly involves no user tracking (beyond just seeing that a webpage was visited). Regardless, most of the ad blockers still block the script they ask you to include. To counteract this, they include some suggestions for proxying to their script file. Something extremely basic, like this:
For the life of me, I can't get this module to do something this simple. I have to assume it's my own lack of understanding. Here are the relevant parts of my
nuxt.config.js
:The
script
portion is a Nuxt-formatted version of their script to include, which would normally look like:I just keep getting 404s from the proxied link. Any ideas or tips for debugging with this module are also welcome.
The text was updated successfully, but these errors were encountered: