Any plan to support RegEx in audience rules for Target? | Community
Skip to main content
tszat
Level 3
January 28, 2021
New

Any plan to support RegEx in audience rules for Target?

  • January 28, 2021
  • 5 replies
  • 1919 views

Description - It sure would be nice to be able to use RegEx to isolate values in real-time data elements passed to Target for rules-based audiences.

Why is this feature important to you - Often data element values are set for Analytics purposes and contain concatenated data that is hard to parse.

How would you like the feature to work - Similar to AAM, let us write regex rule

Current Behaviour - no RegEx available

5 replies

Level 5
January 28, 2021

@tszat have you looked into profile scripts? You can use regex to get your value and then use that value in a rules based audience. 

 

https://experienceleague.adobe.com/docs/target/using/audiences/visitor-profiles/profile-parameters.html?lang=en#best

tszat
tszatAuthor
Level 3
January 28, 2021

Thanks! That's a good idea. Unfortunately, we need those values in real-time and I don't think the new regex variable value would be available until after the mbox call based on the before/after values(?).

Level 5
January 28, 2021

Not sure I follow, with profile scripts, the logic is executed server side prior to any qualification for an experience. So if you can send the value in with the global mbox, Target will first go through profile scripts, set a value for each profile script to the attribute, then see what activities you might qualify for. If one of those activities has an experience where the audience matches your attribute and value resolved by the profile script, then you will get that as part of the response from the global mbox. 

tszat
tszatAuthor
Level 3
January 28, 2021

Ah, ok.Thanks.

Rajneesh_Gautam_
Community Advisor
Community Advisor
April 14, 2022

hi @tszat I upvote the idea. While @josejr19 is right that Profile Scripts allow using Regex, it would be much quicker and more user-friendly to have this functionality within Audience section itself. This will be particularly very helpful for URL based audiences.