Need help? You’ve come to the right place

What’s New Getting Started Building Integrating Publishing

Edit the preview of your landing page or site on social media

Last Updated

Oftentimes when you are sharing a URL on Facebook, Twitter, and LinkedIn, the preview may appear different than you'd expect. It's often due to a caching of a previous version of that URL by social networks. This article will walk you through how to add Open Graph tags to your page or site so you can have more control over your preview.

NOTE: If you're publishing a page via HTML export, Open Graph tags must be added manually to the HTML code of your page. The directions below will not apply.

Step 1: Editing the preview in Leadpages

Open Graph Tags

The Open Graph protocol creates a way for pages to deliver content that can be added to a social graph. Facebook, LinkedIn, and other platforms use this information to generate previews of pages that match other types of content (such as posts, stories, etc.).

This is done by adding meta tags to the <head> section of any web page.

Drag & Drop Builder

Our Drag & Drop Builder includes the option to easily customize the information Facebook uses to generate a preview when you (or one of your customers) posts your page or site to their Timeline. As a bonus, other social media sites can often use this information as well (such as Twitter).

Below, you can find the steps needed to customize the information for social sharing on your pages and sites in our Drag & Drop Builder.

Open the Tracking settings for your page or site, and choose Facebook.

Fill out the information you’d like to appear in your Facebook sharing preview, then click “Save.”

You can enter the title, description, and upload a photo that will appear in your Facebook share preview. To learn more about each setting, you can mouse over the question mark icon.

PLEASE NOTE: Images must be 200px × 200px at a minimum to be used for the Facebook preview. For best results, it's recommended that your image is at least 600px × 315px.

Advanced Options

While it's completely optional, there may be certain cases in which you'd like to add additional information for Facebook to use, such as the type of content you're sharing. If you're familiar with Open Graph tags and would like to add more to your page or site, you can do so in the Tracking Code head-tag section, as shown here:

NOTE: After saving these changes and clicking Update or Publish within Leadpages, you must run the URL of your page or site through Facebook's Debugger. Learn more. ↘

Standard (Legacy) Builder

In our Legacy Builder, you'll need to edit the Open Graph tags yourself, then paste them into the tracking section of your Standard landing page.

The Code

The basic tags you can use are:

<meta property="og:url" content="Your Leadpages URL"/>
<meta property="og:title" content="The title of your page"/>
<meta property="og:image" content="URL of the image you'd like to use"/>
<meta property="og:description" content="Your description"/>
<meta property="og:type" content="website"/>

Once you create the code follow these steps: 

Add the code to your landing page

Once you have edited the code accordingly you can copy it and place in the Tracking Code section of your landing page.

Add the code to your LeadPage

Paste the code in the Head-Tag Tracking Code section.

Paste code in the Head-Tag Tracking Code section

Click Done and Save

Click Done and Save

For a full reference of object properties that Facebook supports, please see:

For more information about Open Graph tags—and for a list of other tags you can include—visit

Step 2: Run URL through the Facebook Debugger tool

You can access Facebook’s Debugger here: Once there, paste in the URL for your page or site and click Debug.

Make sure to click Scrape Again in order to fetch your new preview information from Leadpages.

You should then see your a preview of what users will see when sharing your page or site on Facebook, as shown below.

That’s it! Your preview should now reflect the information you've customized for your page or site.

PLEASE NOTE: While customizing the information that Facebook should use is possible, the preview is ultimately generated by Facebook and we cannot guarantee that you'll be able to fully control your Facebook preview. If you run into issues or have further questions, please check out Facebook's documentation on sharing here:

LinkedIn Caching

Content shared on LinkedIn is cached by LinkedIn’s servers for about seven days, so a new preview won’t be generated right away when you update meta tags for LinkedIn. However, there are a couple of steps you can take to try and update your preview immediately.

LinkedIn has its own debugger of sorts called the Post Inspector. Paste your URL here, then click Inspect and your LinkedIn preview should reflect your updates.

You'll want to refresh LinkedIn within your browser before posting your link.

If using the inspector doesn't work, you can alter the URL by adding a query parameter, and LinkedIn should treat the link as a new source.

For example, if your page or site’s URL looks like this… 

…you can change it to something like

Sharing the modified URL should ensure LinkedIn uses any new meta tags you’ve added.


Twitter uses different meta tags called Twitter Cards. These cards can also be added to the tracking code section of your page or site along with the Open Graph tags. For more information and instructions for Twitter Cards please visit:

Mobile messengers

When sharing a link to a URL via text message, most smart phones will pull in a preview image of the page or site. This is true of Leadpages and by simply editing the Facebook preview and updating your page or site as indicated above, mobile messengers (i.e. iMessage, Android Messages) will share the correct preview image you've selected.

Need more help?

You can always get in touch with our support team—just click help_circle in the top-right corner of your Leadpages dashboard, or submit a ticket ↗

Was this article helpful?
Powered by Zendesk