Thank you so much for letting me know.
Now, I realize that some earlier discussions about SPA, “infinite scroll” and other SEO related issues were completely wrong, since the SPA is not served to GoogleBot.
This changes my approach to some custom code I wrote recently; and now I know to check using the GoogleBot UA in the console.
Thanks so much for that, @Falco ! Much appreciated.
Question:
What is the best way to add a single custom javascript file to the HTML which is rendered to GoogleBot?
Is there a “standard way” to modify the HTML served to bots?
The reason I ask is that we have some custom code which was created in a plugin I wrote (meant for bots); but I checked using the GoogleBot UA in the console (thanks again for telling me that I need to do that), and none of that custom plugin code is consumed by GoogleBot.
