Expand my Community achievements bar.

SOLVED

List of Trait Expression queries

Avatar

Level 5

Hi,

Can you please someone provide me the list of syntax or expression use in Trait environment.

As I might already aware about the events, props and evars using trait expression.

For events we use c_events==scView

For evars we use c_evar5 contains "home"

For props we use c_prop5 contains "desktop"

But i would like to know the main/basic syntax for Pages, Operating Systems, Browser Type, Countries and more.... Could you please able to provide the list of variables or basic dimension associate with Trait expression list.....?

Thanks again!

Regards,

Vijay

1 Accepted Solution

Avatar

Correct answer by
Level 2

Hi Vijay,

When you create Trait Builder rules, it is important to preface the key variable with a recommended prefix. These prefixes identify the type of data passed in and help avoid namespace conflicts within Audience Manager. Generally, you can give a variable any name, but data for a rule will not process if the key variable name does not match the variable name in an event call.

As mentioned by you, c_events,c_evar,c_prop are customer specific data.

For using Platform related variables use the prefix: d_

Signal

Type

Example

d_device_vendor

VENDOR

apple

d_device_hardware_type

HARDWARE

mobile phone

d_device_os_version

OS VERSION

5_0

d_device_os_name

OS NAME

ios

d_device_model

MODEL

iphone

d_device_marketing_name

MARKETING NAME

iphone

d_device_manufacturer

MANUFACTURER

apple

Check the complete list at: Device Targeting With Platform-level Keys

For Geolocation based variables use the below ones:

  • d_area_code
  • d_city
  • d_country
  • d_postal_code
  • d_isp

You can get the complete list at: Geotargeting With Platform-level Keys

Note: Page name is configured in Analytics , hence use c_pageName conatins "Homepage"

Cheers,

Rachit Sachdev

View solution in original post

4 Replies

Avatar

Correct answer by
Level 2

Hi Vijay,

When you create Trait Builder rules, it is important to preface the key variable with a recommended prefix. These prefixes identify the type of data passed in and help avoid namespace conflicts within Audience Manager. Generally, you can give a variable any name, but data for a rule will not process if the key variable name does not match the variable name in an event call.

As mentioned by you, c_events,c_evar,c_prop are customer specific data.

For using Platform related variables use the prefix: d_

Signal

Type

Example

d_device_vendor

VENDOR

apple

d_device_hardware_type

HARDWARE

mobile phone

d_device_os_version

OS VERSION

5_0

d_device_os_name

OS NAME

ios

d_device_model

MODEL

iphone

d_device_marketing_name

MARKETING NAME

iphone

d_device_manufacturer

MANUFACTURER

apple

Check the complete list at: Device Targeting With Platform-level Keys

For Geolocation based variables use the below ones:

  • d_area_code
  • d_city
  • d_country
  • d_postal_code
  • d_isp

You can get the complete list at: Geotargeting With Platform-level Keys

Note: Page name is configured in Analytics , hence use c_pageName conatins "Homepage"

Cheers,

Rachit Sachdev

Avatar

Level 5

Thanks for the clarification, it was really help for me!

Avatar

Level 1

Hi Rachit,

is there a bigger list of device_marketing names available somewhere? I can only find the Top 10 Values provided in the help page.

That would be great otherwise one would need to guess the right expression to target on device marketing names.

Thanks in advance!

Daniel

Avatar

Level 9

Hi Daniel,

device_marketing is actually the device model name. It is only available in case of mobile devices.

For all models of iPhones it is "iPhone" , though it is different for every android device.

It is what you see in About Phone > Model Number >

You can launch this dcs api in the browser of that device, if you are looking for any specific device, it will give you a json response with bunch of info about that device:

http://<yoursubdomain>.demdex.net/event?d_full=1&d_cts=2&d_rtbd=json

Thanks,

Varun Kalra