Profile attributes

Profile attributes in the Customer Data Platform are populated with values from events on your website or those sent through the profile update API. For example, the user attribute Medium collects values from the event data key analytics.medium.

When creating custom attributes — either through the UI or the attributes API — you specify which event data key will supply the values. You can use an existing event data key already associated with another attribute (allowing you to collect the same data twice, possibly with different aggregations), or you can specify a new key to collect data independently.

Events sent through the profile update API can include values for both analytics event data keys and custom keys configured when creating custom attributes. This allows you to update profile data gathered from your website or enrich profiles with information from other sources, like a CRM system.

Here’s an example profile update request body:

{
  "identifiers": {
    "user_id": "[email protected]"
  },
  "attributes": {
    "analytics.medium": "newsletter",
    "crm_user_score": "12"
  }
}

The tables below show all event data keys available by default.

Event data keys

browser_engine

Event data keyanalytics.browser_engine
Value descriptionBrowser engine
ExampleGecko
Typestring

browser_language_iso639

Event data keyanalytics.browser_language_iso639
Value descriptionBrowser language ISO-639
Exampleen
Typestring
NotesPossible values: browser_language_iso639.json

browser_name

Event data keyanalytics.browser_name
Value descriptionBrowser name
ExampleFF
Typestring
NotesPossible values: browser_name.json

browser_version

Event data keyanalytics.browser_version
Value descriptionBrowser version
Example79.0
Typestring

campaign_content

Event data keyanalytics.campaign_content
Value descriptionCampaign content
Exampletextlink
Typestring

campaign_gclid

Event data keyanalytics.campaign_gclid
Value descriptionCampaign gclid
ExampleMFIXNyAtIzlqSWgivr-aAfYFHchmPWSuiFI
Typestring

campaign_id

Event data keyanalytics.campaign_id
Value descriptionCampaign ID
Examplec0172
Typestring

campaign_name

Event data keyanalytics.campaign_name
Value descriptionCampaign name
Examplespring_sale
Typestring

consent_action

Event data keyanalytics.consent_action
Value descriptionConsent action
Example1
Typenumber
NotesPossible values: consent_action.json

consent_form_button

Event data keyanalytics.consent_form_button
Value descriptionConsent form button
Example1
Typenumber
NotesPossible values: consent_form_button.json

consent_scope

Event data keyanalytics.consent_scope
Value descriptionConsent scope
Example1
Typenumber
NotesPossible values: consent_scope.json

consent_source

Event data keyanalytics.consent_source
Value descriptionConsent source
Example1
Typenumber
NotesPossible values: consent_source.json

consent_type_ab_testing_personalization

Event data keyanalytics.consent_type_ab_testing_personalization
Value descriptionWhether users consent to A/B testing and personalization
Exampletrue
Typebool

consent_type_analytics

Event data keyanalytics.consent_type_analytics
Value descriptionWhether users consent to analytics
Exampletrue
Typebool

consent_type_conversion_tracking

Event data keyanalytics.consent_type_conversion_tracking
Value descriptionWhether users consent to conversion tracking
Exampletrue
Typebool

consent_type_custom_1

Value descriptionWhether users consent to a custom action
Exampletrue
Typebool

consent_type_marketing_automation

Event data keyanalytics.consent_type_marketing_automation
Value descriptionWhether users consent to marketing automation
Exampletrue
Typebool

consent_type_remarketing

Event data keyanalytics.consent_type_remarketing
Value descriptionWhether users consent to remarketing
Exampletrue
Typebool

consent_type_user_feedback

Event data keyanalytics.consent_type_user_feedback
Value descriptionWhether users consent to feedback
Exampletrue
Typebool

content_name

Event data keyanalytics.content_name
Value descriptionContent name
Examplepromo-video
Typestring

content_piece

Event data keyanalytics.content_piece
Value descriptionContent piece
Examplehttps://example.com/public/promo-01.mp4
Typestring

content_target

Event data keyanalytics.content_target
Value descriptionContent target
Examplehttps://example.com/more
Typestring

cookie_id_hex

Event data keyanalytics.cookie_id_hex
Value descriptionCookie identifier
Example8d4dd17c784a6330
Typestring
NotesWhen updating the profile, this dimension should be sent in the cookie_id property of identifiers

