Details
-
Task
-
Resolution: None
-
High
-
None
-
None
-
None
Description
In order to improve the UI, we need to collect data (recording of the session, heatmaps,...).
We selected hotjar (http://hotjar.com)
This tracking code should only be available on ezplatform.com
Technical
Here is the script to include in the admin interface.
<!-- Hotjar Tracking Code for https://ezplatform.com --> <script> (function(h,o,t,j,a,r){ h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)}; h._hjSettings={hjid:306885,hjsv:5}; a=o.getElementsByTagName('head')[0]; r=o.createElement('script');r.async=1; r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv; a.appendChild(r); })(window,document,'//static.hotjar.com/c/hotjar-','.js?sv='); </script>
Thanks to Edi (https://github.com/ezsystems/PlatformUIBundle/pull/528), it's possible to add a custom JS file.
Documentation
https://doc.ez.no/display/DEVELOPER/PlatformUI+Bundle#PlatformUIBundle-CustomJavascript