Add Hubspot service

This commit is contained in:
Michel Seris 2018-09-12 15:29:10 +02:00
parent 7bccde22c6
commit 2c539f62cf
1 changed files with 14 additions and 0 deletions

View File

@ -1213,6 +1213,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",