Uploaded image for project: 'Community Platforms'
  1. Community Platforms
  2. COM-19956

Add hotjar tracker

    XMLWordPrintable

Details

    • Icon: Task Task
    • Resolution: None
    • Icon: High High
    • None
    • None
    • ezplatform.com
    • 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

      Attachments

        Activity

          People

            rafal.toborek-obsolete@ez.no RafaƂ Toborek (Inactive)
            sylvain.guittard@ibexa.co Sylvain Guittard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: