BUILDER

Resources

×

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

Home

Forum

Blog

Github

Login

Signup

This page was made in Builder!

Targeting and Scheduling content

Learn how to use target and schedule content in Builder.io with the short video below!

Targeting and scheduling content is useful if you have a live page or draft that you want to make more versions of. You can set your pages to go live at future dates and times automatically or make specific pages for different types of visitors, devices, or locations. Below we will go over:

Duplicating pages

To duplicated an existing page, click the three dots in the upper right hand corner and select duplicate. Once you create changes to this new home page and publish it, it will replace your old home page as the live page.

Scheduling content

If you don’t want your page to go live right away, you can choose a date and time you would like it to go live at the top of the editor. Once you have a date and time selected, you can publish your page. It won’t go live until the date and time you selected occurs. If this is a page that you only want up for a certain time period, you can also give your page an end date. Once this time period is over, your default homepage will be displayed.

Page priority & rearranging

Builder lists your pages by priority. Below you will see our three home pages. Builder will go through these pages to see which one should be displayed. Since our two new home pages have a future date and time set, Builder will display our default home page for now. It’s always good to have a default page in case there is a laps in time. You can rearrange the page priorities. Now, whichever home page you have on top will override the pages below it, unless you add an end date. To make it easier to view certain versions of your pages, you can use the filter at the top and filter by url path.


Targeting

Now we will add some targeting. You can add targeting for different things. For example, you could add targeting for mobile devices if you want a different version of a page when a user is on a mobile device. You don’t need to add targeting if you only want to change styling, you can do this on the original page. Targeting is great if you want a totally different layout/content for a page.

Custom targeting

Lastly, you can use custom targeting on most of the paid plans. If you go to builder.io/account/organization and click “custom targeting”, you can define custom parameters you want to target off of. Once you save your custom target, you can go back to your page and start targeting off of this. This is useful if you want different page views based on if a user is logged in, a certain locale is met, etc.

You can then pass user info to target off of to any of our APIs and SDKs

HTML API

Javascript

curl https://cdn.builder.io/api/v1/html/page?userAttributes.customTargetKey=customTargetValue
View the full docs

Up next

Dynamic templates
Was this article helpful?