View Single Post
Old 01-19-2014, 08:55 PM  
kjs
Confirmed User
 
Industry Role:
Join Date: Jan 2014
Location: West Coast
Posts: 167
In the interest of getting a conversation going around this I'll share how I do it.

My environment is PHP and I use two logging methods for all clicks. Google Analytics and my own logs based on Redis, Elasticsearch and LogStash. All my sites require javascript so that is part of the method.

The following PHP page can be included in most environments. You simply need to wire the saving of the click to your own data store.

The modification for the Google Analytics is extremely helpful. All outbound clicks will show up in your GA as an Action that looks like this:

click - www gfy com, (full URL they went to here)

It's on pastebin dot com / TSdLAGvu

Enjoy.

If any other webmasters are interested in comparing notes please contact me.
kjs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote