Skip to main content
SEO

Open Graph

Meta tags in a page's HTML that control how content appears when shared on social platforms — defining the title, description, and preview image displayed.

What Is Open Graph?

Open Graph is a protocol — originally created by Facebook in 2010 — that uses meta tags in a webpage's HTML to control how that page appears when shared on social media platforms and messaging apps. When someone pastes a URL into Facebook, LinkedIn, Twitter/X, Slack, or most other platforms, those platforms read the Open Graph tags to generate a link preview card: the title, description, and image displayed to recipients.

The tags are placed in the <head> section of a webpage. The core set includes og:title (the title of the shared content), og:description (a brief summary), og:image (the preview image URL), and og:url (the canonical URL). Extended properties cover content type (og:type), publishing dates, author information, and site name.

Without Open Graph tags, platforms generate their own previews by pulling whatever text and images they find on the page — often producing awkward, off-brand, or misleading previews. With proper Open Graph implementation, every share of your content displays exactly what you want users to see.

Why Open Graph Matters for Marketers

Every time your content is shared, Open Graph determines the first impression it makes. A compelling preview image and clear title convert passive scrollers into link clicks. A low-quality auto-generated preview — wrong image, truncated text, irrelevant thumbnail — suppresses engagement even on content worth reading.

The business impact scales with share volume. For brands producing content that generates significant social sharing — news articles, research reports, product launches, viral pieces — the CTR difference between an optimized and an unoptimized Open Graph card can represent thousands of additional monthly visits. Organic social sharing is effectively a distribution channel, and Open Graph is its conversion rate optimization layer.

LinkedIn is particularly sensitive to Open Graph quality because B2B content sharing is common and previews are prominently displayed. A white paper shared on LinkedIn without a proper og:image may appear as a plain link, generating a fraction of the engagement of a card with a clear, professionally designed preview image.

How to Implement Open Graph

  1. Add the core meta tags to every page. At minimum, every page should have: og:title, og:description, og:image, and og:url. Set these uniquely per page — don't use the same generic description across the entire site.
  2. Specify image dimensions correctly. Facebook and LinkedIn recommend a 1200×630px image for the best display across platforms. Images smaller than 200×200px won't generate a preview card. Use high-quality images with a clear focal point that communicates the content's value.
  3. Set og:type appropriately. Use website for general pages, article for blog posts (and include article:published_time and article:author), and product for e-commerce product pages.
  4. Add Twitter Card tags. Twitter uses its own tag set (twitter:card, twitter:title, twitter:description, twitter:image) that operates similarly to Open Graph. Set twitter:card to summary_large_image for full-width image previews.
  5. Test every major template. Use Facebook's Sharing Debugger (developers.facebook.com/tools/debug), LinkedIn's Post Inspector, and Twitter's Card Validator to preview and cache-bust previews when you update them.
  6. Use CMS plugins where possible. Yoast SEO, Rank Math, and most modern site builders generate Open Graph tags automatically from page metadata — configure the defaults and override on important pages.

How to Measure Open Graph Performance

Open Graph doesn't have a direct analytics measurement path, but its impact appears in referral traffic from social platforms. Track sessions from organic social in GA4, segmented by landing page, to see which pieces of content generate significant social-driven visits. High-performing content tends to have well-optimized Open Graph tags; underperforming content from social channels is often a tag quality problem worth auditing.

Use social platform native analytics (LinkedIn analytics, Twitter/X analytics, Facebook Insights) to compare impression-to-click rates for shared content and correlate with tag quality.

While Open Graph tags are primarily a social-sharing tool, they communicate structured metadata about a page's content — including its title, description, and canonical URL. AI systems that parse HTML to understand and categorize web content read Open Graph tags as additional context signals. A page with well-defined og:title and og:description that accurately reflect the content provides cleaner signals to AI crawlers than pages relying entirely on auto-generated social previews. This metadata clarity can support accurate categorization in AI retrieval systems, improving the likelihood of correct attribution when AI models cite the content.

Want to improve your AI search visibility?

Run a free AI visibility scan and see where your brand shows up in ChatGPT, Perplexity, and AI Overviews.

Run Free Visibility Scan
Book a call