Skip to content
SEO-Wars

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.

ResultPoints
og:title and og:description3
Only one of them1
Neither0

How to fix it

  1. Add og:title, og:description, og:image (1200x630 px, absolute URL), og:url and og:type.
  2. Add twitter:card with summary_large_image for large previews on X.
  3. Most SEO plugins and Shopify themes have fields for this; in Next.js use the openGraph metadata field.

Copy-paste fixes

HTML
<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">
Shopifysnippets/meta-tags.liquid
<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 }}">
Next.jsapp/layout.tsx
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 of property="og:title".
  • A relative og:image URL, 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.

Start a duel
← All checksUpdated December 1, 2026
Open Graph: why it matters and how to fix it · SEO-Wars