• soulgeek

    (@soulgeek)


    Folks,

    I want to capture the keyword the visitor search me from SE, and based on that keyword i want to show ads.

    Supposed if the keyword is: “Law of Attraction” <<Show nothihng>>

    Keyword is : How to be happy <<Show ad>>

    All i want to know, how can i capture the Keyword, which visitor searched in SE and comes to Blog.

    Thanks All

Viewing 5 replies - 1 through 5 (of 5 total)
  • esmi

    (@esmi)

    Something like:

    <?php $searchterm = trim(wp_specialchars($s,1));?>

    should work in search.php

    Thread Starter soulgeek

    (@soulgeek)

    did not get how will this give me the Search term, visitor used to come to my blog from Search Engine?

    rooodini

    (@rooodini)

    Thread Starter soulgeek

    (@soulgeek)

    Google Adsense????

    rooodini

    (@rooodini)

    I’m not sure how you can do what you’re asking for. Google Analytics is able to do this, but that might be because they have access to information on both sides i.e. from the search engine and from your site via some javascript.

    I think google adsense does something like what you’re suggesting, so it may or may not be any help to you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Hwo to Capture Keyword?’ is closed to new replies.