Metrics iOS Widgets: Plausible Analytics
Hi! This is an experiment that tries to bring business, audience, and revenue metrics to the iPhone home screen.
Right now we only support Plausible website metrics.
Add ChartMogul support and ship a widget with MRR, ARR, churn rate data.
Add Twitter support and ship a widget with tweet streak and follower change counter
How does this work?
So each one of these Widgets is a .js file that you'll need to download and load into the Scriptable app. It sounds hacky but that's why it's fun, right!?. In the next section, I'll give a step-by-step process of how to install the Plausible widget.
Go to plausible.io/settings, create an API key and store it somewhere safe. This is going to be the connection between the widget and plausible. Note: every request to the API will be performed from your phone so your site data is not going to be stored anywhere else.
Download Scriptable from the App Store.
Click the "I want this!" button on this page and download the plausible_widget.js file.
Open the plausible_widget.js file and paste your Plausible API key (from step 1) in the line that says.
let apiKey = "YOUR_PLAUSIBLE_API_KEY"
In the Scriptable iOS app, create a new widget script by clicking the plus icon. Copy the plausible_widget.js content and paste it into your Scriptable widget.
Now you need to add a widget on your iOS home screen. Long press your Home Screen then tap the plus icon top left. Select a "Scriptable" widget and tap "Add widget". Tap Done.
Configure your widget. Long press on your new widget and select "Edit Widget". Now, in the "Script" option, choose the Scriptable script you created in Step 5. In the "Parameter" field, paste in your site domain. ex: mysite.com
Tap outside the widget to save. Your Plausible data should now be displayed!
I know it is not the easiest process. So if you have any questions please reach out to me at @santiviquez or firstname.lastname@example.org
Any feedback is welcome!
What's the refund policy?
If what you see is not what you expected, just reply to the download email within 30 days, and you'll get a full refund. No questions asked.