Search Bar to my site in Google Results

Hi There,

I have simple question, I couldnt find how people do this, I noticed that sometimes when I search for a page, in Google Results appears a search box which redirects to my site search results;

IF you search for 'loja do mecanico' you'll notice that google will  give you search box which redirects to the lojadomecanico search page (attached image, part 1)

also, if you type www.lojadomecanico.com.br in url bar (for google chrome) and then you press TAB, it autoatically converts to also search in lojadomecanico search page (look attached image, in the part 2)

Thank You

loja.png
Judson GuimarãesAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Michael DyerSenior Systems Support AnalystCommented:
Those sites may have signed up for Google AdWords and pay to have there site at the top of the list when you search for specific keywords.  You can get more information here:  http://www.google.com/adwords/
0
Judson GuimarãesAuthor Commented:
not really, we use Google AdWords too and we are also at the top of first page of Google for adwords and also for organic search.

My question is not about ranking position, and yes for search bar in google results that is displayed when you search for the domain name.

see the list of searchs which you'll find this searchbox:

ahnegao
lojadomecanico
dutramaquinas

for international searchs:
ask
sprint
bbc


ask.png
0
Lucas BishopClick TrackerCommented:
What you are seeing is a result for a site that Google feels is a perfect 'exact match' for what you are searching for. When an exact match is made, Google provides additional details (site links, search bar, etc.) for the site.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Judson GuimarãesAuthor Commented:
the problem is that Google Doesnt give me search bar if even if you type 'exact match'
he gives maps, addicional details, phone, but not the search bar..

I read before some 'how to' and they say I need some javascript, I found in dutramaquinas source the following Js

<script type="application/ld+json">
{
      "@context": "http://schema.org",
      "@type": "WebSite",
      "url": "http://www.dutramaquinas.com.br/",
      "potentialAction": {
            "@type": "SearchAction",
            "target": "http://www.dutramaquinas.com.br/?search_term={search_term}",
            "query-input": "required name=search_term"
      }
}
</script>

which probably is what is used by Google, I just didnt find the .js file that make it works
0
Lucas BishopClick TrackerCommented:
You'll see that if you type something into the search box shown under the sites you referenced, Google simply provides a "site: operator" search of the site. They don't pass you into the search function of the target web site. Using a script on your site to help notate how your Search function works, does not apply here. The SearchAction schema can help tell Google that you have a search feature on your site, but Google doesn't embed your search in their listings.

In order for the search to show up within your results, at the very least:

1.) You'll need a fairly content rich web site with thousands of pages.  Site: search isn't going to show on a 5 page site, or even on a large site if the sub-pages are not commonly used as entry points via long-tail searches.
2.) You'll want to have spent time completing every section in your Webmaster Tools account (from site maps to site links to highlighting, etc)
3.) The sub-pages in your site will need to have established rankings. Google knows if people use multiple pages within your site and if it makes sense to help those pages be found.
0
Judson GuimarãesAuthor Commented:
Lucas,

for lojadomecanico, it really just provicedes "site: operator" like you said.

but this javascript, I copied from dutramaquinas, which when you type your string at google search box, it redirects to  "target": "http://www.dutramaquinas.com.br/?search_term={search_term}",

the way you see:
analyzer.png
0
Lucas BishopClick TrackerCommented:
Interesting, I learned something new there. It does appear that site is receiving traffic directly to their own search result page.

However, I expect the criteria for showing the search bar is the same, as I outlined above.
0
Judson GuimarãesAuthor Commented:
I just tried the following:

<script type="application/ld+json">
{
    "@context": "http://schema.org",
    "@type": "WebSite",
    "url": "http://www.nowak.com.br/",
    "potentialAction": {
      "@type": "SearchAction",
      "target": "http://www.nowak.com.br/pesquisa-produtos/{query}",
      "query-input": "required"
    }
}
</script>

lets wait google re-index my homepage to see if this bar appears
0
Lucas BishopClick TrackerCommented:
Hi Judson, I just noticed that I never commented on the item you pointed out as #2 on your screenshot. That is called a "custom search engine" inside of Google Chrome. When you visit sites that have search functionality, Google adds the search into your Search Engine list.

You can view your search engine list by going here in Chrome:
chrome://settings/searchEngines

Here is an article where I describe how to add a custom search engine into Chrome and Firefox.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Lucas BishopClick TrackerCommented:
Just as an update, here's Google's recommendation for the specific schema that controls the search box:
https://developers.google.com/structured-data/slsb-overview

Here is where you can test to make sure you've integrated it correctly:
https://developers.google.com/structured-data/testing-tool/
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Search Engine Optimization (SEO)

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.