Glossary

What is Viewport meta tag?

Also called: Mobile viewport, Responsive meta tag

The viewport meta tag is a line in your page head that sets how wide the page should be on a phone and the starting zoom.

Why it matters

Without it, phone visitors have to pinch and zoom, which hurts the experience. Google uses mobile-friendliness for indexing, so a phone-ready page matters.

How Onbiom checks it

Onbiom reads the first-loaded homepage. It fails if there is no viewport tag, if width is not device-width (or a number of at least 320), if initial-scale is missing, if user-scalable is no or 0, or if maximum-scale is below 2.

How the page actually lays out on a phone is not measured.

In your report this appears as: Mobile viewport tag.

How to check it yourself

  1. Open your homepage source and search for name="viewport".
  2. Check it reads width=device-width, initial-scale=1 and does not block zoom.
curl -s https://example.com/ | grep -io "<meta[^>]*viewport[^>]*>"

Not sure about your own site? Paste your address and see in a minute which of these checks your site passes. Free, no account needed.

Check your site

How to fix it

WordPress
Modern themes include it. If missing, ask the theme developer to add it to the head.
Shopify
Current themes include it in theme.liquid. Check the head section.
Wix
Wix adds it automatically.
Any website
Ask your web person or hosting company to make the change, and send them the wording from your report.

Related terms

Sources and further reading

Last reviewed: