Skip to content

Commit 3015ced

Browse files
authored
Add new umami tracking config props (#3)
* Add dataCache and dataDomains props * Add new props to README * Fix defaults of new props * Increase version to 0.1.4 * Add package-lock.json
1 parent 25d5503 commit 3015ced

File tree

4 files changed

+13131
-3
lines changed

4 files changed

+13131
-3
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ plugins: [
2020
srcUrl: 'https://umami.example.com/umami.js',
2121
includeInDevelopment: false,
2222
autoTrack: true,
23-
respectDoNotTrack: true
23+
respectDoNotTrack: true,
24+
dataCache: false,
25+
dataDomains: 'example.com,example2.com'
2426
},
2527
},
2628
]
@@ -33,6 +35,8 @@ plugins: [
3335
- `includeInDevelopment` - Optional. Defaults to `false`
3436
- `autoTrack` - Optional. Enables [umami auto track](https://umami.is/docs/tracker-config) feature. Defaults to `true`
3537
- `respectDoNotTrack` - Optional. Enables [umami respect Do Not Track](https://umami.is/docs/tracker-config) feature. Defaults to `true`
38+
- `dataCache` - Optional. Improves performance. Defaults to `false`
39+
- `dataDomains` - Optional. Allows tracking only on the specified domains. No default.
3640

3741

3842

0 commit comments

Comments
 (0)