I have lots of content on certain pages under an interaction, like Faq and some pop-ups that reveal more content. I did this to hide the content so the webpage is not scrolling to infinity. However I noticed, these are rendering client side which means Google won’t read it.
Google’s web crawler, also known as Googlebot, can execute JavaScript code on web pages, including clicking on elements, and therefore can theoretically access content that is only available after a user interaction.
However, it is important to note that Googlebot has limitations when it comes to rendering JavaScript, and it may not always be able to access all the content on a page that requires user interaction.
To ensure that your content is visible to Googlebot, it is recommended to follow best practices for JavaScript SEO, such as providing clear and descriptive content, avoiding complex JavaScript interactions, and using server-side rendering where appropriate. Additionally, you can use tools such as the Google Search Console’s URL inspection tool to see how Googlebot is rendering your pages and troubleshoot any issues