1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Incoming Search terms on regular PHP (not wordpress plugin)

Discussion in 'Black Hat SEO' started by thizzladen, Oct 28, 2013.

  1. thizzladen

    thizzladen Power Member

    Joined:
    Jul 11, 2009
    Messages:
    591
    Likes Received:
    450
    Occupation:
    Doing whatever bakes the cake.
    Location:
    In house. With television and remote control.
    I used to have a wordpress plugin that would display a list of "Incoming Search Terms" that brought the visitor to the page from Google or any other search engine.

    Does anyone know how to implement the same effect in regular PHP code on a custom website?

    Thanks
     
  2. Veyron

    Veyron BANNED BANNED

    Joined:
    Jun 3, 2013
    Messages:
    1,452
    Likes Received:
    1,297
    May I ask why you don't just use Google Analytics?

    Veyron
     
  3. MickMcG

    MickMcG Power Member

    Joined:
    Feb 24, 2011
    Messages:
    600
    Likes Received:
    164
    u would have to store the info somewhere first (either in a DB or pull it from the logs) so u could later retrieve it and display it
     
  4. 1+1=2

    1+1=2 Junior Member

    Joined:
    Jul 14, 2009
    Messages:
    198
    Likes Received:
    29
    i suggest not to use this plugin or anything having similar function. I've seen few sites using it on the sidebar or on the bottom of post, and the page look like keyword-stuffed. Sure Google doesnt like it.
     
  5. badut jenaka

    badut jenaka Regular Member

    Joined:
    Apr 11, 2010
    Messages:
    271
    Likes Received:
    68
    Gender:
    Male
    Location:
    In The Middle of Nowhere
    Home Page:
    Because of the high percentage of "Not Provided" kw? ..

    btw, I want to know this also OP..
     
  6. Veyron

    Veyron BANNED BANNED

    Joined:
    Jun 3, 2013
    Messages:
    1,452
    Likes Received:
    1,297
    It's possible but there has to be another reason besides this. Google Analytics is the most widely used and most accurate tool so unless it's just a matter of preference, I'm not sure why he's not using GA.

    Veyron
     
  7. djp3k05

    djp3k05 Jr. VIP Jr. VIP

    Joined:
    Oct 30, 2010
    Messages:
    726
    Likes Received:
    218
  8. 45415

    45415 Junior Member

    Joined:
    Feb 5, 2009
    Messages:
    194
    Likes Received:
    92
    I guess you should parse $_SERVER['HTTP_REFERER'] and get the parameter q (at least for Google).
     
  9. thizzladen

    thizzladen Power Member

    Joined:
    Jul 11, 2009
    Messages:
    591
    Likes Received:
    450
    Occupation:
    Doing whatever bakes the cake.
    Location:
    In house. With television and remote control.
    It's not for analytics, it's to automatically post the keywords on the actual page that the user came into from google.