Skip to main content

Smart Context Contextualizing

Filter according to several tags

I only want to display questions / answers that are associated with the following tags: tag-1, tag-2.

filters: {
thematics: [],
tags: [
"tag-1",
"tag-2"
]
}

Filter according to several categories

I only want to display questions / answers that are associated with the following categories: category-1, category-2.

filters: {
thematics: [
"category-1",
"category-2"
],
tags: []
}

Filter according to a tag and a category

I only want to display questions / answers that are associated with both the category category-1 AND the tag tag-1.

filters: {
thematics: [
"category-1"
],
tags: [
"tag-1"
]
}

Customize the content with customVariables and HTML

I want the customVariables named brand and persona that I have configured from my Back-Office V2 to take the following data as their value:

customVariables: {
brand: "<a href='https://www.domain.com' target='_blank'><span class='demo'>Brand Name</span></a>",
persona:"<b>Individuals</b>",
},