programming

...now browsing by category

 

The Sales Funnel

Friday, April 23rd, 2010

How many times should a visitor to your website have to click before they find what they came for?

This can kind of be a trick question.  Obviously, in the perfect scenario, you want your customers to search for you on Google, Yahoo!, whatever and find your call to action page right away.  But that’s not always the case.  What if they land on your home page?
Click to continue »

Not as PHP Geeky as I Thought I Was

Wednesday, October 22nd, 2008

I want to get some info from an organic visitor, such as the HTTP_REFERER and such.  I know how to get that and turn it into a variable, but for the life of me I can’t figure out how to keep that referer variable static.  In other words, as the visitor bounces around the website, I don’t want it to change at every page.  I want to keep just their original referer (ie google, yahoo, etc).

Now, once they end up at the contact_us page and fill out a form, I want to email that original referer information to myself as a hidden input item.

How can I save a variable and keep it from changing as they bounce through the site?  I’m sure it has something to do with PHP sessions but I can’t get it to work no matter what I try.