user14252645
user14252645

Reputation:

google custom search engine not working perfectly

I have add Google Custom Search Engine On My Website and It was working Perfectly.

But Now it some time doesn't return anything something like google's custom search engine JavaScript does not get executed.

link Link where search console is added

on link it will give some results refresh it or try searching something else search box and search results both would not appear

i have tested it some 10+ time and it some time not work 40% i don't know what's the issue.

no massage script error message in console.

Upvotes: 0

Views: 1031

Answers (2)

sariDon
sariDon

Reputation: 7971

If you are using Google 'Programmable Search Engine' with CloudFlare, add data-cfasync="false" attibure to the <script> tag to make it work:

<script async data-cfasync="false" src="https://cse.google.com/cse.js?cx=xxxxxxxxxxxxxxx"></script>

Otherwise it may not work correctly with no or blank display.

Upvotes: 0

user14252645
user14252645

Reputation:

Turning of Rocket Loader in Cloudflare fix this issue.

Upvotes: 0

Related Questions