Audience creation for query string with changing numbers | Community
Skip to main content
BrittUricchio
Level 2
September 23, 2024
Solved

Audience creation for query string with changing numbers

  • September 23, 2024
  • 1 reply
  • 1105 views

Hello!

 

I'm looking to create an AEP audience based on a URL which contains a query with 5 characters. Some are 5 numbers and some are a letter and 4 numbers. Is there a way to accomplish this? There are too many possibilities to input them all individually within the rule ex: "query=J0585" "query=G2211" "query=99406" "query=76942" etc.

 

Thanks!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by brekrut

@britturicchio 

 

When using string based comparison you can perform a contains or equals.  This is can be a challenge because the results will return any requests where the string contains the value.

 

Example "query=99406"

Results returned will include the following if contains is the expression

 

99406abdc

abcd99406

234399406adhad

1 reply

RiteshY18
Community Advisor
Community Advisor
September 24, 2024

@britturicchio  think of using Contains and Equals operators if the alphanumeric value is in query string.

 

brekrut
Adobe Employee
brekrutAdobe EmployeeAccepted solution
Adobe Employee
September 24, 2024

@britturicchio 

 

When using string based comparison you can perform a contains or equals.  This is can be a challenge because the results will return any requests where the string contains the value.

 

Example "query=99406"

Results returned will include the following if contains is the expression

 

99406abdc

abcd99406

234399406adhad

BrittUricchio
Level 2
September 24, 2024

Thanks for the quick responses! @brekrut @riteshy18 

 

In this particular situation, there are thousands of numbers and it would take a really long time to add every single query. So is there a way to do a contains or equals for a set of non-explict numbers?