📝 Document additional allowed types for custom services
This commit is contained in:
parent
88af745341
commit
7c7b6e8ceb
|
|
@ -1,4 +1,4 @@
|
|||
[](https://www.jsdelivr.com/package/gh/AmauriC/tarteaucitron.js)
|
||||
[](https://www.jsdelivr.com/package/gh/AmauriC/tarteaucitron.js)
|
||||
[](https://www.npmjs.com/package/tarteaucitronjs) [](https://github.com/AmauriC/tarteaucitron.js/graphs/contributors)
|
||||
|
||||
tarteaucitron.js
|
||||
|
|
@ -35,7 +35,7 @@ tarteaucitron.init({
|
|||
|
||||
"hashtag": "#tarteaucitron", /* Open the panel with this hashtag */
|
||||
"cookieName": "tarteaucitron", /* Cookie name */
|
||||
|
||||
|
||||
"orientation": "middle", /* Banner position (top - bottom) */
|
||||
"showAlertSmall": true, /* Show the small banner on bottom right */
|
||||
"cookieslist": true, /* Show the cookie list */
|
||||
|
|
@ -50,7 +50,7 @@ tarteaucitron.init({
|
|||
"useExternalCss": false, /* If false, the tarteaucitron.css file will be loaded */
|
||||
|
||||
//"cookieDomain": ".my-multisite-domaine.fr", /* Shared cookie for subdomain website */
|
||||
|
||||
|
||||
"readmoreLink": "/cookiespolicy" /* Change the default readmore link pointing to opt-out.ferank.eu */
|
||||
});
|
||||
</script>
|
||||
|
|
@ -60,7 +60,7 @@ tarteaucitron.init({
|
|||
```js
|
||||
tarteaucitron.services.mycustomservice = {
|
||||
"key": "mycustomservice",
|
||||
"type": "social|analytic|ads|video|support",
|
||||
"type": "ads|analytic|api|comment|other|social|support|video",
|
||||
"name": "MyCustomService",
|
||||
"needConsent": true,
|
||||
"cookies": ['cookie', 'cookie2'],
|
||||
|
|
|
|||
Loading…
Reference in New Issue