SEO

Open Graph Tags

Also called OG tags, og:image, link preview tags

Tags in a page's head that tell social platforms which title, text and image to show for a shared link.

Quick facts: Open Graph Tags

Category
SEO
Also called
OG tags, og:image, link preview tags
Level
Beginner
Affects
Link preview appearance, share click-through, referral traffic
Where to see it
Facebook Sharing Debugger, LinkedIn Post Inspector, page source
In this article4
  1. How Open Graph tags work
  2. Why Open Graph tags matter
  3. Common mistakes with Open Graph tags
  4. How to act on it

How Open Graph tags work

When somebody pastes your link into Facebook, LinkedIn, WhatsApp, Messenger, Slack or Viber, the platform fetches the page and looks in the head of the document for a small set of tags. Open Graph is that set. The important ones are a title, a description, an image and a URL, and each one exists so the platform is told what to show rather than left to guess from the first text it finds.

Two details govern whether it works. The image URL has to be absolute and publicly reachable — a relative path or a file behind a login gives you a blank card. And platforms cache what they fetch, so the first version they see tends to stick until something forces a re-fetch. That is why a page fixed this morning can still share badly this afternoon.

Open Graph began at Facebook but is now read far more widely than that, which is why it is worth treating as the default and letting other formats fall back to it. The one platform that reads its own tags first is X, through Twitter Card tags.

Why Open Graph tags matter

A link preview is an advert you did not write and cannot pay to change. It is what a stranger sees before they decide whether the link is worth a tap, and it is doing that job in feeds and group chats where your site’s design is nowhere in sight.

This matters more in markets where sharing happens in messaging apps rather than public feeds. A large share of traffic in Nepal arrives from a link forwarded in a WhatsApp or Viber group, and in that context the preview card is the entire pitch — no headline, no navigation, no brand around it. A missing image turns a shared link into a grey line of text that people scroll past.

Common mistakes with Open Graph tags

The frequent one is leaving it to the theme. Many themes fall back to the site logo or the first image in the post, so every page shares with the same picture and the same site-wide description. That is not a broken card, but it is a wasted one.

Next is stale caching after a redesign, which people mistake for a coding fault when it just needs the platform’s own debugging tool to re-scrape the page. Then there is the image itself: text laid across a preview image is usually unreadable once the platform crops it for a phone. And a mismatch between the Open Graph title and the real page headline reads as bait, because the visitor notices the moment they land.

How to act on it

Set a deliberate title, description and image on the pages that actually get shared — the homepage, service pages, case studies and every article — and keep the title honest against what the page says. Write the description for a person deciding whether to tap, not for a search engine; it is a different job from the meta description even though many plugins fill both from one field.

Then test before you promote. Paste the URL into the Facebook Sharing Debugger and the LinkedIn Post Inspector, force a refresh if the old card appears, and look at the result on a phone rather than a desktop. If link previews are part of how you distribute content, build the check into your social media marketing routine rather than doing it once at launch.

Do and do not

Do

  • Set a distinct title, description and image on shareable pages
  • Use absolute, publicly reachable image URLs
  • Force a re-scrape after changing a page's preview

Do not

  • Let the theme reuse one logo across every page
  • Put small text inside the preview image
  • Promise something in the preview the page does not deliver

Questions people ask about this

Why does my old image still show when I share the link?

The platform cached the page the first time somebody shared it and has not fetched it again. Facebook, LinkedIn and most others keep that copy for a while. Use the platform's own sharing debugger or post inspector to force a re-scrape, then share the link again. Clearing your browser cache does nothing, because the fetch happens on their servers.

Do Open Graph tags affect my Google rankings?

Not directly. Google reads the title tag and meta description for search results, not the Open Graph equivalents. What Open Graph affects is how many people click a shared link, and traffic and links earned that way can help indirectly. Treat it as a distribution improvement rather than a ranking technique.

Do I need different tags for every page?

For any page you expect to be shared, yes. A single site-wide image and description means every link looks identical in a feed, which wastes the one chance you get to describe that page. Pages nobody shares can safely inherit a sensible default. Start with the homepage, main service pages and articles.

Related terms

Found this useful?

Share it, or ask an AI to summarise it

Back to the glossary

Knowing the term is the easy part

Applying it to your own site and budget is the work. Book a call and I will tell you what actually applies to you.