Amauri CHAMPEAUX 2 éve
szülő
commit
9c3cd9df95
1 módosított fájl, 19 hozzáadás és 0 törlés
  1. 19 0
      tarteaucitron.services.js

+ 19 - 0
tarteaucitron.services.js

@@ -75,6 +75,25 @@ tarteaucitron.services.leadforensics = {
     }
     }
 };
 };
 
 
+// ubib
+tarteaucitron.services.ubib = {
+    "key": "ubib",
+    "type": "other",
+    "name": "Ubib Chatbot",
+    "uri": "https://ubib.libanswers.com/",
+    "needConsent": true,
+    "cookies": [],
+    "js": function () {
+        "use strict";
+
+        if (tarteaucitron.user.ubibId === undefined || tarteaucitron.user.ubibHash === undefined) {
+            return;
+        }
+
+        tarteaucitron.addScript('https://' + tarteaucitron.user.ubibId + '.libanswers.com/load_chat.php?hash=' + tarteaucitron.user.ubibHash);
+    }
+};
+
 // trustpilot
 // trustpilot
 tarteaucitron.services.trustpilot = {
 tarteaucitron.services.trustpilot = {
     "key": "trustpilot",
     "key": "trustpilot",