Skip to content

Commit

Permalink
Add Skare Fix #1268
Browse files Browse the repository at this point in the history
  • Loading branch information
AmauriC committed Aug 26, 2024
1 parent 77b19ef commit fd66e81
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions tarteaucitron.services.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,35 @@ tarteaucitron.services.iframe = {
}
};

// skaze
tarteaucitron.services.skaze = {
"key": "skaze",
"type": "ads",
"name": "Skaze",
"uri": "https://www.skaze.com/fr/politique/politique-de-confidentialite/",
"needConsent": true,
"cookies": [],
"js": function () {
"use strict";

if (tarteaucitron.user.skazeIdentifier === undefined) {
return;
}

var skaze = skaze || {};
tarteaucitron.addScript('https://events.sk.ht/' + tarteaucitron.user.skazeIdentifier + '/lib.js', '', function() {
skaze.cmd = skaze.cmd || [];
skaze.cmd.push(function() {
skaze.init({ siteIdentifier : tarteaucitron.user.skazeIdentifier });

if (typeof tarteaucitron.user.skazeMore === 'function') {
tarteaucitron.user.skazeMore();
}
});
});
}
};

// dialoginsight
tarteaucitron.services.dialoginsight = {
"key": "dialoginsight",
Expand Down
2 changes: 1 addition & 1 deletion tarteaucitron.services.min.js

Large diffs are not rendered by default.

0 comments on commit fd66e81

Please sign in to comment.