|
@@ -973,6 +973,29 @@ tarteaucitron.services.simpleanalytics = {
|
|
|
}
|
|
|
};
|
|
|
|
|
|
+// stonly
|
|
|
+tarteaucitron.services.stonly = {
|
|
|
+ "key": "stonly",
|
|
|
+ "type": "api",
|
|
|
+ "name": "Stonly",
|
|
|
+ "uri": "https://stonly.com/privacy",
|
|
|
+ "needConsent": true,
|
|
|
+ "cookies": [],
|
|
|
+ "js": function () {
|
|
|
+ "use strict";
|
|
|
+ if (tarteaucitron.user.stonlyId === undefined) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
+ window.STONLY_WID = tarteaucitron.user.stonlyId;
|
|
|
+ window.StonlyWidget || ((window.w = window.StonlyWidget = function() {
|
|
|
+ window.w._api ? window.w._api.apply(window.w, arguments) : window.w.queue.push(arguments)
|
|
|
+ }).queue = []);
|
|
|
+
|
|
|
+ tarteaucitron.addScript('https://stonly.com/js/widget/v2/stonly-widget.js?v=' + Date.now());
|
|
|
+ }
|
|
|
+};
|
|
|
+
|
|
|
// stripe
|
|
|
tarteaucitron.services.stripe = {
|
|
|
"key": "stripe",
|