Sub topic 12
Set Page Metadata and Sharing Previews
This chapter assumes you have a landing page with a headline and an offer, and that you can open your builder's page settings. You don't need to write code. The builder usually produces the tags for you, but you should know what they are so you can check them.
Metadata is information about the page that visitors rarely see on the page itself. Search engines read it to build a result snippet. Social networks and chat apps read it to build the preview card when someone shares your link. Both are the first impression of your campaign, often before anyone reaches the page.
What the tags do
Most of the work is done by a few tags in the page's <head>, the part of the HTML that is not shown in the page body.
| Tag | Used by | Controls |
|---|---|---|
| `<title>` | Search engines, browser tabs | The blue link text in results and the tab label |
| `meta name="description"` | Search engines | The grey snippet under the link |
| `og:title` | Facebook, LinkedIn, Slack, messaging apps | The bold title on the preview card |
| `og:description` | Same as above | The supporting text on the card |
| `og:image` | Same as above | The card image |
| `og:url` | Same as above | The canonical address the card points to |
| `twitter:card` | X (Twitter) | The card layout, such as a large image |
"OG" stands for Open Graph, a convention that started at Facebook and is now read by most platforms. If a platform doesn't find an Open Graph tag, it usually falls back to the page title or description, but the result is often poor.
A complete example
Builders produce tags like these from their SEO and social settings. You can also paste them into a custom code area in the page's head.
<title>Spring Sale: 20% off annual plans</title>
<meta name="description" content="Save 20% on annual plans until the end of April. Sign up in under a minute.">
<meta property="og:title" content="Spring Sale: 20% off annual plans">
<meta property="og:description" content="Save 20% on annual plans until the end of April.">
<meta property="og:image" content="https://www.example.com/images/spring-sale-share.jpg">
<meta property="og:url" content="https://www.example.com/spring-sale">
<meta name="twitter:card" content="summary_large_image">Notice that the og:image and og:url values are absolute addresses. They start with https:// and include the domain. Relative paths such as /images/share.jpg often fail because the platform's crawler fetches the tag out of context.
Write the search snippet
Treat the title and description as ad copy for the page. They should match the offer you defined earlier and the headline on the page.
- Title. Aim for roughly 50 to 60 characters. Search engines cut off long titles based on pixel width, not a fixed count. Put the offer or the key phrase first.
- Description. Aim for roughly 120 to 160 characters. State the benefit and the next step. Search engines may rewrite it if they think another part of the page fits the query better, so the page body must support the same message.
- Consistency. If the snippet promises 20% off and the hero says 15%, visitors leave. Search engines and ad platforms may also treat the mismatch as a quality problem.
A campaign page usually should not compete for general search traffic. Paid or email traffic is the main source, so the snippet matters mostly for people who search your brand name and for the preview of shared links.
Design the sharing image
The share image has more effect on clicks than the text beside it. Use these guidelines:
- Use a wide image with an aspect ratio near 1.91:1. A common size is 1200 × 630 pixels. This fits the
summary_large_imagelayout. - Keep important text and faces away from the edges. Some apps crop to a square or a different ratio.
- Use big, short text, if any. The card is often shown at thumbnail size.
- Compress it. Keep the file small, ideally under 1 MB, because some crawlers give up on large files. Platforms also have their own limits, so check their current documentation.
- Use a JPG or PNG. Some platforms don't render WebP or SVG in previews.
Your builder may offer a separate field for the share image. If you leave it empty, many builders fall back to the first image on the page, which might be a logo or a cropped photo.
Set the settings in the builder
Names differ between tools, but the workflow is the same.
- Open the settings for this page, not the site-wide settings. Site-wide defaults apply to every page that doesn't override them.
- Fill in the SEO title and meta description.
- Fill in the social title, description, and image. If the builder has a "same as SEO" option, switch it off only when you want different wording for social.
- Decide on search indexing. If the page is only for paid or email traffic and you don't want it in search results, turn on the "hide from search engines" option. The builder adds a
noindextag. Leave indexing on if you want organic traffic. - Publish, then test (see below). Preview panels in the editor often don't match what a platform shows.
Test the previews
Platforms fetch your page with a crawler and then cache the result. You must test the live, published URL.
- Paste the link into a private chat or a draft post on each platform you will use. Many platforms also offer a sharing debugger tool where you enter a URL and see the parsed tags.
- Check that the title, description, and image all appear and nothing is cut off.
- Check the link on a phone, since chat apps render cards differently from desktop.
Common errors
| Symptom | Likely cause | Fix |
|---|---|---|
| Old title or image still appears after an edit | The platform cached the first fetch | Use the platform's debugger to re-fetch the URL, or wait for the cache to expire |
| No image in the preview | Image URL is relative, blocked, behind a login, or too large | Use an absolute public HTTPS URL and a smaller file |
| Wrong image appears | The builder picked the first image on the page | Set the share image explicitly |
| Snippet shows a different description | The search engine rewrote it | Make the page body match the description's message |
| Page is missing from search | `noindex` is on, or it isn't published or crawled yet | Check the indexing setting and wait for crawling |
| Tab and preview show "Untitled" or the site name | The page-level title is empty and the site default is used | Fill in the page's own title |
| Preview shows the staging address | `og:url` points to a test domain | Update it to the final address after you connect the domain |
Keep in mind that tracking parameters change the shared URL. A link with ?utm_source=... is the same page, but some platforms cache previews per full URL. Set og:url to the clean address without parameters so every variant points to one canonical page, and test at least one tagged link as well.
A pre-launch checklist for this chapter
- The title and description match the offer and headline.
- The share image is about 1200 × 630, public, and loads over HTTPS.
og:urluses the final domain and no UTM parameters.- Indexing is set deliberately, either on or off.
- You tested the published link on at least two platforms and one phone.
Exercise
You changed the share image on your published landing page, but a chat app still shows the old image when you paste the link. The new image URL is correct in the builder. What is the most likely cause, and what do you do?
Show answer
The platform cached the result of its first fetch. Re-fetch the URL with the platform's sharing debugger tool, or wait for the cache to expire. Then paste the link again to confirm. Also confirm that the page was republished, since editor changes don't show until then.
Exercise
Your og:image is set to /images/spring-sale-share.jpg, and no image appears in shared previews. Rewrite the tag so it is likely to work, assuming the site is at www.example.com.
Show answer
Use an absolute public HTTPS address: <meta property="og:image" content="https://www.example.com/images/spring-sale-share.jpg">. Crawlers need the full URL because they read the tag without the page's context.