Wednesday 30 November 2016

How To Create Custom Google Search Bar for your website

Search functionality is essential for any website considering users should get content what they are intended to read or find. Creating it at your own is bit complex and uphill task as all the conditions and contents to consider. In this situation one can take help of Google Custom Search which shows
search results on same page or different page according to your requirements. It also allows you to customize the search results page so that it looks like your website has in built functionality for search.

i.e. Go To http://www.inicong.com/ and search for java using right side search bar. You will see results something like his.

Google-custom-search


Google-Custom-Search-Results

Google holds 70% in search engine market share. So putting Google custom search results is indeed a good idea.

Prerequisites :- You will need a Google Adsense Account To create custom search bar. If you don’t have adsense account, you can go here and register. www.google.com/adsense/apply


Steps

(1) Go To https://www.google.com/adsense –> My Ads Tab on Top Bar –> Search On Left Hand Side –> Custom Search Engines.




create-custom-search-adsense


(2) Now Click on New Custom Search Engine.


custom-search-form-1


Enter Name Of your custom search.
Enter the websites for which you want to create custom search bar. You can write multiple sites.
Enter keywords pertaining to your website.

custom-search-form-2

Now, select the style of Google Custom Search bar and its length from Search box Style.

custom-search-form-3

Select Search results window style (new or same window).
Enter the logo URL for your website which you want to be displayed on search results page and also select logo position on search results page.
In the end, click on save and get code , copy the code and paste it to your website where you want to display Google custom search bar.

No comments:

Post a Comment