Add Kwanko Fix #993

This commit is contained in:
Amauri CHAMPEAUX 2022-10-18 17:33:30 +02:00
parent 7da0344b93
commit 7e7e0757cf
1 changed files with 25 additions and 0 deletions

View File

@ -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 '<img src="https://action.metaffiliation.com/trk.php?mclic=' + mclic + '" width="1" height="1" border="0" />';
});
},
"fallback": function () {
"use strict";
var id = 'kwanko';
tarteaucitron.fallback(['tac_kwanko'], function (elem) {
return tarteaucitron.engage(id);
});
}
};
// trustpilot
tarteaucitron.services.trustpilot = {
"key": "trustpilot",