Skip to main content
Version: Next

Additional Conditions and Actions for Pimcore Global Targeting Rules

CMF adds the following conditions and actions to Pimcore Global Targeting Rules.

Condition [CMF] Has Segment

Checks whether the current user has the given segment assigned, from two supported data sources:

  1. Targeting storage with tracked segments (see action [CMF] Track Segment below).
  2. The user profile's assigned segments.

Use the Consider Tracked Segments and Consider Customer Segments checkboxes to select which data sources to check. The Has Segment condition can also check for a minimum count of segment assignments.

Has SegmentHas SegmentHas Segment

Condition [CMF] Customer Logged-In

Checks whether a user is currently logged in. It has no further configuration options.

Customer Logged-InCustomer Logged-InCustomer Logged-In

Condition [CMF] Customer Segments have changed

Checks whether the segments of the currently logged-in user have changed. The condition does not match if no user is logged in. It has no further configuration options.

Customer Segments have changedCustomer Segments have changedCustomer Segments have changed

Action Assign Target Group

CMF extends the default Assign Target Group action with these options:

  • Assign connected Customer Segment to logged-in Customer: if a user is logged in and a segment object is connected to the given target group, assigns that segment to the customer object.
  • Track Customer Activity to logged-in Customer: if a user is logged in, tracks an activity on the customer object, which further processing can then use.
  • Consider profiling consent: if a user is logged in, checks the customer's profilingConsent attribute and skips the action unless it is true.

Assign Target GroupAssign Target GroupAssign Target Group

Action [CMF] Track Segment

Stores the given segment in the current user's Targeting Storage. Other rules can use this information later, for example with the Has Segment condition.

Track SegmentTrack SegmentTrack Segment

Action [CMF] Track Activity

Tracks an activity of the given Activity Type for the currently logged-in user. Does nothing if no user is logged in.

  • Consider profiling consent: if a user is logged in, checks the customer's profilingConsent attribute and skips the action unless it is true.

Track ActivityTrack ActivityTrack Activity

Action [CMF] Apply Target Groups from Assigned Customer Segments

Applies all of the currently logged-in customer's segments that are linked to a target group to the targeting engine. Use this to keep information stored on the customer object in sync with the targeting engine. These options control its behavior:

  • For filters which target groups to consider. Leave it empty to consider all target groups.
  • Do sets one of three apply types:
    • Cleanup and Overwrite: clears all considered target groups from targeting storage, then adds the target groups from the assigned customer segments, using each segment's application counter as its assignment count in targeting storage.
    • Cleanup and Merge: clears all considered target groups from targeting storage, then adds the target groups from the assigned customer segments, but only raises the targeting storage assignment count when the segment's application counter is higher.
    • Only Merge: merges target groups from the customer segments, raising the targeting storage assignment count only when the segment's application counter is higher.

Apply Target Groups from Assigned Customer SegmentsApply Target Groups from Assigned Customer SegmentsApply Target Groups from Assigned Customer Segments