Expand my Community achievements bar.

SOLVED

Audience creation for query string with changing numbers

Avatar

Level 3

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!

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee

@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

View solution in original post

4 Replies

Avatar

Level 7

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

 

Avatar

Correct answer by
Employee

@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

Avatar

Level 3

Thanks for the quick responses! @brekrut @Rite18 

 

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?

 

 

 

Avatar

Level 2

Is there a beginning part of your URL that is consistent across all of these query string parameters? Could do a contains for that beginning part