google search website

Google search website- Use Google search in website

Rate this article

Share this article

Two methods to use Google search on your website. Using google search on your website is an effective method to help visitors find content quickly. It also gives an idea of what users are searching for on your website.

google search website

Method 1: Using Google custom search

  1. Go to cse.google.com
  2. Login with your Gmail id.
  3. Enter your website URL. (If you want to search the entire web, enable search the entire web).
  4. Go to edition-> Click on get code.
  5. Add this code to your website and take live.
  6. If you are on Wordpress, you can add this code using the WP Google search plugin.Google search website

Sign Up for ExpertRec

Method 2: Using the Google custom search API

  1. Create a Google custom search engine.
  2. Enter your website URL.
  3. Get your CX or search engine ID from your Google custom search control panel.
  4. Get your Google custom search JSON API Key from here.
  5. Formulate your Google custom search API URL in the following format.
    https://www.googleapis.com/customsearch/v1?key={YOUR_API_KEY}&cx={CUSTOM_SEARCH_ENGINE_ID}&q={KEYWORD}
    
    
    
    

     

Are you showing the right products, to the right shoppers, at the right time? Contact us to know more.
You may also like