sanity-analytics-dashboard-widgets 0.1.1
Install from the command line:
Learn more about npm packages
$ npm install @wrux/sanity-analytics-dashboard-widgets@0.1.1
Install via package.json:
"@wrux/sanity-analytics-dashboard-widgets": "0.1.1"
About this version
Dashboard widgets for the Sanity Content Studio which embeds various analytics dashboards.
Supported:
Install
npm install --save @wrux/sanity-analytics-dashboard-widgets
Ensure that you have followed install and usage instructions for @sanity/dashboard.
Add an analaytics dashboard as a widget to @sanity/dashboard plugin in sanity.config.ts (or .js):
import { dashboardTool } from '@sanity/dashboard';
import { plausibleWidget } from '@wrux/sanity-analytics-dashboard-widgets';
export default defineConfig({
// ...
plugins: [
dashboardTool({
widgets: [
plausibleWidget({
auth: 'some-string',
domain: 'some-domain.com',
}),
],
}),
],
});
// List args for plausibleWidget
// List args for fathomWidget
MIT-licensed. See LICENSE.
Details
- sanity-analytics-dashboard-widgets
- wrux
- over 1 year ago
- MIT
- 19 dependencies
Assets
- sanity-analytics-dashboard-widgets-0.1.1.tgz
Download activity
- Total downloads 39
- Last 30 days 0
- Last week 0
- Today 0