How to fix missing og title on Adobe Commerce (Magento)

Add an og:title meta tag to every page so your store looks great when shared on Facebook, Pinterest, LinkedIn, and other social platforms.

Steps for Adobe Commerce (Magento)

  1. From the Admin panel, go to Content → Configuration → select your store view → Edit.
  2. Under 'HTML Head', confirm the Default Page Title is set — this feeds the base title but does NOT automatically create og:title.
  3. To add og:title sitewide, the recommended approach is to use an extension such as 'MagePlaza SEO' or 'Amasty SEO Toolkit' (available on the Adobe Commerce Marketplace) which will automatically generate og:title from product/category/page titles for all page types.
  4. If adding manually via theme: edit your theme's layout XML file (e.g. app/design/frontend/Vendor/theme/Magento_Theme/layout/default_head_blocks.xml) or override the head.phtml template to inject: <meta property="og:title" content="<?= $block->getTitle() ?>" />
  5. For product pages specifically, override Magento_Catalog/templates/product/view.phtml or use a layout XML update targeting catalog_product_view to inject the og:title with the product name variable.
  6. Clear the Magento cache (System → Cache Management → Flush Cache Storage) after changes, then validate with the Facebook Sharing Debugger.
Official Adobe Commerce (Magento) documentation ↗
<meta property="og:title" content="Your Product or Page Title Here" />

What is missing og title?

The og:title tag is a small piece of HTML code placed in the &lt;head&gt; of your page that tells social media platforms — Facebook, Pinterest, LinkedIn, WhatsApp, iMessage, Slack, and others — what title to display when someone shares a link to your store. It is part of the Open Graph protocol, a standard created by Facebook and now used across virtually every major platform. Without it, social networks either guess a title by scraping your page (often pulling something ugly or irrelevant) or display nothing at all. Think of it as the headline on the "preview card" that appears every time your URL is shared.

When a customer or influencer shares a product link and the preview card shows a garbled or missing title, shoppers are far less likely to click — directly costing you traffic and sales from social referrals. Pinterest in particular drives significant ecommerce revenue, and it relies heavily on Open Graph tags to build Rich Pins; missing og:title can disqualify your products from Rich Pin eligibility entirely. While og:title is not a direct Google ranking factor, a compelling social preview increases click-through rates and referral traffic, both of which positively influence organic visibility over time. Fixing this is a quick, low-effort change that immediately improves every share of your store across every social channel.

See the complete Missing og title guide for every platform and the full background.

Not sure if your Adobe Commerce (Magento) store has this?

Run a free SEOLZ audit — we’ll find missing og title and every other issue across your whole site.

Scan my site free

Fix missing og title on another platform