Add support for Verizon Dot Tag

This commit is contained in:
Pierre Rudloff 2020-11-03 12:01:50 +01:00
parent 75ab30442a
commit e352ac0115
1 changed files with 28 additions and 0 deletions

View File

@ -2309,6 +2309,34 @@ tarteaucitron.services.visualrevenue = {
} }
}; };
// verizon dot tag
tarteaucitron.services.verizondottag = {
"key": "verizondottag",
"type": "analytic",
"name": "Verizon Dot Tag",
"uri": "https://developer.verizonmedia.com/native/guide/audience-management/dottags/",
"needConsent": true,
"cookies": [],
"js": function () {
"use strict";
window.dotq = window.dotq || [];
window.dotq.push({
'projectId': tarteaucitron.user.verizondottagProjectId,
'properties': {'pixelId': tarteaucitron.user.verizondottagPixelId}
});
tarteaucitron.addScript('https://s.yimg.com/wi/ytc.js', '', function () {
const items = window.dotq;
window.dotq = [];
window.dotq.push = function (item) {
YAHOO.ywa.I13N.fireBeacon([item])
};
YAHOO.ywa.I13N.fireBeacon(items)
});
}
};
// vshop // vshop
tarteaucitron.services.vshop = { tarteaucitron.services.vshop = {
"key": "vshop", "key": "vshop",