Skip to main content
Glossary

Open Graph

By ยท Updated
Quick definition

The Facebook-originated meta-tag protocol that controls how a URL appears when shared on social platforms. Used by every major platform beyond just Facebook.

Open Graph in plain English

Open Graph (OG) tags are <meta> elements in the page <head> that specify how a shared URL should appear on Facebook, LinkedIn, Slack, Discord, iMessage, WhatsApp, and most other platforms that render link previews. The core tags: og:title (the headline shown in the preview), og:description (the secondary text), og:image (the preview thumbnail, ideally 1200x630px), og:url (the canonical URL), and og:type (article, product, website).

Without OG tags, social platforms attempt to extract title/description/image from your page heuristically. The results are inconsistent โ€” they might pick your nav text as the title, an irrelevant inline image, or no image at all. Explicit OG tags give you control over the preview, which directly affects whether someone clicks through.

For ecommerce, OG tags should be set per-page: each product page has its own og:title (the product name), og:description (the value prop), og:image (the product photo at 1200x630), and og:type (product). Each blog post has its own. The homepage has its own. Setting OG tags globally to brand-level defaults wastes the most powerful per-page benefit.

Common mistakes: og:image too small (under 1200x630px gets rendered grainy or cropped), og:image hotlinked to a remote server that might be slow or fail (preview fails to load, link looks broken), og:url pointing at the page's URL with tracking parameters (the social shares accumulate against a different URL than your canonical), and missing og:image entirely (the link preview defaults to no image, which dramatically reduces click-through rate).

Why open graph matters for ecommerce

For ecommerce, every share of a product link is a potential conversion. A product link shared in iMessage with a beautiful product photo + clear title gets clicked; the same link with no preview gets ignored. The difference is 10x click-through. The OG tags are set-and-forget โ€” once your product page template includes them, every product page automatically benefits. AI tools (ChatGPT, Claude with web) also read OG tags when summarizing links shared in conversations, so the same investment improves both social and AI representation simultaneously.

Deeper dives on this term

Focused pages that go deeper than the definition โ€” comparisons, platform-specific guides, operational walkthroughs.

Compare

Open Graph vs BlogPosting Schema: What's the Difference?

Open Graph controls social sharing previews. BlogPosting Schema feeds search engine structured data. Learn exactly when each appli

Read →
Compare

Open Graph vs Canonical URL: What's the Difference?

Open Graph controls social previews; Canonical URL controls search indexing. Learn the exact differences, overlaps, and how to con

Read →
Compare

Open Graph vs Rich Snippets: What's the Difference?

Open Graph controls social share previews; Rich Snippets control search result displays. Learn the exact differences, mechanics, a

Read →
Compare

Open Graph vs Schema Markup: What's the Difference?

Open Graph controls social previews; Schema Markup feeds search engines structured data. See exactly how they differ, overlap, and

Read →
Compare

Open Graph vs Twitter Cards: What's the Difference?

Open Graph vs Twitter Cards: a direct comparison of definitions, tag mechanics, platform scope, and how ecommerce stores should im

Read →
Platform

Open Graph for Shopify Stores

How Open Graph works on Shopify stores: default behavior, theme code limits, app options, and fixes for broken link previews on pr

Read →
Platform

Open Graph for Wix Stores

Open Graph on Wix stores: what's auto-generated, what's editable, platform limits, and how to fix common sharing problems for ecom

Read →
Platform

Open Graph for WooCommerce Stores

How Open Graph works in WooCommerce stores: plugin options, product page conventions, WooCommerce-specific limits, and fixes for c

Read →
How-to

How to implement open graph for an Ecommerce Store

A step-by-step guide to implementing Open Graph tags for ecommerce stores โ€” covering product pages, images, and platform-specific

Read →
Checklist

Open Graph Checklist: 12 Items Every Ecommerce Store Should Audit

A 12-item Open Graph audit checklist for ecommerce stores. Each check includes a clear pass/fail criterion to fix social sharing f

Read →

Frequently asked questions

What's the ideal og:image size and ratio?

1200x630 pixels (1.91:1 ratio) is the universal sweet spot โ€” it renders correctly on Facebook, LinkedIn, Twitter, Slack, iMessage, and Discord. Smaller images get upscaled and look pixelated; larger images get cropped to fit. Keep file size under 1MB for fast preview loading. Test the actual preview via Facebook's Sharing Debugger and Twitter's Card Validator before going live.

Do I need both Open Graph tags AND Twitter Card tags?

Twitter falls back to OG tags if no twitter:card tags are present, so technically OG alone covers Twitter. Adding explicit twitter:card tags lets you specify card type (summary vs large image) and use a different image specifically for Twitter if desired. For ecommerce, OG-only with og:image at 1200x630 covers all platforms acceptably; add Twitter Cards if you want a different Twitter-specific image or layout.

Why does my Facebook preview show the old image after I updated the page?

Facebook caches link previews aggressively. To refresh, use the Sharing Debugger (developers.facebook.com/tools/debug/), paste your URL, click 'Scrape Again.' This forces Facebook to re-fetch your page and update its cached preview. Most other platforms (Slack, Discord, LinkedIn) cache for shorter periods but the Facebook debugger is the manual override most needed.

Does Open Graph affect SEO rankings directly?

No, Open Graph tags don't directly influence Google rankings. But they indirectly affect SEO through engagement: better link previews โ†’ more clicks on shared links โ†’ more traffic and engagement signals โ†’ indirect SEO benefit. They also affect AI representation: ChatGPT, Claude, and Perplexity all use OG metadata when describing or citing pages, so good OG tags improve how your content is summarized in AI responses.

Should every page on my site have unique Open Graph tags?

Yes, every indexable page should have page-specific og:title, og:description, og:image, og:url. Product pages get the product's name/image; blog posts get the post's title/featured image; category pages get a category-specific image. Setting global defaults at the site level is acceptable as a fallback for pages where per-page setting isn't feasible, but page-specific is dramatically better for sharing performance.

MG
Written by

Matt is the founder of RunOctopus. He built All Angles Creatures from zero to page-1 rankings in reptile feeder insects in under 60 days using exactly this method โ€” turning a hard, entrenched niche into RunOctopus's proof store for programmatic SEO and AI search citation.

Connect on LinkedIn →

See what Otto would build for your store

Free architecture preview. No card required. Five minutes.

Generate Preview →