How to Add OG Tags in Marketo | Community
Skip to main content
NiharikaGoyal
Level 3
May 20, 2025
New

How to Add OG Tags in Marketo

  • May 20, 2025
  • 1 reply
  • 401 views

When building landing pages in Marketo, we often focus on elements like the form, content, and design — but one crucial aspect is often overlooked: Meta Open Graph (OG) tags.

These tags play a silent yet powerful role in how your landing page is displayed when shared on platforms like LinkedIn, Facebook, or Slack.

 

What Are Open Graph Tags?

 

Open Graph (OG) tags are small snippets of metadata that go into the <head> section of your page's HTML. They control how your content appears when shared on social media — ensuring your link previews show the right title, description, image, and URL.

 

 Without OG Tags, Your Shared Links Might:

  • An outdated or irrelevant image

  • A vague or incorrect title

  • Missing or unoptimized description

  • No branding or keyword context

Since Marketo doesn’t automatically inject OG tags into landing pages, so you’ll need to manually add them to your Landing Page Template or through a Custom HTML block in the page.

Here is the basic example:

<head>
<meta property="og:title" content="Title of Page" />
<meta property="og:description" content="Add Description about Page" />
<meta property="og:image" content="Main Image URL of Page" />
<meta property="og:url" content="Page URL" />
<meta property="og:type" content="website" />
</head>

Adding these tags helps ensure your landing pages are visually aligned with your brand and perform better when shared on social platforms.

 

Hope this helps you make your Marketo pages more social-friendly and on-brand!

1 reply

Level 2
June 25, 2025

Very informative