How to Fix Missing Open Graph Tags
Every time your page gets shared on Facebook, LinkedIn, or Slack, Open Graph tags control what people see — the image, title, and description that appear in the preview card. Without them, your shared links look broken, generic, or invisible. That means fewer clicks and less social traffic.
What Are Open Graph Tags?
Open Graph (OG) is a protocol developed by Facebook that lets website owners control how their pages appear when shared on social media platforms. These tags sit in the <head> section of your HTML and define the metadata that social platforms use to build link preview cards.
The four essential Open Graph tags are:
<meta property="og:title" content="Your Page Title Here"> <meta property="og:description" content="A compelling summary of your page — shown under the title in the preview card."> <meta property="og:image" content="https://yourdomain.com/images/og-image.jpg"> <meta property="og:url" content="https://yourdomain.com/your-page/">Without these tags, platforms like Facebook scrape your page and guess what to show — often pulling the wrong image, using your site title instead of the page title, or displaying nothing useful at all.
Why It Matters for SEO
How to Check Your Open Graph Tags
Use Clarity SEO's free OG Preview tool to see exactly how your page will appear when shared on Facebook, Twitter/X, LinkedIn, and other platforms. It shows you the preview card in real time and flags any missing or broken tags.
→ Check your OG tags free with Clarity SEO
You can also run a full Report Card audit which checks for missing OG tags across your entire site.
How to Fix It
For HTML/Generic
Add the full set of Open Graph tags inside your <head>:
<head> <meta charset="UTF-8"> <title>iPhone Screen Repair Sydney | MobileBarn</title> <!-- Open Graph / Facebook --> <meta property="og:type" content="website"> <meta property="og:url" content="https://mobilebarn.shop/repairs/iphone-screen/"> <meta property="og:title" content="iPhone Screen Repair Sydney — Same Day | MobileBarn"> <meta property="og:description" content="Cracked iPhone screen? We fix it in 30 minutes. Walk-in or book online. All models covered. Free quote."> <meta property="og:image" content="https://mobilebarn.shop/images/iphone-screen-repair-og.jpg"> <!-- Twitter Card (also used by LinkedIn, Slack, Discord) --> <meta name="twitter:card" content="summary_large_image"> <meta name="twitter:title" content="iPhone Screen Repair Sydney — Same Day | MobileBarn"> <meta name="twitter:description" content="Cracked iPhone screen? We fix it in 30 minutes. Walk-in or book online."> <meta name="twitter:image" content="https://mobilebarn.shop/images/iphone-screen-repair-og.jpg"> </head>OG image requirements:
For WordPress
With Yoast SEO:
With Rank Math:
Global defaults (Yoast): Go to Yoast SEO → Social → Facebook → enable OG meta data and set a default OG image for pages that don't have a custom one.
For Shopify
Shopify automatically generates basic OG tags using your product/page title and featured image. To improve them:
layout/theme.liquid.<head> section and look for any existing OG tags.<meta property="og:title" content="{{ page_title }} | {{ shop.name }}"> <meta property="og:description" content="{{ page_description | escape }}"> <meta property="og:url" content="{{ canonical_url }}"> <meta property="og:image" content="{{ page_image | img_url: '1200x630', crop: 'center' }}">For products specifically, page_image references the first product image. Make sure your product images are high quality and at least 1200px wide.
For Wix / Squarespace / Webflow
Wix: Page Settings → SEO → Social Share section. Upload a custom social image per page.
Squarespace: Pages → Gear icon → Social Image. Upload a 1200×630 image for each key page.
Webflow: Page Settings → Open Graph Settings. Upload image, write title and description. For CMS items, bind OG fields to your collection fields.
Common Mistakes to Avoid
og:title to the same value as your <title> tag and leave the meta description blank, platforms default to pulling the same generic text everywhere.FAQ
What is an Open Graph tag?
An Open Graph tag is an HTML meta tag in the og: namespace that controls how your page appears when shared on social media platforms like Facebook, LinkedIn, and Slack. The four key tags are og:title, og:description, og:image, and og:url.
Do Open Graph tags affect Google SEO?
Open Graph tags are not a direct Google ranking factor. However, they improve social sharing engagement, which drives referral traffic and can indirectly support SEO through increased visits and brand signals.
What size should an Open Graph image be?
The recommended Open Graph image size is 1200 × 630 pixels (approximately 1.91:1 ratio). This displays well across Facebook, LinkedIn, Twitter/X, and Slack. The minimum is 600 × 315 pixels, but larger images get better treatment.
Why is Facebook showing the wrong image when I share my page?
Facebook caches Open Graph data. After you add or update OG tags, use the Facebook Sharing Debugger and click "Scrape Again" to force a cache refresh.
Do I need separate tags for Twitter vs Facebook?
Twitter uses twitter:card, twitter:title, twitter:description, and twitter:image tags. However, Twitter also falls back to OG tags if Twitter-specific tags are missing. Best practice is to include both sets on important pages.
Summary
Open Graph tags are a five-minute fix that can significantly improve how your content performs when shared on social media. Set the image, title, description, and URL — and verify the result with a preview tool.
Check your site's OG tags right now with the free Clarity SEO audit.