Comment by ValentineC

7 years ago

From what Simple Analytics says they collect on their website, it sounds like the only information missing from GoAccess (or server logs in general) is screen width.

I'm able to get the screen size with goaccess. I placed a bogus <img> in the document. e.g.,

<img src="/images/1px.png?"+screen.width+"x"+screen.height+"x"+screen.colorDepth+" />

  • That's a nice idea, but it requires wrapping script tags around the "pixel", right?

    • That's right. e.g.,

      <script> document.write("<img src=\"/images/1px.png?" + screen.width + "x" + screen.height + "x" + screen.colorDepth + "\" />"); </script>