Customers

customers_table

The Customers table contains comprehensive details about each customer, including contact information, geographical details, status, consent status for email and SMS marketing, and their purchase history with your store. Querying this table enables businesses to segment customers, analyze customer behavior, and improve targeted marketing efforts.

Dimensions

Dimensions are immutable properties that can be used for grouping data.

IDTypeDescription
address1stringPrimary address line.

Example value: 20 Main St
address2stringSecondary address line.

Example value: Apt 5
citystringCustomer's city.

Example values: Sydney, Greenwich, San Francisco
coordinates_validatedbooleanTrue if the customer's coordinates have been validated.
countrystringCustomer's country.

Example values: Canada, United States, Hong Kong
country_codestringCustomer's country code.

Example values: CA, US, HK
created_attimestampThe time at which the customer profile was created. Formatted according to the ISO 8601 international standard.

Example value: 2022-06-15T19:26:30.000Z
customer_idstringUnique customer ID. Assigned by the provider (e.g. Shopify, Klaviyo).

Example values: 6267607482590, cus_Of7aA654DsTGQe
customer_tagsstringTags associated with the customer.

Example values: Active Subscriber, PayPal_user, Login with FB
display_namestringCustomer's display name.

Example value: Jon Smith
email_addressstringCustomer’s email address.

Example value: [email protected]
email_marketing_consent_collected_fromstringSource from which email marketing consent was collected.

Example values: SPAM_COMPLAINT, 'PROFILE_PAGE, EMAIL_UNSUBSCRIBE
email_marketing_consent_opt_in_levelstringLevel of opt-in for email marketing.

Example values: SINGLE_OPT_IN, CONFIRMED_OPT_IN
email_marketing_consent_statusstringCustomer's email marketing consent status.

Example values: SUBSCRIBED, UNSUBSCRIBED, NOT_SUBSCRIBED, NEVER_SUBSCRIBED
email_marketing_consent_updated_attimestampTimestamp when the email marketing consent status was last updated. Formatted according to the ISO 8601 international standard .

Example value: 2022-07-15T19:26:30.000Z
external_customer_idsrecord repeatedInformation about external customer IDs associated with the customer profile.
external_customer_ids.external_provider_idstringThe ID of the external provider associated with the customer profile.

Example values: external_shop_123, third_party_platform
external_customer_ids.external_profile_idstringThe profile ID of the customer as recognized by an external provider.

Example value: EXT12345678
first_namestringCustomer's first name.

Example value: Jon
last_namestringCustomer's last name.

Example value: Smith
latitudestringGeographical latitude of the customer's location.

Example value: 55.8742
localestringCustomer's language and locale.

Example values: en-US, fr-FR, en, de
longitudestringGeographical longitude of the customer's location.

Example value: -3.9294
notestringSeller's notes about the customer.
phone_numberstringCustomer's phone number.

Example value: +13035551212
product_subscriber_statusstringCustomer's subscription status.

Example values: SUBSCRIBED, UNSUBSCRIBED, NOT_SUBSCRIBED, NEVER_SUBSCRIBED
provider_idstringThe provider of the customer data.

Example values: klaviyo, shopify
provider_last_order_idstringThe ID of the last order made by the customer through the provider.

Example value: 5588649869540
provincestringCustomer's province or state.

Example values: Ohio, Guam, Iowa
province_codestringCustomer's province or state code.

Example values: OH, GU, IA
sms_marketing_consent_collected_fromstringSource from which SMS marketing consent was collected.

Example values: INVALID_NUMBER, CARRIER_DEACTIVATION, LANDLINE_DETECTED
sms_marketing_consent_opt_in_levelstringLevel of opt-in for SMS marketing.

Example values: SINGLE_OPT_IN, CONFIRMED_OPT_IN
sms_marketing_consent_statusstringCustomer's SMS marketing consent status.

Example values: SUBSCRIBED, UNSUBSCRIBED, NOT_SUBSCRIBED, NEVER_SUBSCRIBED
sms_marketing_consent_updated_attimestampTimestamp when the SMS marketing consent status was last updated. Formatted according to the ISO 8601 international standard .

Example value: 2022-08-15T19:26:30.000Z
statistic_predicted_spend_tierstringPredicted spend tier of the customer based on their shopping behavior.

Example values: LOW, MEDIUM, HIGH
statusstringCustomer's account status.

Example values: ENABLED, DISABLED, INVITED
tax_exemptbooleanIndicates if the customer is exempt from tax.
updated_attimestampThe time at which the customer profile was last updated. Formatted according to the ISO 8601 international standard .

Example value: 2023-12-16T16:18:54.000Z
valid_email_addressbooleanTrue if the email address provided by the customer is valid.
verified_email_addressbooleanTrue if the customer's email address has been verified.
zipstringCustomer's postal or ZIP code.

Example values: 96915, 84050-9518

Measures

Measures are numeric fields that can be aggregated and/or combined to calculate new metrics.

NameTypeDescription
provider_amount_spentnumericTotal amount spent by the customer, according to the provider.

Note: May be different from the values in the Orders table.
provider_number_of_ordersnumericTotal number of orders placed by the customer, according to the provider.

Note: May be different from the values in the Orders table.