Update config documentation. Promote to v1

This commit is contained in:
Jarek Rozanski 2023-05-27 10:13:48 +00:00
parent 7ed872ec05
commit 9c753e625b
3 changed files with 22 additions and 16 deletions

View file

@ -27,8 +27,12 @@ You can enable Wide Angle Analytics in your Nuxt projects in just few steps. No
export default defineNuxtConfig({
modules: ['wideangle-nuxt'],
wideangle: {
siteId: "8D27G3B9ACA01F4241"
runtimeConfig: {
public: {
wideangle: {
siteId: "8D27G3B9ACA01F4241"
}
}
}
})
```
@ -57,15 +61,19 @@ Example:
export default defineNuxtConfig({
modules: ['wideangle-nuxt'],
wideangle: {
siteId: "8D27G3B9ACA01F4241",
domain: "your.domain.com",
fingerprint: false,
supressDnt: true,
includeParams: ['q', 'customerId'],
excludePaths: ['^/admin.*'],
ignoreHash: true
}u
runtimeConfig: {
public: {
wideangle: {
siteId: "8D27G3B9ACA01F4241",
domain: "your.domain.com",
fingerprint: false,
supressDnt: true,
includeParams: ['q', 'customerId'],
excludePaths: ['^/admin.*'],
ignoreHash: true
}
}
}
})
```