Add Criteo OneTag service

This commit is contained in:
Phoennix79 2021-11-29 23:58:11 +01:00
parent 5eff7626cd
commit 74c47e9c49
1 changed files with 26 additions and 0 deletions

View File

@ -1023,6 +1023,32 @@ tarteaucitron.services.criteo = {
}
};
// criteo onetag
tarteaucitron.services.criteoonetag = {
"key": "criteoonetag",
"type": "ads",
"name": "Criteo OneTag",
"uri": "https://www.criteo.com/privacy/",
"needConsent": true,
"cookies": ['uid', 'tk', 'uid3pd'],
"js": function() {
"use strict";
if (tarteaucitron.user.criteoonetagAccount === undefined) return;
window.criteo_q = window.criteo_q || [];
window.criteo_q.push({
event: "setAccount",
account: tarteaucitron.user.criteoonetagAccount
})
tarteaucitron.addScript('//static.criteo.net/js/ld/ld.js', '', function() {
if (typeof tarteaucitron.user.criteoonetagMore === 'function') {
tarteaucitron.user.criteoonetagMore();
}
});
}
};
// artetv
tarteaucitron.services.artetv = {
"key": "artetv",