Personalizing the homepage based on customer groups

pratiksha.lihinar
pratiksha.lihinar Posts: 5 🧑🏻‍🚀 - Cadet

Hi everyone,
I'm working on personalizing the homepage based on customer groups using the CMS, but I'm running into a challenge. Specifically, I'm trying to get the customer group data and use it to conditionally render content in the CMS templates. What would be the best approach to pass the customer group data and match it within the CMS for personalization? Are there any alternative approaches or best practices that anyone has used for this scenario?

Answers

  • profuel
    profuel SSA Sprykee Posts: 76 🪐 - Explorer

    Never tried anything similar before, @pratiksha.lihinar

    My idea would be to create a new relation CMS block → customer group, and then for each customer you either take the related blocks or default ones, if none were assigned.