Don't see any data in devices, software, location, etc


(Ronak Patel) #1

I just installed Piwik on a stand along server and included the java script code in my website that it generated. For some reason, on the dashboard, I only see pagevisit being captured but don’t see things like the duration, device info, software info, etc…Do I need to do anything special to the js to capture that info?

my js code is this:

<script type="text/javascript">
  var _paq = _paq || [];
  _paq.push(['trackPageView']);
  _paq.push(['enableLinkTracking']);
  (function() {
    var u="//54.175.164.181/piwik/";
    _paq.push(['setTrackerUrl', u+'piwik.php']);
    _paq.push(['setSiteId', 1]);
    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);
  })();
</script>