You can add an open graph tag to the head HTML of your website page or landing page to ensure your content displays the way you want on other sites, such as social media platforms. Open graph meta tags are included on images in your HubSpot blog posts automatically.
To add an open graph meta tag to an image on a landing page or website page, add this code snippet to the head HTML of your page:
Twitter Cardsrequire anadditional meta tagto display preview content from your page. To optimize the way your content displays when shared on Twitter, add the following code snippet to the head HTML of your page: