Skip to content
Last updated

Behavior Activations Any Operator Enhancements and Logic Updates

Behavior Activations Enhancements

To expand the functionality of Behavior Activations, Treasure data supports activating behavior data with segment rules that contain:

  1. Match Logic ANY and ADVANCED operator
  2. The same behavior table referred in more than one rule set

These functionality updates require logic changes to align with how Behaviors Activations in Audience Studio exports data.

For the transition to the updated logic, a temporary “Data Export Logic ” UI field is introduced when creating or editing an activation. This ensures backwards compatibility for existing activations while also enabling users to activate data with the updated new logic when their segment rules contain “ the same behavior table in more than one rule set ” or the “ Match Logic Any or Advanced ” operator.

Contact your customer support representative for support on updated logic and Match Logic ANY/ADVANCED through the Data Export Logic field.

Explanation of Logic Changes

**Update as of May 8, 2025: **Behavior activation is also supporting ADVANCED Match Logic in the updated logic. This updated logic can currently be accessed with the “Data export logic” field.

  1. What logic is changing? Why?

Currently, the Behavior Activations documentation states the Known Issues around using the same behavior table in multiple rule sets:

  • A behavior table should be used in only one rule set in segment rules.
    • If the same column from a behavior table is used in two or more rule sets, then no behavior data gets activated.
    • If different columns from the same behavior table are used in two or more rule sets, then the activated behavior data might be incorrect.

In Audience Studio, Behavior Activations applies the logic of the segment rules to filter the behavior data for the profiles that qualify for the segment. However, for the segment rules where " different columns from the same behavior table are used in two or more rule sets ", a different export logic (see Question 2) has historically been applied on the behavior data of the qualifying profiles. Treasure Data is updating how the data is filtered when a behavior table is included in multiple rule sets to align with the intended Behavior Activations logic.

The updated new logic will also fully support the Match Logic ANY and ADVANCED operator. When using either of these operators in a segment, the respective activations were programmed to fail. There were very unique situations where this was not happening.

  1. How did the original logic filter behavior data?

Previously, Behavior Activations interpreted filters from multiple rule sets as requiring to be satisfied by the same behavior record, causing unexpected outcomes. For details on how behavior filters in multiple rule sets are calculated by the Audience Studio Rule, see Behavior Filters in Multiple Rule Sets. The following is an example of segment rules that use the same web_engagement behavior table in multiple rule sets (Rule Set 1 and Rule Set 2), where each rule set references different columns from the same table.

Sample Dataset

Result from Original Logic

Using the original logic with Behavior Activations, only Record 6 would be activated since it satisfies Rule Set 1 & 2 in the same behavior record of qualifying profiles.

Records 7, 10, 11 & 12 highlighted in the sample data set, are not getting activated with the original logic since the behavior filters in Rule Sets 1 & 2 are not contained in a single behavior record.

  1. How does the updated logic filter behavior data?

The topic Behavior Filters in Multiple Rule Sets details how the Segment Rule Builder filters multiple rule sets that contain the same behavior table. In the updated logic, Behavior Activations applies the same logic from the rule builder to the activated behavior data associated with qualified profiles – aligning with how the rest of Behavior Activations functions.

From the example above, the updated logic with Behavior Activations would result in Records 6, 7, 10, 11, 12 to be activated since Rule Sets 1 & 2 are satisfied in any of the behavior records of qualifying profiles.

Result from Updated Logic

  1. How has the behavior of Advanced Match Logic changed (Update as of May 8, 2025)? For most segments, their respective activations were programmed to fail if ADVANCED match logic was used. However there were some instances if the behavior table was nested too deeply it did not fail and was activating behaviors data differently from Behavior Activation's expectations.

Using the original logic, if the behavior rule is nested too deeply in advanced logic all the behavior data of qualifying profiles is activated (without being filtered by any segment rules).

  1. Example 1 using ADVANCED rules: 1 and 2 and (3 and (4 and 5))

    1. Any tables selected, all behaviors of the qualifying profiles would activate and not be filtered.
  2. Example 2 using ADVANCED rules: ((1 and 2) and 3) and 4 and 5

    1. If Behavior Table 5 was selected for activation, it would filter based on Behavior Activation's expectations.

    2. If Behavior Table 1, 2, 3, 4 were selected for activation, all the behavior data of qualifying profiles is activated.

The updated logic using ADVANCED match logic will as outlined in the How Behavior Activation Works description. Please reference an example of how ADVANCED match logic with Behavior Activations will work with the updated logic. ​

  1. What is the new field? How will it work?

This updated logic can be used per activation through a newly introduced but temporary field Data Export Logic , when creating or editing an activation.

Existing Activations - All existing activations will continue to run with the original logic until June 4, 2025 unless the Data Export Logic field is checked to use the updated logic.

New Activations - TD is promoting all activations to transition to the updated logic. When an activation is created, any new activations will use the updated logic with the field Data Export Logic checked.

  1. What do I do if I have segment rules that are using the same table in multiple rule sets or Match Logic ANY or ADVANCED?

If you have segment rules that are using the same table in multiple rule sets with the original activation logic, TD highly recommends adjusting your segment rules based on the Behavior Filters in Multiple Rule Sets. You can do this by creating a new segment with new rules or editing your existing segment. When your segment rules fulfill the intended use case with the updated logic, you should keep the “Data Export Logic ” field checked and remove any activations with the original logic. Since TD plans to phase out the original logic, it is recommended to adjust all your affected segments that might be using the same table in multiple rule sets incorrectly. If you need help migrating multiple activations or testing your existing segments, contact your Treasure Data support representative. 7. #### Will the original logic continue to be supported?

The original logic will be supported until June 4, 2025. After this end date, the Data Export Logic checkbox will be removed, and all activations will exclusively use the new updated logic for:

  • Multiple references to the same table in multiple rule sets
  • Match Logic ANY and ADVANCED operator

It will no longer be possible to switch activations back to the original logic after this change is in effect.