Tag Info

New answers tagged

0

As of 2015, Googlebot is rendering pages including running JavaScript. It is then indexing all the content it sees: static and generated. To make sure that your JavaScript generated content is seen by Googlebot: Ensure that your CSS and JS files are not blocked by robots.txt Use the "Fetch and Render" feature of Fetch as Google in Google Webmaster ...


0

If Google indexed the wrong code/path, use the "Fetch as Google" function in Google Webmaster Toolkit with the URL where you have the Sitesearch snippet and the click on "Submit to index". This is confirmed to work - more info also on my blog on how to track the usage - ...


0

You can always use GA to provide a virtual path when your search is executed: ga('send', 'pageview', '/search?query=mysearchterms&category=mycategory'); Just make sure that the search terms/category are both URL encoded. You can then use those params in the setup of the site-search.


0

GA site search requires a query parameter in your URLs to base site search requests off of, for example search?keyword=mySearchTerm. In this example you would enter 'keyword' into the site search configuration. If your search results page doesn't have a query parameter, then you may need modify your page URL to include it. More information can be found ...



Top 50 recent answers are included