Merge pull request #431 from nstCactus/doc/custom-service-types

📝 Document additional allowed types for custom services
This commit is contained in:
Amauri CHAMPEAUX 2020-04-18 15:27:12 +02:00 committed by GitHub
commit 2aad968a17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -60,7 +60,7 @@ tarteaucitron.init({
```js ```js
tarteaucitron.services.mycustomservice = { tarteaucitron.services.mycustomservice = {
"key": "mycustomservice", "key": "mycustomservice",
"type": "social|analytic|ads|video|support", "type": "ads|analytic|api|comment|other|social|support|video",
"name": "MyCustomService", "name": "MyCustomService",
"needConsent": true, "needConsent": true,
"cookies": ['cookie', 'cookie2'], "cookies": ['cookie', 'cookie2'],