Forum: NGINX Google Analytics event generation by using Nginx logs

2974d09ac2541e892966b762aad84943?d=identicon&s=25 dirknel (Guest)
on 2014-06-05 15:36
(Received via mailing list)

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

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

Currently the user of our system can either get the docs by going
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
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
should be in the Nginx access logs and I would like to use that to
a Google Analytics event.  Has anyone tried to do this?

Any suggestions would be helpful.

Kind regards,

Posted at Nginx Forum:,250668,250668#msg-250668
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.