OG Meta Tags Override Issue in App Embed (No Theme Access)

Shopify Support Team,

We have built a Shopify Partner App that allows merchants to configure Social Title, Social Description, and Social Image (Open Graph meta tags) for better SEO and social sharing.

Problem We Are Facing

Our app is implemented as an App Embed. Because of this:

  • We do not have access to theme.liquid

  • The theme already outputs default Open Graph meta tags

  • Our app injects custom OG meta tags, but they are rendered after the theme’s default tags

Example:

<!-- Theme default -->
<meta property="og:image" content="default_theme_image.jpg">

<!-- App embed injected -->
<meta property="og:image" content="custom_app_image.jpg">

Issue

When social platforms like Facebook, WhatsApp, Twitter, LinkedIn scrape the page:

  • They always pick the first OG tag

  • Which means the theme’s default OG image/title/description is used

  • Our custom OG tags are ignored

Constraints

  • We cannot remove or modify theme OG tags

  • We cannot inject tags before the theme tags

  • Merchants may not want to edit their theme manually

  • Facebook/Twitter scrapers do not respect multiple OG tags

What We Want to Know

Is there any official or recommended way to:

  1. Override theme OG meta tags from an App Embed

  2. Inject OG meta tags with higher priority

  3. Programmatically disable or replace theme OG tags

  4. Use Shopify APIs or new extensions to control social meta tags

  5. Any upcoming Shopify feature or best practice for this scenario

Current Understanding

From our research, it seems that:

  • Social crawlers always read the first OG tag

  • App embeds cannot control tag order

  • This makes SEO/social preview customization impossible without theme access

If this is a known limitation, we would appreciate an official confirmation so we can guide merchants correctly.


Why This Matters

Many apps (SEO, social sharing, landing pages, campaigns) rely on dynamic OG meta tags.
Without a solution, app embeds are technically restricted from providing this functionality.

Note:
For og:image, social scrapers always select the first tag in the HTML, and since App Embed meta tags are injected after the theme output, the theme’s default image always takes precedence.
At present, App Embeds have no supported way to override or replace the theme’s og:image without direct theme access.

Hi @Simplileap_Digital_L

Is your app on the Shopify App Store. This could be possible to achieve if your app uses the themeFilesUpsert mutation, which is part of the Admin API, instead of using an app embed. However you’ll need to apply for an exemption to use this mutation if your app is on the app store.

Is your app on the Shopify App Store
—> Our app is still under development.

can we apply for an exemption for under development app?

You should be able to still apply for an exemption - but getting approved is not guaranteed.