Stories
Slash Boxes
Comments

SoylentNews is people

SoylentNews is powered by your submissions, so send in your scoop. Only 14 submissions in the queue.
posted by janrinok on Tuesday August 04 2015, @05:16PM   Printer-friendly
from the tell-it-like-it-is dept.

Hello Soylentils. I work in the IT Department of a mid sized utility company. Our engineering department requested that we use Google Analytics to track how people are hitting certain pages, from where, and whether or not they are getting to pages from links on our website or directly. A co worker found that Google Analytics can get expensive. Does anyone have any experience with any FOSS alternatives such as the ones listed in the article below?

http://opensource.com/business/14/10/top-3-open-source-alternatives-google-analytics


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 0) by Anonymous Coward on Tuesday August 04 2015, @09:42PM

    by Anonymous Coward on Tuesday August 04 2015, @09:42PM (#218155)

    I recommend nodeJs for this...

    NodeJs? Fanboy alert. KISS approach: Create a tiny borderless IFRAME on your web pages that sends URL parameters to a PHP (or other LAMP) script on another server. Make sure it's a different server so that write bottlenecks don't take down your site. Your script would take these URL parameters and append them to a flat log file, along with IP address and any other HTTP parameters you want to store. You may want to have the script split the log-file into one-day-per-file, using a formatted version of the system date as part of the destination file name.

    The URL parameters are whatever you want to track, such as page number, section of web site, etc. (depending on CMS or site conventions.)

    Then you can process these log files any way you want to get stats. An experienced MS-Access coder should be able to generate typical reports if you don't want to do that part yourself.

    There a few things Google may be able to do that you can't readily get this way, such as translating HTTP browser type string into "friendly" titles, at least not without building or finding your own translation list. Google can also guess location based on IP address, using their huge internal look-up tables. There may be OSS equivalent lists out there.

    Because IP addresses are not unique, you may want to consider using session cookies to track visit duration etc., but some users get ticked off by that.