adding webmecanik service
This commit is contained in:
parent
a7b5fb7e36
commit
fa024eb3f3
|
|
@ -1848,3 +1848,26 @@ tarteaucitron.services.facebookpixel = {
|
|||
}
|
||||
};
|
||||
|
||||
// webmecanik
|
||||
tarteaucitron.services.webmecanik = {
|
||||
"key": "webmecanik",
|
||||
"type": "analytic",
|
||||
"name": "Webmecanik",
|
||||
"uri": "https://webmecanik.com/tos",
|
||||
"needConsent": true,
|
||||
"cookies": ['mtc_id', 'mtc_sid'],
|
||||
"js": function () {
|
||||
"use strict";
|
||||
if (tarteaucitron.user.webmecanikurl === undefined) {
|
||||
return;
|
||||
}
|
||||
window['WebmecanikTrackingObject'] = 'mt';
|
||||
window['mt'] = window['mt'] || function() {
|
||||
(window['mt'].q = window['mt'].q || []).push(arguments);
|
||||
};
|
||||
|
||||
tarteaucitron.addScript(tarteaucitron.user.webmecanikurl, '', function() {
|
||||
mt('send', 'pageview');
|
||||
});
|
||||
}
|
||||
};
|
||||
Loading…
Reference in New Issue