|
@@ -32,6 +32,25 @@ tarteaucitron.services.iframe = {
|
|
|
}
|
|
|
};
|
|
|
|
|
|
+// userpilot
|
|
|
+tarteaucitron.services.userpilot = {
|
|
|
+ "key": "userpilot",
|
|
|
+ "type": "analytic",
|
|
|
+ "name": "UserPilot",
|
|
|
+ "uri": "https://userpilot.com/privacy-policy",
|
|
|
+ "needConsent": true,
|
|
|
+ "cookies": [],
|
|
|
+ "js": function () {
|
|
|
+ "use strict";
|
|
|
+ if (tarteaucitron.user.userpilotToken === undefined) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
+ window.userpilotSettings = {token: tarteaucitron.user.userpilotToken};
|
|
|
+ tarteaucitron.addScript('https://js.userpilot.io/sdk/latest.js');
|
|
|
+ }
|
|
|
+};
|
|
|
+
|
|
|
tarteaucitron.services.piwikpro = {
|
|
|
"key": "piwikpro",
|
|
|
"type": "analytic",
|