Merge pull request #215 from moosh74/master

Add Hubspot service
This commit is contained in:
Amauri CHAMPEAUX 2018-10-10 13:49:25 +02:00 committed by GitHub
commit 63e9e6e61d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 0 deletions

View File

@ -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",