analytics-plugin-plausible
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "analytics-plugin-plausible", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Plausible support for Analytics", | ||
@@ -35,3 +35,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "894c71a2903695a675b6f75688bae8c13a55ed59" | ||
"gitHead": "a515ddfd73e6f19e2096a65ab2dc672098c7ca1b" | ||
} |
@@ -1,11 +0,25 @@ | ||
# `plausible` | ||
# Analytics Plausible Plugin | ||
> TODO: description | ||
This adds [Analytics](https://github.com/DavidWells/analytics) support for [Plausible](https://plausible.io/) | ||
## Installation | ||
``` | ||
npm install analytics analytics-plugin-plausible --save | ||
``` | ||
## Usage | ||
``` | ||
const plausible = require('plausible'); | ||
import Analytics from "analytics" | ||
import plausiblePlugin from "analytics-plugin-plausible" | ||
// TODO: DEMONSTRATE API | ||
const analytics = Analytics({ | ||
app: "myapp", | ||
plugins: [ | ||
plausiblePlugin({ | ||
domain: "example.com", | ||
}), | ||
], | ||
}) | ||
``` |
4310
26