On-page
Open Graph tags: control how your links look when shared
Open Graph tags set the title, description and image of your link previews on social apps and messengers. og:title plus og:description earns full points.
- Category
- On-page
- Points available
- 3 pts
- Effort
- Quick fix
Why it matters
When someone shares your page on LinkedIn, Facebook, WhatsApp or Slack, these tags decide the preview card. A good card gets more clicks than a bare link.
Without them, apps guess, and often pick the wrong image or a cookie notice as the description.
How we measure it
We check for <meta property="og:title"> and <meta property="og:description"> with non-empty content. og:image is strongly recommended but not scored.
| Result | Points |
|---|---|
| og:title and og:description | 3 |
| Only one of them | 1 |
| Neither | 0 |
How to fix it
- Add
og:title,og:description,og:image(1200x630 px, absolute URL),og:urlandog:type. - Add
twitter:cardwithsummary_large_imagefor large previews on X. - Most SEO plugins and Shopify themes have fields for this; in Next.js use the
openGraphmetadata field.
Copy-paste fixes
<meta property="og:type" content="website">
<meta property="og:url" content="https://www.example.com/shoes/trail-runner-2">
<meta property="og:title" content="Trail Runner 2: grip on wet rock">
<meta property="og:description" content="Our lightest waterproof trail shoe. 60-day free returns.">
<meta property="og:image" content="https://www.example.com/og/trail-runner-2.jpg">
<meta name="twitter:card" content="summary_large_image"><meta property="og:site_name" content="{{ shop.name }}">
<meta property="og:url" content="{{ canonical_url }}">
<meta property="og:title" content="{{ page_title | escape }}">
<meta property="og:description" content="{{ page_description | default: shop.description | default: shop.name | escape }}">import type { Metadata } from "next";
export const metadata: Metadata = {
openGraph: {
type: "website",
siteName: "Northpeak",
title: "Northpeak outdoor gear",
description: "Trail shoes and jackets tested in real weather.",
},
twitter: { card: "summary_large_image" },
};
// Add app/opengraph-image.png (1200x630) and Next.js emits og:image automatically.Common mistakes
- Using
name="og:title"instead ofproperty="og:title". - A relative
og:imageURL, which most apps cannot load. - Forgetting that apps cache previews. Use the platform's debugger to refresh them.
Test your site now
Put your site against a competitor and see how many of these points you earn, and which fixes pay off first.
← All checksUpdated December 1, 2026