custom_event_action

Event data keyanalytics.custom_event_action
Value descriptionCustom event action
Exampleassignment-submitted
Typestring

custom_event_category

Event data keyanalytics.custom_event_category
Value descriptionCustom event category
Exampleassignment
Typestring

custom_event_name

Event data keyanalytics.custom_event_name
Value descriptionCustom event name
ExampleMath - trigonometry - assignment 4
Typestring

custom_event_value

Event data keyanalytics.custom_event_value
Value descriptionCustom event value
Example10
Typenumber

device_brand

Event data keyanalytics.device_brand
Value descriptionDevice brand
ExampleDL
Typestring
NotesPossible values: device_brand.json

device_model

Event data keyanalytics.device_model
Value descriptionDevice model
ExampleVostro 3020 MT
Typestring

device_type

Event data keyanalytics.device_type
Value descriptionDevice type
Example0
Typenumber
NotesPossible values: device_type.json

download_url

Event data keyanalytics.download_url
Value descriptionDownload URL
Examplehttps://example.com/file.pdf
Typestring

event_custom_dimension_N

Event data keyanalytics.event_custom_dimension_N
Value descriptionEvent custom dimension
Examplesize-m
Typestring

event_title

Event data keyanalytics.event_title
Value descriptionEvent title
ExamplePiwik PRO Analytics Suite
Typestring

event_type

Event data keyanalytics.event_type
Value descriptionEvent type
Example1
Typenumber
NotesPossible values: event_type.json

event_url

Event data keyanalytics.event_url
Value descriptionEvent URL
Examplehttps://example.com/hello
Typestring

goal_revenue

Event data keyanalytics.goal_revenue
Value descriptionValue of the goal conversion
Example5
Typenumber

goal_uuid

Event data keyanalytics.goal_uuid
Value descriptionUUID of the converted goal
Example18344645-84d3-4544-b870-8df42b24d9f2
Typestring

is_anonymous

Event data keyanalytics.is_anonymous
Value descriptionWhether the event is anonymous and shouldn't be saved
Examplefalse
Typebool

item_count

Event data keyanalytics.item_count
Value descriptionEcommerce item count
Example1
Typenumber

keyword

Event data keyanalytics.keyword
Value descriptionKeyword
Examplegit
Typestring

location_city_geoname_id

Event data keyanalytics.location_city_geoname_id
Value descriptionLocation city geoname ID
Example11609029
Typenumber
NotesWhen updating the profile, it must be provided together with location_city_name

location_city_name

Event data keyanalytics.location_city_name
Value descriptionLocation city name
ExampleCambridgeshire
Typestring
NotesWhen updating the profile, it must be provided together with location_city_geoname_id

location_continent_iso_code

Event data keyanalytics.location_continent_iso_code
Value descriptionLocation continent ISO code
ExampleEU
Typestring
NotesPossible values: location_continent_iso_code.json

location_country_iso_code

Event data keyanalytics.location_country_iso_code
Value descriptionLocation country ISO code
ExampleGB
Typestring
NotesWhen updating the profile, it must be provided together with location_country_name

location_country_name

Event data keyanalytics.location_country_name
Value descriptionLocation country name
ExampleUnited Kingdom
Typestring
NotesWhen updating the profile, it must be provided together with location_country_iso_code

location_ipv4

Event data keyanalytics.location_ipv4
Value descriptionIP v4
Example192.168.1.3
Typeip

location_ipv6

Event data keyanalytics.location_ipv6
Value descriptionIP v6
Example2001:0db8:0:0::1428:57ab
Typeip

location_latitude

Event data keyanalytics.location_latitude
Value descriptionLatitude
Example52.36717
Typenumber

location_longitude

Event data keyanalytics.location_longitude
Value descriptionLongitude
Example0.00433
Typenumber

location_organization

Event data keyanalytics.location_organization
Value descriptionLocation organization
Exampleorganization
Typestring

location_provider

Event data keyanalytics.location_provider
Value descriptionLocation provider
Exampleprovider
Typestring

location_subdivision_1_iso_code

Event data keyanalytics.location_subdivision_1_iso_code
Value descriptionLocation subdivision 1 ISO code
ExampleEN
Typestring
NotesWhen updating the profile, it must be provided together with location_subdivision_1_name

