소스 검색

Add kameleoon

Amauri CHAMPEAUX 4 년 전
부모
커밋
76fee67e5d
1개의 변경된 파일16개의 추가작업 그리고 0개의 파일을 삭제
  1. 16 0
      tarteaucitron.services.js

+ 16 - 0
tarteaucitron.services.js

@@ -2566,6 +2566,22 @@ tarteaucitron.services.zopim = {
     }
 };
 
+// kameleoon
+tarteaucitron.services.kameleoon = {
+    "key": "kameleoon",
+    "type": "analytic",
+    "name": "Kameleoon",
+    "uri": "https://www.kameleoon.com/fr/compliance/rgpd",
+    "needConsent": true,
+    "cookies": [],
+    "js": function () {
+        "use strict";
+        if (tarteaucitron.user.kameleoon !== undefined) {
+            tarteaucitron.addScript("https://" + tarteaucitron.user.kameleoon + ".kameleoon.eu/kameleoon.js");
+        }
+    }
+};
+
 // xiti smartTag
 tarteaucitron.services.xiti_smarttag = {
     "key": "xiti_smarttag",