jquery - Does google bot trigger javascript click actions on site and solution to it? -
so our problem @ moment having reviews products on our site , optimize page load on desktop , mobile loading 10 reviews initialy , on each button click per user interaction load next 10 reviews. want google , other search engines index content other reviews not initialy showed. have stacked our code in vanilla javascript
jquery( function() { ... document.getelementbyid("id").onclick( function(...) ); ... });
but after reading articles, found out google crawler can access content loaded on document ready. asking if had similar problem 1 , how did solve or if there other workarounds problem?
i have read google crawler can execute javascript , google deprecated solution recommending before https://developers.google.com/webmasters/ajax-crawling/docs/learn-more.
here found advice google: https://support.google.com/webmasters/answer/81766?hl=en under section develop progressive enhancement
ps: html element "id" button, google suggestion indicates should replace anchor?
thank in advance.
a common way use pagination, each page has few items , unique url, google can index these pages.
progressive enhancement means can use javascript replace pagination menu button loads next items ajax now.
Comments
Post a Comment