location_subdivision_1_name

Event data keyanalytics.location_subdivision_1_name
Value descriptionLocation subdivision 1 name
ExampleEngland
Typestring
NotesWhen updating the profile, it must be provided together with location_subdivision_1_iso_code

location_subdivision_2_iso_code

Event data keyanalytics.location_subdivision_2_iso_code
Value descriptionLocation subdivision 2 ISO code
ExampleCAM
Typestring
NotesWhen updating the profile, it must be provided together with location_subdivision_2_name

location_subdivision_2_name

Event data keyanalytics.location_subdivision_2_name
Value descriptionLocation subdivision 2 name
ExampleCambridgeshire
Typestring
NotesWhen updating the profile, it must be provided together with location_subdivision_2_iso_code

medium

Event data keyanalytics.medium
Value descriptionMedium
Exampleorganic
Typestring

operating_system

Event data keyanalytics.operating_system
Value descriptionOperating system
ExampleWIN
Typestring
NotesPossible values: operating_system.json

operating_system_version

Event data keyanalytics.operating_system_version
Value descriptionOperating system version
Example10
Typestring

order_id

Event data keyanalytics.order_id
Value descriptionEcommerce order ID
Example1634
Typestring

order_time

Event data keyanalytics.order_time
Value descriptionTime of the ecommerce order
Example2023-09-12T09:23:45.000000Z
Typedatetime

outlink_url

Event data keyanalytics.outlink_url
Value descriptionOutlink URL
Examplehttps://out.example.com
Typestring

referrer_type

Event data keyanalytics.referrer_type
Value descriptionReferrer type
Example2
Typenumber
NotesPossible values: referrer_type.json

referrer_url

Event data keyanalytics.referrer_url
Value descriptionReferrer URL
Examplehttps://referrer.example.com/
Typestring

resolution

Event data keyanalytics.resolution
Value descriptionResolution
Example1920x1080
Typestring

resolution_height

Event data keyanalytics.resolution_height
Value descriptionResolution height
Example1080
Typenumber

resolution_width

Event data keyanalytics.resolution_width
Value descriptionResolution width
Example1920
Typenumber

revenue

Event data keyanalytics.revenue
Value descriptionEcommerce order value
Example35.5
Typenumber

revenue_discount

Event data keyanalytics.revenue_discount
Value descriptionEcommerce order discount
Example5.5
Typenumber

revenue_shipping

Event data keyanalytics.revenue_shipping
Value descriptionEcommerce order shipping
Example10
Typenumber

revenue_subtotal

Event data keyanalytics.revenue_subtotal
Value descriptionEcommerce order subtotal
Example25.5
Typenumber

revenue_tax

Event data keyanalytics.revenue_tax
Value descriptionEcommerce order tax
Example7.23
Typenumber

search_category

Event data keyanalytics.search_category
Value descriptionSearch category
Examplefootwear
Typestring

search_keyword

Event data keyanalytics.search_keyword
Value descriptionSearch keyword
Examplerunning shoes
Typestring

search_results_count

Event data keyanalytics.search_results_count
Value descriptionSearch results count
Example165
Typenumber

server_time

Event data keyanalytics.server_time
Value descriptionTime of the event
Example2023-09-11T17:39:31.000000Z
Typedatetime

session_custom_dimension_N

Event data keyanalytics.session_custom_dimension_N
Value descriptionSession custom dimension
Examplehight-contrast-on
Typestring

source

Event data keyanalytics.source
Value descriptionSource
Examplegoogle
Typestring

source_medium

Event data keyanalytics.source_medium
Value descriptionSource / Medium
Examplegoogle / organic
Typestring

timing_dom_interactive

Event data keyanalytics.timing_dom_interactive
Value descriptionDOM interactive time (in milliseconds)
Example743
Typenumber

timing_event_end

Event data keyanalytics.timing_event_end
Value descriptionEvent end time (in milliseconds)
Example259
Typenumber

user_id

Event data keyanalytics.user_id
Value descriptionUser identifier
Example[email protected]
Typestring
NotesWhen updating the profile, this dimension should be sent in the user_id property of identifiers

visitor_id_hex

Event data keyanalytics.visitor_id_hex
Value descriptionVisitor identifier
Exampleaf7a891e65ecf95b
Typestring