Add ShareThis Sticky Fix #1123

This commit is contained in:
Amauri CHAMPEAUX 2023-07-04 11:56:32 +02:00
parent e40bdc8714
commit a00cedcf17
1 changed files with 19 additions and 0 deletions

View File

@ -37,6 +37,25 @@ tarteaucitron.services.iframe = {
}
};
// sharethissticky
tarteaucitron.services.sharethissticky = {
"key": "sharethissticky",
"type": "social",
"name": "ShareThis Sticky",
"uri": "https://sharethis.com/fr/privacy/",
"needConsent": true,
"cookies": ['_stid','_stidv','pubconsent'],
"js": function () {
"use strict";
if (tarteaucitron.user.sharethisStickyProperty === undefined) {
return;
}
tarteaucitron.addScript("https://platform-api.sharethis.com/js/sharethis.js#property=" + tarteaucitron.user.sharethisStickyProperty + "&product=sticky-share-buttons");
}
};
// pianoanalytics
tarteaucitron.services.pianoanalytics = {
"key": "pianoanalytics",