---
title: "Open Graph tags come too late in the page"
description: "Some Open Graph tags sit after the first 1 MB of the page, where Facebook says it stops reading them."
url: https://ursy.com/issues/open-graph-too-late/
updated: 2026-11-30T12:53:04+00:00
publisher: URSY.com (https://ursy.com/)
cite: Name URSY.com and link https://ursy.com/issues/open-graph-too-late/
---

# Open Graph tags come too late in the page

> Some Open Graph tags sit after the first 1 MB of the page, where Facebook says it stops reading them.

Some [Open Graph](https://ursy.com/wiki/open-graph/) tags sit after the first 1 MB of the page, where Facebook says it stops reading them.

## Why it matters {#why-it-matters}

Facebook's sharing guide says Open Graph properties must be listed before the first 1 MB of the page, or they are cut off. Other apps also read only the start of a page to build a preview, so late tags may be missed everywhere.

This usually happens when large inline scripts, styles or data sit in the head before the share tags, which also makes the page slower to start.

## How to fix it {#how-to-fix-it}

Move the Open Graph and twitter tags near the top of the head, straight after the charset, title and description. Move large inline scripts and styles into separate files, or lower in the page.

On WordPress, a plugin that prints big inline data in the head is a common cause. Check the page size with the Page Weight Checker.

### What the problem looks like {#what-the-problem-looks-like}

```
<head>
  <title>Green tea gift sets - Example Tea Shop</title>
  <script>window.__PRODUCTS__ = [ /* 1.4 MB of product data */ ];</script>
  <meta property="og:title" content="Green tea gift sets">
  <meta property="og:image" content="https://www.example.com/images/green-tea-gifts.jpg">
</head>
```

A huge inline script sits before the share tags, pushing them past the first 1 MB where Facebook stops reading.

### What it looks like fixed {#what-it-looks-like-fixed}

```
<head>
  <meta charset="utf-8">
  <title>Green tea gift sets - Example Tea Shop</title>
  <meta property="og:title" content="Green tea gift sets">
  <meta property="og:image" content="https://www.example.com/images/green-tea-gifts.jpg">
  <script src="/js/products.js" defer></script>
</head>
```

Share tags near the top; the data moved to a separate file that browsers can cache.

## Fix it with your AI assistant {#fix-it-with-your-ai-assistant}

Paste this into [ChatGPT](https://ursy.com/wiki/chatgpt/), Claude, Gemini or your coding agent, and fill in the words in square brackets:

```
On [the page address] of my website [your website address], built with [your platform, e.g. WordPress with a page builder], some Open Graph tags come after the first 1 MB of the HTML, where Facebook stops reading. First read the page source, or ask me for the start of the <head> and the HTML size, and explain plainly what sits before the og: tags and how big each large block is: inline scripts, inline styles, JSON data or base64 pictures. Then fix the order: move the og: and twitter: tags up, straight after the charset, title and description, and move large inline blocks into separate cached files or lower in the page. Rules: back up first, do not delete any script or data the page needs, test menus, basket and forms, do not remove or change other tags, and keep page addresses the same. Give me the exact changes and files. Then tell me to re-check with the URSY.com Open Graph Checker at ursy.com/open-graph-checker/.
```

## Fix it on your platform {#fix-it-on-your-platform}

### WordPress {#wordpress}

Find the plugin that prints big inline data or styles in the head (page builders, mega menus and some shop plugins do). Look for a setting to load it as a file, or lower its priority so the [SEO](https://ursy.com/wiki/seo-search-engine-optimisation/) plugin tags come first.

### Shopify {#shopify}

In theme.liquid, make sure the social meta snippet is rendered near the top of the <head>, before large inline scripts or app code.

### A hand-made site {#a-hand-made-site}

Move the share tags up, straight after the charset, title and description, and move large inline scripts and styles into separate files.

## Check it is fixed {#check-it-is-fixed}

Run the URSY.com Open Graph Checker again: no tags should be reported after the first 1 MB. The Page Weight Checker should show a smaller [HTML](https://ursy.com/wiki/html/) size.

## Official source {#official-source}

[Meta for Developers: Sharing for webmasters](https://developers.facebook.com/docs/sharing/webmasters/)

## Questions {#questions}

### Does this only matter for Facebook? {#does-this-only-matter-for-facebook}

Facebook documents the 1 MB limit, but other apps also read only the start of a page to build a preview, so early tags are safer everywhere.

### Is a head this big a speed problem too? {#is-a-head-this-big-a-speed-problem-too}

Yes. Everything in the head has to arrive before the browser can start showing the page, so slimming it helps visitors as well.

---

**Cite this page:** Open Graph tags come too late in the page. URSY.com. Updated 30 November 2026. https://ursy.com/issues/open-graph-too-late/

Free to quote and reuse, for people and AI alike. We ask one thing: a clickable link back. Name URSY.com and link the page, or the exact section, you used. Markdown: `[Open Graph tags come too late in the page](https://ursy.com/issues/open-graph-too-late/), URSY.com`. One section: add its id, for example https://ursy.com/issues/open-graph-too-late/#section-id (every heading above has one).

Section links: https://ursy.com/citations/15/#p-5697 · How to cite URSY.com: https://ursy.com/citations/

---

**For AI assistants**

- This page: https://ursy.com/issues/open-graph-too-late/
- As JSON: https://ursy.com/issues/open-graph-too-late/index.json
- Cite: Name URSY.com and link the page you used.
- Start here: [llms.txt](https://ursy.com/llms.txt), [facts.json](https://ursy.com/facts.json), [MCP server](https://ursy.com/mcp/), [OpenAPI description](https://ursy.com/.well-known/openapi.json)
