Hosted site builder
Add automatic Open Graph images to Squarespace pages with page header code injection and MyOG.social.
Squarespace supports site-wide and page-specific code injection. For OG images, page-specific header injection is usually the safer option because MyOG needs the current page URL.
Use a literal page URL when adding MyOG to a landing page, service page, or guide. Blog and store collections may need a different approach if individual item header injection is unavailable in your template.
A Squarespace extension is not the right first step for this use case; the marketplace is mostly external service integrations, while head metadata is easiest to document as setup guidance.
MyOG detects page content and branding automatically. The layout only controls image composition.
Use a page-specific absolute URL in the MyOG url parameter.
<meta property="og:image" content="https://api.myog.social/og?url=https%3A%2F%2Fexample.com%2Fservices&template=screenshot-right" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image" content="https://api.myog.social/og?url=https%3A%2F%2Fexample.com%2Fservices&template=screenshot-right" />Replace the example URL with the encoded URL of that exact Squarespace page.
Squarespace can emit social sharing images from page or site settings. If a native og:image remains before the MyOG tag, crawlers may ignore MyOG. Clear the social image for pages using MyOG, or use MyOG only on pages with no native image.
For normal pages, use the page's literal public URL. For blog posts, products, and portfolio items, confirm whether your Squarespace template exposes item-level header injection before promising automatic coverage.
Start with the MyOG Open Graph Checker, then refresh social platform caches if needed.
Sign up for free and give key Squarespace pages stronger social previews.
Already have an account?
cdf733b534ea2f2ed964d150330b323c44837e4f