|
@@ -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 tarteaucitron.io */
|
|
|
});
|
|
|
</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'],
|