Welcome! Log In Create A New Profile

Advanced

Google Analytics event generation by using Nginx logs

June 05, 2014 09:36AM
Hi

This is my first posting here, so HI to everyone :)

I would like to generate Google Analytics events for documents/videos served directly by Nginx.

Currently the user of our system can either get the docs by going through our website or by going directly to the url. In the first instance the javascript on the webpage logs the Google Analytics event but I do not know how to do create an event when the user uses the static link to the document/video (that basically bypasses the website). A lot of information should be in the Nginx access logs and I would like to use that to generate a Google Analytics event. Has anyone tried to do this?

Any suggestions would be helpful.

Kind regards,
Dirk
Subject Author Posted

Google Analytics event generation by using Nginx logs

dirknel June 05, 2014 09:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 297
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready