Add Xandr

This commit is contained in:
Amauri CHAMPEAUX 2021-03-05 19:13:19 +01:00
parent e48d9d1f14
commit e2524bd6b4
1 changed files with 32 additions and 0 deletions

View File

@ -30,6 +30,38 @@ tarteaucitron.services.iframe = {
} }
}; };
// xandr
tarteaucitron.services.xandr = {
"key": "xandr",
"type": "ads",
"name": "Xandr",
"uri": "https://www.xandr.com/privacy/cookie-policy/",
"needConsent": true,
"cookies": ['uuid2', 'uids', 'sess', 'icu', 'anj', 'usersync'],
"js": function () {
"use strict";
if (tarteaucitron.user.xandrId === undefined) {
return;
}
if (!window.pixie) {
var n = window.pixie = function(e, i, a) {
n.actionQueue.push({
action: e,
actionValue: i,
params: a
})
};
n.actionQueue = [];
}
tarteaucitron.addScript('https://acdn.adnxs.com/dmp/up/pixie.js', '', function() {
window.pixie('init', tarteaucitron.user.xandrId);
window.pixie('event', 'PageView');
});
}
};
// helloasso // helloasso
tarteaucitron.services.helloasso = { tarteaucitron.services.helloasso = {
"key": "helloasso", "key": "helloasso",