۶Ƶ

inAudience inAudience

This function checks if an individual is part of a specified audience within the ۶Ƶ Experience Platform. It is particularly useful for targeting specific groups in marketing campaigns, ensuring personalized content delivery, and optimizing customer journeys based on audience membership.

Example usage

In ۶Ƶ Journey Optimizer, you might use inAudience to personalize a journey step:

if (inAudience("premium customers")) {
  // Send premium content email
} else {
  // Send standard content email
}

This ensures that premium customers receive exclusive offers, enhancing engagement and satisfaction.

Information
Details
Audiences Retrieval
You can check membership for up to 100 audiences.
Audience Name
Must be a string constant and not a field reference or expression. Defined in the ۶Ƶ Experience Platform.
Audience Statuses
- realized: Entity is joining the segment definition.
- exited: Entity is leaving the segment definition.
Membership Criteria
Only individuals with Realized status are considered members.
Evaluation Guide
For audience evaluation, consult the Segmentation Service documentation.
True Condition
inAudience('audienceName') == true: Indicates membership with entered status.
False Condition
inAudience('audienceName') == false: Indicates membership with exited status.

Category

۶Ƶ Experience Platform

Function syntax

inAudience(<parameter>)

Parameters

Parameter
Description
Type
Audience
Name of the audience to check
<string>

Signature and returned type

inAudience(<string>)

Returns a boolean.

Example

inAudience("men over 50")

Explanation:

The function returns true if the individual in the journey instance belongs to the ۶Ƶ Experience Platform audience called “men over 50”; it returns false otherwise.

recommendation-more-help
91a6d90a-6d61-4a62-bbed-ae105e36a860