I have a page with a link directing away from my site.
I would like to modify this link according to the referrer that sent the visitor to my site.

What I am try to do is get the referrer from the session cookie (cookie "_utmz", value ".utmcsr") and add it to the link (e.g., "...mysite.com/")

I am a newbie to both Drupal and PHP so any help (or direction to a better solution) would be much appreciated.