Dynamic pages with builder

Hey,

I am using builder.io with my next.js project to create a dynamic landing page that supports an unlimited number of paths based on a CMS data model.

  1. In my next.js app, I have created folder-based routing for the following path - landingPage/[stateName]/[cityName].

  2. My builder page targets all paths that start with ‘/landingPage’.

  3. In the custom JS on my builder page, we fetch the correct content based on the stateName and cityName, which is saved as a CMS data model.

Is it possible to create different page variations by targeting a specific list of states/cities for each variation?

Hi @yuval222, Could you please share a content entry link and also more details or an example of variations to understand this use case better?