Specifying Open Graph meta tags is essential for controlling how content appears when shared on social media, ensuring it looks attractive and accurately represents the page's content to drive engagement.
Published on 2024-03-03 by Dmytro Krasun
The Open Graph protocol allows web pages to become rich objects in a social graph, enabling any web page to have the same functionality as any other object on social media platforms like Facebook, LinkedIn, and Twitter.
It works by allowing web pages to include specific metadata tags in the HTML that can influence how the page is represented when shared or liked on social platforms.
The minimum required Open Graph tags that must be specified are:
og:title
is the title of your article or page.og:type
is the type of your content (e.g., article, website).og:image
is an image URL which should represent your content.og:url
is the canonical URL of your page or article.Check out an example of how Shipixen uses meta tags in the HTML:
These tags help ensure that when a link to your site is shared on social media, it displays with a title, image, and description that accurately represent the content of the link.
On social media the resulting image of Shipixen looks like:
Using Open Graph meta tags can improve user engagement and click-through rates. Make sure you don’t miss on that opportunity and check our Open Graph examples for inspiration.
Answers to the questions people often ask about the Open Graph protocol and Open Graph social cards.