HTTP Referrer keywords

Results 1 to 2 of 2

Thread: HTTP Referrer keywords

  1. #1
    Join Date
    Dec 1969

    Default HTTP Referrer keywords

    Im trying to find a way that I can extract keywords used for a search in the referrer page. For instance, Id like to know which words someone used if they reached my ASP page by clicking the result from a search engine where they used the keywords, "word1" and "word2" as the search criteria.<BR><BR>I thought/hoped I could use the request.servervariables object, but no properties spring out at me.<BR><BR>Any advice anyone?<BR><BR>Thanks.<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: HTTP Referrer keywords

    If Request.ServerVariables("HTTP_REFERER") brings back the entire URL (which presumably it does) you can manipulate this string.<BR>I would grab everything after the &#039?&#039 then strip off the query values remembering &#039&&#039 separates the keyword/values from each other and &#039=&#039 separates each keyword from it&#039s value.<BR><BR>This may not work with all search engines

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts