Merge pull request #82 from Webmecanik/add_webmecanik
Adding webmecanik service
This commit is contained in:
commit
dd05f9d213
|
|
@ -57,6 +57,10 @@ Bonus:
|
||||||
* Disqus
|
* Disqus
|
||||||
* Facebook (commentaire)
|
* Facebook (commentaire)
|
||||||
|
|
||||||
|
* Marketing Automation & CRM
|
||||||
|
* Mautic
|
||||||
|
* Webmecanik Automation
|
||||||
|
|
||||||
* Social network
|
* Social network
|
||||||
* AddThis
|
* AddThis
|
||||||
* AddToAny (feed)
|
* AddToAny (feed)
|
||||||
|
|
|
||||||
|
|
@ -1867,3 +1867,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