« News Briefs | Main | Are you a Zombie? »

July 06, 2005

Aweber and the referring URL

Recently a client said to me that they don't know the URL's of their representatives websites who are referring them. Some do, some don't. Typically they refer people who are looking for a free report used for lead generation purposes.

My client uses Aweber. Aweber gives a location URL (the page where the form was submitted) but does not offer a referring URL.

The problem was solved using a little SSI and a hidden input field in the Aweber form:

<input type="hidden" name="referrer_site" value="<!--#if expr="${HTTP_REFERER}" --><!--#set var='ref' value='${HTTP_REFERER}' --><!--#echo var='ref' --><!--#else -->Not Available<!--#endif -->">

It should be noted that not all systems and browsers send this header or the correct one. Use this code at your discretion.

Posted by Steve MacLellan at July 6, 2005 06:00 AM

Trackback Pings

TrackBack URL for this entry:
http://www.homebusiness-websites.com/mt/mt-tb.cgi/205

Comments

Post a comment

Thanks for signing in, . Now you can comment. (sign out)

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)


Remember me?