Regex to Capture Everything | Community
Skip to main content
June 10, 2019
Solved

Regex to Capture Everything

  • June 10, 2019
  • 1 reply
  • 3154 views

Hello,

I want to build a trait who populate every time a user receiver a determined signal.

For example, the signal is "country=usa"||"country=france"||"country=united-kingdom".

I want the trait to populate every time the signal country exists.

But I haven´t this option. So I though about building a regex:

.*

and the Code View reports:

(country matchesregex ".*")

But it didn´t populate. Can anybody please help me?

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 Ankita_Sodhi

Hello Thiago,

Thank you for reaching out to us!

As per the given description, I understand that you are trying to capture users based on country. In AAM, we have platform level keys which help in capturing data based on geography.

In order to capture users based on country, please use d_country parameter in trait conditions.

For more information around available keys, please follow Geotargeting With Platform-level Keys  article.

1 reply

Ankita_Sodhi
Adobe Employee
Ankita_SodhiAdobe EmployeeAccepted solution
Adobe Employee
June 11, 2019

Hello Thiago,

Thank you for reaching out to us!

As per the given description, I understand that you are trying to capture users based on country. In AAM, we have platform level keys which help in capturing data based on geography.

In order to capture users based on country, please use d_country parameter in trait conditions.

For more information around available keys, please follow Geotargeting With Platform-level Keys  article.