Fix #892
This commit is contained in:
parent
014ed20eac
commit
f5b074de61
|
|
@ -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 = {
|
tarteaucitron.services.piwikpro = {
|
||||||
"key": "piwikpro",
|
"key": "piwikpro",
|
||||||
"type": "analytic",
|
"type": "analytic",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue