Welcome to WebmasterWorld Guest from 22.214.171.124
I have a website with few pages and a contact form (php form). My site is now ranking in search engines and I'm also using paid advertising campaigns.
When I receive an enquiry through the contact form I want the main referrer through which a visitor has arrived to my home page.
I used the variable 'HTTP_REFERER', just to find that I am getting my home page as 'HTTP_REFERER' through which the visitors click "Contact Us" link and arrive at the contact form page.
I want to know how they've arrived on my home page.
Please let me know.
With warm regards
If you don't have access to the server to enable and record session ID's that would enable you to track a user through the site, then tracking from page to page is difficult.
document.write( "<a href=\"sompage.html?ref=" );
document.write( document.referrer );
document.write( "\">" );
Let me see if I understand you correctly: basically, you have a contact form on your site, and given that you're doing some PPC campaigns, you'd like to know what terms, etc, brought traffic to that specific contact form. Is that correct?
If so, take a look at ConversionRuler. I use it to track conversion rates, etc, for a client who runs PPC campaigns. It's very friendly, easy to get it up and running, and doesn't cost you "an arm and a leg". I've been using it for sometime and am able to see which keyterms from my client's several campaigns are bringing the most inquiries (through the contact form).
Hope this helps!
[edited by: DaveAtIFG at 5:45 am (utc) on Sep. 11, 2004]