$5+

Metrics iOS Widgets: Plausible Analytics

2 ratings
I want this!

Metrics iOS Widgets: Plausible Analytics

$5+
2 ratings

Hi! This is an experiment that tries to bring business, audience, and revenue metrics to the iPhone home screen.


Current state

  • Right now we only support Plausible website metrics.

Next phase

  • 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?

These widgets are powered by Scriptable. Scriptable is an iOS app that lets us automate iOS things with JavaScript.

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.


Instructions

  1. 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.

  2. Download Scriptable from the App Store.

  3. Click the "I want this!" button on this page and download the plausible_widget.js file.

  4. 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"

  5. 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.

  6. 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.

  7. 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 santi.viquez@gmail.com


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.

$
I want this!
Size
7 KB
Copy product URL

Ratings

5
(2 ratings)
5 stars
100%
4 stars
0%
3 stars
0%
2 stars
0%
1 star
0%