Go Back   Forum Care Forums > Development Reference Area > SEO & Traffic Generation

Reply
 
LinkBack Thread Tools Display Modes
How can I tell what keywords where used from google?
Old
  (#1)
Guest
Guest
 
Posts: n/a
Default How can I tell what keywords where used from google? - 05-09-2007, 06:30 PM

Hi,
I want to write a PHP script that will store in a database what
keyword was used, if the visitor came google? How can I get the
keyword?????? I figure this is REALLY simple

   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: How can I tell what keywords where used from google?
Old
  (#2)
Ignoramus29741
Guest
 
Posts: n/a
Default Re: How can I tell what keywords where used from google? - 05-09-2007, 06:30 PM

It is very easy. Your server logs should have the referer information
in them. They are somewhere under /var/log/httpd/ directory. In your
unix prompt, type "man sed", then "man awk", then "man mysql". These
manual pages should set you on a correct path to success.

i

On 17 Apr 2007 10:56:07 -0700, EMAIL REMOVED <EMAIL REMOVED> wrote:
> Hi,
> I want to write a PHP script that will store in a database what
> keyword was used, if the visitor came google? How can I get the
> keyword?????? I figure this is REALLY simple
>

   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: How can I tell what keywords where used from google?
Old
  (#3)
Mike
Guest
 
Posts: n/a
Default Re: How can I tell what keywords where used from google? - 05-09-2007, 06:30 PM


<EMAIL REMOVED> wrote in message
news:EMAIL REMOVED oups.com...
> Hi,
> I want to write a PHP script that will store in a database what
> keyword was used, if the visitor came google? How can I get the
> keyword?????? I figure this is REALLY simple
>


You mean other than simply looking at your server stats where there already
should be a keywords used listing?

M


   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: How can I tell what keywords where used from google?
Old
  (#4)
Guest
Guest
 
Posts: n/a
Default Re: How can I tell what keywords where used from google? - 05-09-2007, 06:30 PM

On Apr 17, 5:43 pm, Ignoramus29741 <ignoramus29...@NOSPAM.
29741.invalid> wrote:
> It is very easy. Your server logs should have the referer information
> in them. They are somewhere under /var/log/httpd/ directory. In your
> unix prompt, type "man sed", then "man awk", then "man mysql". These
> manual pages should set you on a correct path to success.
>
> i
>
> On 17 Apr 2007 10:56:07 -0700, tedpot...@gmail.com <tedpot...@gmail.com> wrote:
>

Thank you for replying,
When my PHP page gets loaded, I would like to find out what keyword
was used then store it in a database, anotherwards make my own web
stat program.
>
>
> > Hi,
> > I want to write a PHP script that will store in a database what
> > keyword was used, if the visitor came google? How can I get the
> > keyword?????? I figure this is REALLY simple- Hide quoted text -

>
> - Show quoted text -


Hi,

   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: How can I tell what keywords where used from google?
Old
  (#5)
Ignoramus29741
Guest
 
Posts: n/a
Default Re: How can I tell what keywords where used from google? - 05-09-2007, 06:30 PM

In php, find out the value of the referer attribute, and then extract
the query and save it in the database.

See

http://www.faqts.com/knowledge_base/view.phtml/aid/248

i

On 17 Apr 2007 16:22:18 -0700, EMAIL REMOVED <EMAIL REMOVED> wrote:
> On Apr 17, 5:43 pm, Ignoramus29741 <ignoramus29...@NOSPAM.
> 29741.invalid> wrote:
>> It is very easy. Your server logs should have the referer information
>> in them. They are somewhere under /var/log/httpd/ directory. In your
>> unix prompt, type "man sed", then "man awk", then "man mysql". These
>> manual pages should set you on a correct path to success.
>>
>> i
>>
>> On 17 Apr 2007 10:56:07 -0700, tedpot...@gmail.com <tedpot...@gmail.com> wrote:
>>

> Thank you for replying,
> When my PHP page gets loaded, I would like to find out what keyword
> was used then store it in a database, anotherwards make my own web
> stat program.
>>
>>
>> > Hi,
>> > I want to write a PHP script that will store in a database what
>> > keyword was used, if the visitor came google? How can I get the
>> > keyword?????? I figure this is REALLY simple- Hide quoted text -

>>
>> - Show quoted text -

>
> Hi,
>

   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Contact Us - Forum Care Forums - Archive - Top