Skip to content

Commit 3b634ee

Browse files
mnoconadriendupuis
andauthored
Added an example for Targeting block (#403)
* Added an example fro Targeting block * Audience -> Segment * Apply suggestions from code review Co-authored-by: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> * Apply suggestion from @mnocon --------- Co-authored-by: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com>
1 parent 6abcf2c commit 3b634ee

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

docs/content_management/block_reference.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ On the **Properties** tab, set values in the following fields:
264264
- **Name** – Enter a name for the page block.
265265
- **Product list** — Create a list of products. Either enter a comma-separated list of product codes and click **Add**, or click **Select products**, select products, and click **Confirm**.
266266

267-
## Product embed
267+
### Product embed
268268

269269
Presents a single product, allowing you to highlight its key features.
270270
On the **Properties** tab, set values in the following fields:
@@ -341,6 +341,17 @@ On the **Properties** tab, set values in the following fields:
341341

342342
The rules are checked in order, so when a user belongs to more than one segment, the first rule applies.
343343

344+
For example, consider the following configuration:
345+
346+
| Segment | Content displayed |
347+
|-----------|-------------------|
348+
| Segment A | Content 1 |
349+
| Segment B | Content 2 |
350+
| Segment C | Content 3 |
351+
352+
To a user who belongs to **Segment A**, **Segment B**, and **Segment C**, **Content 1** is displayed, because the block evaluates rules from top to bottom and stops at the first match.
353+
Even though the user also belongs to **Segment B** and **Segment C**, those rules are never evaluated in this case.
354+
344355
You can preview the page for each of the available segments:
345356

346357
![Previewing page for a given segment](img/page_builder_segment_preview.png)

0 commit comments

Comments
 (0)