-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Description
Past Issues Searched
- I have searched open and closed issues to make sure that the bug has not yet been reported
Issue is a Bug Report
- This is a bug report and not a feature request, nor asking for self-hosted support
Using official Plausible Cloud hosting or self-hosting?
Plausible Cloud from plausible.io
Describe the bug
We embed the Plausible dashboard in our website using an iframe and a src like ...&embed=true&page=<page-url>. However when this page URL contains a character ê it will not parse that correctly when rendering the dashboard and throw an error:
Failed to parse URL fragment /p/Terugblik%20webinar%20enquêtes%20(aanwezigen%20en%20niet%20aanwezigen%20Prospects) SyntaxError: JSON->URL: unexpected character at position 29 (at dashboard-3553633e2bee30f9300353ee79bb1479.js?vsn=d:10:67675)
at ue.validateLiteral (dashboard-3553633e2bee30f9300353ee79bb1479.js?vsn=d:10:67675)
I can however lookup that specific page in the Top Pages and select it as a filter manually and then it will work. So the filter query seems to support this character but the initial parsing of the dashboard embed src url does not.
Expected behavior
I would expect this to work so I can set pages that contain a ê in the URL can be set as an initial filter for the dashboard.
Screenshots
No response
Environment
- OS: MacOS
- Browser: Chrome
- Browser Version: 142.0.7444.176Metadata
Metadata
Assignees
Labels
No labels