Grabbing referer on each click

This will drive enhanced reporting in a future version