[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Keywords Tracking

Posted on 2002-05-24
6
Medium Priority
?
260 Views
Last Modified: 2010-03-05
Some of the Web Statistics sites offer the stats on the keywords, which users used to access the site.

Here are some of the examples:

####################################################
http://www.web-stat.com/ENGLISH/CGI-BIN/list_keywords_db.cgi?user=dem0O5634
# --------------
http://www.extreme-dm.com/tracking/sample/reports/dj/nph-ref2.cgi?tag=example
Where "All Keywords" Tracking;
# --------------
http://www.webstat.com/demo.php
And click on the left "KeyWords"
# --------------
####################################################

The basic requirement for the above service is to put a simple code on the web page, which basically would execute some cgi script off the Statistics server when the user opens a page. Sort of a banner or a counter.

I would like to be able to create a script, which would collect the keywords information users used to put into the search angine to access my site.

Does anyone have any example or suggestion to make this?

Thanks.
0
Comment
Question by:sstouk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 6

Author Comment

by:sstouk
ID: 7178550
I found an answer myself.
Here's a Java script which I grabbed from one of the web pages.
When I put it on my web pages it sends the collected information, including the referrer.

Referrer information includes the whole address of the web page, including keywords, which were in the address.

By separating generally known keywords of the major Search engines I am able to extract the necessary market information.

Have a look at the working model, which I built, at my site

http://www.stouk.com/cgi-bin/stats/1002/reports/2002/07Index.htm

Here's an example of the JavaScript code:

<!--//
u="http://www.stouk.com/cgi-bin/stats/stats.cgi?id=1002";
d=document;
nv=navigator;
na=nv.appName;
p=0;
j="N";
d.cookie="b=b";
c=0;
bv=Math.round(parseFloat(nv.appVersion)*100);
if (d.cookie) c=1;
n=(na.substring(0,2)=="Mi")?0:1;
rn=Math.random();
z="p="+p+"&rn="+rn+"&c="+c+"&tl=0&ls=0&ln=0";
if(self!=top) {fr=1;} else {fr=0;}
sl="1.0";//-->
</script>

<script language="javascript1.1">
<!--//
pl="";
sl="1.1";
j = (navigator.javaEnabled()?"Y":"N");
//--></script>

<script language=javascript1.2><!--//
sl="1.2";
s=screen;
px=(n==0)?s.colorDepth:s.pixelDepth;
z+="&wh="+s.width+'x'+s.height+"&px="+px;
//--></script>
<script language=javascript1.3>
<!--//
sl="1.3";
//-->
</script>

<script language="javascript"><!--//
y="";
y+="<img src=http://www.stouk.com/cgi-bin/stats/stats.cgi?id=1002;"+z+"&j="+j+"&sl="+sl+"&r="+escape(d.referrer)+"&fr="+fr+"&pg="+escape(window.location.href);
y+="' border=0 width=1 height=1 alt='Stouk Log'>";
d.write(y);
if(!n) { d.write("<"+"!--"); }//--></script>

0
 
LVL 49

Expert Comment

by:DanRollins
ID: 8441845
Hi sstouk,
<Edited by SpideyMod>
An erroneous auto-delete was posted, we have corrected the problem.  Please indicate recommendations and these will not be scheduled for auto-delete, but will be finalized within the standard week notice.

A recommendation of "PAQ with refund" has already been proposed.

CleanupGuy -- EE database cleanup volunteer
0
 
LVL 6

Author Comment

by:sstouk
ID: 8446091
I am not sure what you are asking here.
I asked the question, continued working on it's resolution myself, found solution and delivered it to the community.
I would like to delete the question and get my points back.
I am not sure what you mean by "erroneous auto-delete was posted" or "scheduled for auto-delete" or "finalized within the standard week notice." I am not familiar with these concepts or procedures.
Either explain or do what you need to do to clean this up.
I appriciate your help.
Respectfully.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 49

Expert Comment

by:DanRollins
ID: 8446734
This question will be saved into "PAQ" (EE question database) and your points will be refunded.

Sorry for the confusion.
-- Dan
0
 
LVL 8

Expert Comment

by:inq123
ID: 9512313
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

PAQ/Refund

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

inq123
EE Cleanup Volunteer
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 9558114
PAQed, with points refunded (300)

Computer101
E-E Admin
0

Featured Post

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Six Sigma Control Plans

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question