How to add Open Graph and Twitter Card metadata and optimize images for social media

Using Open Graph and Twitter Card metadata enhances links when they're shared on social networks, and optimizing Open Graph and Twitter Card images can increase engagement and referral traffic.

Open Graph (OG) and Twitter Card (TC) metadata provides content marketers the ability to control how links appear when they’re shared on social networks. A key component to the metadata is the image. Without it, link previews are small and indistinct.

Twitter Card without image

There are several benefits to having OG and TC images. Those benefits include:

This guide walks you through adding OG and TC metadata to your site, OG and TC image best practices, and how to optimize those images for increased engagement.

Table of contents

Become a member to read the full article or sign in

The Pro Member subscription is $9/mo (billed quarterly)