sanity-plugin-plausible-iframe

1.0.3 • Public • Published

sanity-plugin-plausible-iframe

This plugin is for Sanity Studio v2.

Check out a v3 compatible alternative: https://www.sanity.io/plugins/plausible-analytics-widget by Stijn

Simple plugin to show Plausible analytics as an iframe inside of the Sanity Dashboard. This is my very first plugin.

sanity dashboard widget

Installation

sanity install plausible-iframe

Configuration

The plugin can be configured through <your-studio-folder>/config/plausible-iframe.json:

{
  "site": "<domain.com?auth=xxxx>"
}

Configuration Plausible

  1. Create a new Shared Link without password protection.
  2. Copy the end of the link to /config/plausible-iframe.json

License

MIT © Ole Svennevig See LICENSE

Package Sidebar

Install

npm i sanity-plugin-plausible-iframe

Weekly Downloads

104

Version

1.0.3

License

MIT

Unpacked Size

124 kB

Total Files

10

Last publish

Collaborators

  • svennevig