Made in Builder

Made in Builder

×

Developers

Product

Use Cases

Pricing

Developers

Resources

Company

Get StartedLogin

Product

Features

Integrations

Talk to an Expert

Pricing

Blog

Home

Resources

Blog

Forum

Github

Login

Signup

×

Visual CMS

Drag-and-drop visual editor and headless CMS for any tech stack

Theme Studio for Shopify

Build and optimize your Shopify-hosted storefront, no coding required

Resources

Blog

Get StartedLogin

SEO Optimizing Builder Content

Builder.io is a great tool for SEO optimizing your site. To ensure you take best possible advantage of SEO with Builder.io content, follow the tips below!

Setting page metadata

The most important thing you should do is ensure you set page metadata like the page title. To do this, you can create custom fields for any attributes worth passing through to your pages

Creating custom fields

Most page models by default have a title field. To create your own, or make a new field for SEO metadata, head over to the /models page, select the relevent model (e.g. your page model) and create a new custom field for it. For this example we'll create a text field called title

Setting custom field values in content

When creating content instances for models with custom fields, you can add values for each field from the options tab. Fields marked as required must be filled in in order to publish the content

Rendering the custom fields into your pages

Now, most importantly, you can render these fields into your pages however you need. Take a look at the examples below for implementations of our new title field

HTML API

Next.js

Gatsby

View the full example code

Dynamic Values

Sometimes you'll need to reference dynamic values in your SEO tags, for example: product prices, simplest way to accomplish this is using custom fields on the content to reference your product data dynamically (our plugin system allows you to integrate your data from external resources), by having a reference to your external product instead of a hardcoded product price you’ll be able to see the price updates propagate through out Builder content without the need for manually bulk edit content (which is possible using our Write API) , as long as you make sure you’re always fetching the most recent product information when rendering Builder content (by looking at the product referenced in Builder’s content custom field)

HTML API

Next.js

Gatsby

Extend, extend!

The most important part of using custom fields are you can use them for so many use cases! Try making file fields for meta tags like og:image, or boolean fields for flagging which pages should be crawled vs no-crawl'd using the meta robots tag.

Up next

Custom models


Need Expert help?

Submit a project to our partners, BuildQuick, and be matched with a Builder expert.

Submit a project

Was this article helpful?