Fields reference (session)

City associated to the user.

Data typeExample value
StringParis

Country associated to the user.

Data typeExample value
StringFR

Language associated to the user.

Data typeExample value
Stringfr

Unique project identifier.

Data typeExample value
Integer42

Unique user identifier. This is the hash of the user_id_unashed identifier.

Data typeExample value
Integer5066017809039612144

Unique user identifier. User id stored in a cookie named _cs_id, which has a lifetime of 13 months.

Data typeExample value
Stringae267-6g87D-88Nn6od

Those fields are only available for Apps projects.

List of the app event names. Each app event has the same index in all app_events.* fields.

Data typeExample value
Array(String)[‘appStartEvent’, ‘appShowEvent’, ‘appHideEvent’]

List of dates and UTC times of the app events. Each app event has the same index in all app_events.* fields.

Data typeExample value
Array(String)[‘2020-06-24 17:07:42’, ‘2020-06-24 17:07:42’, ‘2020-06-24 17:08:53’]

List of the app events types related to the session:

  • 0: app start
  • 1: app show
  • 2: app hide

Each app event has the same index in all app_events.* fields.

Data typeExample value
Array(Integer)[0, 1, 2]

The pageview number related to the event. Each app event has the same index in all app_events.* fields.

Data typeExample value
Array(Integer)[0, 0, 1]

The client app version.

Data typeExample value
Integer2814771241943040

Pixel density measured in PPI, i.e. to the number of Pixels Per Inch on the display.

Data typeExample value
Float38912.312

The mobile device manufacturer.

Data typeExample value
StringHUAWEI

The mobile device model.

Data typeExample value
StringSNE-LX1

Version of Android or iOS used by the visitor (iOS 13.1. or iOS 13.2 etc.)

Data typeExample value
Integer2251799813685248

dynamic_vars_int_in_session.key

Section titled dynamic_vars_int_in_session.key

Array of keys of integer dynamic variables extracted from the website datalayer. Each variable has the same index in all dynamic_vars_int_in_session.* fields.

Data typeExample value
Array(String)[‘VAR_name_123’, VAR_name_456’]

dynamic_vars_int_in_session.value

Section titled dynamic_vars_int_in_session.value

Array of values of integer dynamic variables extracted from the website datalayer. Each variable has the same index in all dynamic_vars_int_in_session.* fields.

Data typeExample value
Array(Integer)[123, 456]

dynamic_vars_string_in_session.key

Section titled dynamic_vars_string_in_session.key

Array of keys of string dynamic variables extracted from the website datalayer. Each variable has the same index in all dynamic_vars_string_in_session.* fields.

Data typeExample value
Array(String)[‘VAR_name_123’, VAR_name_456’]

dynamic_vars_string_in_session.value

Section titled dynamic_vars_string_in_session.value

Array of values of string dynamic variables extracted from the website datalayer. Each variable has the same index in all dynamic_vars_string_in_session.* fields.

Data typeExample value
Array(String)[‘VAR_value_123’, ‘VAR_value_456’]

Values are either 1 or 0, to indicate whether the session is generated from bot traffic (1) or not (0).

Data typeExample value
Integer1

For Session Replay, indicates whether the session was collected (1) or not (0). This field can only be exported for projects with access to Session Replay.

Data typeExample value
Integer1

session_add_to_cart_items.add_to_cart_time

Section titled session_add_to_cart_items.add_to_cart_time

Those values are populated when sending an add to cart event to Contentsquare.

Array of the datetimes when the items were added to cart. Each item has the same index in all session_add_to_cart_items.* fields.

Data typeExample value
Array(String)[‘2020-06-24 17:07:42’, ‘2020-06-24 17:07:42’, ‘2020-06-24 17:08:53’]

session_add_to_cart_items.add_to_cart_view_number

Section titled session_add_to_cart_items.add_to_cart_view_number

Those values are populated when sending an add to cart event to Contentsquare.

Array of the page view numbers (position in session) from which items were added to cart. Each item has the same index in all session_add_to_cart_items.* fields.

Data typeExample value
Array(Integer)[2, 5, 3]

session_add_to_cart_items.catalog_id

Section titled session_add_to_cart_items.catalog_id

Those values are populated when sending an add to cart event to Contentsquare.

Array of the catalog identifiers of the items added to the cart. Will be 0 if the project has no Merchandising catalog set-up. Each item has the same index in all session_add_to_cart_items.* fields.

Data typeExample value
Array(Integer)[71893, 0, 991893]

session_add_to_cart_items.is_in_transaction

Section titled session_add_to_cart_items.is_in_transaction

Those values are populated when sending an add to cart event to Contentsquare.

Array of the booleans indicating whether the items added to cart were purchased (1) or not (0). Each item has the same index in all session_add_to_cart_items.* fields.

Data typeExample value
Array(Integer)[0, 0, 1]

