diff --git a/README.md b/README.md index 2cd12a2..be5c5c2 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,11 @@ Bonus: * Comment * Disqus * Facebook (commentaire) - + +* Marketing Automation & CRM + * Mautic + * Webmecanik Automation + * Social network * AddThis * AddToAny (feed) diff --git a/tarteaucitron.services.js b/tarteaucitron.services.js index f5f4e27..50f07dc 100644 --- a/tarteaucitron.services.js +++ b/tarteaucitron.services.js @@ -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'); + }); + } +}; \ No newline at end of file