This commit is contained in:
Amauri CHAMPEAUX 2022-07-15 17:15:24 +02:00
parent d324c6be2d
commit 069e7a713e
1 changed files with 24 additions and 0 deletions

View File

@ -32,6 +32,30 @@ tarteaucitron.services.iframe = {
}
};
// trustpilot
tarteaucitron.services.trustpilot = {
"key": "trustpilot",
"type": "other",
"name": "Trustpilot",
"uri": "https://fr.legal.trustpilot.com/for-reviewers/end-user-privacy-terms",
"needConsent": true,
"cookies": [],
"js": function () {
"use strict";
tarteaucitron.fallback(['trustpilot-widget'], '');
tarteaucitron.addScript('https://widget.trustpilot.com/bootstrap/v5/tp.widget.sync.bootstrap.min.js');
},
"fallback": function () {
"use strict";
var id = 'trustpilot';
tarteaucitron.fallback(['trustpilot-widget'], function (elem) {
elem.style.width = elem.getAttribute('data-style-width');
elem.style.height = elem.getAttribute('data-style-height');
return tarteaucitron.engage(id);
});
}
};
// antvoice
tarteaucitron.services.antvoice = {
"key": "antvoice",