Add ShareThis Sticky Fix #1123
This commit is contained in:
parent
e40bdc8714
commit
a00cedcf17
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue