Start a new topic

Browser Analytics

Hello all!

I'm looking to obtain analytics on what browsers our users are using to connect to our web portal. We currently run Matomo and this gives us the necessary information on sites, it's a simple piece of information we would generally enter before the closing of the </head> tag.

Example Code

<!-- Matomo -->

<script type="text/javascript">

  var _paq = _paq || [];

  /* tracker methods like "setCustomDimension" should be called before "trackPageView" */



  (function() {

    var u="//";

    _paq.push(['setTrackerUrl', u+'piwik.php']);

    _paq.push(['setSiteId', '21']);

    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];

    g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);



<!-- End Matomo Code -->


What would be the best way to insert this code into the Crush login page and all other subsequent pages? Via the web interface or editing HTML files directly?

In preferences, WebInterface, login page, add a footer or header to it.  This way you track the logins what browser they were using.

1 person likes this

Thanks Ben, we'll try this on our non-live enviromment.

Login to post a comment