Dynamic meta tags with Wix Velo: per-page titles and descriptions from database data

Module 66: Wix Velo & Dev Mode: Advanced SEO for Developers | Lesson 673 of 687 | 35 min read

By Michael Andrews, Wix SEO Expert UK

Dynamic pages in Wix — pages powered by database collections such as product pages, blog posts, service listings, or directory entries — are SEO goldmines when their meta tags are correctly configured. Without Velo, every dynamic page shares the same static meta title and description template. With Velo, you can generate unique, keyword-rich meta titles and descriptions for every individual dynamic page based on the data in your collection. This lesson walks through the complete implementation.

Why Static Meta Tag Templates Are an SEO Problem

When you have 200 dynamic pages all using the same meta title template like "Product Name | Your Site", Google sees 200 pages with very similar title structures. While the product name varies, the template-driven approach often produces titles that are either too generic or too long. Worse, the meta description is typically identical across all pages if you have not set up dynamic meta descriptions. Duplicate meta tags signal low content quality and result in lower click-through rates.

Setting Up Dynamic Meta Tags with the wix-seo API

Wix Velo provides the wix-seo module which includes methods for programmatically setting page title, meta description, Open Graph tags, and other SEO properties. The key function is wixSeo.setLinks() and wixSeo.setMetaTags() which can be called from a page's onReady function using data loaded from the connected collection.

// Page code for a Wix dynamic product page
// Place this in the page's .js file in Velo Dev Mode
import wixData from 'wix-data';
import { setTitle, setMetaTags } from 'wix-seo';

$w.onReady(async function () {
  // Get the current dynamic page item
  const item = await wixData.getCurrentItem();

  if (item) {
    // Set dynamic title tag
    setTitle(`${item.title} | Buy Online | Your Shop Name`);

    // Set dynamic meta description
    setMetaTags([
      {
        name: 'description',
        content: `${item.shortDescription} Shop ${item.title} with free delivery. In stock now.`
      }
    ]);
  }
});

Designing Your Meta Tag Templates in Velo

Full implementation workflow for dynamic meta tags on Wix

How to Create Dynamic Meta Tags with Wix Velo for CMS Pages

Dynamic meta tags ensure every page in your Wix database collection has unique, keyword-rich titles and descriptions rather than sharing a generic template.

Full implementation guide for dynamic meta tags on Wix CMS collection pages using Velo

Collection Field Preparation: Before writing your Velo meta tag code, add a dedicated "SEO Description" field to your Wix database collection. This allows your team to write custom meta descriptions for each item without requiring code changes. Your Velo code can then prioritise this field if populated, falling back to an auto-generated description from the item's main content fields.

This lesson on Dynamic meta tags with Wix Velo: per-page titles and descriptions from database data is part of Module 66: Wix Velo & Dev Mode: Advanced SEO for Developers in The Most Comprehensive Complete Wix SEO Course in the World (2026 Edition). Created by Michael Andrews, the UK's No.1 Wix SEO Expert with 14 years of hands-on experience, 750+ completed Wix SEO projects and 425+ verified five-star reviews.