The viewport meta tag: make your store render properly on phones
Without a viewport meta tag, phones show a shrunken desktop page. See the one line of code that fixes it and how to check your store.
2 min read
Area
CRO & UX
Severity
High
Fix effort
Small
Stores failing
1%
Of 180 stores we scanned where this check applies, 1% fail it and 97% pass. See all benchmarks.
The viewport meta tag tells a phone to render the page at the width of the screen. Without it, mobile browsers pretend the screen is about 980 pixels wide and shrink the page to fit, which makes text tiny and buttons impossible to tap. Every modern theme includes it, so a failure here usually means a custom or broken template.
Why it matters
Most store visits come from phones. A page without the tag looks like a postage stamp copy of the desktop site, and shoppers leave. It is also a basic mobile-friendliness signal for search engines.
What the audit looks at
The audit reads the head of the home and product pages and checks for a viewport meta tag with a width set to the device width.
What usually causes it
- A custom theme or landing page template built without the tag
- A page builder output that omits it
- A plugin or optimisation tool that strips tags from the head
- A legacy theme never updated for mobile
How to fix it
Add the viewport meta tag. The effort is small, usually a setting or a paste and under 30 minutes.
- Put in the head.
- Without it, phones render the page at desktop width and scale it down, so everything is unreadably small.
How to check it yourself
- View the page source and search for name="viewport".
- Open the page on a phone and see whether text is readable without zooming.
- In Chrome DevTools, switch on the device toolbar and test a few screen sizes.
Frequently asked questions
What should the tag say?
The standard line is .
Can I add it myself?
On most platforms it belongs in the theme head file. If you are unsure, ask your theme developer.
Related checks
Check your own store
See whether your store passes this check
Paste your store URL. The audit loads your pages in a real browser and shows the result for this check with the evidence behind it.