From fa024eb3f39e6d3efdee80e7de62e1497e36dc50 Mon Sep 17 00:00:00 2001 From: David Date: Thu, 26 Apr 2018 16:13:28 +0200 Subject: [PATCH 1/2] adding webmecanik service --- tarteaucitron.services.js | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/tarteaucitron.services.js b/tarteaucitron.services.js index 81ea5c7..48e14ea 100644 --- a/tarteaucitron.services.js +++ b/tarteaucitron.services.js @@ -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'); + }); + } +}; \ No newline at end of file From 24fb4ed4005e84a8f1b1e54c6f1f1513537a6774 Mon Sep 17 00:00:00 2001 From: Norman Pracht - Webmecanik Date: Thu, 26 Apr 2018 16:43:13 +0200 Subject: [PATCH 2/2] update readme to add Webmecanik automation also i noticed that mautic is missing in the list. i created a new category :) --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2cbfb3a..6df3e5e 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)