From 7d56dab259c2cdf618c5a372edebd522e1c4712e Mon Sep 17 00:00:00 2001 From: Amauri CHAMPEAUX Date: Wed, 8 Apr 2015 19:05:37 +0200 Subject: [PATCH] Add Get+ service --- tarteaucitron.services.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/tarteaucitron.services.js b/tarteaucitron.services.js index 7a05531..4672304 100644 --- a/tarteaucitron.services.js +++ b/tarteaucitron.services.js @@ -449,6 +449,26 @@ tarteaucitron.services.ferankpub = { } }; +// get+ +tarteaucitron.services.getplus = { + "key": "getplus", + "type": "analytic", + "name": "Get+", + "uri": "http://www.getplus.fr/Conditions-generales-de-vente_a226.html", + "needConsent": true, + "cookies": [], + "js": function () { + "use strict"; + if (tarteaucitron.user.getplusId === undefined) { + return; + } + + window.webleads_site_ids = window.webleads_site_ids || []; + window.webleads_site_ids.push(tarteaucitron.user.getplusId); + tarteaucitron.addScript('//stats.webleads-tracker.com/js'); + } +}; + // google+ tarteaucitron.services.gplus = { "key": "gplus",