瀏覽代碼

Add compteur.fr

Amauri CHAMPEAUX 4 年之前
父節點
當前提交
ff5a661b0d
共有 1 個文件被更改,包括 17 次插入0 次删除
  1. 17 0
      tarteaucitron.services.js

+ 17 - 0
tarteaucitron.services.js

@@ -523,6 +523,23 @@ tarteaucitron.services.clicmanager = {
     }
 };
 
+// compteur
+tarteaucitron.services.compteur = {
+    "key": "compteur",
+    "type": "analytic",
+    "name": "Compteur.fr",
+    "uri": "https://www.compteur.fr/help_privacy_policy.htm",
+    "needConsent": true,
+    "cookies": [],
+    "js": function () {
+        "use strict";
+        if (tarteaucitron.user.compteurID === undefined) {
+            return;
+        }
+        tarteaucitron.addScript('https://server2.compteur.fr/log7.js', '', function() {wtslog7(tarteaucitron.user.compteurID,1);});
+    }
+};
+
 // contentsquare
 tarteaucitron.services.contentsquare = {
     "key": "contentsquare",