how do i get the google search string?

  • pedrotuga
  • Proficient
  • Proficient
  • User avatar
  • Posts: 315

Post 3+ Months Ago

Ok, since yesterday peaople start to arrive my site comming from google. ts pretty cool. they star yesterday now they dont stop... i am having about 1 person per hour, wich is reaaly cool for a self taught guy :D like me :D

now...i use a similar technique before... and i want to know if this worth it or not.

I thought i could use php to build my meta data ( keywords and description ) acording on what the visitor searched on google that took him there.
It does not sounds like having any efect because there links to my site will point to the exact same site anyway... but... i don't know...
do i get any advantage of having the search words the visitor used to find my site on the metadata?
If so, where can i get the referrer using php?
is it on any of those superglobals?
Is there function or script that gets the keywords from google refererrer?
if not i can code one and post the code so everybody can use it... if it worth of courser
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • meman
  • Web Master
  • Web Master
  • User avatar
  • Posts: 3432
  • Loc: London Town , Apples and pears and all that crap

Post 3+ Months Ago

What purpose would putting the search term in your meta data serve?

The meta data will only be there for that user, When the next user goes there it willl be different, and spider bots wont see it because a) google bot doesnt take any notice of meta data and b) spider bots dont send a referrer string to the site.


But if you still want too do it, you can get the referer with
$_SERVER["HTTP_REFERER"]
  • pedrotuga
  • Proficient
  • Proficient
  • User avatar
  • Posts: 315

Post 3+ Months Ago

Thats what i thoght... google doesnt see it... but on the other hand i thougt about something, not really in SEO domain, and not really doable for the site i originaly made this question.

I can get the search string and check if any of those words are in the content then have specially picked links from my site being relevant to the user...
but thats not really worth anything on SEO.
  • meman
  • Web Master
  • Web Master
  • User avatar
  • Posts: 3432
  • Loc: London Town , Apples and pears and all that crap

Post 3+ Months Ago

What might be a nice touch is to parser the search terms out of the refering URL if its from a search engine and then highlight them words on the page so the user can easily find what they searched for if the page is large.

I have noticed some IPB forums do that.
On large pages it can be handy.

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 9 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.