소스 검색

Add elfsight

Amauri CHAMPEAUX 4 년 전
부모
커밋
be52a5c654
1개의 변경된 파일16개의 추가작업 그리고 0개의 파일을 삭제
  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",