From 7e7e0757cf890ce9a1e9fe9e10c80fa46cac52a3 Mon Sep 17 00:00:00 2001 From: Amauri CHAMPEAUX Date: Tue, 18 Oct 2022 17:33:30 +0200 Subject: [PATCH] Add Kwanko Fix #993 --- tarteaucitron.services.js | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/tarteaucitron.services.js b/tarteaucitron.services.js index ba1d311..9059b12 100644 --- a/tarteaucitron.services.js +++ b/tarteaucitron.services.js @@ -32,6 +32,31 @@ tarteaucitron.services.iframe = { } }; +// kwanko +tarteaucitron.services.kwanko = { + "key": "kwanko", + "type": "ads", + "name": "Kwanko", + "uri": "https://www.kwanko.com/fr/rgpd/politique-gestion-donnees/", + "needConsent": true, + "cookies": [], + "js": function () { + "use strict"; + tarteaucitron.fallback(['tac_kwanko'], function (x) { + var mclic = x.getAttribute("data-mclic"); + + return ''; + }); + }, + "fallback": function () { + "use strict"; + var id = 'kwanko'; + tarteaucitron.fallback(['tac_kwanko'], function (elem) { + return tarteaucitron.engage(id); + }); + } +}; + // trustpilot tarteaucitron.services.trustpilot = { "key": "trustpilot",