Im currently working on a project that exists of CMS solution and a frontend solution (SPA). We do not have any kind of serverside rendering - its completely headless, so everything is based on calls to the Content Delivery API.
Right now I am looking at visitorgroups and personalized content depending on wether the user is logged in (third-party auth) or not.
As standard its pretty straight forward to get it working with recieving data from Content Delivery API, but I couldnt really found an example or documentation on how to call a specific version of a page for a certain visitorgroup.
Example:
When user visits a specific page in frontend solution, we are taking the friendly url param and use it to call content delivery api: https://myepiserver.com/demo-page
and recieve this object. Inside respons below we have a mainContentArea where we take all the blocks created inside it and render them in our frontend solution where blocks corresponding to our components in frontend.
Hi there.
Im currently working on a project that exists of CMS solution and a frontend solution (SPA). We do not have any kind of serverside rendering - its completely headless, so everything is based on calls to the Content Delivery API.
Right now I am looking at visitorgroups and personalized content depending on wether the user is logged in (third-party auth) or not.
As standard its pretty straight forward to get it working with recieving data from Content Delivery API, but I couldnt really found an example or documentation on how to call a specific version of a page for a certain visitorgroup.
Example:
When user visits a specific page in frontend solution, we are taking the friendly url param and use it to call content delivery api: https://myepiserver.com/demo-page
and recieve this object. Inside respons below we have a mainContentArea where we take all the blocks created inside it and render them in our frontend solution where blocks corresponding to our components in frontend.
What we want to achieve from here is to know if this demo-page has other versions/blocks for different visitorgroups.
Anyone out there?