Add Crazyegg
This commit is contained in:
parent
f0cb12be1f
commit
a761105ec1
|
|
@ -215,6 +215,25 @@ tarteaucitron.services.clicmanager = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// crazyegg
|
||||||
|
tarteaucitron.services.crazyegg = {
|
||||||
|
"key": "crazyegg",
|
||||||
|
"type": "analytic",
|
||||||
|
"name": "Crazy Egg",
|
||||||
|
"uri": "https://www.crazyegg.com/privacy",
|
||||||
|
"needConsent": true,
|
||||||
|
"cookies": [],
|
||||||
|
"js": function () {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
if (tarteaucitron.user.crazyeggId === undefined) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
tarteaucitron.addScript('//script.crazyegg.com/pages/scripts/' + tarteaucitron.user.crazyeggId.substr(0, 4) + '/' + tarteaucitron.user.crazyeggId.substr(4, 4) + '.js');
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
// criteo
|
// criteo
|
||||||
tarteaucitron.services.criteo = {
|
tarteaucitron.services.criteo = {
|
||||||
"key": "criteo",
|
"key": "criteo",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue