Wix's default social images are generic. Use Wix Velo and Imago API to generate branded previews for every page.
Start Generating FreeJavaScript integration on Wix with full control.
Works with CMS collection pages and dynamic content.
Use wix-seo module for seamless SEO integration.
Add this snippet to your Wix Velo code:
// Wix Velo — Add to Page Code or site-wide masterPage.js
import wixSeo from 'wix-seo';
$w.onReady(async function () {
// Get the current page title
const seoData = await wixSeo.getStructuredData();
const pageTitle = seoData?.title || document.title;
const ogUrl = `https://imagoapi.com/api/og/generate?title=${encodeURIComponent(pageTitle)}&template=modern&api_key=YOUR_IMAGO_KEY`;
// Set og:image via Wix SEO API
wixSeo.setLinks([
// For CMS pages, use Wix's Dynamic SEO Tags feature in the dataset
]);
// For static pages: paste the Imago API URL directly in
// Page SEO Settings > Social Share > Image URL
});
Join thousands of Wix sites using Imago API for stunning OG images.
Start Free Trial