2
0
mirror of https://github.com/offen/website.git synced 2024-10-18 12:10:25 +02:00

fix script url in code example

This commit is contained in:
Frederik Ring 2022-06-16 15:32:41 +02:00
parent bdb7ff98d5
commit edd8b7bd57

View File

@ -108,7 +108,7 @@ Next deploy the application to a domain like `consent.example.com`. On the host
which exposed `window.ConsentClient`. In your client side code, construct a new client instance pointing at your deployment and request user consent for the desired scope(s): which exposed `window.ConsentClient`. In your client side code, construct a new client instance pointing at your deployment and request user consent for the desired scope(s):
```jsx ```jsx
const client = new window.ConsentClient({ url: '[https://consent.example.com](https://consent.example.com/)' }) const client = new window.ConsentClient({ url: 'https://consent.example.com' })
client client
.acquire('analytics', 'marketing') .acquire('analytics', 'marketing')
.then((decisions) => { .then((decisions) => {