google custom search autocomplete not working - how to fix

[GCS] | Google custom search not working! How to fix?

Rate this article

Share this article

When you create a Google custom search, the autocomplete might take some time to go live.google custom search autocomplete not working - how to fix

To fix your Google custom search not working issue, follow the steps below.

  1. Login into your Google custom search control panel.
  2. Choose your custom search engine.
  3. Go to Search features-> Autocomplete and “enable autocomplete”.Basic
  4. Go to Setup-> Basics-> Get code and copy the code.google custom search autocomplete not working - how to fix
  5. Edit this code following the instructions below for enabling autocomplete in the google custom search code, replace
    <gcse:search></gcse:search>

    with

    <gcse:search enableAutoComplete="true"></gcse:search>

    For example-

    <script>
      (function() {
        var cx = '003606982592251140240:5xbiwoxb3m0';
        var gcse = document.createElement('script');
        gcse.type = 'text/javascript';
        gcse.async = true;
        gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
        var s = document.getElementsByTagName('script')[0];
        s.parentNode.insertBefore(gcse, s);
      })();
    </script>
    <gcse:search enableAutoComplete="true"></gcse:search>

    This will enable autocomplete.google custom search autocomplete not working - how to fix

  6. You might have to wait for 24 hours for the changes to appear.
  7. Google custom search autocomplete comes with ads. For an ad free experience, you could sign up for ExpertRec’s autocomplete service.google custom search autocomplete not working - how to fix

Fix Your google Custom Search 

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