Data Layer Enrichment object
The data layer enrichment object has the following properties that correspond back to the AudienceStream attributes:
Property | Description |
---|---|
audiences |
Audiences Object containing key/value pairs for each audience the user is in, where the key is ACCOUNT_PROFILE_ID and the value is the name of the audience. Example: audiences: { "tealium_main_208" : "Mobile User", "tealium_main_209" : "DV Attendee" } |
badges |
Badges Object containing key/value pairs for each badge assigned to the user, where the key is BADGE-ID and the value is true . Example: badges: { 30: true, 128: true, 323: true } |
current_visit |
Visit Attributes Object containing all the relevant visit-scoped attributes. Example: current_visit: { dates: { ... }, flags: { ... }, // boolean attributes metrics: { ... }, // number attributes properties: { ... }, // string attributes property_sets: { ... } // set of string attributes } |
dates |
Dates Object containing key/value pairs where the key is the attribute ID of the data attribute or an audience ID in the form of audience_account_profile_id_count_ts and the value is a Unix timestamp. Example: dates: { 9356: 1491233145706, audience_tealium_main_103_count_ts: 1532722471000 } |
flags |
Booleans Object containing key/value pairs for each Boolean attribute, where the key is BOOLEAN-ID and the value is true or false . Example: flags: { 530: true, 6128: false } |
flag_lists |
Arrays of Booleans Object containing key/value pairs, where the key isBOOLEAN-ID and the value is an array of Booleans (true or false ). Example: flag_lists: { 620: [true, false, false],<br> 718: [false, true] } |
metrics |
Numbers Object containing key/value pairs for each number attribute, where the key is the attribute ID and the value is numeric. Example: "metrics": { "5388": 132, "5390": 113, "5482": 1, "5492": 104, "5500": 1 } |
metric_lists |
Arrays of Numbers Object containing key/value pairs for each number attribute, where the key is the attribute ID and the value is an array of numeric values. `metric_lists: { 432: [15, 248],<br> 519: [61, 47, 962],<br> 674: [9, 16, 21, 53]<br> },` |
metric_sets |
Tallies Object containing sub-object representing tally attributes where the keys are the ID of the attribute and the value is an object with the contents of the tally. Example: metric_sets: { 57: { Chrome: 2470, Firefox: 9, Safari: 10 } } |
properties |
Strings Object containing key/value pairs where the keys are the IDs of string attributes and the values are the stored values. Example: properties: { 9921: "United States", 9923: "tealium.com" } |
property_lists |
Arrays of Strings Object containing key/value pairs for each string attribute, where the key is the attribute ID and the value is an array of strings. Example: property_lists: { 954: ["North American", "EMEA"],<br> 973: ["Email", "Customer ID", "Phone"] } |
property_sets |
Sets of Strings Object containing key/value pairs where the key is the ID of the attribute and the value is an array of the stored unique values. Example: property_sets: { 7604: ["Social", "Display", "DMP", "CRM"], 7606: ["Personalization", "Analytics", "Email"] } |
This page was last updated: January 7, 2023