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

View File

@ -56,6 +56,34 @@ tarteaucitron.services.trustpilot = {
} }
}; };
// snapchat
tarteaucitron.services.snapchat = {
"key": "snapchat",
"type": "analytic",
"name": "Snapchat",
"uri": "https://snap.com/fr-FR/privacy/privacy-policy",
"needConsent": true,
"cookies": [],
"js": function () {
"use strict";
if (tarteaucitron.user.snapchatId === undefined || tarteaucitron.user.snapchatEmail === undefined) {
return;
}
var a = window.snaptr = function() {
a.handleRequest ? a.handleRequest.apply(a, arguments) : a.queue.push(arguments)
};
a.queue = [];
window.snaptr('init', tarteaucitron.user.snapchatId, {
'user_email': tarteaucitron.user.snapchatEmail
});
window.snaptr('track', 'PAGE_VIEW');
tarteaucitron.addScript('https://sc-static.net/scevent.min.js');
}
};
// antvoice // antvoice
tarteaucitron.services.antvoice = { tarteaucitron.services.antvoice = {
"key": "antvoice", "key": "antvoice",