quite right for a few obscure search engines, feel free to modify this
is it helps. The 'paramList' and the order of it are the important
factors.
(Just stick this is your application file)
<cfif len(cgi.HTTP_REFERER)>
<cfif find("?", cgi.HTTP_REFERER)>
<cfset paramList = "q,p,terms,search,query,qkw">
<cfset strStart = find("?", cgi.HTTP_REFERER)>
<cfset referer_queryString =
right(cgi.http_referer,len(cgi.HTTP_REFERER)-strStart)>
<cfset referer_url = left(cgi.HTTP_REFERER,(strStart-1))>
<cfloop list="#referer_queryString#" delimiters="&" index="i">
<cfif listfind(paramList,listfirst(i,"="))>
<cfset variables.searchPhrase = listlast(i,"=")>
</cfif>
</cfloop>
</cfif>
</cfif>
<cfif isdefined("variables.searchPhrase")>
do something with the phrase
</cfif>
Good luck,
Craig.
-----Original Message-----
From: Geoff Bowers [mailto:[EMAIL PROTECTED]
Sent: 15 January 2004 04:17
To: CF-Talk
Subject: Re: Keyword Tracking?
Bailey, Neal wrote:
> Google Search String
> http://www.google.com/search?sourceid=navclient
>
<http://www.google.com/search?sourceid=navclient&ie=UTF-8&oe=UTF-8&q=My+
Keyw
> ords> &ie=UTF-8&oe=UTF-8&q=My+Keywords
Brandon Purcell posted something about tracking Google keywords
(are
there any others worth knowing about ;) on his blog:
http://www.bpurcell.org/googlesearches.cfm
-- geoff
http://www.daemon.com.au/
_____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

