DISC-027Find
Mobile viewport declared
Checks that your homepage declares a viewport with width=device-width.
What we check
We look for <meta name="viewport"> in the <head> of the HTML your server sends and check that its content includes width=device-width. Spaces and letter case are ignored.
Why it matters
MDN says the viewport tag gives the browser hints about how to size the viewport, and gives width=device-width as the recommended setting. We know of no primary source that says the viewport changes how AI agents read or use a store. The check sits in Basics because the tag is standard web practice and UCP Checker scores it.
How we check
PASS: the tag is present and includes width=device-width. WARN (score 50): the tag is present without it, for example width=1024. FAIL: the raw <head> has no viewport tag. SKIPPED: the crawl captured no homepage, or a bot wall answered instead of your shop. This check sends no request of its own.
How to fix it
- Put <meta name="viewport" content="width=device-width, initial-scale=1"> in the homepage <head>.
- Set it in the theme layout so every page gets the same tag.
What good looks like
<meta name="viewport" content="width=device-width, initial-scale=1">
Sources
Could an agent buy from your store?
The free scan runs all 51 checks on your store in about five minutes.
Scan my store