More options to embed stats on my own site
Describe the feature or enhancement
I know I can share a link to the dashboard, and that works fine. But then I lose users on my site.
But it would be great to be able to iframe embed separate pieces of the dashboard for public sites. Personally, I was thinking of the main visitors graph and the stats block. Then I also would love to be able to track users using the elements (I know, almost inception).
I could build my own elements, but then I also need to proxy all API requests because auth by username and password is needed. It would be great to be able to access some API endpoint get requests when i want without auth.
Plausible has this feature https://plausible.io/docs/embed-dashboard
We are currently working on a boards feature where you can choose specific components to display and share. I think you already outlined your other options.
- Embed the share page via iframe, although you would get everything and not individual components.
- build your own components and hit our API.
The problem with option two is that the api needs an API key that would allow users to make other requests. Or passing through my own backend but that is a lot of extra work.