Dynamic CTA based on Blog Category

Hi All - working with a blog that has B2C & B2B CTAs - but want to dynamically show CTAs depending on the category of the blog post. These CTAs are images / text in a right hand column. How can I build 2 CTAs (1 for B2C - and show it when the category type is B2C and a different one for B2B when the category type is B2B) ?

Thanks in advance.

The easiest way is by using conditional visibility, you create statically both CTA and dynamically show/hide those with conditional visibility