diff --git a/tarteaucitron.services.js b/tarteaucitron.services.js index 52ba899..cfb59c0 100644 --- a/tarteaucitron.services.js +++ b/tarteaucitron.services.js @@ -1242,6 +1242,20 @@ tarteaucitron.services.googletagmanager = { } }; +// hubspot +tarteaucitron.services.hubspot = { + "key": "hubspot", + "type": "analytic", + "name": "Hubspot", + "uri": "https://legal.hubspot.com/privacy-policy", + "needConsent": true, + "cookies": ['hubspotutk', 'fr', '__hstc', '__hssrc', '__hssc', '__cfduid'], + "js": function () { + "use strict"; + tarteaucitron.addScript('//js.hs-scripts.com/' + tarteaucitron.user.hubspotId + '.js', 'hs-script-loader'); + } +}; + // jsapi tarteaucitron.services.jsapi = { "key": "jsapi",