avatarAshley Nicole

Summary

The website provides a guide on creating a customized search bar for a website using Google's Programmable Search Engine without needing to code, which enhances user experience and can also generate revenue through AdSense integration.

Abstract

Google's Programmable Search Engine allows users to create a tailored search bar for their website, leveraging Google's search capabilities. This tool is user-friendly and does not require any coding skills. It offers various customization options, including keyword refinement, URL filtering, and Schema.org entity restriction to improve search relevance. Additionally, it provides the ability to enable image search and customize the search bar's appearance to match the website's theme. The guide emphasizes the importance of a search bar for user navigation and retention, and it outlines steps for setting up, customizing, and integrating the search bar into a website. The feature also presents an opportunity to monetize the website through AdSense by displaying ads in the search results.

Opinions

  • The author believes that a search bar is crucial for a website as it significantly improves user experience by facilitating quick navigation to desired content.
  • Poor website navigation can lead to loss of customers, and a search bar is seen as a solution to prevent this issue.
  • Customizing the search bar with Google's Programmable Search Engine can enhance the functionality and aesthetics of a website.
  • The ability to restrict search results using Knowledge Graph and Schema.org entities is considered useful for targeting specific content types, such as recipes on a cooking blog.
  • The integration of AdSense with the search bar is presented as a beneficial feature for website owners to earn revenue from user searches.
  • The guide suggests that the custom search bar can be easily added to various website platforms, including Wix, WordPress, and Squarespace, using the provided HTML code.

How to Create a Customized Search Bar for Your Website

No coding necessary

Photo by Benjamin Dada on Unsplash

Google’s search engine is powerful, useful, and customizable. Google’s Programmable Search Engine website allows you to create a search bar tailored to your needs, powered by Google’s search algorithms. You can create a search bar for your website, for free, and even make money from it.

Every Website Needs a Search Bar

Search bars allow customers and clients to quickly navigate your website to find what they are looking for. It improves the user experience, being able to find useful information without searching every page on your website. Poor navigation might cause customers from clicking away, so a search bar helps prevent that.

Set up Your Search Bar

Create a new search

Screenshot by Author

You can create a new search bar by going to https://programmablesearchengine.google.com/cse/create/new. There, you can list different websites and webpages that will show up in search results. Additionally, here you name your search bar, which is helpful if you create multiple custom search bars.

Edit the settings

Screenshot by Author

Once your search bar is created, you can refine the search functionality. Keywords will help refine searches to relevant topics. URL filters can be added to limit results to containing a specific URL pattern, and under Advanced, you can exclude certain websites. These settings are useful if you want to exclude pages such as employee-only pages from showing up in search results.

Additionally, results can be restricted using Knowledge Graph and Schema.org entities.

Knowledge Graph can be used to limit results by a relevant subject. For example, turning on Search the Entire Web and adding Medium as a Knowledge Graph entity will include search results that mention Medium.

Schema types can be used to limit the type of search result. For example, if you run a cooking blog, you can add the schema type recipe to your postings, and limit the search to the recipe schema type to return only the recipes on your website.

Enable image search

Screenshot by Author

On the Setup tab, Image Search can be enabled. More Image search settings are found under Search Features>Advanced>Imagesearch Settings. To make image results the default (as opposed to website results), Enable Default to Image Search.

Customize the Appearance

Screenshot by Author

The search bar’s appearance can be customized to fit in with the theme of your website. Under the Look and Feel menu, you can edit the layout of the search bar and results, pick default themes, and customize the colors and fonts used.

Link to AdSense

Screenshot by Author

Just like normal Google searches, ads may show up in the search results. These ads are an opportunity to generate revenue from the search bar. You can link your AdSense account to the search bar so that when someone uses the search bar and clicks on an ad you receive some money.

Go to Setup>Ads. If you already have an AdSense account, there will be an option to link it to the search bar. If not, it will direct you to sign up for a free account that you will then be able to connect.

Add to Your Website

Screenshot by Author

Once your search bar is all set up, it just needs to be added to your website. Under Setup>Basics, there are two ways to access the search bar. The Public URL links to the search bar on a separate webpage. The Get Code button will take you to a textbox of HTML code for embedding the search bar into your website.

If you’re using a website editor such as Wix, WordPress, or Squarespace, they typically offer an HTML embed or Code block option. Paste the code and resize the element to embed the search bar into your website.

Happy searching!

Marketing
Internet of Things
Design
Website
Business
Recommended from ReadMedium