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:
-
Override theme OG meta tags from an App Embed
-
Inject OG meta tags with higher priority
-
Programmatically disable or replace theme OG tags
-
Use Shopify APIs or new extensions to control social meta tags
-
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.