Through our SEO Agency Optimize 360
What is the Open Graph Protocol?
Le Open Graph protocolor simply OG, is a technology developed by Facebook to optimise the way in which the content of a web page is presented when it is shared on social networks.
This optimisation method involves adding meta tags in the page source code to improve the visibility and appearance of publications.
When a user shares a web page on a social network such as Facebook, Twitter or Pinterestthe platform retrieves certain information from the site to generate a preview of the publication. This preview generally includes :
To control this information when a page is shared, the Open Graph protocol uses specific meta tags added to the document header HTML. These tags enable social networks to understand what data to display in the publication preview to offer their users a better experience.
The OG protocol offers several tags that can be used to personalise the display of your content on social networks:
Here is an example of source code incorporating a few Open Graph tags for an article page:
< !DOCTYPE html> <html> <head> <meta property="og :title" content="Titre de l'article" /> <meta property="og :description" content="Un résumé de l'article pour donner envie aux utilisateurs des réseaux sociaux de cliquer." /> <metahttps://www.mon-site.com/images/mon-image.jpg" /> <meta property="og :type" content="article" /> <meta property="og :url" content="https://www.mon-site.com/articles/titre-de-l-article" /> <meta property="og :locale" content="fr_FR" /> <meta property="og :site_name" content="Le nom de mon site Web" /> </head> ... </html>
By controlling the information displayed when a web page is shared, OG helps to ensure that your content is valued on social networks. Publications accompanied by a nice preview (eye-catching title, description and image) are more likely to be noticed and generate more clicks and engagement.
With the option of adding a clear, eye-catching description of the content in the og :descriptionThis way, users will know exactly what to expect when they click on your link. This reduces the likelihood of accidental clicks and, therefore, reduces the bounce rate.
The use of OG meta tags ensures that your content is correctly linked to the preview published on a social network, allowing users to identify you and easily access your website to find out more and share more.
Although initially designed by Facebook, OG tags are also recognised by other social networks such as Twitter and LinkedIn. However, some platforms have their own meta tags (such as Twitter Cards), so it is advisable to integrate both Open Graph tags and those specific to each network to optimise the reach and engagement of your publications.
To ensure that Open Graph tags are correctly applied to your website, you can use various tools offered by the social networks themselves, such as Facebook's "Sharing Debugger" or Twitter's "Card Validator". These tools allow you to check whether the tags can be retrieved correctly, as well as previewing the appearance of your publications on different platforms.
Finally, several plugins and extensions for CMS (Content Management System) such as WordPress and Joomla offer to automatically add Open Graph tags to pages to make them easier to integrate and manage.
With the Open Graph protocol, optimising your content for successful sharing on social networks is now as easy as 1-2-3. Adopt this method of improving the visibility of your web pages now and put all the chances on your side to generate more traffic and engagement on your site.
To provide the best experiences, we and our partners use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us and our partners to process personal data such as browsing behavior or unique IDs on this site and show (non-) personalized ads. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Click below to consent to the above or make granular choices. Your choices will be applied to this site only. You can change your settings at any time, including withdrawing your consent, by using the toggles on the Cookie Policy, or by clicking on the manage consent button at the bottom of the screen.