Merge branch 'master' of https://github.com/AmauriC/tarteaucitron.js
This commit is contained in:
commit
3c0dfa4a8d
|
|
@ -2112,6 +2112,30 @@ tarteaucitron.services.twittertimeline = {
|
|||
}
|
||||
};
|
||||
|
||||
// twitter universal website tag
|
||||
tarteaucitron.services.twitteruwt = {
|
||||
"key": "twitteruwt",
|
||||
"type": "analytic",
|
||||
"name": "Twitter Universal Website Tag",
|
||||
"uri": "https://business.twitter.com/en/help/campaign-measurement-and-analytics/conversion-tracking-for-websites.html",
|
||||
"needConsent": true,
|
||||
"cookies": [],
|
||||
"js": function () {
|
||||
"use strict";
|
||||
|
||||
window.twq = function () {
|
||||
window.twq.exe ? window.twq.exe.apply(window.twq, arguments) : window.twq.queue.push(arguments);
|
||||
}
|
||||
window.twq.version = '1.1';
|
||||
window.twq.queue = [];
|
||||
|
||||
tarteaucitron.addScript('https://static.ads-twitter.com/uwt.js', '', function () {
|
||||
window.twq('init', tarteaucitron.user.twitteruwtId);
|
||||
window.twq('track', 'PageView');
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
// user voice
|
||||
tarteaucitron.services.uservoice = {
|
||||
"key": "uservoice",
|
||||
|
|
@ -2324,6 +2348,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
|
||||
tarteaucitron.services.vshop = {
|
||||
"key": "vshop",
|
||||
|
|
|
|||
Loading…
Reference in New Issue