session_add_to_cart_items.product_id_hashed

Section titled session_add_to_cart_items.product_id_hashed

Those values are populated when sending an add to cart event to Contentsquare.

Array of the items’ hashed identifiers. Will be ‘0’ if the project has no Merchandising catalog set-up. Each item has the same index in all session_add_to_cart_items.* fields.

Data typeExample value
Array(String)[‘3976139’, ‘0’, ‘30230O013’]

Those values are populated when sending an add to cart event to Contentsquare.

Array of the SKUs of the items added to cart. Each item has the same index in all session_add_to_cart_items.* fields.

Data typeExample value
Array(String)[‘987897849120’, ‘47807017348784’]

Session start date.

Data typeExample value
String2020-07-26

Session duration in milliseconds.

Data typeExample value
Integer881633

Unique session identifier.

Data typeExample value
Integer5066017809039605767

The number of sessions of the user (takes into account how many times the user visited before).

Data typeExample value
Integer7

session_number_of_transactions

Section titled session_number_of_transactions

Number of transactions placed during the session.

Data typeExample value
Integer2

The number of page views in the session.

Data typeExample value
Integer5

The session replay link, if the session was collected (see is_recorded field). This field can only be exported for projects with access to Session Replay.

Data typeExample value
Stringhttps://app.contentsquare.com/quick-playback/index.html?pid=

Session start date and UTC time.

Data typeExample value
String2020-07-26 05:53:04

session_transaction_items.catalog_id

Section titled session_transaction_items.catalog_id

Those values are populated when sending a transaction event to Contentsquare.

Array of the catalog identifiers of the purchased items. Will be 0 if the project has no Merchandising catalog set-up. Each item has the same index in all session_transaction_items.* fields.

Data typeExample value
Array(Integer)[71893, 0, 991893]

Those values are populated when sending a transaction event to Contentsquare.

Array of the transactions identifiers. Each item has the same index in all session_transaction_items.* fields.

Data typeExample value
Array(String)[‘ABC287632’, ‘ABC1290873’]

session_transaction_items.product_id_hashed

Section titled session_transaction_items.product_id_hashed

Those values are populated when sending a transaction event to Contentsquare.

Array of the items’ hashed identifiers. Will be ‘0’ if the project has no Merchandising catalog set-up. Each item has the same index in all session_transaction_items.* fields.

Data typeExample value
Array(String)[‘3976139’, ‘0’, ‘30230O013’]

session_transaction_items.quantity

Section titled session_transaction_items.quantity

Those values are populated when sending a transaction event to Contentsquare.

Array of the purchased quantity of the items. Each item has the same index in all session_transaction_items.* fields.

Data typeExample value
Array(Integer)[2, 4, 1]

session_transaction_items.revenue_cents

Section titled session_transaction_items.revenue_cents

Those values are populated when sending a transaction event to Contentsquare.

Array of the revenues (in cents) of the purchased items. Each item has the same index in all session_transaction_items.* fields.

Data typeExample value
Array(Integer)[89211, 450]

Those values are populated when sending an add to cart event to Contentsquare.

Array of the SKUs of the purchased items. Each item has the same index in all session_transaction_items.* fields.

Data typeExample value
Array(String)[‘987897849120’, ‘47807017348784’]

session_transaction_items.transaction_time

Section titled session_transaction_items.transaction_time

Those values are populated when sending a transaction event to Contentsquare.

Array of the datetimes when the items were purchased. Each item has the same index in all session_transaction_items.* fields.

Data typeExample value
Array(String)[‘2020-06-24 17:07:42’, ‘2020-06-24 17:07:42’, ‘2020-06-24 17:08:53’]

session_transaction_items.transaction_view_number

Section titled session_transaction_items.transaction_view_number

Those values are populated when sending a transaction event to Contentsquare.

Array of the page view numbers (position in session) from which items were purchased. Each item has the same index in all session_transaction_items.* fields.

Data typeExample value
Array(Integer)[2, 5, 3]

session_transactions_revenue_cents

Section titled session_transactions_revenue_cents

Total revenue generated by the session (in US dollar cents).

Data typeExample value
Integer37655

The referring URL to the first page view of the session.

Data typeExample value
Stringhttps://www.google.fr/

The browser major version.

Data typeExample value
Integer83

The browser name.

Data typeExample value
StringChrome

The browser version.

Data typeExample value
String83.0.4103.116

Unique device identifier:

  • 0: Unknown
  • 1: Desktop
  • 2: Mobile (Web)
  • 3: Tablet (Web)
  • 4: Mobile (App)
  • 5: Tablet (App)
Data typeExample value
Integer2

The operating system name.

Data typeExample value
StringWindows

The operating system version.

Data typeExample value
Integer10

The screen height in pixels.

Data typeExample value
Integer700

The screen width in pixels.

Data typeExample value
Integer1280