Skip to main content

Smart Push Contextualizing

Filter according to several tags (AND operator)

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

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

Filter according to several tags (OR operator)

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

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

You can't use tags and tagsOr at the same time.

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>"
}

Customize the content with customResponses depends on a tag

I want to display the whole knowledge base questions (no filter) and if I have custom responses then it will display the ones that are identified by faq-prospect.

customResponses: ['faq-prospect-24'],