Consent API #1

Merged
Jarek Rozanski merged 6 commits from feature/consent-registration into main 2025-01-29 20:25:24 +00:00
Showing only changes of commit 11c1dd4b94 - Show all commits

View file

@ -136,7 +136,7 @@ If the visitors browsers has `DoNotTrack` setting enabled in the browser, it wil
You website can't overwrite this behaviour by specifying `suppressDnt` setting.
```
```javascript
app.use(WideAngle, {
siteId: "8D27G3B9ACA01F4241",
suppressDnt: true
@ -149,7 +149,7 @@ Wide Angle can be configure to handle presence of a cookie, or a cookie with spe
Example configuration with cookie marker, expecting cookie name `WAA_CONSENT` with value `true`:
```
```javascript
app.use(WideAngle, {
siteId: "8D27G3B9ACA01F4241",
consentMarker: "WAA_CONSENT=true"
@ -169,7 +169,7 @@ Calling above methods on `waa` service will overwrite other consent mechanism (i
Example usage:
```
```vue
<script setup>
import { inject } from 'vue'
const waa = inject('waa');