Google Search Console/Schema Markup test tool "Google Rich Results Test": mobile-view instead of crawler-view

Right now Discourse on meta.discourse.org serves the mobile-view instead of the crawler-view to the Google Rich Results Test.

As there is no Schema Markup in the mobile-view this makes checking Schema Markup impossible.

E.g. see ‘SCREENSHOT’ in Google Rich Results Test


Since august '23 the User agent token for Google-InspectionTool might be one of these:

  • Googlebot
  • Google-InspectionToolAdd this to the known crawler agents!

See Google Crawler (User Agent) Overview | Google Search Central  |  Documentation  |  Google for Developers

Google-InspectionTool is the crawler used by Search testing tools such as the Rich Result Test and URL inspection in Search Console. Apart from the user agent and user agent token, it mimics Googlebot.

User agent token

  • Google-InspectionTool
  • Googlebot

Full user agent string

  • Mobile
    Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/W.X.Y.Z Mobile Safari/537.36 (compatible; Google-InspectionTool/1.0;)
  • Desktop
    Mozilla/5.0 (compatible; Google-InspectionTool/1.0;)
1 Like

In the meanwhile you can add ?_escaped_fragment_ to the end of the URL, like https://meta.discourse.org/t/schema-markup-test-tool-google-rich-results-test-mobile-view-instead-of-crawler-view/291039?_escaped_fragment_ to test it.

2 Likes

This might also affect the pre-check before accepting ‘START NEW VALIDATION’ in Google Search Console:

This is done now via DEV: Add Google-InspectionTool as a crawler user agent (#26375) · discourse/discourse@312a5ea · GitHub