AAM Same Trait key Name but different key Value | Community
Skip to main content
Level 2
May 20, 2021
Solved

AAM Same Trait key Name but different key Value

  • May 20, 2021
  • 1 reply
  • 1702 views

Hi,

 

I'm planning to send same trait key name but with 100+ different trait key value to AAM(onboarded trait). For eg: couponcode="A", couponcode="B" etc.

 

In this case, do I need to create 100 different trait. or, will it work if I create 1 trait to consider all key values using regex and to take care of this in dynamic manner.

 

for eg:

couponcode matchesregex   .*

 

I would like to consider all users those who are eligible for any coupon code. In this case, if i create the above trait expression and create the segment for the same. Will it work?

 

Any thoughts on this? @shweta_singh @varun_kalra @gaurang-1 @tof_jossic 

 

Thanks in Advance

 

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 Varun_Kalra

Hi there,

 

That trait expression will work. Make sure to use the correct data source and the trait type as onboarded trait.

 

Thanks,

Varun Kalra

1 reply

Varun_Kalra
Varun_KalraAccepted solution
Level 9
May 20, 2021

Hi there,

 

That trait expression will work. Make sure to use the correct data source and the trait type as onboarded trait.

 

Thanks,

Varun Kalra

MA1985_CGAuthor
Level 2
May 20, 2021
Good to know. Thanks @varun_kalra for your prompt response