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 recently tried integrating my self-hosted Plausible instance with my site, but I faced issues with the CSP.
I finally got it working, but I spent a few hours experimenting with another Hugo module and changing the server's response headers.
I didn't know much about CSP before. It would be helpful and time-saving if you could update the Plausible Analytics Guide to include that, in case of self-hosting, we also need to add the Plausible domain to connect-src and script-src.
Hello,
I recently tried integrating my self-hosted Plausible instance with my site, but I faced issues with the CSP.
I finally got it working, but I spent a few hours experimenting with another Hugo module and changing the server's response headers.
I didn't know much about CSP before. It would be helpful and time-saving if you could update the Plausible Analytics Guide to include that, in case of self-hosting, we also need to add the Plausible domain to
connect-src
andscript-src
.It might not be obvious to everyone, but now that I know, I will be more careful. And thank you for this amazing theme!
The text was updated successfully, but these errors were encountered: