-
Notifications
You must be signed in to change notification settings - Fork 30
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
Stats within WP dashboard #17
Comments
This will be announced tomorrow but I deployed support for iFrame embed to prod today. Here are the instructions: https://plausible.io/docs/embed-dashboard Embedding is probably the easiest way to show the whole dashboard along with filters and other interactive behaviour that we have built in the plausible web app. To make the WP experience even better it would be great to be able to generate a shared link through the API. Then the plugin could provision the shared link and embed it without manual steps by the user. Currently, the user will need to create a shared link on our end and enter it in their WP dashboard. |
Hi, Just for some more background information around implementing this for the WordPress plugin. As a (freelance sustainable privacy-conscious :-)) web designer/developer, I have a Plausible subscription that I use for all my clients who want to track their site stats. This is how it evolved for me to provide them the data:
I like this latter approach: the stats are always there in their dashboard, no more lost shared links. :-) This is a kind of controlled way that works fine in my situation. Since clients don’t have access to my Plausible account, they cannot generate their own shared link. In my case, they don't have complete admin access to their WP dashboard either, but that is often the case for others‘ setups as far as I hear (I don't do it because it is not sustainable in my opinion and in my setup). How would this work if the API was used to generate a shared link via the plugin? There is currently no authentication needed for the Plausible account to use the plugin as far as I know? This is an advantage in my opinion, but generating a shared link via the plugin would require that. So +1 for the manual embed approach for now. :-) (With regard to my plugin, it is quite incomplete for now: it misses validation for the link, which I think would be necessary not enabling pasting any valid url and embed it.) |
Yes, this is planned for the API. We have promised another client that it will be available by mid-April. |
We now have the stats API ready so wondering if that makes it possible for us to include some of the stats within the WP dashboard? Or does it make the most sense to wait for the embedded mode and then simply embed the complete dashboard? What is the best solution for WordPress?
Stats API docs: https://plausible.io/docs/stats-api
Example of a similar thing done with our API for Statamic:
The text was updated successfully, but these errors were encountered: