Customize your Social Media Post with Titles, Photos, and Descriptions


Do you want to share your landing pages on Facebook, Twitter, or LinkedIn, or improve how your pages appear in search engines? Then you'll want to include additional metadata to your landing pages - such as a page title, social sharing image, description, and more! 

Here is an example of a page without metadata (also known as a meta tag), and another with beneficial metadata: 

Meta tag example of two Facebook posts - one with meta tags, and one without - side by side.

This article will explain adding or updating meta tags in Classic Builder. 

To add meta tags in Smart Builder, see this article: Updating Page Settings & Metadata in Smart Builder

Adding Meta Tags in the Classic Builder

To update the appearance of your social media posts while building your landing page in the Classic Builder, you can install Open Graph Tags.

Open Graph Tags help you customize how your landing page appears on the web via snippets of custom code. 

  1. Find an image that you'd like to use for your share post. You'll want to upload the image to a free external image hosting service, such as Amazon Web Services (AWS). See our article for more details about image hosting
  2. Take note and save the image URL from whichever hosting service you use, as well as the image dimensions (width and height in pixels). 


    Your image should be at least 600 x 315 pixels – but if you can, try to use images that are 1200 x 630 pixels for the best display across most social networks on high-resolution devices.

  3. Navigate to your page in the Classic Builder.
  4. Click the Javascripts javascriptsbutton.png button in the bottom left corner.
  5. Click +Add new Javascript to create an empty dialog box.
  6. Copy & paste the following code into the Javascripts dialog box, and update the bolded values in the code with your Open Graph tag details: 

    <meta property="og:title" content="The name of your page goes here." />
    <meta property="og:url" content="The url of your page goes here (for instance:"/>
    <meta property="og:type" content="website" />
    <meta property="og:image" content="The url where you’re hosting the image you want to use goes here (For instance:" />
    <meta property="og:image:width" content="400 (add the width dimension of your image here)" />
    <meta property="og:image:height" content="300 (add the height dimension of your image here)" />
    <meta property="og:description" content="Your social media message goes here. (For instance: Check out my awesome Unbounce landing page!)" />

  7. Name your script and set the placement to the Head.
  8. Click the Done button to save your Open Graph tag script.
  9. Save and Republish your page.

You're all set; you can now share your fully customized social media post to the platform of your choice!


Though you must add this code within the Javascript section of the Unbounce builder, avoid wrapping the code with script tags (<script> or </script>); this can impact how social media sites crawl your page & search for these tags.  

Refreshing your Meta Tag Cache

If you've shared your landing page on a social site before adding any meta tags, you'll need to request that these sites clear the preview cache of your page (i.e., display the most up-to-date version of your page).

For example, within Facebook, you can refresh your landing page via the Debugging Tool.

Input the URL of your published page into the debugger and choose Fetch New Scrape Information. If the new information doesn't appear in Facebook's debugger right away, wait 20-30 minutes and try again.

The same steps apply to LinkedIn or Twitter. Here are some tools that will help clear the cache on your pages.