Browse Source

Add elfsight

Amauri CHAMPEAUX 4 years ago
parent
commit
be52a5c654
1 changed files with 16 additions and 0 deletions
  1. 16 0
      tarteaucitron.services.js

+ 16 - 0
tarteaucitron.services.js

@@ -31,6 +31,22 @@ tarteaucitron.services.iframe = {
     }
 };
 
+
+// elfsight
+tarteaucitron.services.elfsight = {
+    "key": "elfsight",
+    "type": "support",
+    "name": "Elfsight",
+    "uri": "https://elfsight.com/privacy-policy/",
+    "needConsent": true,
+    "cookies": ['__cfduid', '_p_hfp_client_id', 'session_id'],
+    "js": function () {
+        "use strict";
+
+        tarteaucitron.addScript('https://apps.elfsight.com/p/platform.js');
+    }
+};
+
 // sharpspring
 tarteaucitron.services.sharpspring = {
     "key": "sharpspring",