When someone shares a link to your site in a message or a post, the card that appears, with its picture, title and short description, usually comes from Open Graph tags. They're a few lines in the code of each page, and they decide whether your link looks inviting or like a bare address. Here's what they are and how to get them right.
Where they came from
Facebook created the Open Graph protocol so any web page could describe itself when shared. Other platforms adopted the same tags, so one set of them now shapes how your links look in many of the places people share them.
What they look like
The tags sit in the <head> of each page, out of sight of your visitors:
<meta property="og:title" content="Custom cakes">
<meta property="og:type" content="website">
<meta property="og:url" content="https://meadowbrookbakery.com/cakes">
<meta property="og:image" content="https://meadowbrookbakery.com/images/cakes.jpg">
<meta property="og:image:alt" content="A three-tier lemon cake with fresh flowers">
<meta property="og:description" content="Order a custom cake with 48 hours' notice.">
<meta property="og:site_name" content="Meadowbrook Bakery">
The four every page needs
The Open Graph standard requires these on every page:
og:title: the title of the page as it should appear on the card. It can be shorter than your page title, without your business name tacked on the end.og:type: what kind of page it is. For most business pages,website. Blog posts can usearticle.og:image: the full address of the picture to show.og:url: the page's main address, so every way of reaching the page shares as one link.
Worth adding
og:description: one or two sentences on what the page offers. Write it for someone deciding whether to tap.og:site_name: your business name, shown alongside the page title.og:image:alt: a description of the picture, for people who can't see it. The standard asks for one whenever you set an image. See What is alt text? for how to write it.
Choosing the picture
The picture does most of the work on a busy feed. Use a real photo of your product, your place or your work rather than your logo, which shrinks to a smudge on a small card. Keep the subject near the middle, since platforms crop cards to different shapes, and keep text in the picture to a minimum. Give each important page its own picture, so a link to your cake page shows a cake.
When a change doesn't show
Platforms usually keep a copy of a card once they've made it, so fixing your tags won't change a link that's already been shared. New shares pick up the change once the platform reads your page again. Some platforms offer a tool to make them read it straight away.
How Bloomlight helps
Bloomlight's audits flag pages with no title or no meta description, the basics every page needs whether it's found in search or shared in a message.