By default, Builder pages offer a graphical UI for Search Engine Optimization (SEO). To take the best possible advantage of SEO with Builder.io content, make sure you provide metadata for search engines.
Page metadata is the data about your page that search engines use to display information in search results. For any page you publish, make sure that you include, at the very least, a title and description for your page.
The built-in Page model in Builder includes title and description fields by default. To specify a title and description on a page content entry made using the default Builder Page model:
- Go to Content.
- Click on the page to open it in the Visual Editor.
- In the Options tab, expand the section titled Docs Content Fields.
- Enter the title and description for your page.
The following video demonstrates filling out the title and description metadata in a page created with the default page model in Builder:
To add additional fields to your page model, see the Adding custom fields to a model section of Custom Fields.
After you've created custom fields, you can render these fields into your pages as needed. Consider the examples below for implementations of a title
field:
To reference dynamic values in your SEO tags, you can use custom fields on the content. As an example, consider dynamically referencing product prices.
By referencing your external product through custom fields instead of hardcoding product prices, price updates propagate throughout your Builder content without the need for manually bulk editing content.
For more information, see the Write API documentation and Intro to Plugins.
Tip: Other possibilities for custom fields for SEO include making file
fields for meta
tags such as og:image
or boolean fields for flagging which pages should be crawled or not crawled using the meta robots
tag.
Builder doesn't use iframes or canvases when rendering content with the Builder SDK on your site.
In this way, what you create in Builder is as optimized as the code your developers write.
For more details, see Custom Fields.
Looking to hire a third party to help with your project?
Submit a project request and our partnerships team will reach out to connect you with an Expert from our partner ecosystem.