
[title] Ads
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Chord OMS/

### **x\_fct\_unions**

| Name                              | Description                                                                                                                                                                                                                                                                                   |
| --------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Account Name                      | The name of the ad account.                                                                                                                                                                                                                                                                   |
| Account Source Account Id         | The unique identifier of the ad account from the source dataset.                                                                                                                                                                                                                              |
| Account Updated At Date           | The timestamp of when an ad account was last updated in the database - Universal Time Zone.                                                                                                                                                                                                   |
| Account Updated At Month          | The timestamp of when an ad account was last updated in the database - Universal Time Zone.                                                                                                                                                                                                   |
| Account Updated At Quarter        | The timestamp of when an ad account was last updated in the database - Universal Time Zone.                                                                                                                                                                                                   |
| Account Updated At Time           | The timestamp of when an ad account was last updated in the database - Universal Time Zone.                                                                                                                                                                                                   |
| Account Updated At Week           | The timestamp of when an ad account was last updated in the database - Universal Time Zone.                                                                                                                                                                                                   |
| Account Updated At Year           | The timestamp of when an ad account was last updated in the database - Universal Time Zone.                                                                                                                                                                                                   |
| Ad Name                           | The name of the ad.                                                                                                                                                                                                                                                                           |
| Ad Source Ad Id                   | The unique identifier of the ad from the source dataset.                                                                                                                                                                                                                                      |
| Ad Status                         | The status of the ad.                                                                                                                                                                                                                                                                         |
| Ad Updated At Date                | The timestamp of when an ad was last updated in the database - Universal Time Zone.                                                                                                                                                                                                           |
| Ad Updated At Month               | The timestamp of when an ad was last updated in the database - Universal Time Zone.                                                                                                                                                                                                           |
| Ad Updated At Quarter             | The timestamp of when an ad was last updated in the database - Universal Time Zone.                                                                                                                                                                                                           |
| Ad Updated At Time                | The timestamp of when an ad was last updated in the database - Universal Time Zone.                                                                                                                                                                                                           |
| Ad Updated At Week                | The timestamp of when an ad was last updated in the database - Universal Time Zone.                                                                                                                                                                                                           |
| Ad Updated At Year                | The timestamp of when an ad was last updated in the database - Universal Time Zone.                                                                                                                                                                                                           |
| Ad Group Name                     | The name of the ad group or ad set of the ad.                                                                                                                                                                                                                                                 |
| Ad Group Source Ad Group Id       | The unique identifier of the ad group or ad set for the ad.                                                                                                                                                                                                                                   |
| Ad Group Status                   | Status of the ad group or ad set.                                                                                                                                                                                                                                                             |
| Ad Group Updated At Date          | The timestamp of when an ad group or ad set was last updated in the database - Universal Time Zone.                                                                                                                                                                                           |
| Ad Group Updated At Month         | The timestamp of when an ad group or ad set was last updated in the database - Universal Time Zone.                                                                                                                                                                                           |
| Ad Group Updated At Quarter       | The timestamp of when an ad group or ad set was last updated in the database - Universal Time Zone.                                                                                                                                                                                           |
| Ad Group Updated At Time          | The timestamp of when an ad group or ad set was last updated in the database - Universal Time Zone.                                                                                                                                                                                           |
| Ad Group Updated At Week          | The timestamp of when an ad group or ad set was last updated in the database - Universal Time Zone.                                                                                                                                                                                           |
| Ad Group Updated At Year          | The timestamp of when an ad group or ad set was last updated in the database - Universal Time Zone.                                                                                                                                                                                           |
| Campaign Advertising Channel Type | The type of advertising channel being used by the campaign.                                                                                                                                                                                                                                   |
| Campaign End Date Date            | The date when the ad campaign ends - Universal Time Zone.                                                                                                                                                                                                                                     |
| Campaign End Date Month           | The date when the ad campaign ends - Universal Time Zone.                                                                                                                                                                                                                                     |
| Campaign End Date Quarter         | The date when the ad campaign ends - Universal Time Zone.                                                                                                                                                                                                                                     |
| Campaign End Date Time            | The date when the ad campaign ends - Universal Time Zone.                                                                                                                                                                                                                                     |
| Campaign End Date Week            | The date when the ad campaign ends - Universal Time Zone.                                                                                                                                                                                                                                     |
| Campaign End Date Year            | The date when the ad campaign ends - Universal Time Zone.                                                                                                                                                                                                                                     |
| Campaign Name                     | The name of the ad campaign.                                                                                                                                                                                                                                                                  |
| Campaign Source Campaign Id       | The unique identifier of the ad campaign from the source dataset.                                                                                                                                                                                                                             |
| Campaign Start Date Date          | The date when the ad campaign starts - Universal Time Zone.                                                                                                                                                                                                                                   |
| Campaign Start Date Month         | The date when the ad campaign starts - Universal Time Zone.                                                                                                                                                                                                                                   |
| Campaign Start Date Quarter       | The date when the ad campaign starts - Universal Time Zone.                                                                                                                                                                                                                                   |
| Campaign Start Date Time          | The date when the ad campaign starts - Universal Time Zone.                                                                                                                                                                                                                                   |
| Campaign Start Date Week          | The date when the ad campaign starts - Universal Time Zone.                                                                                                                                                                                                                                   |
| Campaign Start Date Year          | The date when the ad campaign starts - Universal Time Zone.                                                                                                                                                                                                                                   |
| Campaign Status                   | The status of the ad campaign.                                                                                                                                                                                                                                                                |
| Campaign Updated At Date          | The timestamp of when an ad campaign was last updated in the database - Universal Time Zone.                                                                                                                                                                                                  |
| Campaign Updated At Month         | The timestamp of when an ad campaign was last updated in the database - Universal Time Zone.                                                                                                                                                                                                  |
| Campaign Updated At Quarter       | The timestamp of when an ad campaign was last updated in the database - Universal Time Zone.                                                                                                                                                                                                  |
| Campaign Updated At Time          | The timestamp of when an ad campaign was last updated in the database - Universal Time Zone.                                                                                                                                                                                                  |
| Campaign Updated At Week          | The timestamp of when an ad campaign was last updated in the database - Universal Time Zone.                                                                                                                                                                                                  |
| Campaign Updated At Year          | The timestamp of when an ad campaign was last updated in the database - Universal Time Zone.                                                                                                                                                                                                  |
| Insight Ad Network Type           | The network type used across the account. This field is native to Google and YouTube and fileld with the ad source for other sources.                                                                                                                                                         |
| Insight Date Date                 | The date of the insight - Universal Time Zone.                                                                                                                                                                                                                                                |
| Insight Date Month                | The date of the insight - Universal Time Zone.                                                                                                                                                                                                                                                |
| Insight Date Quarter              | The date of the insight - Universal Time Zone.                                                                                                                                                                                                                                                |
| Insight Date Time                 | The date of the insight - Universal Time Zone.                                                                                                                                                                                                                                                |
| Insight Date Week                 | The date of the insight - Universal Time Zone.                                                                                                                                                                                                                                                |
| Insight Date Year                 | The date of the insight - Universal Time Zone.                                                                                                                                                                                                                                                |
| Source                            | The source of the Ad dataset - Google, Facebook, Tiktok, etc.                                                                                                                                                                                                                                 |
| Average Clicks                    | The number of paid and earned clicks that occurred on the day of the record.                                                                                                                                                                                                                  |
| Average Impressions               | The number of paid and earned impressions - the number of times an ad appeared on the page - that occurred on the day of the record.                                                                                                                                                          |
| Average Link Clicks               | The number of link clicks on the ad's text, media or call-to-action that link to destinations or experiences specified by the advertiser. This metric excludes clicks on content or links in the comments section of a post. Currently, only Facebook Ads sourced insights surface this data. |
| Average Spend                     | The estimated total amount of spend that occurred on the day of the record.                                                                                                                                                                                                                   |
| Total Clicks                      | The number of paid and earned clicks that occurred on the day of the record.                                                                                                                                                                                                                  |
| Total Impressions                 | The number of paid and earned impressions - the number of times an ad appeared on the page - that occurred on the day of the record.                                                                                                                                                          |
| Total Link Clicks                 | The number of link clicks on the ad's text, media or call-to-action that link to destinations or experiences specified by the advertiser. This metric excludes clicks on content or links in the comments section of a post. Currently, only Facebook Ads sourced insights surface this data. |
| Total Spend                       | The estimated total amount of spend that occurred on the day of the record.                                                                                                                                                                                                                   |


[title] Sessions
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Chord OMS/

### x\_fct\_trans\_sessions

| Name                                         | Description                                                                                                                                                                                                                                                                                                                                                                                                    |
| -------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Anonymous Completed Oms Order Ids            | Array of OMS Order IDs associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                                                                                     |
| Anonymous Completed Order Ids                | Array of order IDs associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                                                                                         |
| Anonymous Completed Order Numbers            | Array of order numbers associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                                                                                     |
| Anonymous Current Blended User Id            | Unique id derived from the user\_id and the anonymous\_id. Whenever a customer has a user\_id, the user\_anonymous\_id will be constant for                                                                                                                                                                                                                                                                    |
| Anonymous Current User Id                    | The current user\_id associated with the anonymous\_id. This unique user\_id is created by Segment's Identify call. A user\_id can be associated to many anonymous\_ids.                                                                                                                                                                                                                                       |
| Anonymous Id                                 | Unique id created by Chord for each anonymous visitor per store.                                                                                                                                                                                                                                                                                                                                               |
| Anonymous Segment Anonymous Id               | Id created by Segment for each anonymous visitor. This id gets created as soon as a customer's browser loads the analytics javascript widget. The anonymous\_id remains unchanged through the entire browsing session from a single device. Depending on configuration, two stores connected stores may have the same anonymous\_id.                                                                           |
| Anonymous Unique User Ids                    | Array of user IDs mapped to an anonymous ID.                                                                                                                                                                                                                                                                                                                                                                   |
| Attribution Point First Touch                | The first session associated with the user prior to conversion receives 100% of the attribution, all other sessions recieve 0 points. Reflected with a value of 0 or 1.                                                                                                                                                                                                                                        |
| Attribution Point Forty Twenty Forty         | The first and last sessions associated with the user prior to conversion receive 40% of the attribution points each, the remaining middle-touch sessions receive an equal portion of the 20%; 0.4, 0.4, and 0.2/number of remaining sessions.                                                                                                                                                                  |
| Attribution Point Id                         | Sessions for a user that occor prior to conversion, or first completed order.                                                                                                                                                                                                                                                                                                                                  |
| Attribution Point Last Touch                 | The last session associated with the user prior to conversion receives 100% of the attribution, all other sessions recieve 0 points. Reflected with a value of 0 or 1.                                                                                                                                                                                                                                         |
| Attribution Point Linear                     | All sessions for the user prior to conversion recieve an equal percentage of the attribution points; calculated as 1.0 / number of sessions                                                                                                                                                                                                                                                                    |
| Customer Type                                | Classification of the user during the session based on their overall order history (regardless of order filtering criteria):<br />* **Prospective customer**: User with no prior orders and no order in the current session.
* **New customer**: User having their first order in or before the current session.
* **Repeat customer**: User having their 2nd or more orders in or before the current session. |
| End Date Day Num Of Year                     | The number representing the day of the year.                                                                                                                                                                                                                                                                                                                                                                   |
| End Date Id                                  | Unique key that uniquify a date.                                                                                                                                                                                                                                                                                                                                                                               |
| End Date Month Num Of Year                   | The month number of the year.                                                                                                                                                                                                                                                                                                                                                                                  |
| Landing Page Browser Locale                  | Locale of browser.                                                                                                                                                                                                                                                                                                                                                                                             |
| Landing Page Device                          | The device on which the event was sent from.                                                                                                                                                                                                                                                                                                                                                                   |
| Landing Page Device Category                 | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                                                                                                      |
| Landing Page Event Table Name                | The properly formatted name of the table of the event.                                                                                                                                                                                                                                                                                                                                                         |
| Landing Page Event Text                      | The name of the event.                                                                                                                                                                                                                                                                                                                                                                                         |
| Landing Page Event Text Id                   | The slug of the event name, mapping to the page or track event table.                                                                                                                                                                                                                                                                                                                                          |
| Landing Page Gclid                           | The Google Click ID. Google Click ID (GCLID) is a parameter passed in the URL with ad clicks, to identify the campaign and other attributes of the click associated with the ad for ad tracking and campaign attribution.                                                                                                                                                                                      |
| Landing Page Id                              | Unique key generated by Segment for each tracking or page event.                                                                                                                                                                                                                                                                                                                                               |
| Landing Page Oms Id                          | Unique key generated by our models that uniquifies an OMS.                                                                                                                                                                                                                                                                                                                                                     |
| Landing Page Host                            | The host of the event's URL. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                                                                                                  |
| Landing Page Path                            | The page path part of the URL. A page path is the part of URL that comes after the hostname (domain) and before the query parameters, URL fragment, or port. (e.g. `/pages/contact-us/` for `https://chord.co/pages/contact-us/?ref=internal-banner` .)                                                                                                                                                        |
| Landing Page Query                           | The query string portion of the URL of the page.                                                                                                                                                                                                                                                                                                                                                               |
| Landing Page Referrer                        | The referrer of the page. The referrer is the webpage that sends visitors to the site using a link. In                                                                                                                                                                                                                                                                                                         |
| Landing Page Title                           | The title/name of the page.                                                                                                                                                                                                                                                                                                                                                                                    |
| Landing Page Url                             | The URL of the page.                                                                                                                                                                                                                                                                                                                                                                                           |
| Landing Page Referrer Host                   | The host of the referrer. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                                                                                                     |
| Landing Page Segment User Id                 | The unique ID of the user.                                                                                                                                                                                                                                                                                                                                                                                     |
| Landing Page Store Id                        | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                                                                                                    |
| Landing Page Tenant Id                       | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                                                                                                        |
| Landing Page User Agent                      | The User agent of the device making the request. A User agent request header is a characteristic string that lets servers and                                                                                                                                                                                                                                                                                  |
| Landing Page User Id                         | Unique key generated by Chord to identify the user.                                                                                                                                                                                                                                                                                                                                                            |
| Landing Page Utm Campaign                    | The campaign name represented by the UTM tags.                                                                                                                                                                                                                                                                                                                                                                 |
| Landing Page Utm Content                     | The campaign content represented by the UTM tags.                                                                                                                                                                                                                                                                                                                                                              |
| Landing Page Utm Medium                      | The campaign medium represented by the UTM tags.                                                                                                                                                                                                                                                                                                                                                               |
| Landing Page Utm Source                      | The campaign source represented by the UTM tags.                                                                                                                                                                                                                                                                                                                                                               |
| Landing Page Utm Term                        | The campaign term represented by the UTM tags.                                                                                                                                                                                                                                                                                                                                                                 |
| Landing Page Website Locale                  | Locale of website. This will either be collected from the url or from the drop-down link on the store                                                                                                                                                                                                                                                                                                          |
| Last Page Browser Locale                     | Locale of browser.                                                                                                                                                                                                                                                                                                                                                                                             |
| Last Page Device                             | The device on which the event was sent from.                                                                                                                                                                                                                                                                                                                                                                   |
| Last Page Device Category                    | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                                                                                                      |
| Last Page Event Table Name                   | The properly formatted name of the table of the event.                                                                                                                                                                                                                                                                                                                                                         |
| Last Page Event Text                         | The name of the event.                                                                                                                                                                                                                                                                                                                                                                                         |
| Last Page Event Text Id                      | The slug of the event name, mapping to the page or track event table.                                                                                                                                                                                                                                                                                                                                          |
| Last Page Gclid                              | The Google Click ID. Google Click ID (GCLID) is a parameter passed in the URL with ad clicks, to identify the campaign and other attributes of the click associated with the ad for ad tracking and campaign attribution.                                                                                                                                                                                      |
| Last Page Id                                 | Unique key generated by Segment for each tracking or page event.                                                                                                                                                                                                                                                                                                                                               |
| Last Page Oms Id                             | Unique key generated by our models that uniquifies an OMS.                                                                                                                                                                                                                                                                                                                                                     |
| Last Page Host                               | The host of the event's URL. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                                                                                                  |
| Last Page Path                               | The page path part of the URL. A page path is the part of URL that comes after the hostname (domain) and before the query parameters, URL fragment, or port. (e.g. `/pages/contact-us/` for `https://chord.co/pages/contact-us/?ref=internal-banner`.)                                                                                                                                                         |
| Last Page Query                              | The query string portion of the URL of the page.                                                                                                                                                                                                                                                                                                                                                               |
| Last Page Referrer                           | The referrer of the page. The referrer is the webpage that sends visitors to the site using a link. In                                                                                                                                                                                                                                                                                                         |
| Last Page Title                              | The title/name of the page.                                                                                                                                                                                                                                                                                                                                                                                    |
| Last Page Url                                | The URL of the page.                                                                                                                                                                                                                                                                                                                                                                                           |
| Last Page Referrer Host                      | The host of the referrer. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                                                                                                     |
| Last Page Segment User Id                    | The unique ID of the user.                                                                                                                                                                                                                                                                                                                                                                                     |
| Last Page Store Id                           | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                                                                                                    |
| Last Page Tenant Id                          | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                                                                                                        |
| Last Page User Agent                         | The User agent of the device making the request. A User agent request header is a characteristic string that lets servers and                                                                                                                                                                                                                                                                                  |
| Last Page User Id                            | Unique key generated by Chord to identify the user.                                                                                                                                                                                                                                                                                                                                                            |
| Last Page Utm Campaign                       | The campaign name represented by the UTM tags.                                                                                                                                                                                                                                                                                                                                                                 |
| Last Page Utm Content                        | The campaign content represented by the UTM tags.                                                                                                                                                                                                                                                                                                                                                              |
| Last Page Utm Medium                         | The campaign medium represented by the UTM tags.                                                                                                                                                                                                                                                                                                                                                               |
| Last Page Utm Source                         | The campaign source represented by the UTM tags.                                                                                                                                                                                                                                                                                                                                                               |
| Last Page Utm Term                           | The campaign term represented by the UTM tags.                                                                                                                                                                                                                                                                                                                                                                 |
| Last Page Website Locale                     | Locale of website. This will either be collected from the url or from the drop-down link on the store                                                                                                                                                                                                                                                                                                          |
| Session Activity Count                       | Total count of activities, pave views and tracked events within the session.                                                                                                                                                                                                                                                                                                                                   |
| Session Attribution Channel                  | The attribution channel for the first page event of the session. Sessions with an attribution of 'Unknown' indicates that there is no attributable data for that session.                                                                                                                                                                                                                                      |
| Session Attribution Channel Paid Or Organic  | Indicates if the session's first page attribution is paid or organic. Attribution is considered Organic if the attribution channel is 'Direct', 'Other', 'Organic Search', 'Organic Social', 'Email', or 'SMS'.                                                                                                                                                                                                |
| Session Attribution First Page Url Has Gclid | Indicates if the first page event of the session has a Google Click ID.                                                                                                                                                                                                                                                                                                                                        |
| Session Attribution First Page Url Has Utm   | Indicates if the first page event of the session has any utm information.                                                                                                                                                                                                                                                                                                                                      |
| Session Attribution Has Referrer             | Indicates if the first page event of the session has a referrer host.                                                                                                                                                                                                                                                                                                                                          |
| Session Attribution Medium                   | The campaign medium represented by the UTM tags for the first page event of the session.                                                                                                                                                                                                                                                                                                                       |
| Session Attribution Source                   | The campaign source represented by the UTM tags for the first page event of the session.                                                                                                                                                                                                                                                                                                                       |
| Session Attribution Sub Channel              | Sub-Channel is a granular level of attribution.                                                                                                                                                                                                                                                                                                                                                                |
| Session Completed Oms Order Ids              | Array of OMS Order IDs associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                                                                                                  |
| Session Completed Order Ids                  | Array of order IDs associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                                                                                                      |
| Session Completed Order Numbers              | Array of order numbers associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                                                                                                  |
| Session Days Since Last Session End          | The days between the last session's end and the start of this session.                                                                                                                                                                                                                                                                                                                                         |
| Session Device                               | The device on which the event was sent from.                                                                                                                                                                                                                                                                                                                                                                   |
| Session Device Category                      | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                                                                                                      |
| Session Duration In Seconds                  | Total seconds between start and end activities within the session.                                                                                                                                                                                                                                                                                                                                             |
| Session Duration In Seconds Tiers            | Total seconds between start and end activities within the session, aggregated into tiers: 0-9s, 10-29s, 30-59s, and 60s or more.                                                                                                                                                                                                                                                                               |
| Session Has Order Completion                 | Flag for sessions with an order completed or checkout completed front-end events                                                                                                                                                                                                                                                                                                                               |
| Session Id                                   | Unique ID for the session.                                                                                                                                                                                                                                                                                                                                                                                     |
| Session Number                               | Session number per anonymous id.                                                                                                                                                                                                                                                                                                                                                                               |
| Session Unique Completed Order Count         | Count of unique order ids associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                                                                                               |
| Session Unique Completed Order Number Count  | Count of unique order numbers associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                                                                                           |
| Start Date Day Num Of Year                   | The number representing the day of the year.                                                                                                                                                                                                                                                                                                                                                                   |
| Start Date Id                                | Unique key that uniquify a date.                                                                                                                                                                                                                                                                                                                                                                               |
| Start Date Month Num Of Year                 | The month number of the year.                                                                                                                                                                                                                                                                                                                                                                                  |
| Store Id                                     | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                                                                                                    |
| Store Name                                   | The name of the store.                                                                                                                                                                                                                                                                                                                                                                                         |
| Store Oms Admin Url                          | The Admin URL of that OMS.                                                                                                                                                                                                                                                                                                                                                                                     |
| Store Oms Id                                 | Unique key generated by Chord that uniquifies an OMS.                                                                                                                                                                                                                                                                                                                                                          |
| Store Oms Store Id                           | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                                                                                                    |
| Store Oms Type                               | The type of the OMS.                                                                                                                                                                                                                                                                                                                                                                                           |
| Store Id                                     | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                                                                                                    |
| Store Tenant Id                              | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                                                                                                        |
| Store Url                                    | The Storefront URL of of the store.                                                                                                                                                                                                                                                                                                                                                                            |
| User Address 1                               | The first line of the street address.                                                                                                                                                                                                                                                                                                                                                                          |
| User Address 2                               | The optional second line of the address.                                                                                                                                                                                                                                                                                                                                                                       |
| User Address City                            | The city of the address.                                                                                                                                                                                                                                                                                                                                                                                       |
| User Address Country                         | The country of the address.                                                                                                                                                                                                                                                                                                                                                                                    |
| User Address Name                            | The full name of the customer, based on firstName and lastName.                                                                                                                                                                                                                                                                                                                                                |
| User Address State                           | The region of the address, such as the province, state, or district.                                                                                                                                                                                                                                                                                                                                           |
| User Address Zip                             | The postal code of the address.                                                                                                                                                                                                                                                                                                                                                                                |
| User Completed Oms Order Ids                 | Array of OMS Order IDs associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                                                                                          |
| User Completed Order Ids                     | Array of order IDs associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                                                                                              |
| User Completed Order Numbers                 | Array of order numbers associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                                                                                          |
| User Email                                   | The email associated with the user.                                                                                                                                                                                                                                                                                                                                                                            |
| User Id                                      | Unique ID per user. It is equal to either 1) a identified\_user\_id as identified by Segment in the Identify call, or 2) an anonynous\_id.                                                                                                                                                                                                                                                                     |
| User Identified User Id                      | Unique ID per identified user. (See Segment's documentation on user\_id)\[ `https://segment.com/docs/connections/spec/identify/#user-id` ].                                                                                                                                                                                                                                                                    |
| User Ip                                      | IP address associated with the user.                                                                                                                                                                                                                                                                                                                                                                           |
| User Last Anonymous Id                       | Last seen anonymous\_id per user. An anonymous\_id is a unique ID per anonymous visitor. (See Segment's documentation on anonymous\_id)\[ `https://segment.com/docs/connections/spec/identify/#anonymous-id` ].                                                                                                                                                                                                |
| User Last Segment Anonymous Id               | This column is not documented.                                                                                                                                                                                                                                                                                                                                                                                 |
| User Segment User Id                         | The unique ID of the user.                                                                                                                                                                                                                                                                                                                                                                                     |
| User Unique Anonymous Ids                    | Array of all seen anonymous\_ids per user. An anonymous\_id is a unique ID per anonymous visitor. (See Segment's documentation on anonymous\_id)\[ `https://segment.com/docs/connections/spec/identify/#anonymous-id` ].                                                                                                                                                                                       |
| User Unique Completed Order Count            | Count of unique order ids associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                                                                                       |
| Visitor Type                                 | Classification of the visitor during the session based on their overall session history:<br />* **New Visitor**: Firt session of an user.
* **Returning Visitor**: Second or more session of an user.                                                                                                                                                                                                          |
| End Ts (Universal)                           | Last activity timestamp for a session - Universal Time Zone.                                                                                                                                                                                                                                                                                                                                                   |
| Landing Page Ts (Universal)                  | The timestamp calculated by Segment correcting clock skew - Universal Time Zone.                                                                                                                                                                                                                                                                                                                               |
| Last Page Ts (Universal)                     | The timestamp calculated by Segment correcting clock skew - Universal Time Zone.                                                                                                                                                                                                                                                                                                                               |
| Session End Ts (Universal)                   | Last activity timestamp for a session - Universal Time Zone.                                                                                                                                                                                                                                                                                                                                                   |
| Session Last Session End Ts (Universal)      | The timestamp of the previous session's end per blended user id, if this is not the user's first session - Universal Time Zone.                                                                                                                                                                                                                                                                                |
| Session Last Session Start Ts (Universal)    | The timestamp of the previous session's start per blended user id, if this is not the user's first session - Universal Time Zone.                                                                                                                                                                                                                                                                              |
| Session Start Ts (Central)                   | First activity timestamp for a session - Cental Time Zone.                                                                                                                                                                                                                                                                                                                                                     |
| Session Start Ts (Eastern)                   | First activity timestamp for a session - Eastern Time Zone.                                                                                                                                                                                                                                                                                                                                                    |
| Session Start Ts (Mountain)                  | First activity timestamp for a session - Mountain Time Zone.                                                                                                                                                                                                                                                                                                                                                   |
| Session Start Ts (Pacific)                   | First activity timestamp for a session - Pacific Time Zone.                                                                                                                                                                                                                                                                                                                                                    |
| Session Start Ts (Universal)                 | First activity timestamp for a session - Universal Time Zone.                                                                                                                                                                                                                                                                                                                                                  |
| Start Ts (Central)                           | First activity timestamp for a session - Cental Time Zone.                                                                                                                                                                                                                                                                                                                                                     |
| Start Ts (Eastern)                           | First activity timestamp for a session - Eastern Time Zone.                                                                                                                                                                                                                                                                                                                                                    |
| Start Ts (Mountain)                          | First activity timestamp for a session - Mountain Time Zone.                                                                                                                                                                                                                                                                                                                                                   |
| Start Ts (Pacific)                           | First activity timestamp for a session - Pacific Time Zone.                                                                                                                                                                                                                                                                                                                                                    |
| Start Ts (Universal)                         | First activity timestamp for a session - Universal Time Zone.                                                                                                                                                                                                                                                                                                                                                  |
| User Created At (Universal)                  | The timestamp when the user was created - Universal Time Zone.                                                                                                                                                                                                                                                                                                                                                 |
| User First Seen At (Universal)               | The first time the user was seen on the site, identified as either anonymous ID or user ID - Universal Time Zone.                                                                                                                                                                                                                                                                                              |


[title] Chord Data Platform
[path] /

As a commerce data platform, we empower brands to not only boost revenue and lower customer acquisition cost (CAC), but also deepen their understanding of customers through our infrastructure that exposes predictive insights, revenue forecasting, and customer lifetime value (LTV).&#x20;

The following documentation provides an in-depth look at some of the data analytics reporting and dashboard capabilities that our platform provides for our brands.

## How-to guides for the Chord Commerce Data Platform

[Overview](docId\:IRMlL09F3QqFfhx5YQBLV)

[Chord Reveal (Private Beta)](docId\:lG4DUiI1rCULMSsFJ3lHK)

[Audiences](docId\:FNUhk7dhtg2ckYZPI89X0)

[Data Activations](docId\:J_Clf0Rgb1RSE684EjJsw)

[Data Sources](docId\:G9t7c0LomYUgBPvloVV5x)

[Data Models](docId:97ZH8HRn9zWfUGvmxF_lT)

[Predictive Models](docId\:dUoNO1y6jn7cdM_dGZ-U6)

[Analytics Features](docId:--5NO0_4Q7n1jp3jT5FY8)

[Model Amplifications](docId\:egHcUaw0cGhSPCIzIYOvu)


[title] Available Destinations
[path] Chord Data Platform/Data Activations/Data Activations/

Chord's Data Activations solution will allow brands to sync Chord-collected data to various marketing and other data activations destinations, including:

Accredible
ActiveCampaign
Adobe Target
Aha
Airship
Airtable
Algolia
Amazon Ads DSP (AMC)
Amazon DynamoDB
Amazon EventBridge
Amazon Pinpoint
Amazon Redshift
Amazon S3
Amplitude
Anaplan
Antavo
Apollo
Appcues
Asana
AskNicely
Attentive
Attio
Autopilot Journeys
Azure Blob Storage
Blackhawk
Bloomreach
Box
Braze
Brevo (formerly Sendinblue)
Campaign Monitor
Canny
Channable
Chargebee
Chargify
ChartMogul
ChatGPT Retrieval Plugin
Chattermill
ChurnZero
CJ Affiliate
CleverTap
ClickUp
Constant Contact
Courier
Criteo
Crowd.dev
Customer.io
Databricks
Delighted
Discord
Drift
Drip
Eagle Eye
Elasticsearch
Emarsys
Enterpret
Facebook Ads
Facebook Product Catalog
Freshdesk
Freshsales
Front
FullStory
Gainsight
GitHub
GitLab
Gladly
Google Ads
Google AlloyDB
Google Analytics 4
Google BigQuery
Google Campaign Manager 360
Google Cloud Storage
Google Datastore
Google Display & Video 360
Google Drive
Google Search Ads 360
Google Sheets
Heap.io
Help Scout
HTTP Request
HubSpot
Impact
Insider
Insightly
Intercom
Iterable
Jira
Kafka
Kevel
Klaviyo
Kustomer
Labelbox
LaunchDarkly
LinkedIn
LiveIntent
Loops
Mailchimp
Mailchimp Transactional (Mandrill)
Mailgun
Marketo
Meilisearch
Microsoft Advertising
Microsoft Dynamics
Microsoft SQL Server
Microsoft Teams
Mixpanel
MoEngage
Mongo DB
mParticle
MySQL
NetSuite
Notion
OneSignal
Optimizely
Oracle Database
Oracle Eloqua
Oracle Fusion
Oracle Responsys
Orbit
Ortto
Outreach
Pardot
Partnerstack
Pendo
Pinterest
Pipedrive
Planhat
PostgreSQL
PostHog
Postscript
Productboard
Qualtrics
Radar
Reddit Ads
Rokt
RollWorks
Sailthru
Salesforce
Salesforce Commerce Cloud
Salesforce Marketing Cloud
Salesloft
Segment
SendGrid
Sense
SFTP
Shopify
Singular
Slack
Snapchat
Snowflake
Split
Sprig
Statsig
Stripe
The Trade Desk
TikTok
Totango
Unify
Userflow
Userpilot
Vero Cloud
Vitally
Webflow
Webhooks
X Ads (formerly Twitter Ads)
Yahoo Ads (DSP)
Zendesk
Zoho CRM
Zuora

If you don't see your destination listed, please reach out to us at [help@chord.co](mailto\:help@chord.co).

[title] Audiences API
[path] Chord Data Platform/Audiences/

# Overview

Chord's Audiences API allows you to access audiences, along with associated audience attributes, directly via API.

:::hint{type="info"}
Looking for information on how to activate an audience to Ninetailed? Check out our documentation [here](https://docs.chord.co/audience-activations-with-ninetailed)!
:::

# Use cases

- Use the audience "Products Abandoned," which has every visitor's top products last viewed but not yet purchased, to customize the experience on your website for repeat visitors by featuring these users' top products for enhanced personalization and conversion opportunity.
- Create an audience with personalized user attributes, such as new vs. returning visitor, last campaign seen, and more, to test different landing page customizations on your website.

# Getting started

## Data destination

Once your account has the Audiences API enabled, the "Dynamic Audiences API" data destination will be available in Data Activations.

![](https://archbee-image-uploads.s3.amazonaws.com/iCsIrWE2VP6jmzs1DjUUy-wfWNIv0GtdtOW8Y4-YyTy-20250305-025408.png)

## &#x20;Audiences

You can use a pre-built audience or create a custom audience you want to activate via the Audiences API.&#x20;

The audience must use the CDP Blended User ID, which is derived from the Chord data models and contains the CDP User ID, if one exists, else the CDP Anonymous ID. This use case is particularly useful when mixing users who may or may not have a known CDP User ID. By using the CDP Blended User ID, audiences can be created for both users and visitors using the same ID, also allowing us to aggregate all audiences at the Blended User ID level in the API.

## Activations sync

### **Select a source and destination**

Once your destination is enabled and you have the audience you'd like to use, you'll create a sync in Activations. Using our Sync UI, we must create a new sync that connects a custom audience as the source, the Dynamic Audiences API as the destination, and the object as `{name}_audiences`, with the object being pre-configured in the provisioning process.&#x20;

![](https://archbee-image-uploads.s3.amazonaws.com/iCsIrWE2VP6jmzs1DjUUy-NnJdqggEjwn4KdrLEshvL-20250305-174003.png)

### **Sync behavior**

Sync Behaviors dictate the types of change that should be applied to your data when a sync finds a matching (or not) record in a source and a destination.&#x20;

![](https://archbee-image-uploads.s3.amazonaws.com/iCsIrWE2VP6jmzs1DjUUy-m5jXtE4ouBcs4ZfHVXpEU-20250305-174305.png)

We want to use the "Mirror" option, which will perform the following behaviors for records in the destination:

- Create: This will add new users in a given audience.
- Update: This will change values for users in a given audience. For example, if data like top products change for a given user in an audience, this behavior will update that record in the destination.
- Delete: This will delete values for users no longer in a given audience.

### **Sync key**

Sync Keys will dictate how to associate data in the source with the destination. Both the source and destination need to provide a single, unique per record, identifying field. The identifiers will be used to look for matches. When a match is found, or not found, we can use your selected Sync Behavior to decide what to do. Your sync key can be any unique identifier, like a user ID, an email address, etc. However, we recommend using the CDP Blended User ID provided by Chord to provide user consistency across all datasets, allowing for the best matching in the destination.

### **Field mappings**

Once you've defined *how* data is related between your source and destination, the next step is to determine *what* properties should be updated. The field mapping step lets you specify how fields should be mapped from your source model to the destination object's fields.

- We start by assigning our unique user identifier. `anonymous_current_cdp_blended_user_id` will become our `pk` (primary key).
- We can then set up the `sk` (sort key). It is **important** to ensure that this value reflects the name of the Audience being synced. You can easily obtain that value by choosing `Sync Metadata > Source Name`, which will dynamically populate the name applied to your audience.

![](https://archbee-image-uploads.s3.amazonaws.com/iCsIrWE2VP6jmzs1DjUUy-CEOGJeBHGoVIJhiWKkoFV-20250305-174944.png)

You should end up with the following:

![](https://archbee-image-uploads.s3.amazonaws.com/iCsIrWE2VP6jmzs1DjUUy-t4Lf9B4QaT9DUYKSHImma-20250305-174955.png)

**Data Field (Optional)**

The destination supports flexible schemas, allowing you to send any data and define custom names for destination fields.

Make sure to send the content to a `data` destination field:

![](https://archbee-image-uploads.s3.amazonaws.com/iCsIrWE2VP6jmzs1DjUUy-_6pU13DoZFz3PxzalPVVx-20250305-175229.png)

You must use [Liquid templating](https://shopify.github.io/liquid/basics/introduction) to perform last-mile transformations on your source data.

For example, if your audience contains an `anonymous_id`, `user_id`, and a list of `products` and you'd like to append these data components for use via the API, the following mapping will create a `data` attribute in the API response:

```tsx
{
  "anonymous_id": {{ record['ANONYMOUS_ID'] }},
  "user_id": {{ record['USER_ID'] }},
  "products": {{ record['PRODUCTS'] | raw }}
}
```

Any column can be added to this `data` attribute, making these supplemntary values will be available via API.

## Sync Schedule

Like any other sync on our Data Activations page, it can be scheduled to run at regular intervals:

![](https://archbee-image-uploads.s3.amazonaws.com/iCsIrWE2VP6jmzs1DjUUy-thJl0oUwqJEG5b0Pkump--20250305-180439.png)

## Sync Results

The Chord platform will display the sync results as usual:

![](https://archbee-image-uploads.s3.amazonaws.com/iCsIrWE2VP6jmzs1DjUUy-X8TfnjmOZSJ_Y6Zt4mjEV-20250305-180533.png)

# How to Make Requests to the Audiences API

## Prerequisites

- An API key provided by Chord, to be used as a bearer token. If you have not received your API key, please reach out to help\@chord.co.
- A unique user identifier that is being used as the `pk` in your Sync.
  - It should be included in the request headers.
  - Depending on your sync field mapping, it could be an email address, an anonymous ID, a user ID, etc. Chord recommends using the CDP Blended User ID as the primary key

## Request Example

### When CDP Blended User ID is being used as the `pk` in your sync

```json
curl -X GET \
  -H "Authorization: Bearer YOUR_BEARER_TOKEN" \
  -H "chord-user-id: 7496fd47cc30-143c-4279-6e6e8a7a" \
  https://analytics.api.chord.co/audiences
```

## Response Example

### When Blended User ID is being used a the `pk` in your sync

```json
{
  "user": "7496fd47cc30-143c-4279-6e6e8a7a",
  "audiences": [
    {
      "name": "Audience - Cart Abandoned",
      "data": {
        "unique_session_count": 2,
        "unique_session_with_completed_order_count": 0,
        "user_email": "",
        "unique_session_added_product_count": 1
      }
    }
  ]
}
```

# Request Sample

Below are example requests, but this will depend on your server-side framework. Audiences API should always be called server-side.

**TypeScript**

```typescript
const userId: string | null = null; // assuming that userId is not known
const anonymousId: string = '7496fd47cc30-143c-4279-6e6e8a7a';

// Use the nullish coalescing operator (??) to fall back to anonymousId 
// if userId is null or undefined
const blendedUserId: string = userId ?? anonymousId;

const url: string = 'https://analytics.api.chord.co/audiences';

const headers: HeadersInit = {
  'Authorization': 'Bearer YOUR_BEARER_TOKEN',
  'Chord-User-Id': blendedUserId
};

async function fetchData() {
  try {
    const response = await fetch(url, {
      method: 'GET',
      headers: headers
    });

    if (!response.ok) {
      throw new Error(`HTTP error! Status: ${response.status}`);
    }

    const data = await response.json();
    console.log(data); // Handle the response data here
  } catch (error) {
    console.error('Error:', error); // Handle errors here
  }
}

fetchData();
```

# Troubleshooting and FAQs

- **Question: How do I get access to Audiences API?**
  - Please reach out to [help@chord.co](mailto\:help@chord.co) or your account executive for more information about or access to this feature.
- **Question: Can I leverage Chord's audiences API to activate audiences on other platforms?**
  - Yes! [You can leverage Chord's audiences API to send audiences to Ninetailed](https://docs.chord.co/audience-activations-with-ninetailed). If you need assistance or have questions about other platforms, please reach out to us at [help@chord.co](mailto\:help@chord.co).


[title] Fairing
[path] Chord Data Platform/Data Sources/Connect Data Sources/

Connect your Fairing survey data to Chord. Fairing is the post-purchase survey platform that captures attribution, demographic, and intent signals from customers right after checkout. Chord ingests the full question catalog and every response so you can model attribution channels, NPS, and post-purchase intent alongside the rest of your stack.

## What Chord ingests from Fairing

Chord pulls 2 datasets from your Fairing account. Each dataset becomes its own table in your Chord Snowflake schema.

- **Questions:** every question in your active question stream: id, type, prompt, response options, randomization settings, customer type, frequency, publish timestamps.
- **Responses:** every customer response captured by Fairing: order id, question id, response text, customer id and email, coupon code if applied, UTM source/medium/campaign, and order creation timestamp.

## Generate a Fairing API key

You'll need your Fairing Secret Key from the dashboard. There are no scopes or permissions to configure, it's a single key that grants read access to the Fairing REST API.

:::hint{type="warning"}
**Heads up:** only users with access to the Fairing **Account** page can view or generate API keys. If your role doesn't include it, ask an admin on the account to either retrieve the key for you or grant your user access.
:::

1. Log in to your Fairing dashboard (either directly at app.fairing.co or via your Shopify store's Apps section).
2. Click **Account** in the navigation.
3. Scroll to the **API Keys** section (also labeled "API Credentials" in some accounts).
4. Find the **Secret Key** row and click to unhide / reveal it.
5. Copy the key value.

## Connect the key in Chord

1. Open Chord Hub and go to **Data Sources → Add Source**.
2. Pick **Fairing** from the data source list.
3. Paste the Secret Key you just copied into the **API Key** field.
4. Click **Save.** Chord makes a test call against the Fairing questions endpoint to confirm the key works.
5. The first sync kicks off automatically; subsequent syncs run on your tenant's standard ingestion schedule.

## Troubleshooting

**What does the validate step actually check?**
Chord makes a small read against `https://app.fairing.co/api/questions` and confirms the key returns a 200 response with no authorization error. It does not pull or store any records — that happens on the first scheduled sync after you save the credential.

**The validate step failed. What now?**
Fairing keys don't have scopes, so a 401 means the key value itself is wrong, was rotated, or was copied with extra whitespace (a common issue when copying from a hidden field). Go back to **Account → API Keys** in Fairing, reveal the Secret Key, copy it again carefully, paste it into the same Chord credential entry, and test again.

**Do Fairing API keys expire?**
No. Keys stay valid until someone with Account access manually rotates them in **Account → API Keys**. If a previously working key suddenly fails, check that page first.

**How do I rotate the key?**
Generate a new Secret Key in Fairing's Account page (or ask Fairing support to rotate yours if your dashboard doesn't expose the regenerate option), paste it into the same Chord credential entry, and save. Chord uses the new key on the next scheduled sync.

***

**Need help?** If you hit a credential or connectivity issue you can't resolve, reach out to [help@chord.co](mailto\:help@chord.co) with the exact error message. We'll trace the request and tell you what's failing.

[title] Recommendations Agent
[path] Chord AI/Chord Copilot Chat/

## Introduction

The Recommendations Agent enhances Copilot by offering suggested actions based on the query you submit and the data returned. These recommendations are designed to help you move faster — highlighting next steps you can take without needing to dig deeper on your own.

## How it works

After you ask a question in Copilot, the Recommendation Agent evaluates the result and suggests up to three possible actions. These actions are based on your data and the context of your question.

For example:

- You ask: *“Who are my most loyal customers?”*
- Copilot returns the segment → The Recommendation Agent may suggest: *“Create a segment of these users in Audiences”* or *“Send this group to Meta Ads.”*

## About Confidence Levels

Each recommendation includes a confidence rating — High, Medium, or Low — based on how directly the action connects to your original question and the resulting data.

### Confidence levels are defined as:

- **High**: A clear, logical next step based on the data
  *(e.g., Query reveals churning customers → Suggest creating a retention segment)*
- **Medium**: A reasonable action, but with some inference required
  *(e.g., Data implies seasonal trends → Suggest campaign timing adjustment)*
- **Low**: Speculative or loosely related
  *(e.g., Suggesting product changes based on traffic data alone)*

:::hint{type="info"}
**Note:&#x20;**&#x43;hord displays **all recommendations returned**, regardless of confidence level (up to three per query).
:::

### How Confidence is determined

Confidence levels are determined by the language model (LLM) powering Copilot. We've prompted the model with guidelines like:

- *“Prioritize high-confidence recommendations over speculative ones.”*
- *“Err on the side of fewer, higher-quality recommendations.”*

This means the model self-assesses whether an action is a strong fit for your query. When it's unsure, it’s designed to return fewer or no recommendations, rather than suggest low-confidence actions just to fill space.

### Learning from your actions

Copilot also remembers which recommended actions you take and will use that information to improve future suggestions. Over time, this feedback loop helps the Recommendations Agent prioritize the types of actions you and your team actually finds valuable, making recommendations smarter and more tailored to your workflows.

[title] Chord OMS
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/

### *Table names for customers utilizing the Chord OMS*

- [Activities](https://docs.chord.co/activities)
- [Ads](https://docs.chord.co/c2Te-ads)
- [Conversions](https://docs.chord.co/conversions)
- [Line Items](https://docs.chord.co/line-items)
- [Line Items By Units](https://docs.chord.co/line-items-by-units)
- [Marketing Attribution](https://docs.chord.co/9TGn-marketing-attribution)
- [Orders](https://docs.chord.co/xW-7-orders)
- [Sales](https://docs.chord.co/sales)
- [Sessions](https://docs.chord.co/q_lb-sessions)
- [Stock Requests](https://docs.chord.co/stock-requests)
- [Subscription Events](https://docs.chord.co/subscription-events)
- [Subscriptions](https://docs.chord.co/subscriptions)
- [Transactions](https://docs.chord.co/transactions)
- [Users](https://docs.chord.co/users)
- [Variants](https://docs.chord.co/variants)

### Accessing Chord Data Attribute Definitions:

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/BJD3bwQX1CdwlRvNAA_-v_image.png)

:::hint{type="success"}
if you have any questions or need help, please reach out to us at [help@chord.co](mailto\:help@chord.co)
:::


[title] Subscriptions Module
[path] Chord Data Platform/Data Sources/

## Introduction

Chord's Subscription Analytics module provides a suite of **7 Explores** designed for self-service subscription analysis.

These Explores:

- Work across Recharge and your OMS
- Provide a unified view of subscription performance
- Support analysis across:&#x20;
  - Customer-level
  - Subscription-level
  - Product-level
  - Lifecycle events

## How to access

1. Log into the Chord Commerce Data Platform
2. Navigate to **Analytics**
3. Click **Explores**
4. Select a **Subscription Explore**

## Quick reference — Which Explore should I use?

Use this as your starting point when you’re not sure where to go.

Each Explore is designed to answer a specific type of business question.

| If your question is about…      | What you’re trying to understand                    | Use this Explore                       |
| ------------------------------- | --------------------------------------------------- | -------------------------------------- |
| **Overall subscription health** | Are we growing or shrinking? What’s our churn rate? | **Subscription Metrics Daily**         |
| **Customer value (LTV)**        | Who are our most valuable subscribers?              | **Subscriber Journey**                 |
| **Retention over time**         | How long do customers stay? How do cohorts behave?  | **Subscriber Journey Monthly**         |
| **Behavior leading to churn**   | What happens before users cancel?                   | **Subscription Events Enriched**       |
| **Business impact of changes**  | How much revenue are we losing from cancellations?  | **Subscription Movements Daily**       |
| **Product performance**         | Which products drive growth or churn?               | **Subscription Product Metrics Daily** |
| **Bundle performance**          | Which product combinations perform best?            | **Subscription Bundle Metrics Daily**  |

**You can use this handy guide to start your analysis:&#x20;**

- Start with **Metrics Daily** → *“What is happening?”*
- Move to **Journey / Monthly** → *“Who is driving this and how does it evolve?”*
- Use **Events** → *“Why is this happening?”*
- Use **Movements / Product / Bundle** → *“Where is the impact coming from?”*

## Key Dimensions & Metrics

[Subscription Metrics Daily Explore](docId\:vrK7FlahNOV_r92ULUJH0)

[Subscriber Journey Explore](docId\:pHLEFk8F-KCnLkaNepm97)

[Subscriber Journey Monthly Explore](docId\:K3t064ARjs6tAEi21ua46)

[Subscription Events Enriched Explore](docId\:PGqIyYRgagkRu-tuwX6jj)

[Subscription Movements Daily Explore](docId\:JjEYNdJwHcf6ua-4ketck)

[Subscription Product Metrics Daily Explore](docId:6lDcTaqrCd0OXvQrVvGOz)

[Subscription Bundle Metrics Daily Explore](docId\:FpvuvhiI9L9Wp4ybhC2Hc)

# Glossary

| Term                     | What it Means                                                                                                   | How to Interpret / Use                                                                                         | Where You’ll See It in Looker                                                                                                                                                                                                    |
| ------------------------ | --------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Active Subscription**  | A subscription that is currently ongoing. Includes both fully active and paused subscriptions.                  | Use this to understand the **current size of your subscriber base**. Note that paused users are still counted. | Subscription Metrics Daily (Active Count), Subscriber Journey (Is Active Subscriber), Subscriber Journey Monthly (Is Active Subscriber EOM), Product & Bundle Explores (Active Subscription Count)                               |
| **Churn / Churned**      | A subscription that has been cancelled. Does not include pauses.                                                | Represents **true customer loss**. Track this to understand retention issues.                                  | Subscription Metrics Daily (Churned Count, Churn Rate), Subscriber Journey (Is Churned, Churn Count), Monthly (Is Churned EOM, Cancellations This Month), Events Enriched (Event Type = canceled), Movements (status\_cancelled) |
| **Winback**              | A subscriber who cancelled all subscriptions and later returned by subscribing again.                           | Indicates **successful re-engagement** after churn.                                                            | Subscriber Journey (Is Winback), Subscriber Journey Monthly (Has Reactivated By EOM)                                                                                                                                             |
| **Reactivation**         | A previously cancelled subscription that becomes active again (subscription-level).                             | Measures **recovery of churned subscriptions**.                                                                | Subscription Metrics Daily (Reactivated Count), Movements (status\_reactivated), Events Enriched (Event Type = reactivated)                                                                                                      |
| **Net New**              | Net change in subscriptions: New + Reactivated − Cancelled.                                                     | Indicates **overall growth vs decline**.                                                                       | Subscription Metrics Daily (Net New Count)                                                                                                                                                                                       |
| **LTV (Lifetime Value)** | Total revenue generated by a subscriber across all subscription orders.                                         | Use to understand **customer value over time** and compare cohorts or segments.                                | Subscriber Journey (LTV Gross / Net Revenue), Subscriber Journey Monthly (LTV Gross Revenue EOM)                                                                                                                                 |
| **EOM (End of Month)**   | Metrics calculated as of the last day of a month.                                                               | Used for **consistent month-over-month comparisons** (retention, LTV growth).                                  | Subscriber Journey Monthly (all EOM fields like Active EOM, LTV EOM)                                                                                                                                                             |
| **Solo Subscription**    | A subscription that contains only one product.                                                                  | Helps identify products that perform well **individually**.                                                    | Subscription Product Metrics Daily (Solo Subscription Count)                                                                                                                                                                     |
| **Bundle**               | A subscription that contains two or more products.                                                              | Useful for analyzing **product combinations and cross-sell behavior**.                                         | Product Metrics (Bundle Subscription Count), Bundle Metrics Daily (all bundle fields)                                                                                                                                            |
| **Movement**             | Any change in a subscription’s state (created, cancelled, paused, resumed, reactivated, quantity/price change). | Use to understand **operational changes and trends** in subscriptions.                                         | Subscription Movements Daily (Movement Type, Category), Events Enriched (Event Type)                                                                                                                                             |
| **Provider**             | The system managing subscriptions (Recharge, ChordOMS, CustomOMS).                                              | Important context — **data availability and detail vary by provider**, which affects analysis.                 | All Explores (Provider filter present everywhere)                                                                                                                                                                                |


[title] Klaviyo Events Data Attribute Definitions
[path] Chord Data Platform/Data Sources/Messaging Module/Untitled/

# Klaviyo Events

### Measures

- **AOV**: Average Order Value
- **Active On Site**: Count of all events of type Active on Site.
- **Bounced Email**: Count of all events of type Bounced Email.
- **Bounced Push**: Count of all events of type Bounced Push.
- **Clicked Email**: Count of all events of type Clicked Email.
- **Clicked SMS**: Count of all events of type Clicked SMS.
- **Email Bounce-to-Send Rate**: Total bounce count / total send count.
- **Email Click Rate**: Total of click email count / total delivery email count.
- **Email Click-to-Open Rate**: Total of all emails clicked / total email open count.
- **Email Conversion-to-Delivery Rate**: Total conversion count / total delivery count.
- **Email Delivery-to-Send Rate**: Total delivery count / total send count.
- **Email Open-to-Delivery Rate**: Total of open email count / total email delivery count.
- **Email Sent**: Sum of Bounced and Received Email
- **Email Unique Click Rate**: Total of all unique emails clicked / total emails sent.
- **Email Unique Click Through Rate**: Total of unique click email count / total delivery email count.
- **Email Unique Click to Open Rate**: Total of unique email clicks / total unique email open count.
- **Email Unique Open Rate**: Total of unique open count / total delivery count.
- **Email Unsubscribe Rate**: Total unsubscribe from email count / total delivery email count.
- **Failed to Delivery SMS**: Count of all events of type Failed to Delivery SMS.
- **Marked Email as Spam**: Count of all events of type Marked Email as Spam.
- **Opened Email**: Count of all events of type Opened Email.
- **Opened Push**: Count of all events of type Opened Push.
- **Ordered Product**: Count of all events of type Ordered Product.
- **Placed Order**: Count of all events of type Placed Order.
- **Push Bounce-to-Send Rate**: Total bounce count / total send count.
- **Push Sent**: Sum of Bounced and Received Mobile Push
- **Push Unique Open Rate**: Total of all unique pushes clicked / total pushes sent.
- **Received Email**: Count of all events of type Received Email.
- **Received Push**: Count of all events of type Received Push.
- **Received SMS**: Count of all events of type Received SMS.
- **Recipients**: Count of all unique events of type Received Email based on person\_id as Last Touch ID.
- **Refunded Order**: Count of all events of type Refunded Order.
- **SMS Failed-to-delivery Rate**: Total of all failed SMS messages / total SMS sent.
- **SMS Unique Click Rate**: Total of all unique SMS clicked / total SMS sent.
- **Sent SMS**: Count of all events of type Relayed SMS.
- **Subscribed To Back In Stock**: Count of all events of type Subscribed to Back In Stock.
- **Subscribed To Email Marketing**: Count of all events of type Subscribed To Email Marketing.
- **Subscribed To List**: Count of all events of type Subscribed to List.
- **Subscribed to SMS Marketing**: Count of all events of type Subscribed to SMS Marketing.
- **Subscribed to SMS Transactional**: Count of all events of type Subscribed to SMS Transactional.
- **Total Cancelled Order**: From numeric\_value field, the sum of all events where the event type is Cancelled Order.
- **Total Checkout Started**: From numeric\_value field, the sum of all events where the event type is Checkout Started.
- **Total Ordered Product**: From numeric\_value field, the sum of all events where the event type is Ordered product.
- **Total Placed Order**: From numeric\_value field, the sum of all events where the event type is Placed Order.
- **Total Refunded Order**: From numeric\_value field, the sum of all events where the event type is Refunded Order.
- **Unique Active On Site**: Count of all unique events of type Active on Site based on person\_id as Last Touch ID.
- **Unique Bounced Push**: Count of all unique events of type Bounced Push based on person\_id as Last Touch ID.
- **Unique Clicked Email**: Count of all unique events of type Clicked Email based on person\_id as Last Touch ID.
- **Unique Clicked SMS**: Count of all unique events of type Clicked SMS based on person\_id as Last Touch ID.
- **Unique Count Bounced Email**: Count of all unique events of type Bounced Email based on person\_id as Last Touch ID.
- **Unique Failed to Delivery SMS**: Count of all unique events of type Failed to Delivery SMS based on person\_id as Last Touch ID.
- **Unique Marked Email as Spam**: Count of all unique events of type Marked Email as Spam based on person\_id as Last Touch ID.
- **Unique Opened Email**: Count of all unique events of type Opened Email based on person\_id as Last Touch ID.
- **Unique Opened Push**: Count of all unique events of type Opened Push based on person\_id as Last Touch ID.
- **Unique Ordered Product**: Count of all unique events of type Ordered Product based on person\_id as Last Touch ID.
- **Unique Placed Order**: Count of all unique events of type Placed Order based on person\_id as Last Touch ID.
- **Unique Received Push**: Count of all unique events of type Received Push based on person\_id as Last Touch ID.
- **Unique Received SMS**: Count of all unique events of type Received SMS based on person\_id as Last Touch ID.
- **Unique Refunded Order**: Count of all unique events of type Refunded Order based on person\_id as Last Touch ID.
- **Unique Relayed SMS**: Count of all unique events of type Relayed SMS based on person\_id as Last Touch ID.
- **Unique Subscribed To Back In Stock**: Count of all unique events of type Subscribed To Back In Stock based on person\_id as Last Touch ID.
- **Unique Subscribed To Email Marketing**: Count of all unique events of type Subscribed To Email Marketing based on person\_id as Last Touch ID.
- **Unique Subscribed To List**: Count of all unique events of type Subscribed to List based on person\_id as Last Touch ID.
- **Unique Subscribed to SMS Marketing**: Count of all unique events of type Subscribed to SMS Marketing based on person\_id as Last Touch ID.
- **Unique Subscribed to SMS Transactional**: Count of all unique events of type Subscribed to SMS Transactional based on person\_id as Last Touch ID.
- **Unique Unsubscribed**: Count of all unique events of type Count Unsubscribed based on person\_id as Last Touch ID.
- **Unique Unsubscribed From Email Marketing**: Count of all unique events of type Unsubscribed From Email Marketing based on person\_id as Last Touch ID.
- **Unique Unsubscribed From List**: Count of all unique events of type Unsubscribed From List based on person\_id as Last Touch ID.
- **Unique Unsubscribed from SMS Marketing**: Count of all unique events of type Unsubscribed to SMS Marketing based on person\_id as Last Touch ID.
- **Unique Unsubscribed from SMS Transactional**: Count of all unique events of type Unsubscribed to SMS Transactional based on person\_id as Last Touch ID.
- **Unique Viewed Product**: Count of all unique events of type Viewed Product based on person\_id as Last Touch ID.
- **Unsubscribed**: Count of all events of type Count Unsubscribed.
- **Unsubscribed From Email Marketing**: Count of all events of type Unsubscribed From Email Marketing.
- **Unsubscribed From List**: Count of all events of type Unsubscribed to List.
- **Unsubscribed from SMS Marketing**: Count of all events of type Unsubscribed to SMS Marketing.
- **Unsubscribed from SMS Transactional**: Count of all events of type Unsubscribed to SMS Transactional.
- **Viewed Product**: Count of all events of type Viewed Product.

### Dimensions

- **Created At**: Timestamp of when the campaign or flow was created.
- **Flow Status**: Current status of the flow. Either 'manual', 'live', or 'draft'. Read more here.
- **Is Archived (Yes / No)**: Boolean of whether the campaign has been archived or not
- **Last Touch Campaign Brand**: The brand of the campaign set in the Hub amplification.
- **Last Touch Campaign Category**: Campaign Category is the highest level of the hierarchy. For example: Fruit > Berries > Strawberries, the Campaign Category is Fruit and covers all Campaigns that are Fruit.
- **Last Touch Campaign Channel**: The Attribution Channel of the campaign set in the Hub amplification. Ex: Email, SMS
- **Last Touch Campaign Class**: Campaign Class is the third level of the hierarchy. For example: Fruit > Berries > Strawberries, the Campaign Class is Strawberries and includes only Berries that are Strawberries. There can be more than one Campaign within the class.
- **Last Touch Campaign Has Tracking Params (Yes / No)**: Indicates if the campaigns is configured to store tracking params in the URL.
- **Last Touch Campaign Name Refined**: A refined, 'friendlier' name of the campaign set in the Hub amplification
- **Last Touch Campaign Objective**: Objective of the campaign set in the Hub amplification. ex: Engagement, Retention, Acquisition
- **Last Touch Campaign Option**: Other attributes of the campaign not captured in the defined attribute fields. These should be comma seperated and set in the Hub amplification.
- **Last Touch Campaign Platform**: The Ad Source of the campaign set in the Hub amplification. Ex: Google Ads, Tiktok Ads
- **Last Touch Campaign Region**: The region of the campaign set in the Hub amplification Ex: US, CA, EU
- **Last Touch Campaign Subcategory**: Campaign Subcategory is the middle level of the hierarchy. For example: Fruit > Berries > Strawberries, the Campaign Subcategory is Berries and includes only Fruits that are Berries.
- **Last Touch Campaign Subchannel**: Subchannel of the campaign set in the Hub amplification
- **Last Touch Campaign Temporality**: The temporality of the campaign set in the Hub amplificationEx: September Sale, October EVG, 20230504, etc
- **Last Touch Campaign Type**: The type of the campaign set in the Hub amplification. ex: Transactional, Batch, Automated
- **Last Touch Flow Brand**: The brand of the campaign set in the Hub amplification.
- **Last Touch Flow Category**: Campaign Category is the highest level of the hierarchy. For example: Fruit > Berries > Strawberries, the Campaign Category is Fruit and covers all Campaigns that are Fruit.
- **Last Touch Flow Channel**: The Attribution Channel of the campaign set in the Hub amplification. Ex: Email, SMS
- **Last Touch Flow Class**: Campaign Class is the third level of the hierarchy. For example: Fruit > Berries > Strawberries, the Campaign Class is Strawberries and includes only Berries that are Strawberries. There can be more than one Campaign within the class.
- **Last Touch Flow Name Refined**: A refined, 'friendlier' name of the campaign set in the Hub amplification
- **Last Touch Flow Objective**: Objective of the campaign set in the Hub amplification. ex: Engagement, Retention, Acquisition
- **Last Touch Flow Option**: Other attributes of the campaign not captured in the defined attribute fields. These should be comma seperated and set in the Hub amplification.
- **Last Touch Flow Platform**: The Ad Source of the campaign set in the Hub amplification. Ex: Google Ads, Tiktok Ads
- **Last Touch Flow Region**: The region of the campaign set in the Hub amplification Ex: US, CA, EU
- **Last Touch Flow Subcategory**: Campaign Subcategory is the middle level of the hierarchy. For example: Fruit > Berries > Strawberries, the Campaign Subcategory is Berries and includes only Fruits that are Berries.
- **Last Touch Flow Subchannel**: Subchannel of the campaign set in the Hub amplification
- **Last Touch Flow Temporality**: The temporality of the campaign set in the Hub amplificationEx: September Sale, October EVG, 20230504, etc
- **Last Touch Flow Type**: The type of the campaign set in the Hub amplification. ex: Transactional, Batch, Automated
- **Name**: A name for this campaign. If not specified, this will default to the subject of the campaign.
- **Occcured At**: Date the event ocurred.
- **Session Date**: The date of the session this event is associated to.
- **Status**: Current status of the campaign. Either 'draft', 'scheduled', 'sent', or 'cancelled'.
- **Touch Type**: What kind of touch the event was attributed to -- 'campaign', 'flow', or null.
- **Trigger Type**: Corresponds to the object which triggered the flow.
- **UTM Campaign**: When the campaign or flow is configured with tracking params, this is the UTM campaign configured.
- **UTM Content**: When the campaign or flow is configured with tracking params, this is the UTM content configured.
- **UTM Medium**: When the campaign or flow is configured with tracking params, this is the UTM medium configured.
- **UTM Source**: When the campaign or flow is configured with tracking params, this is the UTM source configured.
- **UTM Term**: When the campaign or flow is configured with tracking params, this is the UTM term configured.

# Klaviyo Lists

### Measures

- **Average Total Subscribers**: The total number of profiles (subscribers) in the Klaviyo list at the time the data was loaded. This column is used to track the growth or decline of the list over time.
- **Total Subscribers**: Shows the total number of subscribers. For completed periods, this is the value at the end of the period. For the current, in-progress period, this is the value as of the last complete day.

### Dimensions

- **List Created At**: The timestamp indicating when the list was originally created in Klaviyo.
- **List Id**: The unique identifier for a list within Klaviyo. This is the primary key for a list as provided by the Klaviyo API.
- **List Name**: The user-defined name of the Klaviyo list.
- **List Opt In Process**: Specifies the opt-in process for the list, such as single opt-in or double opt-in.
- **Subscribers Date**: The specific date for the list's historical data.

# Klaviyo Segments

### Measures

- **Total Subscribers**: Shows the total number of subscribers. For completed periods, this is the value at the end of the period. For the current, in-progress period, this is the value as of the last complete day.
- **Average Profile Count**: The average number of profiles (subscribers) in the Klaviyo segment at the time the data was loaded. This column is used to track the growth or decline of the segment over time.
- **Profile Count**: The total number of profiles (subscribers) in the Klaviyo segment at the time the data was loaded. This column is used to track the growth or decline of the segment over time.

### Dimensions

- **Segment Id**: The unique identifier for a segment within Klaviyo. This is the primary key for a segment as provided by the Klaviyo API.
- **Segment Name**: The user-defined name of the Klaviyo segment.
- **Segment Created At**: The timestamp indicating when the segment was originally created in Klaviyo.
- **Segment Updated At**: The timestamp indicating when the segment was last updated in Klaviyo.
- **Subscribers Date**: The specific date for the segment's historical data.
- **Subscribers Count**: The number of subscribers in the segment for the given date.


[title] Audience Activations with Sendlane
[path] Chord Data Platform/Data Activations/Data Activations/Destination Set-up Notes/

# Introduction

This document provides an overview of how to use our Sendlane Sync using Chord's Audiences API. Sendlane is a marketing automation platform that unifies email, SMS, forms, and reviews to boost retention, personalization, and revenue.

The primary focus when it comes to audience activations with Sendlane via Chord is to add customer tags defined through Chord’s pre-built and custom audience dashboards. This enables email segmentation and personalization by delivering dynamic audience data as contact tags to Sendlane.

:::hint{type="info"}
If you get stuck or have additional questions as you review this documentation, feel free to reach out to us at [help@chord.co](mailto\:help@chord.co) — our team is also happy to help you activate audiences on other CMS tools or platforms that help you get your job done!
:::

# Chord to Sendlane Activation Flow

- **Chord Platform Application:** Audiences are created via the Chord platform per the existing flow.
- **Integration with DynamoDB:** Chord extracts Audience data from our Snowflake warehouses and stores it in an **AWS DynamoDB table**.
- **AWS Lambda Function:** An **AWS Lambda function** receives the updates and forwards them as contact tags to Sendlane.
- **Sendlane**: The synchronized contact tags can now be utilized in building targeted Segments and Lists using the auidence tag on the contact.

# Integration Details

:::hint{type="info"}
- Chord requires the Sendlane v2 API key to setup the sync.
- It only supports audiences with email as the primary key and audience as the secondary key when syncing audiences from Snowflake to DynamoDB (setup is shown in the sections below).
- Customers emails need to exist in sendlane to have a tag added. This does not add new customers to Sendlane.
:::

# DynamoDB Destination

Chord will handle the connection to the DynamoDB destination for you. You can view it as part of your [Data Activations](https://docs.chord.co/data-activations):&#x20;

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-GSUPCD0jzNGoCxiv5gAFW-20250604-160005.png)

# Creating a Sync

Using our Sync UI, we first need to create a new sync that connects a custom Audience as the **source** and our DynamoDB table as the **destination**.&#x20;

As a Chord tenant, you will have access to your own dedicated DynamoDB table. The example below is using `chord_audiences` for documentation purposes.

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-IIBTNPUc8q9wVFWASXs9f-20250604-160053.png)

## Select Sync Behavior

Sync Behaviors dictate the types of change that should be applied to your data when a sync finds a matching (or not) record in a source and a destination.

Available sync behaviors are:

- **Update or Create (aka Upsert):** Update existing destination records when IDs match, otherwise, create new records if they're missing.
- **Mirror:** Keep the destination in sync with the source.
  - If a row is added or edited in the source, update the destination.
  - If a previously synced row no longer is in the source, remove the matching object from the destination.

:::hint{type="info"}
Mirror syncs identify changes by comparing against the data they have already sent -- not the data that might or might not already exist in the destination.&#x20;

This means that the first sync will be an upsert for all records, and the second and following syncs will account for changes from the source data.
:::

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-HWRhV1evYyi9ZT8Iia6mH-20250604-160243.png)

# Sync Key

:::hint{type="danger"}
**Note:&#x20;**&#x54;he following steps (Sync Key, Field Mapping) are more advanced and should be handled by Chord employees or individuals with a strong understanding of the feature.
:::

Sync Keys will dictate how to associate data in the source with the destination. Both the source and destination need to provide a single, unique per record, identifying field. The identifiers will be used to look for matches. When a match is found - or not found - we then can use your selected Sync Behavior to decide what to do.&#x20;

Your sync key can be any kind of unique identifier, like a user ID, an email address, etc. However, we do recommend using a “blended user ID” provided by Chord if possible (see below).

## Mapping with a blended user identifier

Some audiences may contain what we call a “blended user ID,” which is derived from the Chord data models to contain the CDP User ID - if one exists - else the Anonymous ID. This use case is particularly useful when mixing users that may or may not have a known CDP User ID.

This means that you will be able to look up a user via the Audience API using either a CDP anonymous ID or a known User ID (in this case).

:::hint{type="info"}
When using blended ID, it is very important to keep in mind that if you query an Anonymous ID that was identified at any point, our API won't return any result.
:::

# Field Mapping

Once you've defined *how* data is related between your source and destination, the next step is to determine *what* properties should be updated. The field mapping step lets you specify how fields should be mapped from your source model to the destination object's fields.

- We start by assigning our unique user identifier. `anonymous_current_cdp_blended_user_id` will become our `pk` (primary key).
- We can then set up the `sk` (sort key). It is **important** to ensure that this value reflects the name of the Audience being synced. You can easily obtain that value by choosing `Sync Metadata > Source Name`

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-l-DPlQsNVCkMdTHP09kVw-20250604-184828.png)

You should end up with the following:

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-k8QyJ3A0yWvduWyPeXSWC-20250604-184854.png)

# Sync Schedule

Like any [Data Activations sync](https://docs.chord.co/gFnF-data-activations) on the Chord data platform, the Sendlane sync can be scheduled to run at regular intervals.&#x20;

The Chord platform will display the sync results on th&#x65;**&#x20;Data Activations** page when you click into the **"Manage Syncs"** button.&#x20;

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-fuAQWG0ucAxMkBZweRVhS-20250604-184943.png "Sync Schedule Dropdown")

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-E3YejzY7wz1A8fcHZAkri-20250604-185856.png)

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-QZ2bv9iaWkdE7_QQEwX_6-20250604-190014.png "My Syncs sidesheet ")


[title] Financial Models
[path] Chord Data Platform/Data Models/

Chord gives you three OMS explores for financial, refund, and return analysis. The Transactions explore covers cash movement (sales, captures, and refunds) and books refunds on the date they were issued. The Refund Line Items and Return Line Items explores break refunds and returns down to the order line, so you can read them by product. These explores are available to OMS tenants.

## Quick Reference, Which Explore Should I Use?

| Business question                                               | What you want to understand                     | Explore                         |
| --------------------------------------------------------------- | ----------------------------------------------- | ------------------------------- |
| How much revenue moved in this period, including refunds?       | Cash-basis revenue and refund dollars by date   | Transactions                    |
| Which products are getting refunded, and for how much?          | Refund dollars and refunded units by product    | Refund Line Items               |
| Which products are getting returned, and why?                   | Returned units and return reasons by product    | Return Line Items               |
| Were these refunds tied to a customer return or a cancellation? | Restock type behind each refunded line          | Refund Line Items               |
| When was the return opened versus when was the refund issued?   | The two date axes (return date and refund date) | Transactions, Return Line Items |

## Key Dimensions and Metrics

### Transactions

One row per successful cash-moving transaction (sale, capture, or refund). Refunds book on the date the refund was issued rather than the original order date, which keeps month over month revenue stable.

Common metrics: Gross Sales, Net Sales, # Refunds, # Refunds (distinct), Refunded Amount Sum, # Returns (distinct), Returned Quantity Sum.

Common dimensions: transaction date (cash basis), transaction kind (sale, capture, refund), Refund Created At, Return Created At, Return Status, Return Closed At.

Use this explore for revenue reporting and for refund or return dollars grouped by date.

### Refund Line Items

One row per refunded order line. Join to the order line to group refunds by product (product title, SKU).

Metrics: # Refund Lines, Refunded Quantity, Refunded Subtotal, Refunded Tax, Refunded Amount (incl tax).

Dimensions: Restock Type, Refund Created At, plus product fields from the joined order line.

Use this explore to see refund dollars and refunded units by product.

A note on coverage: the line-item amounts cover merchandise only. They do not include shipping refunds or order adjustments such as restocking fees, because those are not attributed to a product line. The sum of per-line refund amounts will be lower than a refund's full amount by that non-product portion.

### Return Line Items

One row per returned order line. Join to the order line to group returns by product.

Metrics: # Return Lines, Returned Quantity, Refunded Quantity, Refundable Quantity.

Dimensions: Return Reason, Return Reason Note, Return Created At, plus product fields from the joined order line.

Use this explore to see returned units and return reasons by product, and to find returns that are not yet fully refunded (Refundable Quantity greater than zero).

## Glossary

| Term                       | Definition                                                                       | How to use it                                                                                                  | Where you'll see it                                                      |
| -------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
| Return Created At          | The date the return was opened                                                   | Matches your OMS Total Sales and Net Sales reporting, which book a return when it is opened                    | Return Line Items, Transactions (Return Created At)                      |
| Refund Created At          | The date the refund was issued                                                   | Matches your OMS Finance and Refunds reporting, which book on the refund date                                  | Transactions (Refund Created At and transaction date), Refund Line Items |
| Restock Type               | How the refunded items were handled (no restock, cancel, return, legacy restock) | Tells you whether a refunded line was a cancellation before fulfillment (cancel) or a customer return (return) | Refund Line Items                                                        |
| Returned Quantity          | Units returned on the line                                                       | The volume of product coming back                                                                              | Return Line Items                                                        |
| Refunded Quantity          | Units that have already been refunded                                            | Compare against Returned Quantity to see how much of a return has been settled                                 | Return Line Items                                                        |
| Refundable Quantity        | Units on a return still eligible to be refunded                                  | Find returns that are open and not yet fully refunded                                                          | Return Line Items                                                        |
| Refunded Amount (incl tax) | Refunded subtotal plus refunded tax for a line                                   | Product-level refund value. Does not include shipping or restocking-fee refunds                                | Refund Line Items                                                        |

## Choosing the right date

Returns and refunds sit on two different dates, and they can be weeks apart. A return is opened first (Return Created At), and the refund is issued later (Refund Created At). Group by Return Created At when you want to match your OMS Total Sales view. Group by Refund Created At (or the Transactions explore's transaction date) when you want to match your OMS Finance and Refunds view.

[title] NetSuite
[path] Chord Data Platform/Data Sources/Connect Data Sources/

Connect your NetSuite financial and operational data to Chord. NetSuite is the ERP that powers accounting, inventory, procurement, and order management for many Chord brands. Chord ingests cost, inventory, and revenue attribution data from NetSuite so you can model true per-order COGS, landed costs, and margin alongside the rest of your stack: the costing detail that storefront and subscription platforms don't carry.

Unlike most Chord connectors, which take a single API key, NetSuite uses token-based authentication (TBA), an OAuth 1.0a flow that requires a short setup inside NetSuite to create an integration record, an access token, and a dedicated integration role. This page walks through that setup, the exact role permissions Chord needs, and how to connect the credentials in Chord Hub.

## What Chord ingests from NetSuite

Chord reads NetSuite through SuiteQL and pulls cost and revenue attribution data. Each dataset becomes its own table in your Chord Snowflake schema.

**On the cost side:**

- **Per-transaction COGS:** the realized cost of goods sold posted to the general ledger, sourced from the accounting lines on item fulfillment events (see the note below on when COGS posts).
- **Procurement costs:** purchase costs flowing through purchase orders, vendor bills, and item receipts.
- **Landed costs:** freight, duty, and handling capitalized into inventory cost, where you track them.
- **Inventory cost movements:** cost changes from inventory adjustments and item location cost data.

**On the revenue attribution side,** Chord ingests:

- **Sales orders, invoices, cash sales, and credit memos:** the order and billing documents that tie cost back to revenue.
- **Customer payments:** applied receipts against invoices.
- **Vendor bills, purchase orders, and item receipts:** the procurement documents.
- **Item fulfillments:** shipment events, where per-line COGS posts to the GL.

:::hint{type="info"}
**Heads up:** COGS posts on the item fulfillment event when goods ship, not when the sales order is created. Orders that are entered but not yet fulfilled will show no COGS until the fulfillment posts. This is expected NetSuite behavior, not a gap in the connector.
:::

## Set up token-based authentication in NetSuite

NetSuite authenticates Chord with five values you'll generate during this setup and then paste into Chord Hub:

- Account ID
- Consumer Key
- Consumer Secret
- Token ID
- Token Secret

The setup has three parts: enable the right features, create an integration record, and create an access token tied to a dedicated role. You'll need NetSuite administrator access to complete it.

:::hint{type="warning"}
**Heads up:** the consumer secret and token secret are each shown only once, at the moment you create the integration record and the access token respectively. Copy all five values somewhere safe as you go. If you lose a secret, you can't reveal it later. You'll have to regenerate the integration record or token.
:::

### 1. Enable the required features

In NetSuite, go to **Setup → Company → Enable Features** and open the **SuiteCloud** subtab. All of these settings live on that one subtab:

- In the **SuiteScript** section, confirm **Client SuiteScript** and **Server SuiteScript** are enabled (a prerequisite for token-based authentication).
- In the **Manage Authentication** section, enable **Token-Based Authentication**.
- In the **SuiteTalk (Web Services)** section, enable **REST Web Services**.
- Save the page.

### 2. Create an integration record

Go to **Setup → Integration → Manage Integrations → New**, give the integration a recognizable name (for example, `Chord Data Sync`), and configure it:

- Enable **Token-Based Authentication**.
- Enable **TBA: Issue Token Endpoint**.
- Disable **TBA: Authorization Flow**.
- Disable **Authorization Code Grant**.
- Save the record.

NetSuite displays the consumer key and consumer secret once on the confirmation screen. Copy both now.

### 3. Create an access token

Go to **Setup → Users/Roles → Access Tokens → New** and link three things:

- The integration record you created in step 2.
- A dedicated integration user (an employee record reserved for this connection).
- The integration role carrying the permissions listed below.

Save the token. NetSuite displays the token ID and token secret once. Copy both now.

### 4. Grant the integration role its permissions

The integration role must carry the permissions below, grouped by the NetSuite subtab where you'll find each one. This is the part merchants most often get wrong.

:::hint{type="warning"}
**Important:** Chord reads NetSuite via SuiteQL, which needs three permissions working together: **REST Web Services** and **Log in using Access Tokens** (both under **Setup**), plus **SuiteAnalytics Workbook**, which lives under **Reports** (not Setup) and must be set to access level **Edit**. REST Web Services alone is not enough. SuiteQL also enforces per-table access, so the role needs the **View** permission for every record type Chord reads (the Transactions and Lists grants below). A missing table permission doesn't raise an access error. Instead, the table simply appears not to exist, so that data silently never arrives.
:::

**Setup:**

- Log in using Access Tokens: Full
- REST Web Services: Full

**Reports:**

- SuiteAnalytics Workbook: Edit (this is the permission that authorizes SuiteQL; it lives under Reports, not Setup).
- Financial Statement: View
- Landed Cost Templates: View (optional, only if you track landed costs).

**Transactions (all View):**

- Sales Order
- Invoice
- Cash Sale
- Credit Memo
- Customer Payment
- Item Fulfillment
- Find Transaction
- Vendor Bill
- Purchase Order
- Item Receipt
- Adjust Inventory
- Adjust Inventory Worksheet

**Lists (all View):**

- Customers
- Items
- Vendors
- Subsidiaries
- Accounts
- Departments
- Classes
- Locations

**Custom Records (optional, View, only if you track landed costs):**

- Landed Cost Template
- Landed Cost Template Detail
- Landed Cost Template Mapping

### OneWorld and multiple subsidiaries

On OneWorld accounts, NetSuite's REST API, including SuiteQL, silently filters every response to the integration role's subsidiary scope. There is no error; data outside that scope is simply omitted. A role's **Subsidiary Restrictions** defaults to **User Subsidiary**, which returns only the integration user's own subsidiary. To ingest every subsidiary, set the integration role's **Subsidiary Restrictions** to **All** (or select the specific subsidiaries you want), and make sure the integration employee record has access to them. Otherwise you'll get a clean-looking but incomplete dataset.

## Connect the credentials in Chord

Open Chord Hub and go to **Data Sources → Add Source**.

Pick **NetSuite** from the data source list and enter the five values you generated during setup:

- **Account ID:** your NetSuite account number. Use the plain numeric ID for production. For a sandbox, use the underscore form (for example, `1234567_sb1`), not the hyphenated form shown in the browser URL.
- **Consumer Key**
- **Consumer Secret**
- **Token ID**
- **Token Secret**

Click **Save**. Chord stores the credentials encrypted; it does not make a live call against NetSuite at this step.

When ingestion is enabled for your tenant, the first sync kicks off automatically and validates the credentials end to end. Subsequent syncs run on your tenant's standard ingestion schedule.

:::hint{type="info"}
**Heads up:** because Chord doesn't test the connection when you click Save, a wrong value or a missing role permission won't surface until the first ingestion job runs. If your first sync fails, the troubleshooting items below cover the most common causes.
:::

## Troubleshooting

### Credentials saved but no data is coming through, or I see "role does not have permission"

This almost always means the integration role is missing the **SuiteAnalytics Workbook** permission, or one of the per-record View permissions listed above.

Chord reads NetSuite via SuiteQL, and SuiteQL queries are authorized specifically by **SuiteAnalytics Workbook**. REST Web Services alone is not enough, which is why the credentials save cleanly but the data read fails. A missing table permission makes that table look like it does not exist rather than returning an access error.

1. Add **SuiteAnalytics Workbook (Edit)** under **Reports** on the integration role.
2. Confirm the **Transactions** (including **Find Transaction**) and **Lists** View grants.
3. Save the role.
4. Re-run the sync.

### I'm on OneWorld and some subsidiaries are missing

NetSuite's REST API, including SuiteQL, silently scopes every response to the integration role's subsidiary access. There's no error when data is filtered out.

1. Set the integration role's **Subsidiary Restrictions** to **All** (or select the subsidiaries you want).
2. Make sure the integration employee record has access to those subsidiaries.
3. Re-run the sync.

### Pending orders show no COGS. Is something wrong?

No. NetSuite posts per-line COGS to the GL on the item fulfillment event, when goods ship, not when the sales order is created. Orders that haven't been fulfilled yet will correctly show no COGS until the fulfillment posts.

### Do NetSuite tokens expire?

No. Access tokens stay valid until someone explicitly revokes them in **Setup → Users/Roles → Access Tokens**. If a previously working connection suddenly fails, check that the token is still listed and active, and that the integration role and user are still enabled.

### I lost one of the secrets. How do I recover it?

The consumer secret and token secret are shown only once and can't be revealed later.

- If you lose the consumer secret, regenerate it on the integration record (**Setup → Integration → Manage Integrations**).
- If you lose the token secret, create a new access token (**Setup → Users/Roles → Access Tokens**).

Paste the new values into the same Chord credential entry and save.

### What account ID format should I use for a sandbox?

Use the underscore form, such as `1234567_sb1`. The hyphenated form you see in the NetSuite browser URL (for example, `1234567-sb1`) will not authenticate. Production accounts use the plain numeric ID.

### How do I rotate the credentials?

1. Create a new access token in NetSuite (and a new integration record if you're also rotating the consumer key/secret).
2. Paste the new values into the same Chord credential entry.
3. Save.

Chord uses the new credentials on the next scheduled sync. Once you've confirmed a clean sync, revoke the old token in NetSuite.

### Need help?

If you hit a credential, permission, or connectivity issue you can't resolve, reach out to [help@chord.co](mailto\:help@chord.co) with the exact error message. We'll trace the request and tell you what's failing.

[title] Data Activations
[path] Chord Data Platform/Data Activations/

# Overview

Chord's core differentiator is that it is a comprehensive data platform that not only collects rich transactional and behavioral customer data but also allows modern commerce brands to leverage this data innovatively to unlock competitive marketing campaigns and analytical insights downstream.&#x20;

With over 160 activation destinations (and counting), Chord provides ample opportunities to engage your data further.&#x20;

Some popular destinations include:&#x20;

- Attentive
- Braze
- Customer.io
- Facebook Ads
- Google Ads
- Google Analytics 4
- Hubspot
- Intercom
- Iterable
- Klaviyo
- Marketo&#x20;
- Reddit Ads
- Salesforce
- Slack
- Zendesk

See our full list of [available destinations](https://docs.chord.co/available-destinations). Chord's Data Activations solution will allow brands to sync Chord-collected data to a vast array of marketing and other data activation tools. This exciting feature suite allows customers to activate their Chord data in smart ways to increase sales and boost store operations.&#x20;

# Sample Use Cases

Chord Data Activations can empower many different workflows, including but not limited to the following:

- As a **growth marketer**, I want to send automated look-a-like and suppression lists based off advanced analytics to ad platforms to reduce CAC.
- As an **email marketer**, I want to send advanced and predictive analytics to my email platform to personalize campaigns and segment my users to increase customer engagement and reduce CAC.
- As an **accountant**, I want to send analytics to our accounting software to customize our platform, increase efficiencies, and reduce time to close.
- As a **data creator**, I want my various cross-functional teams to self-serve activate advanced and predictive analytics across various platforms.
- As a **developer**, I want my cross-functional teams to send any analytics and predictive analytics to a wide range of destinations without substantial development time (adding to/deleting properties from events, creating and maintaining various integrations).

# Getting Started

You can easily connect and get started with Chord Data Activations. Read on to understand how you can add data destinations and manage your data syncs.&#x20;

:::hint{type="info"}
If your store does not have full access to Chord Data Activations, you can request access by clicking on the "Request Access" button on the Data Activations page. A Chord team member will reach out to you shortly!

**Note:** Once someone submits a Data Activations access request on behalf of your organization, it will stay in the queue until it is addressed. In other words, there is no need to submit multiple requests for access - we will log one access request per organization.&#x20;
:::

# Connect a Destination

Before you can send and sync your data, you need to set up a destination for the data.

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/9pzOJrQB09tfcwHXcfrhe_screenshot-2024-07-15-at-54638-pm.png)

1. Make sure you are logged into the platform and navigate to **Data Activations&#x20;**&#x6F;n the left navigation panel.
2. Under **Data Activations**, you'll be able to perform the following actions:&#x20;
   1. **Manage Syncs:** Manage existing data syncs to specific destinations.
   2. **Add Destination:&#x20;**&#x41;dd a new data destination.&#x20;
3. Select **Add Destination** to set up a new destination to send your store data.
4. Select the desired destination via the destination catalog. Note that you will need to have API keys ready to make the connection. (Note: Search functionality on this page is coming soon!)
5. Once you select a destination, you will be taken to the destination connection flow.
6. Complete your destination setup to begin managing your data syncs!

## Manage Syncs

Once you have connected a destination, you can begin managing your syncs.&#x20;

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/7U5zexVtadX1gaCG_on_4_screenshot-2024-07-15-at-54509-pm.png)

1. Click on the **Manage Syncs** button on the **Data Activations** landing page.
2. On this page (**My Syncs**), you'll see any existing data destination syncs and their status.
3. To create a new sync, click the **Add New Sync** button.&#x20;
4. When you click **Add New Sync**, you'll be taken to our **Create Sync** flow. You can choose what data source you'd like to pull data from and the destination you want to send that data. Continue to follow along the guided setup to create your sync.

::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/Zy4DO7jgpGCIbIwEB1hSA_screenshot-2024-06-28-at-44116-pm.png" size="100" width="982" height="815" position="center" showCaption="false" indent="2"}

5. To edit an existing sync, click any of the icons under the **Actions** column. Note: You can **Run, Stop, Delete, and Edit&#x20;**&#x65;xisting syncs.
   1. **Run a sync** means you are triggering a data sync ad hoc.&#x20;
   2. **Stop a sync** means you are stopping existing data from syncing for a destination.&#x20;
   3. **Delete a sync** means you are deleting the existing data sync for the chosen destination.
   4. **Edit a sync** means you are editing information about the data sync to the chosen destination. **Note: You are not able to update the sync cadence via this Edit functionality. See below for additional information on updating scheduled syncs.**
   5. **Update schedule** means you can set and update a data sync schedule for a given destination. See more information on how to do so below.&#x20;

## Update a Scheduled Sync

You can set specific data syncing schedules for each of your destinations. To edit the sync schedule for a given destination, you can follow the steps outlined below.

::loom[]{url="https://www.loom.com/embed/615fcb52c62b47e7a04c2b0fc6db5af3?sid=3c52230d-9581-42ad-b2c2-91ae597e8103"}

1. Once logged into the Chord platform, navigate to the **Data Activations** page.
2. Click on the **Manage Syncs&#x20;**&#x62;utton next to **Add Destination**.
3. Click th&#x65;**&#x20;clock icon** for the specific destination sync schedule you wish to edit.
4. Select the data sync cadence you wish you apply to the specific desination.
5. Click **Update** to finish updating the sync schedule.
6. Verify that the schedule has been updated for the destination you selected.

# Managing Destinations

Existing destinations may need to be updated from time to time. For example, if you see a broken destination sync, the token used to authorize Chord to connect to your destination may have expired and needs to be reauthorized.&#x20;

To fix a broken destination sync:&#x20;

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-1gt1bN7KxE0ad7VppnJvq-20250228-191524.png)

1. Click on the broken service to edit on the **Data Activations** page.
2. Click the **Edit Service** button. You will be redirected to a page where you can reauthorize the service.
3. Follow the steps on-screen, and input the tokens if necesary, to edit or reauthorize the app.

# Troubleshooting and FAQs

- **Question: There's a "Test Sync" feature within the data sync setup flow. What does this entail?**
  - The test sync will only send a record for one random user. Once the test is complete, it will populate with the record so you can check the destination that the data sent properly.
- **Question: Are there any limitations when it comes to editing existing syncs?**
  - Within the sync, you can rename the fields and configure the sync however you'd like.&#x20;
- **Question: What happens when a sync fails?&#x20;**
  - If a record is rejected during a sync (e.g., due to invalid data or a temporary issue), we will automatically retry it on the next scheduled sync run and until it succeeds. If a batch of records fails during a sync, our platform will retry that batch using an exponential backoff algorithm, meaning the time between retries increases with each attempt. If records are sent but rejected by the destination, these records will show as rejected and will be retried when the sync is re-executed.&#x20;
- **Question: I am getting a sync failure because of outdated information (like an outdated API key). How do I reset or update the sync details with new information?**
  - You can edit a sync setup by selecting the particular destination you'd like to update and clicking the **Edit Service** button. From there, you can review and edit the sync with new information as needed.
- **Question: I am having trouble syncing custom audiences with Microsoft Ads.&#x20;**
  - To sync custom audiences data with the Microsoft Advertising UI, you need to first accept the terms and conditions in the Microsoft Advertising UI when the customer list is initially created. After these terms and conditions are accepted, you can proceed to create the sync normally.

&#x20;




[title] Ads Module
[path] Chord Data Platform/Data Sources/

# Overview

Chord's Ads Module unlocks connections for various sources of ad spend data and enables a robust Ads explore, which is a wide dataset populated with enriched data fields.&#x20;

The Ads explore allows for the creation of custom reports and audiences or customer segments with granularity down to the campaign level. Ad spend data is also joined to Chord's rich marketing attribution data, enabling even more detailed performance analysis.

Sample fields available in Ads explore:

- Ad Name
- Ad Status
- Campaign Advertising Channel Type
- Campaign Name
- Source

The module enables direct connections to the following sources:

- Facebook Ads
- Google Ads
- Pinterest Ads
- TikTok Ads
- Youtube Ads
- Bing Ads (Now Available!)

The module unlocks access to the Advertising Spend model amplification (part of [Model Amplifications](https://docs.chord.co/model-amplifications)), which enables brands to add manual or offline ad spend data (e.g. podcasts, newsletters, billboards) for efficient ingestion and transformation alongside their digital ads data for a complete picture of marketing ads spend.

# Use Cases

- Brands create reports to track ad spend over time by channel
- Brands create reports to compare total impressions by campaign and channel



Please reach out to help\@chord.co or your account executive for more information about or access to this feature.


[title] Conversions
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Chord OMS/

### **x\_fct\_trans\_activities**

| Name                                                  | Definition                                                                                                                                                                                                                                                                                                                           |
| ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Activity Event Text                                   | The name of the event.                                                                                                                                                                                                                                                                                                               |
| Activity Event Text Id                                | The slug of the event name, mapping to the page or track event table.                                                                                                                                                                                                                                                                |
| Activity Id                                           | The unique identifier of an activities (i.e. Track or Page event).                                                                                                                                                                                                                                                                   |
| Activity Page Path                                    | The page path part of the URL. A page path is the part of URL that comes after the hostname (domain) and before the query parameters, URL fragment, or port. (e.g. \`/pages/contact-us/\` for \`https\://chord.co/pages/contact-us/?ref=internal-banner\`.)                                                                          |
| Activity Page Query                                   | The query string portion of the URL of the page.                                                                                                                                                                                                                                                                                     |
| Activity Page Title                                   | The title/name of the page.                                                                                                                                                                                                                                                                                                          |
| Activity Page Url                                     | The URL of the page.                                                                                                                                                                                                                                                                                                                 |
| Activity Session Activity Count                       | Total count of activities, pave views and tracked events within the session.                                                                                                                                                                                                                                                         |
| Activity Session Attribution Channel                  | The attribution channel for the first page event of the session. Sessions with an attribution of 'Unknown' indicates that there is no attributable data for that session.                                                                                                                                                            |
| Activity Session Attribution Channel Paid Or Organic  | Indicates if the session's first page attribution is paid or organic. Attribution is considered Organic if the attribution channel is 'Direct', 'Other', 'Organic Search', 'Organic Social', 'Email', or 'SMS'.                                                                                                                      |
| Activity Session Attribution First Page Url Has Gclid | Indicates if the first page event of the session has a Google Click ID.                                                                                                                                                                                                                                                              |
| Activity Session Attribution First Page Url Has Utm   | Indicates if the first page event of the session has any utm information.                                                                                                                                                                                                                                                            |
| Activity Session Attribution Has Referrer             | Indicates if the first page event of the session has a referrer host.                                                                                                                                                                                                                                                                |
| Activity Session Attribution Medium                   | The campaign medium represented by the UTM tags for the first page event of the session.                                                                                                                                                                                                                                             |
| Activity Session Attribution Source                   | The campaign source represented by the UTM tags for the first page event of the session.                                                                                                                                                                                                                                             |
| Activity Session Attribution Sub Channel              | Sub-Channel is a granular level of attribution.                                                                                                                                                                                                                                                                                      |
| Activity Session Completed Oms Order Ids              | Array of OMS Order IDs associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                        |
| Activity Session Completed Order Ids                  | Array of order IDs associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                            |
| Activity Session Completed Order Numbers              | Array of order numbers associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                        |
| Activity Session Days Since Last Session End          | The days between the last session's end and the start of this session.                                                                                                                                                                                                                                                               |
| Activity Session Device                               | The device on which the event was sent from.                                                                                                                                                                                                                                                                                         |
| Activity Session Device Category                      | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                            |
| Activity Session Duration In Seconds                  | Total seconds between start and end activities within the session.                                                                                                                                                                                                                                                                   |
| Activity Session Duration In Seconds Tiers            | Total seconds between start and end activities within the session, aggregated into tiers: 0-9s, 10-29s, 30-59s, and 60s or more.                                                                                                                                                                                                     |
| Activity Session Has Order Completion                 | Flag for sessions with an order completed or checkout completed front-end events                                                                                                                                                                                                                                                     |
| Activity Session Id                                   | Unique ID for the session.                                                                                                                                                                                                                                                                                                           |
| Activity Session Number                               | Session number per anonymous id.                                                                                                                                                                                                                                                                                                     |
| Activity Session Unique Completed Order Count         | Count of unique order ids associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                     |
| Activity Session Unique Completed Order Number Count  | Count of unique order numbers associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                 |
| Activity Utm Campaign                                 | The campaign name represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Activity Utm Content                                  | The campaign content represented by the UTM tags.                                                                                                                                                                                                                                                                                    |
| Activity Utm Medium                                   | The campaign medium represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Activity Utm Source                                   | The campaign source represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Activity Utm Term                                     | The campaign term represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Activity Website Locale                               | Locale of website. This will either be collected from the url or from the drop-down link on the store                                                                                                                                                                                                                                |
| Anonymous Completed Oms Order Ids                     | Array of OMS Order IDs associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                           |
| Anonymous Completed Order Ids                         | Array of order IDs associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                               |
| Anonymous Completed Order Numbers                     | Array of order numbers associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                           |
| Anonymous Current Blended User Id                     | Unique id derived from the user\_id and the anonymous\_id. Whenever a customer has a user\_id, the user\_anonymous\_id will be constant for                                                                                                                                                                                          |
| Anonymous Current User Id                             | The current user\_id associated with the anonymous\_id. This unique user\_id is created by Segment's Identify call. A user\_id can be associated to many anonymous\_ids.                                                                                                                                                             |
| Anonymous Id                                          | Unique id created by Chord for each anonymous visitor per store.                                                                                                                                                                                                                                                                     |
| Anonymous Segment Anonymous Id                        | Id created by Segment for each anonymous visitor. This id gets created as soon as a customer's browser loads the analytics javascript widget. The anonymous\_id remains unchanged through the entire browsing session from a single device. Depending on configuration, two stores connected stores may have the same anonymous\_id. |
| Anonymous Unique User Ids                             | Array of user IDs mapped to an anonymous ID.                                                                                                                                                                                                                                                                                         |
| Date Day Num Of Year                                  | The number representing the day of the year.                                                                                                                                                                                                                                                                                         |
| Date Id                                               | Unique key that uniquify a date.                                                                                                                                                                                                                                                                                                     |
| Date Month Num Of Year                                | The month number of the year.                                                                                                                                                                                                                                                                                                        |
| Last Seen Page Browser Locale                         | Locale of browser.                                                                                                                                                                                                                                                                                                                   |
| Last Seen Page Device                                 | The device on which the event was sent from.                                                                                                                                                                                                                                                                                         |
| Last Seen Page Device Category                        | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                            |
| Last Seen Page Event Table Name                       | The properly formatted name of the table of the event.                                                                                                                                                                                                                                                                               |
| Last Seen Page Event Text                             | The name of the event.                                                                                                                                                                                                                                                                                                               |
| Last Seen Page Event Text Id                          | The slug of the event name, mapping to the page or track event table.                                                                                                                                                                                                                                                                |
| Last Seen Page Gclid                                  | The Google Click ID. Google Click ID (GCLID) is a parameter passed in the URL with ad clicks, to identify the campaign and other attributes of the click associated with the ad for ad tracking and campaign attribution.                                                                                                            |
| Last Seen Page Id                                     | Unique key generated by Segment for each tracking or page event.                                                                                                                                                                                                                                                                     |
| Last Seen Page Oms Id                                 | Unique key generated by our models that uniquifies an OMS.                                                                                                                                                                                                                                                                           |
| Last Seen Page Host                                   | The host of the event's URL. For example \`https\://www\.store-staging.assembly.dev/myPage\` would become \`store-staging.assembly.dev\`. This facilitates grouping events by host.                                                                                                                                                  |
| Last Seen Page Path                                   | The page path part of the URL. A page path is the part of URL that comes after the hostname (domain) and before the query parameters, URL fragment, or port. (e.g. \`/pages/contact-us/\` for \`https\://chord.co/pages/contact-us/?ref=internal-banner\`.)                                                                          |
| Last Seen Page Query                                  | The query string portion of the URL of the page.                                                                                                                                                                                                                                                                                     |
| Last Seen Page Referrer                               | The referrer of the page. The referrer is the webpage that sends visitors to the site using a link. In                                                                                                                                                                                                                               |
| Last Seen Page Title                                  | The title/name of the page.                                                                                                                                                                                                                                                                                                          |
| Last Seen Page Url                                    | The URL of the page.                                                                                                                                                                                                                                                                                                                 |
| Last Seen Page Referrer Host                          | The host of the referrer. For example \`https\://www\.store-staging.assembly.dev/myPage\` would become \`store-staging.assembly.dev\`. This facilitates grouping events by host.                                                                                                                                                     |
| Last Seen Page Segment User Id                        | The unique ID of the user.                                                                                                                                                                                                                                                                                                           |
| Last Seen Page Store Id                               | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Last Seen Page Tenant Id                              | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                              |
| Last Seen Page User Agent                             | The User agent of the device making the request. A User agent request header is a characteristic string that lets servers and                                                                                                                                                                                                        |
| Last Seen Page User Id                                | Unique key generated by Chord to identify the user.                                                                                                                                                                                                                                                                                  |
| Last Seen Page Utm Campaign                           | The campaign name represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Last Seen Page Utm Content                            | The campaign content represented by the UTM tags.                                                                                                                                                                                                                                                                                    |
| Last Seen Page Utm Medium                             | The campaign medium represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Last Seen Page Utm Source                             | The campaign source represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Last Seen Page Utm Term                               | The campaign term represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Last Seen Page Website Locale                         | Locale of website. This will either be collected from the url or from the drop-down link on the store                                                                                                                                                                                                                                |
| Session Landing Page Browser Locale                   | Locale of browser.                                                                                                                                                                                                                                                                                                                   |
| Session Landing Page Device                           | The device on which the event was sent from.                                                                                                                                                                                                                                                                                         |
| Session Landing Page Device Category                  | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                            |
| Session Landing Page Event Table Name                 | The properly formatted name of the table of the event.                                                                                                                                                                                                                                                                               |
| Session Landing Page Event Text                       | The name of the event.                                                                                                                                                                                                                                                                                                               |
| Session Landing Page Event Text Id                    | The slug of the event name, mapping to the page or track event table.                                                                                                                                                                                                                                                                |
| Session Landing Page Gclid                            | The Google Click ID. Google Click ID (GCLID) is a parameter passed in the URL with ad clicks, to identify the campaign and other attributes of the click associated with the ad for ad tracking and campaign attribution.                                                                                                            |
| Session Landing Page Id                               | Unique key generated by Segment for each tracking or page event.                                                                                                                                                                                                                                                                     |
| Session Landing Page Oms Id                           | Unique key generated by our models that uniquifies an OMS.                                                                                                                                                                                                                                                                           |
| Session Landing Page Host                             | The host of the event's URL. For example \`https\://www\.store-staging.assembly.dev/myPage\` would become \`store-staging.assembly.dev\`. This facilitates grouping events by host.                                                                                                                                                  |
| Session Landing Page Path                             | The page path part of the URL. A page path is the part of URL that comes after the hostname (domain) and before the query parameters, URL fragment, or port. (e.g. \`/pages/contact-us/\` for \`https\://chord.co/pages/contact-us/?ref=internal-banner\`.)                                                                          |
| Session Landing Page Query                            | The query string portion of the URL of the page.                                                                                                                                                                                                                                                                                     |
| Session Landing Page Referrer                         | The referrer of the page. The referrer is the webpage that sends visitors to the site using a link. In                                                                                                                                                                                                                               |
| Session Landing Page Title                            | The title/name of the page.                                                                                                                                                                                                                                                                                                          |
| Session Landing Page Url                              | The URL of the page.                                                                                                                                                                                                                                                                                                                 |
| Session Landing Page Referrer Host                    | The host of the referrer. For example \`https\://www\.store-staging.assembly.dev/myPage\` would become \`store-staging.assembly.dev\`. This facilitates grouping events by host.                                                                                                                                                     |
| Session Landing Page Segment User Id                  | The unique ID of the user.                                                                                                                                                                                                                                                                                                           |
| Session Landing Page Store Id                         | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Session Landing Page Tenant Id                        | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                              |
| Session Landing Page User Agent                       | The User agent of the device making the request. A User agent request header is a characteristic string that lets servers and                                                                                                                                                                                                        |
| Session Landing Page User Id                          | Unique key generated by Chord to identify the user.                                                                                                                                                                                                                                                                                  |
| Session Landing Page Utm Campaign                     | The campaign name represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Session Landing Page Utm Content                      | The campaign content represented by the UTM tags.                                                                                                                                                                                                                                                                                    |
| Session Landing Page Utm Medium                       | The campaign medium represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Session Landing Page Utm Source                       | The campaign source represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Session Landing Page Utm Term                         | The campaign term represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Session Landing Page Website Locale                   | Locale of website. This will either be collected from the url or from the drop-down link on the store                                                                                                                                                                                                                                |
| Store Id                                              | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Store Name                                            | The name of the store.                                                                                                                                                                                                                                                                                                               |
| Store Oms Admin Url                                   | The Admin URL of that OMS.                                                                                                                                                                                                                                                                                                           |
| Store Oms Id                                          | Unique key generated by Chord that uniquifies an OMS.                                                                                                                                                                                                                                                                                |
| Store Oms Store Id                                    | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Store Oms Type                                        | The type of the OMS.                                                                                                                                                                                                                                                                                                                 |
| Store Id                                              | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Store Tenant Id                                       | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                              |
| Store Url                                             | The Storefront URL of of the store.                                                                                                                                                                                                                                                                                                  |
| User Address 1                                        | The first line of the street address.                                                                                                                                                                                                                                                                                                |
| User Address 2                                        | The optional second line of the address.                                                                                                                                                                                                                                                                                             |
| User Address City                                     | The city of the address.                                                                                                                                                                                                                                                                                                             |
| User Address Country                                  | The country of the address.                                                                                                                                                                                                                                                                                                          |
| User Address Name                                     | The full name of the customer, based on firstName and lastName.                                                                                                                                                                                                                                                                      |
| User Address State                                    | The region of the address, such as the province, state, or district.                                                                                                                                                                                                                                                                 |
| User Address Zip                                      | The postal code of the address.                                                                                                                                                                                                                                                                                                      |
| User Completed Oms Order Ids                          | Array of OMS Order IDs associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                |
| User Completed Order Ids                              | Array of order IDs associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                    |
| User Completed Order Numbers                          | Array of order numbers associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                |
| User Email                                            | The email associated with the user.                                                                                                                                                                                                                                                                                                  |
| User Id                                               | Unique ID per user. It is equal to either 1) a identified\_user\_id as identified by Segment in the Identify call, or 2) an anonynous\_id.                                                                                                                                                                                           |
| User Identified User Id                               | Unique ID per identified user. (See Segment's documentation on user\_id)\[https\://segment.com/docs/connections/spec/identify/#user-id].                                                                                                                                                                                             |
| User Ip                                               | IP address associated with the user.                                                                                                                                                                                                                                                                                                 |
| User Last Anonymous Id                                | Last seen anonymous\_id per user. An anonymous\_id is a unique ID per anonymous visitor. (See Segment's documentation on anonymous\_id)\[https\://segment.com/docs/connections/spec/identify/#anonymous-id].                                                                                                                         |
| User Last Segment Anonymous Id                        |                                                                                                                                                                                                                                                                                                                                      |
| User Segment User Id                                  | The unique ID of the user.                                                                                                                                                                                                                                                                                                           |
| User Unique Anonymous Ids                             | Array of all seen anonymous\_ids per user. An anonymous\_id is a unique ID per anonymous visitor. (See Segment's documentation on anonymous\_id)\[https\://segment.com/docs/connections/spec/identify/#anonymous-id].                                                                                                                |
| User Unique Completed Order Count                     | Count of unique order ids associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                             |

### **x\_fct\_trans\_sales**

| Name                                                   | Description                                                                                                                                                                                                                                                                                         |
| ------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Affiliate Email                                        | Email address of the affiliate.                                                                                                                                                                                                                                                                     |
| Affiliate Id                                           | Unique key generated by Chord to identify a unique affiliate.                                                                                                                                                                                                                                       |
| Affiliate Name                                         | Full name of the user.                                                                                                                                                                                                                                                                              |
| Affiliate Seen Emails                                  | List of email addresses seen.                                                                                                                                                                                                                                                                       |
| Affiliate User Id                                      | Unique key generated by Chord to identify a unique user.                                                                                                                                                                                                                                            |
| Billing Address Address1                               | The street address of the customer.                                                                                                                                                                                                                                                                 |
| Billing Address Address2                               | The optional second address of the customer.                                                                                                                                                                                                                                                        |
| Billing Address Alternative Phone                      | The customer's alternative phone number.                                                                                                                                                                                                                                                            |
| Billing Address City                                   | The city where the address is.                                                                                                                                                                                                                                                                      |
| Billing Address Company                                | A company name.                                                                                                                                                                                                                                                                                     |
| Billing Address Country Abbr                           |                                                                                                                                                                                                                                                                                                     |
| Billing Address Country Name                           | Full name of the country.                                                                                                                                                                                                                                                                           |
| Billing Address Firstname                              | First name of the customer.                                                                                                                                                                                                                                                                         |
| Billing Address Id                                     | Unique key generated by Chord to identify a unique address.                                                                                                                                                                                                                                         |
| Billing Address Lastname                               | Last name of the customer.                                                                                                                                                                                                                                                                          |
| Billing Address Oms Address Id                         | Unique key generated by Solidus that identifies an address.                                                                                                                                                                                                                                         |
| Billing Address Phone                                  | The customer's phone number.                                                                                                                                                                                                                                                                        |
| Billing Address State Abbr                             |                                                                                                                                                                                                                                                                                                     |
| Billing Address State Name                             | Full name of the state.                                                                                                                                                                                                                                                                             |
| Billing Address Zipcode                                | The postal code.                                                                                                                                                                                                                                                                                    |
| Order Adjustment Types                                 | List of distinct adjustment reasons for adjustments made to the order.                                                                                                                                                                                                                              |
| Order Admin Url                                        | The Admin URL of pointing to the order.                                                                                                                                                                                                                                                             |
| Order Applied Discount Codes                           | List of promotion codes applied to the order.                                                                                                                                                                                                                                                       |
| Order Applied Discount Codes Count                     | Count of promotion codes applied to the order.                                                                                                                                                                                                                                                      |
| Order Applied Discount Ids                             | List of promotion ids applied to the order.                                                                                                                                                                                                                                                         |
| Order Applied Discount Names                           | List of promotion names applied to the order.                                                                                                                                                                                                                                                       |
| Order Applied Discount Names Count                     | Count of promotion names applied to the order.                                                                                                                                                                                                                                                      |
| Order Cart Url                                         | Url of the cart which contains the order.                                                                                                                                                                                                                                                           |
| Order Channel                                          | The channel from which the order is created.                                                                                                                                                                                                                                                        |
| Order Completed Order Rank By Subscription             | Allows to rank completed orders by completion date for a subscription.                                                                                                                                                                                                                              |
| Order Completed Order Rank By User                     | Allows to rank completed orders by completion date for a user.                                                                                                                                                                                                                                      |
| Order Contains Refund                                  | Whether or not the order contains refund adjustments or refunds that are processed outside of the Chord OMS adjustment systems (for example via RMAs or cancellations).                                                                                                                             |
| Order Contains Replacement                             | Whether or not the order contains replacement adjustments or shipped replacement items (following an RMA authorization).                                                                                                                                                                            |
| Order Contains Return                                  | Whether or not the order contains returns (authorized RMAs).                                                                                                                                                                                                                                        |
| Order Contains Rma Refund                              | Whether or not the order contains RMA refunds (refunds issued after an RMA was requested and authorized).                                                                                                                                                                                           |
| Order Contains Rma Store Credits                       | This column is not documented.                                                                                                                                                                                                                                                                      |
| Order Currency                                         | The currency for this order.                                                                                                                                                                                                                                                                        |
| Order Customer Lifetime Month                          | Number of months between the current order's completion date and the user's first order completion date. First orders have a value of 1.                                                                                                                                                            |
| Order Customer Lifetime Week                           | Number of weeks between the current order's completion date and the user's first order completion date. First orders always have a value of 1.                                                                                                                                                      |
| Order Email                                            | The email address of the customer that made the order.                                                                                                                                                                                                                                              |
| Order Financial State                                  | The current payment state of the order.                                                                                                                                                                                                                                                             |
| Order Fulfillment Ids                                  | Array of unique keys generated by Chord to identify the unique shipments for an order.                                                                                                                                                                                                              |
| Order Fulfillment Numbers                              | The unique identifier for this shipment.                                                                                                                                                                                                                                                            |
| Order Fulfillment State                                | The current shipment state of the order.                                                                                                                                                                                                                                                            |
| Order Has Discount                                     | Whether or not the order has promotions applied to it.                                                                                                                                                                                                                                              |
| Order Has Order Tags                                   | Whether or not that order has tags.                                                                                                                                                                                                                                                                 |
| Order Hours From Order To First Fulfillment            | Number of hours between order completion and first order shipment; how long it takes a company to get the initial product out to a customer.                                                                                                                                                        |
| Order Hours From Order To Last Fulfillment             | Number of hours between order completion and last order shipment.                                                                                                                                                                                                                                   |
| Order Id                                               | Unique key generated by Chord to identify a unique order.                                                                                                                                                                                                                                           |
| Order Is Canceled                                      | Whether or not the order is canceled. The order is considered canceled when the canceled\_at date is not null.                                                                                                                                                                                      |
| Order Is Completed                                     | Whether or not that order is completed. The order is considered completed when the completed\_at date is not null. This means that the order does not necessarily have a state = `complete`, since states can change after the order completion (for example in the case of a refund).              |
| Order Is First Completed Order                         | Whether or not that order was the first completed order for a user.                                                                                                                                                                                                                                 |
| Order Is First Order                                   | Whether or not that order was the first order for a user.                                                                                                                                                                                                                                           |
| Order Is First Subscription Completed Order            | Whether or not that order was the first completed order for a subscription.                                                                                                                                                                                                                         |
| Order Is First Subscription Order                      | Whether or not that order was the first order for a subscription.                                                                                                                                                                                                                                   |
| Order Is Fulfilled                                     | Whether or not that order has shipped.                                                                                                                                                                                                                                                              |
| Order Is Part Of Subscription                          | Whether or not that order is part of a subscription.                                                                                                                                                                                                                                                |
| Order Is Pre Paid Purchase                             | Whether the order the orderincludes the purchase of a pre-payment; this could be a gift subscription, pre-pay subscription, or gift card.                                                                                                                                                           |
| Order Is Pre Paid Redemption                           | Whether the order included the redemption of a pre-payment; this could be the redemption of a gift subscription, pre-pay subscription, or gift card.                                                                                                                                                |
| Order Is Referred By Affiliate                         | Whether or not the user is referred by an affiliate.                                                                                                                                                                                                                                                |
| Order Is Referred By Referrer                          | Whether or not the user is referred by a referrer.                                                                                                                                                                                                                                                  |
| Order Is Replacement                                   | True when the order is a replacement order.                                                                                                                                                                                                                                                         |
| Order Is Suspicious Referral Conversion                | Wether this represents a suspicous referral conversions or not.                                                                                                                                                                                                                                     |
| Order Item Id                                          | Unique key generated by Chord to identify a unique order.                                                                                                                                                                                                                                           |
| Order Item Line Items Quantity                         | Sum of line items quantities per order.                                                                                                                                                                                                                                                             |
| Order Item Product Basket                              | List of product names per in the order.                                                                                                                                                                                                                                                             |
| Order Item Product Basket Count                        | Number of products in the order.                                                                                                                                                                                                                                                                    |
| Order Product Basket                                   | The titles of products for a given order array converted to a string.                                                                                                                                                                                                                               |
| Order Item Total Line Item Unit Quantity               | Sum of line item units in the order.                                                                                                                                                                                                                                                                |
| Order Item Total Line Items Quantity                   | Sum of line items quantities per order.                                                                                                                                                                                                                                                             |
| Order Item Unique Product Basket                       | List of unique product names per in the order.                                                                                                                                                                                                                                                      |
| Order Item Unique Product Basket Count                 | Number of unique products in the order.                                                                                                                                                                                                                                                             |
| Order Unique Product Basket                            | The list of unique products for a given order array converted to a string.                                                                                                                                                                                                                          |
| Order Item Unique Unit Basket                          | List of unique units in the order.                                                                                                                                                                                                                                                                  |
| Order Item Unique Unit Basket Count                    | Count of unique units in the order.                                                                                                                                                                                                                                                                 |
| Order Unit Basket                                      | The list of units for a given order array converted to a string.                                                                                                                                                                                                                                    |
| Order Item Unique Variant Basket                       | List of unique variant names per in the order.                                                                                                                                                                                                                                                      |
| Order Item Unique Variant Basket Count                 | Number of unique variants in the order.                                                                                                                                                                                                                                                             |
| Order Unique Variant Basket                            | The list of unique variants for a given order array converted to a string.                                                                                                                                                                                                                          |
| Order Item Unit Basket                                 | List of all units in the order.                                                                                                                                                                                                                                                                     |
| Order Item Unit Basket Count                           | Count of all units in the order.                                                                                                                                                                                                                                                                    |
| Order Unique Unit Basket                               | The list of unique units for a given order array converted to a string.                                                                                                                                                                                                                             |
| Order Item Variant Basket                              | List of variant names per in the order.                                                                                                                                                                                                                                                             |
| Order Item Variant Basket Count                        | Number of variants in the order.                                                                                                                                                                                                                                                                    |
| Order Variant Basket                                   | The titles of variants for a given order array converted to a string.                                                                                                                                                                                                                               |
| Order Number                                           | Human-readable unique key generated by Solidus that identifies an order. It begins with a set of Tenant-Store defined letters and ends in a nine-digit number (for example, CHORD-123456789). This number is shown to the users in various places. These combinations are unique for a given Store. |
| Order Oms Order Id                                     | Unique key generated by Solidus that identifies an order.                                                                                                                                                                                                                                           |
| Order Rank By User                                     | Allows to rank completed orders by completion date for a user.                                                                                                                                                                                                                                      |
| Order Tags                                             | List of tags associated to the order.                                                                                                                                                                                                                                                               |
| Order Tags Count                                       | Number of tags associated to the order.                                                                                                                                                                                                                                                             |
| Order Referral Conversion Suspicious Reasons           | A list of reasons explaining why the referral conversion is suspicious.                                                                                                                                                                                                                             |
| Order Referrer User Email                              | The email address of the customer identified with the referral.                                                                                                                                                                                                                                     |
| Order Special Instructions                             | Any special shipping instructions that have been specified by the customer during checkout.                                                                                                                                                                                                         |
| Order State                                            | The current state of the order.                                                                                                                                                                                                                                                                     |
| Order Store Id                                         | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                         |
| Order Store Name                                       | The name of the store.                                                                                                                                                                                                                                                                              |
| Order Store Oms Admin Url                              | The Admin URL of that OMS.                                                                                                                                                                                                                                                                          |
| Order Store Oms Id                                     | Unique key generated by Chord that uniquifies an OMS.                                                                                                                                                                                                                                               |
| Order Store Oms Store Id                               | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                         |
| Order Store Oms Type                                   | The type of the OMS.                                                                                                                                                                                                                                                                                |
| Order Store Id                                         | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                         |
| Order Store Tenant Id                                  | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                             |
| Order Store Url                                        | The Storefront URL of of the store.                                                                                                                                                                                                                                                                 |
| Order Subscription Customer Lifetime Month             | Number of months between the current order's completion date and the user's first subscription order completion date. First orders have a value of 1.                                                                                                                                               |
| Order Subscription Customer Lifetime Week              | Number of weeks between the current order's completion date and the user's first subscription order completion date. First orders always have a value of 1.                                                                                                                                         |
| Order User Referral Code                               | Unique key generated by Solidus that represents the user's referral code.                                                                                                                                                                                                                           |
| Order Website Locale                                   | Locale of website. This will either be collected from the url or from the drop-down link on the store.                                                                                                                                                                                              |
| Referral Conversion Rank By Referrer                   | Allows to rank a referral conversion by referrer.                                                                                                                                                                                                                                                   |
| Referral Id                                            | Unique key generated by Chord to identify a unique referral identifier.                                                                                                                                                                                                                             |
| Referral Is Converted                                  | Wether this represents a converted referral or not.                                                                                                                                                                                                                                                 |
| Referral Is First Conversion                           | Whether or not the referral was the referrer's first converted referral.                                                                                                                                                                                                                            |
| Referral Is First Non Suspicious Conversion            | Whether or not the referral was the referrer's first non suspicious converted referral.                                                                                                                                                                                                             |
| Referral Is Suspicious                                 | Wether this represents a suspicous referral conversions or not.                                                                                                                                                                                                                                     |
| Referral Non Suspicious Conversion Rank By Referrer    | Allows ranking of non-suspicious referral conversion by the referrer.                                                                                                                                                                                                                               |
| Referral Oms Referral Conversion Id                    | Unique key generated by Solidus that identifies a referral conversion.                                                                                                                                                                                                                              |
| Referral Suspicious Reasons                            | A list of reasons explaining why the referral conversion is suspicious.                                                                                                                                                                                                                             |
| Referrer Currency                                      | The currency for this referral identifier.                                                                                                                                                                                                                                                          |
| Referrer Email                                         | The email address of the customer identified with the referral.                                                                                                                                                                                                                                     |
| Referrer Id                                            | Unique key generated by Chord to identify a unique referral identifier.                                                                                                                                                                                                                             |
| Referrer Oms Referral Identifier Id                    | Unique key generated by Solidus that identifies a referral identifier.                                                                                                                                                                                                                              |
| Referrer User Referral Code                            | Unique key generated by Solidus that represents the user's referral code.                                                                                                                                                                                                                           |
| Shipping Address Address1                              | The street address of the customer.                                                                                                                                                                                                                                                                 |
| Shipping Address Address2                              | The optional second address of the customer.                                                                                                                                                                                                                                                        |
| Shipping Address Alternative Phone                     | The customer's alternative phone number.                                                                                                                                                                                                                                                            |
| Shipping Address City                                  | The city where the address is.                                                                                                                                                                                                                                                                      |
| Shipping Address Company                               | A company name.                                                                                                                                                                                                                                                                                     |
| Shipping Address Country Abbr                          |                                                                                                                                                                                                                                                                                                     |
| Shipping Address Country Name                          | Full name of the country.                                                                                                                                                                                                                                                                           |
| Shipping Address Firstname                             | First name of the customer.                                                                                                                                                                                                                                                                         |
| Shipping Address Id                                    | Unique key generated by Chord to identify a unique address.                                                                                                                                                                                                                                         |
| Shipping Address Lastname                              | Last name of the customer.                                                                                                                                                                                                                                                                          |
| Shipping Address Oms Address Id                        | Unique key generated by Solidus that identifies an address.                                                                                                                                                                                                                                         |
| Shipping Address Phone                                 | The customer's phone number.                                                                                                                                                                                                                                                                        |
| Shipping Address State Abbr                            |                                                                                                                                                                                                                                                                                                     |
| Shipping Address State Name                            | Full name of the state.                                                                                                                                                                                                                                                                             |
| Shipping Address Zipcode                               | The postal code.                                                                                                                                                                                                                                                                                    |
| Subscription Completed Oms Order Ids                   | List of completed OMS order ids by a subscription.                                                                                                                                                                                                                                                  |
| Subscription Completed Order Count                     | Total amount of orders completed by a subscription.                                                                                                                                                                                                                                                 |
| Subscription Completed Order Ids                       | List of completed order ids by a subscription.                                                                                                                                                                                                                                                      |
| Subscription First Order Unique Product Basket         | Array of unique product names ordered in the first order per subscription.                                                                                                                                                                                                                          |
| Subscription First Order Unique Variant Basket         | Array of unique SKUs ordered in the first order per subscription.                                                                                                                                                                                                                                   |
| Subscription Has Subscription Tags                     | Whether or not the subscription has tags.                                                                                                                                                                                                                                                           |
| Subscription Id                                        | Unique key generated by Solidus that identifies a subscription.                                                                                                                                                                                                                                     |
| Subscription Interval In Days                          | The number of days in the subscription interval.                                                                                                                                                                                                                                                    |
| Subscription Is Auto Redeemed                          | Whether the pre-paid subscription will be auto-redeemed or if an action is required by the recepient.                                                                                                                                                                                               |
| Subscription Is Gift                                   | Whether or not the pre-paid subscription is a gift.                                                                                                                                                                                                                                                 |
| Subscription Is Recurring                              | Whether the pre-paid subscription is recurring.                                                                                                                                                                                                                                                     |
| Subscription Last Order Unique Product Basket          | Array of unique product names ordered in the latest order per subscription.                                                                                                                                                                                                                         |
| Subscription Last Order Unique Variant Basket          | Array of unique SKUs ordered in the latest order per subscription.                                                                                                                                                                                                                                  |
| Subscription Oms Pre Paid Subscription Id              | ID generated by ChordOMS to identify a unique pre-paid subscription.                                                                                                                                                                                                                                |
| Subscription Oms Subscription Id                       | Unique key generated by Solidus that identifies a subscription.                                                                                                                                                                                                                                     |
| Subscription Pre Paid Subscription Id                  | Chord generated unique id for the pre-pay subscription.                                                                                                                                                                                                                                             |
| Subscription State                                     | The current state of the subscription, enhanced with values for \`paused\` if the subscription is active and paused.                                                                                                                                                                                |
| Subscription Tags                                      | The list of tags associated with a subscription.                                                                                                                                                                                                                                                    |
| Subscription Tags Count                                | The number of tags associated with a subscription.                                                                                                                                                                                                                                                  |
| Subscription Unique Product Basket                     | Array of unique product names ever ordered per subscription.                                                                                                                                                                                                                                        |
| Subscription Unique Variant Basket                     | Array of unique SKUs ever ordered per subscription.                                                                                                                                                                                                                                                 |
| User Completed Oms Order Ids                           | List of completed OMS order ids by a user.                                                                                                                                                                                                                                                          |
| User Completed Order Ids                               | List of completed order ids by a user.                                                                                                                                                                                                                                                              |
| User Credit Category Basket                            | Array of credit categories (Gift Card, Reimbursement, Referral Credits, Prepaid Subscription, GMA) issued per user.                                                                                                                                                                                 |
| User Email                                             | Email address of the user.                                                                                                                                                                                                                                                                          |
| User First Completed Oms Order Id                      | OMS order id of the first order completed by a user.                                                                                                                                                                                                                                                |
| User First Completed Order Id                          | Unique order id of the first order completed by a user.                                                                                                                                                                                                                                             |
| User First Order Unique Ordered Products               | Unique products ordered by the user in their first completed order.                                                                                                                                                                                                                                 |
| User First Order Unique Ordered Skus                   | Unique SKUs ordered by the user in their first completed order.                                                                                                                                                                                                                                     |
| User Has Ordered A La Carte                            | Whether or not the user has had at least one order that is not part of a subscription.                                                                                                                                                                                                              |
| User Has Promo Applied In First Order                  | Whether or not the user has a promo applied to their first completed order.                                                                                                                                                                                                                         |
| User Has Subscription In First Order                   | Whether or not the user's first order is linked to a subscription.                                                                                                                                                                                                                                  |
| User Id                                                | Unique key generated by Chord to identify a unique user.                                                                                                                                                                                                                                            |
| User Is Active Subscriber                              | Whether or not the user has an active subscription with at least one completed subscription order. An active subscription is one that is not cancelled or paused.                                                                                                                                   |
| User Is Customer                                       | Whether or not the user is a customer.                                                                                                                                                                                                                                                              |
| User Is New Customer                                   | Whether or not the user is a new customer.                                                                                                                                                                                                                                                          |
| User Is Not Customer                                   | Whether or not the user is not a customer.                                                                                                                                                                                                                                                          |
| User Is Returning Customer                             | Whether or not the user is a returning customer.                                                                                                                                                                                                                                                    |
| User Is Subscriber                                     | Whether or not the user has completed at least one subscription order.                                                                                                                                                                                                                              |
| User Login                                             | The login email address of the user.                                                                                                                                                                                                                                                                |
| User Name                                              | Full name of the user.                                                                                                                                                                                                                                                                              |
| User Number Of Completed A La Carte Orders             | Total amount of orders completed by a user that are a la carte.                                                                                                                                                                                                                                     |
| User Number Of Completed Subscription Orders           | Total amount of orders completed by a user that was part of a subscription.                                                                                                                                                                                                                         |
| User Number Of Orders With Promos                      | The count of completed orders with a promo applied.                                                                                                                                                                                                                                                 |
| User Number Of Subscriptions                           | Total amount of subscriptions linked to a user.                                                                                                                                                                                                                                                     |
| User Oms User Id                                       | Unique key generated by Solidus that identifies a user.                                                                                                                                                                                                                                             |
| User Phone                                             | Phone number of the user.                                                                                                                                                                                                                                                                           |
| User Total Completed Order Count                       | Total amount of orders completed by a user.                                                                                                                                                                                                                                                         |
| User Unique Ordered Products                           | Unique products ordered by the user across all orders.                                                                                                                                                                                                                                              |
| User Unique Ordered Skus                               | Unique SKUs ordered by the user across all orders.                                                                                                                                                                                                                                                  |
| Billing Address Created At (Universal)                 | Timestamp at which the address row was created - Universal Time Zone.                                                                                                                                                                                                                               |
| Billing Address Updated At (Universal)                 | Timestamp at which the address row was last updated - Universal Time Zone.                                                                                                                                                                                                                          |
| Order Approved At (Universal)                          | Reflects when the entity was approved in Solidus - Universal Time Zone.                                                                                                                                                                                                                             |
| Order Canceled At (Universal)                          | Reflects when the order was cancelled - Universal Time Zone.                                                                                                                                                                                                                                        |
| Order Completed At (Central)                           | Reflects when the entity was moved to the `completed` state - Cental Time Zone.                                                                                                                                                                                                                     |
| Order Completed At (Eastern)                           | Reflects when the entity was moved to the `completed` state - Eastern Time Zone.                                                                                                                                                                                                                    |
| Order Completed At (Mountain)                          | Reflects when the entity was moved to the `completed` state - Mountain Time Zone.                                                                                                                                                                                                                   |
| Order Completed At (Pacific)                           | Reflects when the entity was moved to the `completed` state - Pacific Time Zone.                                                                                                                                                                                                                    |
| Order Completed At (Universal)                         | Reflects when the entity was moved to the `completed` state - Universal Time Zone.                                                                                                                                                                                                                  |
| Order Created At (Central)                             | Reflects when the entity was first created in Solidus - Cental Time Zone.                                                                                                                                                                                                                           |
| Order Created At (Eastern)                             | Reflects when the entity was first created in Solidus - Eastern Time Zone.                                                                                                                                                                                                                          |
| Order Created At (Mountain)                            | Reflects when the entity was first created in Solidus - Mountain Time Zone.                                                                                                                                                                                                                         |
| Order Created At (Pacific)                             | Reflects when the entity was first created in Solidus - Pacific Time Zone.                                                                                                                                                                                                                          |
| Order Created At (Universal)                           | Reflects when the entity was first created in Solidus - Universal Time Zone.                                                                                                                                                                                                                        |
| Order First Fulfillment Fulfilled At (Universal)       | Timestamp at which the first shipment for that order was shipped - Universal Time Zone.                                                                                                                                                                                                             |
| Order Last Adjustment Refund At (Universal)            | Timestamp of the last return adjustment for an order - Universal Time Zone.                                                                                                                                                                                                                         |
| Order Last Adjustment Replacement At (Universal)       | Timestamp of the last replacement adjustment for an order - Universal Time Zone.                                                                                                                                                                                                                    |
| Order Last Fulfillment Fulfilled At (Universal)        | Timestamp at which the last shipment for that order was shipped - Universal Time Zone.                                                                                                                                                                                                              |
| Order Updated At (Universal)                           | Reflects when the entity was last updated in Solidus - Universal Time Zone.                                                                                                                                                                                                                         |
| Referral Converted At (Universal)                      | Reflects when the referral entity was first converted in Solidus - Universal Time Zone.                                                                                                                                                                                                             |
| Referral Created At (Universal)                        | Reflects when the entity was first created in Solidus - Universal Time Zone.                                                                                                                                                                                                                        |
| Referral Updated At (Universal)                        | Reflects when the entity was last updated in Solidus - Universal Time Zone.                                                                                                                                                                                                                         |
| Referrer Created At (Universal)                        | Reflects when the entity was first created in Solidus - Universal Time Zone.                                                                                                                                                                                                                        |
| Referrer Updated At (Universal)                        | Reflects when the entity was last updated in Solidus - Universal Time Zone.                                                                                                                                                                                                                         |
| Shipping Address Created At (Universal)                | Timestamp at which the address row was created - Universal Time Zone.                                                                                                                                                                                                                               |
| Shipping Address Updated At (Universal)                | Timestamp at which the address row was last updated - Universal Time Zone.                                                                                                                                                                                                                          |
| Subscription Actionable Date (Universal)               | The date of the next subscription installment. This date is updated after each successful installment. Subscriptions in an inactive state will be null - Universal Time Zone.                                                                                                                       |
| Subscription Created At (Universal)                    | Reflects when the entity was first created in Solidus - Universal Time Zone.                                                                                                                                                                                                                        |
| Subscription First Order Completed At (Universal)      | The timestamp of the subscription's first completed order - Universal Time Zone.                                                                                                                                                                                                                    |
| Subscription Last Order Completed At (Universal)       | The timestamp of the subscription's last completed order - Universal Time Zone.                                                                                                                                                                                                                     |
| Subscription Updated At (Universal)                    | Reflects when the entity was last updated in Solidus - Universal Time Zone.                                                                                                                                                                                                                         |
| User Created At (Universal)                            | Timestamp at which the users row was created - Universal Time Zone.                                                                                                                                                                                                                                 |
| User Date Of Birth (Universal)                         | Date of birth of the user - Universal Time Zone.                                                                                                                                                                                                                                                    |
| User Deleted At (Universal)                            | Timestamp at which the user's account was deleted - Universal Time Zone.                                                                                                                                                                                                                            |
| User First Order Completed At (Universal)              | The timestamp of the user's first completed order - Universal Time Zone.                                                                                                                                                                                                                            |
| User First Subscription Order Completed At (Universal) | The timestamp of the user's first completed subscription order, regardless of subsequent subscriptions - Universal Time Zone.                                                                                                                                                                       |
| User Last Order Completed At (Universal)               | The timestamp of the user's last completed order - Universal Time Zone.                                                                                                                                                                                                                             |
| User Last Sign In At (Universal)                       | The last sign in timestamp for the user - Universal Time Zone.                                                                                                                                                                                                                                      |
| User Updated At (Universal)                            | Timestamp at which the users row was last updated - Universal Time Zone.                                                                                                                                                                                                                            |
| Average Additional Tax Total                           | Total additional taxes for an order.                                                                                                                                                                                                                                                                |
| Average Adjustment Fulfillment Tax Total               | Total adjustment shipment taxes for an order.                                                                                                                                                                                                                                                       |
| Average Adjustment Fulfillment Total                   | Total shipment adjustments applied to an order.                                                                                                                                                                                                                                                     |
| Average Adjustment Other Charges Total                 | Total of included additional adjustment charges paid for an order.                                                                                                                                                                                                                                  |
| Average Adjustment Other Credits Total                 | Total of credits issued for an order.                                                                                                                                                                                                                                                               |
| Average Adjustment Refund Total                        | Total of return dollars for an order.                                                                                                                                                                                                                                                               |
| Average Adjustment Replacement Total                   | Total of replacement dollars for an order.                                                                                                                                                                                                                                                          |
| Average Adjustment Rma Refund Total                    | Total of refund dollards associated to an order that was returned via the RMA functionality of the Chord OMS.                                                                                                                                                                                       |
| Average Adjustment Tax Total                           | Total adjustment taxes an order.                                                                                                                                                                                                                                                                    |
| Average Adjustment Total                               | Total of adjustment applied for an order as on the order.                                                                                                                                                                                                                                           |
| Average Applied Gift Card Total                        | Total of gift card dollars that were used as a payment method in the order                                                                                                                                                                                                                          |
| Average Commission Total                               | Commission for an order.                                                                                                                                                                                                                                                                            |
| Average Fulfillment Total                              | Total shipment for an order.                                                                                                                                                                                                                                                                        |
| Average Gross Revenue                                  | Gross amount of revenue generated by the order including items and shipments totals. Gross revenue = total - included\_tax\_total + shipment\_total - purchased\_gift\_card\_total - pre-payment subscription purchase amount                                                                       |
| Average Included Tax Total                             | Total included taxes for an order.                                                                                                                                                                                                                                                                  |
| Average Item Total                                     | Total price for the order before adjustments.                                                                                                                                                                                                                                                       |
| Average Net Revenue                                    | Net revenue generated by the order's items after promotions. Net revenue = total - included\_tax\_total + shipment\_total + adjustment\_total - additional\_tax\_total - purchased\_gift\_card\_total - pre-payment subscription purchase amount                                                    |
| Average Pre Paid Purchase Total                        |                                                                                                                                                                                                                                                                                                     |
| Average Pre Paid Redemption Total                      |                                                                                                                                                                                                                                                                                                     |
| Average Promo Total                                    | Promotions applied to an order.                                                                                                                                                                                                                                                                     |
| Average Purchased Gift Card Total                      | Total of gift card dollars that were purchased in the order.                                                                                                                                                                                                                                        |
| Average Reimbursement Credit Total                     | The amount of store credits owed back in an order                                                                                                                                                                                                                                                   |
| Average Tax Total                                      | Total taxes for an order.                                                                                                                                                                                                                                                                           |
| Average Total Price                                    | Total to be paid by the customer for an order.                                                                                                                                                                                                                                                      |
| Average Transaction Total                              | Total paid by the customer for a completed order.                                                                                                                                                                                                                                                   |
| Additional Tax Total                                   | Total additional taxes for an order.                                                                                                                                                                                                                                                                |
| Adjustment Fulfillment Tax Total                       | Total adjustment shipment taxes for an order.                                                                                                                                                                                                                                                       |
| Adjustment Fulfillment Total                           | Total shipment adjustments applied to an order.                                                                                                                                                                                                                                                     |
| Adjustment Other Charges Total                         | Total of included additional adjustment charges paid for an order.                                                                                                                                                                                                                                  |
| Adjustment Other Credits Total                         | Total of credits issued for an order.                                                                                                                                                                                                                                                               |
| Adjustment Refund Total                                | Total of return dollars for an order.                                                                                                                                                                                                                                                               |
| Adjustment Replacement Total                           | Total of replacement dollars for an order.                                                                                                                                                                                                                                                          |
| Adjustment Rma Refund Total                            | Total of refund dollards associated to an order that was returned via the RMA functionality of the Chord OMS.                                                                                                                                                                                       |
| Adjustment Tax Total                                   | Total adjustment taxes an order.                                                                                                                                                                                                                                                                    |
| Adjustment Total                                       | Total of adjustment applied for an order as on the order.                                                                                                                                                                                                                                           |
| Applied Gift Card Total                                | Total of gift card dollars that were used as a payment method in the order                                                                                                                                                                                                                          |
| Commission Total                                       | Commission for an order.                                                                                                                                                                                                                                                                            |
| Fulfillment Total                                      | Total shipment for an order.                                                                                                                                                                                                                                                                        |
| Gross Revenue                                          | Gross amount of revenue generated by the order including items and shipments totals. Gross revenue = total - included\_tax\_total + shipment\_total - purchased\_gift\_card\_total - pre-payment subscription purchase amount                                                                       |
| Included Tax Total                                     | Total included taxes for an order.                                                                                                                                                                                                                                                                  |
| Item Total                                             | Total price for the order before adjustments.                                                                                                                                                                                                                                                       |
| Net Revenue                                            | Net revenue generated by the order's items after promotions. Net revenue = total - included\_tax\_total + shipment\_total + adjustment\_total - additional\_tax\_total - purchased\_gift\_card\_total - pre-payment subscription purchase amount                                                    |
| Pre Paid Purchase Total                                |                                                                                                                                                                                                                                                                                                     |
| Pre Paid Redemption Total                              |                                                                                                                                                                                                                                                                                                     |
| Total Price                                            | Total to be paid by the customer for an order.                                                                                                                                                                                                                                                      |
| Promo Total                                            | Promotions applied to an order.                                                                                                                                                                                                                                                                     |
| Purchased Gift Card Total                              | Total of gift card dollars that were purchased in the order.                                                                                                                                                                                                                                        |
| Reimbursement Credit Total                             | The amount of store credits owed back in an order                                                                                                                                                                                                                                                   |
| Tax Total                                              | Total taxes for an order.                                                                                                                                                                                                                                                                           |
| Transaction Total                                      | Total paid by the customer for a completed order.                                                                                                                                                                                                                                                   |


[title] Dynamic Data Settings
[path] Chord Data Platform/Overview/

# Introduction

With customizable data settings via the **Data Settings** page, you now have the power to tailor key aspects of your Chord Commerce platform to match your unique business needs. With an intuitive interface and flexible options, managing your data reporting preferences is easier than ever—putting you in control of ensuring a seamless experience.

# Features included

:::hint{type="info"}
**Note:** To set your organization’s default time zone, please reach out to [help@chord.co](mailto\:help@chord.co) for assistance.
:::

Admin-level users on the platform are able to set the following for their organization via the Data Setup page:

- **Set Time Zone&#x20;**
  - **By default, the time zone setting for your organization will be set to UTC.** If you would like for the Chord team to preset a different time zone for your organization, an admin-level user must confirm what timezone setting you would like to use for your organization.
- **Set Week Start Day (Week Definition)**
- **Set Fiscal Year Start and Fiscal Periods**
- **Settings Change Log**
  - While we do not anticipate these organization-wide settings to change often, we will display a change log to show all users when and which a specific data setting was changed.

:::hint{type="warning"}
Any changes to these data settings will take place at your organization’s next scheduled data refresh and will apply across your entire organization.
:::

If you are a non-admin user, you will not have the ability to change any of the above settings and will see the options grayed-out, like so:&#x20;

Additionally, data platform users will also be able to use new date fields in Explores that are affiliated with your organization's fiscal calendar. See more details below on how to use these new date fields!&#x20;

# Get started

## Default time zone setting

- To support a unified time zone reporting structure, we removed all existing time zone field variations in explores.
- If you previously had any existing reports that utilized any of the specific time zone fields in explores, these fields have been automatically converted and mapped to the correct field.
  - While all underlying time zone fields were updated, any **filters** on **dashboards only** will require updating the filter **title only**.&#x20;
    - You can update the filter title by following the steps below:&#x20;
      - Click into “Edit dashboard”
      - Click the three dots next to the filter and click “Edit”
      - Edit the title (ex: remove `(Universal)`)

::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-CAZs6YVRlV61Lwdj3NTgP-20250410-033037.png" size="100" width="1580" height="1454" position="center" darkWidth="1580" darkHeight="1454" showCaption="false" indent="5"}

:::Paragraph{listStyleType="disc" listStart="4" indent="4"}
Click "Update"
:::

:::Paragraph{listStyleType="disc" listStart="5" indent="4"}
Click "Save" to save your dashboard.
:::

- **By default, the time zone setting for your organization will be set to UTC.** If you would like for the Chord team to preset a different time zone for your organization, an admin-level user must confirm what time zone setting you would like to use for your organization.

:::hint{type="info"}
The Chord standard default time zone is UTC. To change your organization’s default time zone, please reach out to [help@chord.co](mailto\:help@chord.co) for assistance.
:::

## Set week start day

This setting will determine when a typical business reporting week begins for your organization.

:::hint{type="info"}
The Chord standard default definition of a week is **Monday through Sunday**.
:::

## Set fiscal year start and fiscal period

This setting will determine when a typical business reporting year begins for your organization and which fiscal calendar period your business reporting should follow.

Note that if you select a fiscal period other than the default calendar (Gregorian), you will be able to choose a starting month via the dropdown field. Note that Chord uses fiscal period calendar logic as governed by the [National Retail Federation](https://nrf.com/resources/4-5-4-calendar).

***The default calendar setting (Gregorian) will always have a starting month of January and will not be able to be changed.***

:::hint{type="info"}
The Chord standard default fiscal calendar start is **January** and uses the **Gregorian** calendar.
:::

## Using fiscal calendar date fields and filters

With dynamic data settings, you will be able to take advantage of both **Standard Dropdown Date Filters&#x20;**&#x61;s well as **Relative Date Filters**.

### Standard dropdown date filters

- **Standard Dropdown Date Filters** refer to any and all time fields presented in the existing dropdown fields. These dropdown filters all correspond to the Gregorian Fiscal Calendar and start on Monday.&#x20;
  - Note that the **Standard Dropdown Date Filters cannot be changed**, as these are system defaults.
- With the **Standard Dropdown Date Filters**, you can conduct any analysis related to a specific point in time (day, week, month, year, etc) and filter by standard dimensions.

:::hint{type="warning"}
These filters do not take into account your organization's fiscal calendar settings.
:::

### Relative date filters

- **Relative Date Filters** are used in Chord Quickstarts and takes into account your organization's default fiscal calendar settings.
- **Relative Date Filters** are normally used in reports like the **Business Overview dashboard**, when you want to see your store performance in the last month and need to pull the most recent sales data every time you load the report.
- To set up your reports correctly using **Relative Date Filters**, you need to apply the following filters:&#x20;
  1. Click into the **Explore** you want to use as the base of your report.
  2. Select the **Relative Date Filter(s)** you need for your report.
  3. Click on number of fiscal periods to filter the report.&#x20;
  4. Set the Last Fiscal Periods filter to **YES** (Note: This is a mandatory filter. If this is not set, your reporting will not be accurate).

# Troubleshooting & FAQs

**Q: I’m not able to edit these settings. What am I doing wrong?**

A: Check to make sure you’re an admin-level user on our platform before attempting to change data settings for your organization. If you are an admin-level user and you are not able to edit these settings, please reach out to [help@chord.co](mailto\:help@chord.co) for help.

**Q: I don't see fiscal calendar options for every date field. Why don't I see fiscal calendars for every date field?**

A: The Chord Commerce team pre-selected the most-used date fields across explores to fiscal calendar options since there are hundreds, if not thousands, of date field options. As such, not all date fields will have fiscal calendars associated to them. If there is a particular date field you need for reporting purposes that doesn't have a fiscal calendar associated but should have one associated, please reach out to [help@chord.co](mailto\:help@chord.co) and we can get you squared away!

[title] Chord AI Modeling
[path] Chord AI/

:::hint{type="info"}
This feature is currently available to **Team Admins** and **Developers** only. If you need assistance, please reach out to help\@chord.co!&#x20;
:::

# Overview

Data modeling is the foundation for making your business data useful — and trustworthy. It’s the process of defining how your data is structured, connected, and labeled so that everyone in your organization can speak the same data language. It serves as a blueprint for how your store data is stored, used, and connected across all of your systems.

By building in relationships and calculated fields, Chord AI’s models act like a semantic layer, making the data more intelligible both to human users and AI agents. This helps facilitate clearer query writing, more robust automation, and more meaningful insight generation.

# Key Features

:::hint{type="warning"}
Remember to click the **Deploy Changes button&#x20;**&#x6F;n the **Modeling&#x20;**&#x70;age to sync any changes or edits you make within **Chord AI Modeling**!&#x20;

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/Q0yOTub8CH-uWWEexW6xv-20250930-132054.png)

*This applies to any changes you make to the features below:&#x20;****Models, Relationships, and Calculated Fields.***
:::

## **Models**

Models on Chord AI combine schema definitions, metadata, relationships, calculated fields, and semantic logic derived from tables in your data source. Essentially, Models help users and Chord AI understand how your data is interrelated.

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/H6K0VAH9bf_crdUZixbQN-20250930-131232.png)

::Image[]{src="https://app.archbee.com/api/optimize/TmutqdeXiIw-V3gBZXVjd/tN_Tmb1NgbmBeQAa6scH7-20250930-131148.png" size="58" width="1448" height="656" position="center" darkWidth="1448" darkHeight="656" showCaption="false"}

To create a **Model**, follow the instructions below.

1. Navigate to **Models** on Chord AI.
2. Click “**Add Model**”.
3. Select a table from your connected data source and click “**Next**”.
4. Select the columns you want to add to the model you selected, then click "**>**" to include them. ***Note: Selecting the primary key of your table is available and&#x20;*******optional*******.***
5. Save your **Model**.

## Relationships

Chord AI **Relationships** define how data tables and data models connect, enabling more efficient querying and analysis of linked data.

::Image[]{src="https://app.archbee.com/api/optimize/TmutqdeXiIw-V3gBZXVjd/xnybaEgNcvB_g9VBjeFM4-20250930-131254.png" size="42" width="780" height="752" position="center" darkWidth="780" darkHeight="752" showCaption="false"}

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/jmvX0zKW2vlUbYbZyLm5U-20250930-131316.png)

To add a **Relationship&#x20;**&#x74;o a model, follow the instructions below.

1. Navigate to **Models** on Chord AI.
2. Navigate to the specific model you wish to add a **Relationship**.
3. Select the **Actions** menu icon.
4. Click “**Add Relationship**”.
5. Define your **Relationship** properties:&#x20;
   - **From**: Select the left side table and column of this relationship.
   - **To**: Select the right side table and column of this relationship.
   - **Type**: Select the type of relationship (Many-to-one, One-to-many, One-to-one).
6. Save your **Relationship**.

*Additionally, note the following&#x20;****Relationships*** **cannot***&#x20;be created on Chord AI:*

**Self-Referential Relationships**

A self-referential relationship is when a column within a model points back to the same model. Chord AI currently does not support creating such self-referential relationships, where a column in a model references the same model. This limitation prevents the direct modeling of hierarchical or recursive data structures within a single model.

:::hint{type="warning"}
Example: In an `Employee` model, the `reportsTo` column may store the `ID` of another `Employee`, indicating the reporting structure within the organization.
:::

**Duplicate Relationships**

Chord AI does not permit the creation of duplicate relationships between the same pair of models using identical columns. This restriction ensures that each relationship remains unique, avoiding redundancy and potential confusion in model associations.

:::hint{type="warning"}
Example: If a relationship already exists between the `Order` and `Customer` models using the `customerID` field, you cannot create another relationship using the same `customerID` field between these models.
:::

## Calculated fields

Chord AI’s **Calculated Fields** lets you create custom columns by applying expressions (similar to formulas in Excel or in Google Sheets). **Calculated Fields** work like spreadsheet formulas for models, with a simple create/edit/delete flow.

::Image[]{src="https://app.archbee.com/api/optimize/TmutqdeXiIw-V3gBZXVjd/rv02BZmQ74aMGuSr3yZVh-20250930-131426.png" size="36" width="520" height="670" position="center" darkWidth="520" darkHeight="670" showCaption="false"}

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/K-_VHUNeFbkPoP7Q4OGiZ-20250930-131507.png)

Follow the steps below to add a **Calculated Field** to &#x61;**&#x20;Model**. You can also view the list of available expressions.

1. Navigate to **Models** on Chord AI.
2. Navigate to the specific model you wish to add a **Calculated Field.**
3. Select the **Actions** menu icon.
4. Click “**Add Calculated Field**”.
5. Name your **Calculated Field**.
6. Select the expression you’d like to apply.
7. Save your **Calculated Field**.

Your **Calculated Field&#x20;**&#x77;ill appear on the model once saved.&#x20;

Additionally, if you pick a table that has relationships with other tables, you can "chain" them to drill into the other tables' fields within the **Calculated Field&#x20;**&#x6D;odal.

To ***delete*** a pre-existing **Calculated Field**, navigate to the relevant **Model** with the **Calculated Field** you wish to delete. Click the ✏️ icon and click “**Delete**”.

::Image[]{src="https://app.archbee.com/api/optimize/TmutqdeXiIw-V3gBZXVjd/2npQNiQum0JC_4aBrqSLf-20250930-131539.png" size="46" width="496" height="238" position="center" darkWidth="496" darkHeight="238" showCaption="false"}

::Image[]{src="https://app.archbee.com/api/optimize/TmutqdeXiIw-V3gBZXVjd/PB4hdfd25p5WkANTlSFWL-20250930-131559.png" size="80" width="2212" height="1044" position="center" darkWidth="2212" darkHeight="1044" showCaption="false"}

# Additional guidelines

Chord AI will now allow users to apply an aggregation (like `MAX`) directly to a **source model field.&#x20;**&#x54;his is due to the following:

- **Source models** usually contain “raw” or “dimension” data (like `customer_id`, `created_at`, `product_name`).
- Aggregations (`MAX`, `SUM`, `AVG`, `COUNT_DISTINCT`, etc) are only meaningful when applied to **fact-like numeric measures** or after you’ve joined into the right model/table context.
- If Chord AI allowed aggregation on arbitrary source fields, the results would often be misleading or undefined (e.g. `MAX(customer_id)` isn’t a useful metric).

Chord AI errs on the side of protecting users from invalid queries.&#x20;

Alternate ways of applying aggregations would be to:

1. Pick a measure field in a model that supports aggregation; or
2. Use relationships (joins) to hop into the next model where that aggregation makes sense.


[title] Chord AI Use Cases
[path] Chord AI/

At Chord, we’re not just giving brand operators a fast way to ask questions like, *“What are our top-selling SKUs by first-time vs. returning customers?”* and get answers in seconds. We’re also equipping technical teams with the framework to make those answers trustworthy, repeatable, and scalable.

With Chord AI, raw data becomes decisions you can act on with confidence. Each use case connects the dots: the business outcome marketers and operators care about, the technical foundations that make it reliable, and real-world examples of how it comes to life.

# At-a-glance: What you can ddo with Chord AI

| Chord AI Can Help You…                                                    | Business Value                                                                                                           | Audience Fit                                  |
| ------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------- |
| Analyze churn & LTV                                                       | Improve retention and growth forecasting                                                                                 | Marketing, Execs                              |
| Accelerate deployment of commerce data models                             | Shorten time-to-value, reduce repetitive SQL, scale to more use cases faster                                             | Analytics, BI Teams                           |
| Build and activate audiences                                              | Enable precise targeting and segmentation                                                                                | Marketing, Growth                             |
| Enable flexible data access                                               | Empower advanced users without bottlenecking engineering                                                                 | Analytics, Technical Ops                      |
| Monitor data with smart monitoring                                        | Ensure pipelines and metrics stay consistent, reducing troubleshooting time and maintaining trust in insights            | Data Engineering, Analytics, Technical Ops    |
| Personalize product experiences                                           | Increase conversion & order value                                                                                        | Marketing                                     |
| Standardize metrics with Context Studio                                   | Ensure consistent definitions across teams, reducing confusion and building trust in data                                | Data Engineering, Analytics, Marketing, Execs |
| Understand customer journeys                                              | Reveal multi-touch paths that drive conversion                                                                           | Marketing, Product, CX                        |
| Understand campaigns (email/SMS)                                          | Attribute engagement and ROI more clearly                                                                                | Marketing, Lifecycle                          |
| Detect unexpected shifts in key metrics automatically (anomaly detection) | Gives teams peace of mind by continuously monitoring data and flagging anything unusual before it becomes a bigger issue | Operators, Marketing, Analytics               |

# Core use cases

## For technical stakeholders

### **Accelerating data model deployment**

**What it is&#x20;**

Chord AI helps standardize core e-commerce data models (like LTV, CAC, cohort retention) so that your internal teams can build reports and learn more about how your store is performing without requiring custom SQL for every question.

**Why it matters**

Data teams often spend time re-building the same models for every brand or team. Automating repetitive model-building accelerates delivery, reduces errors, and frees engineers to focus on higher-order analytics.

**How it works**

Chord Copilot leverages pre-built, commerce-specific transformations combined with AI assistance for customization. Instead of starting from scratch, technical users can modify and deploy tested models quickly, with confidence in their accuracy.

### Standardizing and scaling events and metrics

**What it is**

Chord AI’s Context Studio lets technical teams embed business rules, definitions, and formatting instructions directly into Copilot, ensuring consistent metric calculations across your organization.

**Why it matters**

Without a shared framework, different teams define key metrics (like “Net Revenue” or “Late Delivery Rate”) in inconsistent ways, leading to confusion and mistrust. Context Studio ensures that operators, marketers, and executives are all working from the same playbook, while technical teams reduce time spent reconciling discrepancies.

**How it works**

Through Context Studio, teams can:

- Define global instructions that apply to all queries (e.g., exclude canceled orders, enforce naming conventions).
- Set question-matching instructions for specific calculations (e.g., how to compute “Net Revenue”).
- Use SQL pairs to map natural language questions to pre-verified SQL queries, ensuring accuracy every time.

This creates a governed, repeatable way to track and activate events and metrics — one that scales as data complexity grows.

### **Smart alerts for data you can trust**

**What it is**

Chord AI actively monitors your data pipelines and metrics, automatically flagging unexpected changes in event delivery, schema consistency, or metric availability — before they turn into business problems.

**Why it matters**

When something breaks in your data, it rarely raises its hand. Broken events and missing metrics can quietly mislead teams, derail reporting, and erode confidence across the business. Chord AI’s smart alerts act like an extra set of eyes on your data — giving both technical and non-technical teams peace of mind that if something’s off, they’ll know.

**How it works**

Through Chord Copilot, brands can configure smart monitors that continuously scan for anomalies in event flow and modeled metrics. When Chord spots a pattern that doesn’t align — like a key metric dropping unexpectedly or a delay in pipeline delivery — Copilot flags it, adds context, and notifies the right people. It’s always running in the background, ensuring your data stays reliable and your team stays ahead of issues.

## For marketers

### **Keeping customers coming back**

**What it is**

Chord Copilot helps brands build stronger customer relationships — by surfacing not only who’s at risk of leaving, but also who’s most worth investing in. Whether it’s a subtle drop in engagement or a loyal customer who just crossed a meaningful milestone, Copilot helps you act on those signals with relevance and care.

**Why it matters**

Retention isn’t just about stopping churn — it’s about recognizing your best customers, keeping them engaged, and making them feel valued. The more you nurture those relationships, the more repeat purchases, referrals, and brand affinity you unlock. Copilot turns customer data into timely opportunities to reward loyalty and re-engage thoughtfully.

**How it works**

Using patterns in purchase history, AOV, engagement, and lifetime behavior, Copilot automatically identifies high-value customers who might be drifting — and loyal customers who deserve recognition. You get ready-to-activate audience segments and the context behind them, so you can run retention plays that are both personal and impactful. It's not about reacting — it's about proactively investing in the customers who drive your business forward.

**Sample prompts**

- *“Find my top 10% of customers by LTV this year — I’d love to offer them early access to our next launch.”*
- *“Who are my loyal customers showing signs of slowing down? I want to see customers with fewer orders in the last 90 days.”*
- *“Build an audience of highly engaged customers who haven’t purchased yet.”*

### **Optimizing ad spend**

**What it is&#x20;**

Chord Copilot can help brands unify ad spend data across multiple different ad platforms to identify which campaigns and audiences drive true ROI.

**Why it matters**

Ad budgets are shrinking, but performance expectations are growing. Knowing where to double down — and where to cut spend — protects profitability.

**How it works**

Chord ingests ad campaign performance data from Meta, Google, TikTok, and more, which is all normalized into a single, trusted framework to provide instant insights on CAC, ROAS, and other key metrics to drive competitive ad spend analysis.

**Sample prompts**

- *“Show me which ad channels have the highest CAC compared to last month.”*
- *“Which campaign had the biggest drop in ROAS over the last 30 days?”*
- *“Which campaigns had the most clicks but lowest conversions over the last 30 days?”*

### **Surfacing personalized product recommendations**

**What is is&#x20;**

Surface products each customer is most likely to buy next across different sales channels.

**Why it matters**

Personalized experiences increase conversion rates and average order value (AOV).

**How it works**

Chord Copilot combines smart filtering (such purchase history + similarity to other customers) and store product catalog metadata (such as product attributes) to deliver ranked product recommendations for customers.

**Sample prompts**

- *“Which products should I recommend to first time customers who bought a Product X?”*
- *“Which products should I recommend to customers who only ever buy on discount?”*
- *“Show me what products my highest LTV customers are most likely to purchase next.”*


[title] Chord AI Slack Bot
[path] Chord AI/

:::hint{type="warning"}
**Chord AI for Slack is currently in beta.&#x20;**&#x46;eatures and behavior may change. For questions or feedback, reach out to your Chord account manager or email us at [help@chord.co](mailto\:help@chord.co)!
:::

**Chord AI** answers data questions about your store directly in Slack — revenue, orders, customers, and more — powered by your Chord data.&#x20;

## Workspace requirement

Chord AI is only available in the **Chord Slack workspace**. The bot cannot be installed in your own brand or company Slack workspace.

If your brand doesn't already have access to the Chord Slack workspace via a shared external Slack channel, reach out to your account manager to get set up.

## Getting started

The bot can be invited to any shared channel in the Chord Slack workspace. Anyone with permission to invite users — whether a brand team member or a Chord employee — can add it using the /invite command or Slack's standard invite flow.

**Make sure to invite Chord AI** — not Chord AI (Staging) or Chord AI (Dev), which are internal Chord versions. **To avoid any confusion, we recommend letting your Chord team invite the bot to your shared channels first.**

The first time you interact with the bot, mention `@Chord AI` in the shared channel with Chord or send it a direct message. You'll receive a private "Connect Account" message — only visible to you. Click the button to link your Chord account.&#x20;

Some additional tips:&#x20;

- If you are signed out of Chord when you try to connect your account via Slack bot, simply log back into the site.&#x20;
- Once you are back in, you will be presented with a screen to confirm your workspace.
- Once confirmed, you'll get a confirmation message to get back to Slack as soon as they confirm your workspace.

&#x20;After that, you're ready to go — you won't need to connect again.

:::hint{type="info"}
If you have multiple storefronts or workspaces on Chord, reach out to [help@chord.co](mailto\:help@chord.co) for additional information.
:::

## Asking questions

**In a channel:** Mention the bot with your question, like so:

:::BlockQuote
@Chord AI what was my revenue last month?
:::

The bot replies in a thread under your message.

**Via DM:** Find "Chord AI" in your Slack Apps and send your question directly — no @mention needed.

## Follow-up questions

**In a channel:** Once the bot has answered, reply in the thread — no @mention needed. You can still use `@Chord AI` if you prefer.

**Via DM:** Just reply in the thread.

:::hint{type="info"}
Note: Only the person who started the thread can continue it.&#x20;

If you reply in someone else's thread, you'll see a private message: "Only the thread owner can continue this conversation. Mention @Chord AI in the channel to start your own."
:::

**Tip:** Any text reply from the thread owner will be treated as a question to the bot — including casual reactions like "interesting!" If you want to react without triggering the bot, use a Slack emoji reaction instead.

## Clarification

Sometimes the bot needs more context before it can answer accurately. When that happens, it will ask a follow-up question in the thread. Reply in the thread with your answer — no @mention needed. The bot picks it up and continues.

Note: Only the person who started the thread can respond to a clarifier.

## Group DMs

Chord AI works in group DMs the same way it does in channels. Add the bot when creating a new group DM. Note that Slack does not allow apps to join an existing 1:1 conversation, so you'll need to start a fresh group DM that includes the Chord AI Slack bot.&#x20;

Inside a group DM, use `@Chord AI <your question>` to start a new thread. Thread ownership rules apply the same way as in channels.

## Show Reasoning / Show SQL / Open in Hub

Some answers include action buttons:

- **Show Reasoning** — the bot's step-by-step thought process for arriving at the answer
- **Show SQL** — the exact query run against your data
- **Open in Hub** — opens the corresponding conversation in Chord Hub (available in DMs only; replies in Hub will not update the Slack thread)

Anyone in the thread can view Reasoning and SQL. Open in Hub is tied to the thread owner's account.

## Interaction reference

| Scenario                                       | What happens                                                        |
| ---------------------------------------------- | ------------------------------------------------------------------- |
| You @Chord AI in a channel                     | New thread starts under your message                                |
| You reply in your own thread (no @mention)     | Bot treats it as a follow-up and responds                           |
| Another user replies in your thread            | They see a private message directing them to start their own thread |
| Another user @Chord AI in a channel            | A new independent thread starts for them                            |
| Another user clicks Show Reasoning or Show SQL | Works — no ownership restriction                                    |
| You DM the bot                                 | Works normally — no thread ownership concept applies                |
| You haven't connected your account yet         | You'll be prompted to connect                                       |


[title] Salesforce
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/

### *Table names for customers utilizing Salesforce.*

- [Activities](https://docs.chord.co/BznB-activities)
- [Ads](https://docs.chord.co/ugIc-ads)
- [Braze Campaigns](https://docs.chord.co/braze-campaigns)
- [Conversions](https://docs.chord.co/3Yf6-conversions)
- [Line Items](https://docs.chord.co/T_jI-line-items)
- [Marketing Attribution](https://docs.chord.co/aGFm-marketing-attribution)
- [Orders](https://docs.chord.co/_-4U-orders)
- [Sales](https://docs.chord.co/jWmI-sales)
- [Sessions](https://docs.chord.co/fwj0-sessions)

### Accessing Chord Data Attribute Definitions:

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/BJD3bwQX1CdwlRvNAA_-v_image.png)

:::hint{type="success"}
if you have any questions or need help, please reach out to us at [help@chord.co](mailto\:help@chord.co)
:::


[title] Users
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Chord OMS/

### **dim\_user\_revenue\_predictions**

| Name                                      | Description                                                                                                                 |
| ----------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| Frequency                                 | The user's count of completed orders                                                                                        |
| Frequency Bucket                          | The user's count of completed orders, bucketed into pentile                                                                 |
| Frequency Bucket Max                      | The maximum count of completed orders in the pentile bucket                                                                 |
| Frequency Bucket Min                      | he minimum count of completed orders in the pentile bucket                                                                  |
| Frequency Bucket Ranges                   | The range of completed orders in the pentile bucket                                                                         |
| Monetary                                  | The user's total net revenue for completed orders                                                                           |
| Monetary Bucket                           | The user's total net revenue for completed orders, bucketed into pentiles                                                   |
| Monetary Bucket Max                       | The maximum total net revenue for completed orders in the pentile bucket                                                    |
| Monetary Bucket Min                       | The minimum total net revenue for completed orders in the pentile bucket                                                    |
| Monetary Bucket Ranges                    | The range of total net revenue for completed orders in the pentile bucket                                                   |
| User Prediction Lifetime Net Revenue      |                                                                                                                             |
| User Prediction Probability Alive         |                                                                                                                             |
| Recency                                   | The days between user's last completed order and prediction date                                                            |
| Recency Bucket                            | The days between user's last completed order and prediction date, bucketed into pentile                                     |
| Recency Bucket Max                        | The maximum days between last completed order and prediction date in the pentile bucket                                     |
| Recency Bucket Min                        | The minimum days between last completed order and prediction date in the pentile bucke                                      |
| Recency Bucket Ranges                     | The range of days between last completed order and prediction date in the pentile bucket                                    |
| RFM Group                                 | Recency, frequency, and monetary score. Concatenated values of the recency pentile, frequency pentile, and monetary pentile |
| Rfm Score                                 | Recency, frequency, and monetary score. Calculated as (1/R) \* F \* √M                                                      |
| Rfm Score Bucket                          | Recency, frequency, and monetary score. Calculated as (1/R) \* F \* √M, bucketed into deciles                               |
| User Prediction Completed (Universal)     | Date of the most recent prediction batch run - Universal Time Zone.                                                         |
| Average Predicted Lifetime Net Revenue    | Average of Chord's predicted lifetime net revenue per user                                                                  |
| Average Predicted Probability Alive       | Average of Chord's predicted probability alive per user                                                                     |
| Average RFM Score                         | Average of RFM Score                                                                                                        |
| Predicted User Lifetime Net Revenue Total | Sum of Chord's predicted lifetime net revenue per user                                                                      |

### **dim\_user\_product\_recommendations**

| Name                                       | Description                                                         |
| ------------------------------------------ | ------------------------------------------------------------------- |
| Product Recommendation 1                   | User's first recommended product.                                   |
| Product Recommendation 2                   | User's second recommended product.                                  |
| Product Recommendation 3                   | User's third recommended product.                                   |
| Product Recommendation 4                   | User's fourth recommended product.                                  |
| Product Recommendation 5                   | User's fifth recommended product.                                   |
| User Prediction Completed (Universal) Date | Date of the most recent prediction batch run - Universal Time Zone. |

### **x\_fct\_trans\_users**

| Name                                                   | Description                                                                                                                                                                   |
| ------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Billing Address Address1                               | The street address of the customer.                                                                                                                                           |
| Billing Address Address2                               | The optional second address of the customer.                                                                                                                                  |
| Billing Address Alternative Phone                      | The customer's alternative phone number.                                                                                                                                      |
| Billing Address City                                   | The city where the address is.                                                                                                                                                |
| Billing Address Company                                | A company name.                                                                                                                                                               |
| Billing Address Country Abbr                           |                                                                                                                                                                               |
| Billing Address Country Name                           | Full name of the country.                                                                                                                                                     |
| Billing Address Firstname                              | First name of the customer.                                                                                                                                                   |
| Billing Address Id                                     | Unique key generated by Chord to identify a unique address.                                                                                                                   |
| Billing Address Lastname                               | Last name of the customer.                                                                                                                                                    |
| Billing Address Oms Address Id                         | Unique key generated by Solidus that identifies an address.                                                                                                                   |
| Billing Address Phone                                  | The customer's phone number.                                                                                                                                                  |
| Billing Address State Abbr                             |                                                                                                                                                                               |
| Billing Address State Name                             | Full name of the state.                                                                                                                                                       |
| Billing Address Zipcode                                | The postal code.                                                                                                                                                              |
| Last Subscription Completed Oms Order Ids              | List of completed OMS order ids by a subscription.                                                                                                                            |
| Last Subscription Completed Order Count                | Total amount of orders completed by a subscription.                                                                                                                           |
| Last Subscription Completed Order Ids                  | List of completed order ids by a subscription.                                                                                                                                |
| Last Subscription First Order Unique Product Basket    | Array of unique product names ordered in the first order per subscription.                                                                                                    |
| Last Subscription First Order Unique Variant Basket    | Array of unique SKUs ordered in the first order per subscription.                                                                                                             |
| Last Subscription Has Subscription Tags                | Whether or not the subscription has tags.                                                                                                                                     |
| Last Subscription Id                                   | Unique key generated by Solidus that identifies a subscription.                                                                                                               |
| Last Subscription Interval In Days                     | The number of days in the subscription interval.                                                                                                                              |
| Last Subscription Is Auto Redeemed                     | Whether the pre-paid subscription will be auto-redeemed or if an action is required by the recepient.                                                                         |
| Last Subscription Is Gift                              | Whether or not the pre-paid subscription is a gift.                                                                                                                           |
| Last Subscription Is Recurring                         | Whether the pre-paid subscription is recurring.                                                                                                                               |
| Last Subscription Last Order Unique Product Basket     | Array of unique product names ordered in the latest order per subscription.                                                                                                   |
| Last Subscription Last Order Unique Variant Basket     | Array of unique SKUs ordered in the latest order per subscription.                                                                                                            |
| Last Subscription Oms Pre Paid Subscription Id         | ID generated by ChordOMS to identify a unique pre-paid subscription.                                                                                                          |
| Last Subscription Oms Subscription Id                  | Unique key generated by Solidus that identifies a subscription.                                                                                                               |
| Last Subscription Pre Paid Subscription Id             | Chord generated unique id for the pre-pay subscription.                                                                                                                       |
| Last Subscription State                                | The current state of the subscription, enhanced with values for \`paused\` if the subscription is active and paused.                                                          |
| Last Subscription Tags                                 | The list of tags associated with a subscription.                                                                                                                              |
| Last Subscription Tags Count                           | The number of tags associated with a subscription.                                                                                                                            |
| Last Subscription Unique Product Basket                | Array of unique product names ever ordered per subscription.                                                                                                                  |
| Last Subscription Unique Variant Basket                | Array of unique SKUs ever ordered per subscription.                                                                                                                           |
| Shipping Address Address1                              | The street address of the customer.                                                                                                                                           |
| Shipping Address Address2                              | The optional second address of the customer.                                                                                                                                  |
| Shipping Address Alternative Phone                     | The customer's alternative phone number.                                                                                                                                      |
| Shipping Address City                                  | The city where the address is.                                                                                                                                                |
| Shipping Address Company                               | A company name.                                                                                                                                                               |
| Shipping Address Country Abbr                          |                                                                                                                                                                               |
| Shipping Address Country Name                          | Full name of the country.                                                                                                                                                     |
| Shipping Address Firstname                             | First name of the customer.                                                                                                                                                   |
| Shipping Address Id                                    | Unique key generated by Chord to identify a unique address.                                                                                                                   |
| Shipping Address Lastname                              | Last name of the customer.                                                                                                                                                    |
| Shipping Address Oms Address Id                        | Unique key generated by Solidus that identifies an address.                                                                                                                   |
| Shipping Address Phone                                 | The customer's phone number.                                                                                                                                                  |
| Shipping Address State Abbr                            |                                                                                                                                                                               |
| Shipping Address State Name                            | Full name of the state.                                                                                                                                                       |
| Shipping Address Zipcode                               | The postal code.                                                                                                                                                              |
| User Completed Oms Order Ids                           | List of completed OMS order ids by a user.                                                                                                                                    |
| User Completed Order Ids                               | List of completed order ids by a user.                                                                                                                                        |
| User Credit Category Basket                            | Array of credit categories (Gift Card, Reimbursement, Referral Credits, Prepaid Subscription, GMA) issued per user.                                                           |
| User Email                                             | Email address of the user.                                                                                                                                                    |
| User First Completed Oms Order Id                      | OMS order id of the first order completed by a user.                                                                                                                          |
| User First Completed Order Id                          | Unique order id of the first order completed by a user.                                                                                                                       |
| User First Order Unique Ordered Products               | Unique products ordered by the user in their first completed order.                                                                                                           |
| User First Order Unique Ordered Skus                   | Unique SKUs ordered by the user in their first completed order.                                                                                                               |
| User Has Ordered A La Carte                            | Whether or not the user has had at least one order that is not part of a subscription.                                                                                        |
| User Has Promo Applied In First Order                  | Whether or not the user has a promo applied to their first completed order.                                                                                                   |
| User Has Subscription In First Order                   | Whether or not the user's first order is linked to a subscription.                                                                                                            |
| User Id                                                | Unique key generated by Chord to identify a unique user.                                                                                                                      |
| User Is Active Subscriber                              | Whether or not the user has an active subscription with at least one completed subscription order. An active subscription is one that is not cancelled or paused.             |
| User Is Customer                                       | Whether or not the user is a customer.                                                                                                                                        |
| User Is New Customer                                   | Whether or not the user is a new customer.                                                                                                                                    |
| User Is Not Customer                                   | Whether or not the user is not a customer.                                                                                                                                    |
| User Is Returning Customer                             | Whether or not the user is a returning customer.                                                                                                                              |
| User Is Subscriber                                     | Whether or not the user has completed at least one subscription order.                                                                                                        |
| User Login                                             | The login email address of the user.                                                                                                                                          |
| User Name                                              | Full name of the user.                                                                                                                                                        |
| User Number Of Completed A La Carte Orders             | Total amount of orders completed by a user that are a la carte.                                                                                                               |
| User Number Of Completed Subscription Orders           | Total amount of orders completed by a user that was part of a subscription.                                                                                                   |
| User Number Of Orders With Promos                      | The count of completed orders with a promo applied.                                                                                                                           |
| User Number Of Subscriptions                           | Total amount of subscriptions linked to a user.                                                                                                                               |
| User Oms User Id                                       | Unique key generated by Solidus that identifies a user.                                                                                                                       |
| User Phone                                             | Phone number of the user.                                                                                                                                                     |
| User Total Completed Order Count                       | Total amount of orders completed by a user.                                                                                                                                   |
| User Unique Ordered Products                           | Unique products ordered by the user across all orders.                                                                                                                        |
| User Unique Ordered Skus                               | Unique SKUs ordered by the user across all orders.                                                                                                                            |
| Billing Address Created At (Universal)                 | Timestamp at which the address row was created - Universal Time Zone.                                                                                                         |
| Billing Address Updated At (Universal)                 | Timestamp at which the address row was last updated - Universal Time Zone.                                                                                                    |
| Last Subscription Actionable Date (Universal)          | The date of the next subscription installment. This date is updated after each successful installment. Subscriptions in an inactive state will be null - Universal Time Zone. |
| Last Subscription Created At (Universal)               | Reflects when the entity was first created in Solidus - Universal Time Zone.                                                                                                  |
| Last Subscription First Order Completed At (Universal) | The timestamp of the subscription's first completed order - Universal Time Zone.                                                                                              |
| Last Subscription Last Order Completed At (Universal)  | The timestamp of the subscription's last completed order - Universal Time Zone.                                                                                               |
| Last Subscription Updated At (Universal)               | Reflects when the entity was last updated in Solidus - Universal Time Zone.                                                                                                   |
| Shipping Address Created At (Universal)                | Timestamp at which the address row was created - Universal Time Zone.                                                                                                         |
| Shipping Address Updated At (Universal)                | Timestamp at which the address row was last updated - Universal Time Zone.                                                                                                    |
| User Created At (Universal)                            | Timestamp at which the users row was created - Universal Time Zone.                                                                                                           |
| User Date Of Birth (Universal)                         | Date of birth of the user - Universal Time Zone.                                                                                                                              |
| User Deleted At (Universal)                            | Timestamp at which the user's account was deleted - Universal Time Zone.                                                                                                      |
| User First Order Completed At (Universal)              | The timestamp of the user's first completed order - Universal Time Zone.                                                                                                      |
| User First Subscription Order Completed At (Universal) | The timestamp of the user's first completed subscription order, regardless of subsequent subscriptions - Universal Time Zone.                                                 |
| User Last Order Completed At (Universal)               | The timestamp of the user's last completed order - Universal Time Zone.                                                                                                       |
| User Last Sign In At (Universal)                       | The last sign in timestamp for the user - Universal Time Zone.                                                                                                                |
| User Updated At (Universal)                            | Timestamp at which the users row was last updated - Universal Time Zone.                                                                                                      |
| Average Additional Tax Total                           | Sum of additional taxes paid for all completed orders for a user.                                                                                                             |
| Average Adjustment Total                               | Sum of adjustment applied for all completed orders for a user as on the order.                                                                                                |
| Average Applied Gift Card Total                        | Sum of gift card amount(s) applied (used as payment method) by a user.                                                                                                        |
| Average Commission Total                               | Sum of commission paid for all completed orders for a user.                                                                                                                   |
| Average Credit Authorized                              | Total amount of authorized credit per user. An authorized store credit decrements the amount of credit available.                                                             |
| Average Credit Balance                                 | Total amount of credit issued per user.                                                                                                                                       |
| Average Credit Invalidated                             | Total amount of invalidated credit per user.                                                                                                                                  |
| Average Credit Issued                                  | Total amount of credit issued per user.                                                                                                                                       |
| Average Credit Used                                    | Total amount of credit used per user.                                                                                                                                         |
| Average First Order Gross Revenue                      | Gross revenue generated by the first completed order for a user.                                                                                                              |
| Average First Order Net Revenue                        | Net revenue generated by the first completed order for a user.                                                                                                                |
| Average Fulfillment Total                              | Sum paid for fulfillment for all completed orders for a user.                                                                                                                 |
| Average Gross Revenue                                  | Sum of gross revenue generated by all completed orders for a user.                                                                                                            |
| Average Included Tax Total                             | Sum of included taxes paid for all completed orders for a user.                                                                                                               |
| Average Item Total                                     | Sum of items price paid for all completed orders for a user.                                                                                                                  |
| Average Last Order Gross Revenue                       | Gross revenue generated by the last completed order for a user.                                                                                                               |
| Average Last Order Net Revenue                         | Net revenue generated by the last completed order for a user.                                                                                                                 |
| Average Net Revenue                                    | Sum of net revenue generated by all completed orders for a user.                                                                                                              |
| Average Order Gross Revenue                            | Average gross revenue generated for a completed orders for a user.                                                                                                            |
| Average Order Net Revenue                              | Average net revenue generated for a completed orders for a user.                                                                                                              |
| Average Order Total Price                              | Average total price for a completed orders for a user.                                                                                                                        |
| Average Purchased Gift Card Total                      | Sum of gift card amount(s) purchased by a user.                                                                                                                               |
| Average Subscription Gross Revenue                     | Sum of gross revenue generated by all completed subscription orders for a user.                                                                                               |
| Average Subscription Net Revenue                       | Sum of net revenue generated by all completed subscription orders for a user.                                                                                                 |
| Average Tax Total                                      | Sum of total taxes paid for all completed orders for a user.                                                                                                                  |
| Average Total Price                                    | Sum total paid for all completed orders for a user.                                                                                                                           |
| Average Transaction Total                              | Sum paid on all transactions for a user.                                                                                                                                      |
| Additional Tax Total                                   | Sum of additional taxes paid for all completed orders for a user.                                                                                                             |
| Adjustment Total                                       | Sum of adjustment applied for all completed orders for a user as on the order.                                                                                                |
| Applied Gift Card Total                                | Sum of gift card amount(s) applied (used as payment method) by a user.                                                                                                        |
| Commission Total                                       | Sum of commission paid for all completed orders for a user.                                                                                                                   |
| Credit Authorized                                      | Total amount of authorized credit per user. An authorized store credit decrements the amount of credit available.                                                             |
| Credit Balance                                         | Total amount of credit issued per user.                                                                                                                                       |
| Credit Invalidated                                     | Total amount of invalidated credit per user.                                                                                                                                  |
| Credit Issued                                          | Total amount of credit issued per user.                                                                                                                                       |
| Credit Used                                            | Total amount of credit used per user.                                                                                                                                         |
| First Order Gross Revenue                              | Gross revenue generated by the first completed order for a user.                                                                                                              |
| First Order Net Revenue                                | Net revenue generated by the first completed order for a user.                                                                                                                |
| Fulfillment Total                                      | Sum paid for fulfillment for all completed orders for a user.                                                                                                                 |
| Gross Revenue                                          | Sum of gross revenue generated by all completed orders for a user.                                                                                                            |
| Included Tax Total                                     | Sum of included taxes paid for all completed orders for a user.                                                                                                               |
| Item Total                                             | Sum of items price paid for all completed orders for a user.                                                                                                                  |
| Last Order Gross Revenue                               | Gross revenue generated by the last completed order for a user.                                                                                                               |
| Last Order Net Revenue                                 | Net revenue generated by the last completed order for a user.                                                                                                                 |
| Net Revenue                                            | Sum of net revenue generated by all completed orders for a user.                                                                                                              |
| Total Price                                            | Sum total paid for all completed orders for a user.                                                                                                                           |
| Purchased Gift Card Total                              | Sum of gift card amount(s) purchased by a user.                                                                                                                               |
| Subscription Gross Revenue                             | Sum of gross revenue generated by all completed subscription orders for a user.                                                                                               |
| Subscription Net Revenue                               | Sum of net revenue generated by all completed subscription orders for a user.                                                                                                 |
| Tax Total                                              | Sum of total taxes paid for all completed orders for a user.                                                                                                                  |
| Transaction Total                                      | Sum paid on all transactions for a user.                                                                                                                                      |


[title] Chord AI
[path] /

# **Introduction**

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-POfHfatPLtUksZWoOjeV2-20250910-151957.png)

There’s no question that AI is reshaping the e-commerce landscape by giving modern brands the power to understand and serve their customers with more confidence. From surfacing smarter product recommendations to optimizing campaign timing and spend, AI has the potential to turn data into decision-making fuel faster than ever. AI helps brands not only react to customer behavior but anticipate it, offering a level of personalization and efficiency that been out-of-reach for brands geared for growth.

For e-commerce teams under pressure to do more with less, AI becomes a critical force multiplier. It automates repetitive analysis, uncovers trends that would otherwise go unnoticed, and delivers actionable insights in real time. Chord’s data platform is primed to champion modern brands by enabling better customer experiences and smarter growth for cutting-edge brands using data and unlocking smart insights to help hardworking teams reach their full potential.

**Find documentation on Chord AI below:**

::::LinkArray{contentSource="CUSTOM"}
:::LinkArrayItem
[Chord AI Implementation Guide](https://docs.chord.co/chord-ai-implementation-guide)
:::

:::LinkArrayItem
[Chord AI Technical Overview](https://docs.chord.co/chord-ai-technical-overview)
:::

:::LinkArrayItem
[Chord Copilot Chat](https://docs.chord.co/chord-copilot-chat)
:::

:::LinkArrayItem
[Chord AI Charts](https://docs.chord.co/chord-ai-charts)
:::

:::LinkArrayItem
[Chord AI Monitors](https://docs.chord.co/chord-ai-monitors)
:::

:::LinkArrayItem
[Chord AI Context](https://docs.chord.co/chord-ai-context)
:::

:::LinkArrayItem
[Chord AI Modeling](https://docs.chord.co/chord-ai-modeling)
:::

:::LinkArrayItem
[Chord AI Use Cases](https://docs.chord.co/chord-ai-use-cases)
:::

:::LinkArrayItem
[Chord AI FAQ](https://docs.chord.co/chord-ai-faq)
:::
::::


[title] Chord AI Models: Powered by Anthropic
[path] Chord AI/Untitled/

**Last updated:&#x20;**&#x4D;arch 2026

### Overview

Chord AI’s reasoning model has been upgraded to run on Anthropic's models — a leading large language model built for reliability, safety, and consistent performance. This article explains what changed, why we made the switch, and what it means for your day-to-day use of the platform.

### What changed

This upgrade has two parts:

1. **Rebuilt query infrastructure** — We made significant improvements to the underlying query-building layer that powers how Chord AI processes your inputs and generates responses. This is the core of the upgrade.
2. **New AI models** — Chord AI now runs on Anthropic's Claude models, each matched to a specific job:&#x20;
   - **Claude Haiku 4.5** — handles response generation and classifications after data is fetched, optimized for speed and consistency.
   - **Claude Opus 4.5** — powers SQL generation, where accuracy and reasoning depth matter most.

Together, these changes represent a foundational upgrade — not just a model swap. Your existing workflows, integrations, and configurations are fully intact.

### Why we upgraded

We evaluated several leading AI models against the needs of Chord's commerce use cases. Anthropic's Claude stood out for three reasons:

- **Output stability** — Anthropic’s models produce consistent, structured responses across repeated and varied inputs, reducing unexpected results.
- **Reasoning quality** — Anthropic’s models handle complex, multi-step logic more reliably — important for tasks like forecasting, segmentation, and data interpretation.
- **Safety by design** — Anthropic builds safety and predictability into the core of their models, which aligns with how we think about trust in our platform.

### How we tested this upgrade

We did not ship this change without validation. Our process included:

1. **Use case coverage testing** — We ran the upgraded model against a broad set of real Chord workflows to confirm output quality and accuracy.
2. **Edge case review** — We stress-tested inputs that historically produced inconsistent or unexpected results.
3. **Output benchmarking** — We compared Anthropic’s responses against our previous model across key quality metrics before making the switch.

The upgrade was rolled out to production only after all tests met our internal quality thresholds.

### What to expect

- **No action required** — There is nothing you need to change or reconfigure.
- **Improved response quality** — You may notice outputs that are more structured and consistent than before.
- **Same interface** — Chord AI looks and works exactly as it did prior to this update.

### FAQs

**Will this affect my existing prompts or workflows?**

No. All existing prompts, automations, and integrations continue to work as before.

**Which Anthropic models are being used?**

Chord AI uses two models: Claude Haiku 4.5 for response generation and classifications, and Claude Opus 4.5 for SQL generation. We will communicate any future model changes in advance.

**Is my data shared with Anthropic?**

No. Your data is processed in accordance with Chord's existing privacy and data handling policies. Please refer to our Privacy Policy for full details.

**Can I recover my previous conversation threads?**

No. Thread history was reset as part of this migration and cannot be recovered. New threads going forward will be retained normally.

**Who do I contact if I notice unexpected behavior?**

Reach out to your Chord account team or submit a ticket through the Help Center.

[title] Subscriber Journey Explore
[path] Chord Data Platform/Data Models/Subscriptions/

## Overview

Customer-level lifetime view.

- Grain: **1 row per subscriber**
- Purpose: analyze **value, behavior, segmentation**

## When to use

- LTV analysis
- Behavioral segmentation
- Cohort analysis (first subscription month)
- Product affinity analysis
- Identify high-value or at-risk users

## Key dimensions & metrics

| Field                            | Description                                                                                         |
| -------------------------------- | --------------------------------------------------------------------------------------------------- |
| Cohort Month                     | First subscription month                                                                            |
| Is Active Subscriber             | Currently active                                                                                    |
| Is Churned                       | No active + has cancelled                                                                           |
| Is Winback                       | Churned then reactivated                                                                            |
| Is Paused Only                   | Only paused subs remain                                                                             |
| Behavioral Flags                 | Ever churned/paused/reactivated                                                                     |
| Active Subscription Count        | Current active count                                                                                |
| Cancelled Subscription Count     | Total cancelled                                                                                     |
| Churn Count                      | Total cancellations                                                                                 |
| LTV Gross Revenue                | Lifetime revenue                                                                                    |
| LTV Net Revenue                  | (ChordOMS only)                                                                                     |
| LTV Order Count                  | Total orders                                                                                        |
| Avg Order Value                  | Average across orders                                                                               |
| Days Since First Subscription    | Tenure                                                                                              |
| Days Since Last Order            | Recency                                                                                             |
| Primary Product First Subscribed | First product                                                                                       |
| Distinct Products Ever           | Unique products                                                                                     |
| Current Products Subscribed      | Active products                                                                                     |
| Is Prepaid Subscriber            | Customer has ≥1 prepaid (non-gift) subscription. ChordOMS only.                                     |
| Is Gift Purchaser                | Customer has purchased at least one gift subscription. ChordOMS only — resolved via original order. |
| Is Gifted Subscriber             | Customer is a recipient of a gift subscription. ChordOMS only.                                      |

## Example business questions

- Average LTV by cohort
- % of winback users
- Highest LTV by first product
- Top active customers

## Notes & caveats

- One row per **customer per provider**
- LTV Net Revenue only available for **ChordOMS**
- Winback = full churn + later reactivation
- **Subscriber Category is a current-state snapshot**, not lifetime behavior
- Gift/prepaid fields are **ChordOMS-only**
- **Gift Purchaser and Gifted Subscriber can both exist** for the same subscription (different users)
- These flags **do NOT override Subscriber Category**

## Glossary

| Term                     | What it Means                                                                                                   | How to Interpret / Use                                                                                         | Where You’ll See It in Looker                                                                                                                                                                                                    |
| ------------------------ | --------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Active Subscription**  | A subscription that is currently ongoing. Includes both fully active and paused subscriptions.                  | Use this to understand the **current size of your subscriber base**. Note that paused users are still counted. | Subscription Metrics Daily (Active Count), Subscriber Journey (Is Active Subscriber), Subscriber Journey Monthly (Is Active Subscriber EOM), Product & Bundle Explores (Active Subscription Count)                               |
| **Churn / Churned**      | A subscription that has been cancelled. Does not include pauses.                                                | Represents **true customer loss**. Track this to understand retention issues.                                  | Subscription Metrics Daily (Churned Count, Churn Rate), Subscriber Journey (Is Churned, Churn Count), Monthly (Is Churned EOM, Cancellations This Month), Events Enriched (Event Type = canceled), Movements (status\_cancelled) |
| **Winback**              | A subscriber who cancelled all subscriptions and later returned by subscribing again.                           | Indicates **successful re-engagement** after churn.                                                            | Subscriber Journey (Is Winback), Subscriber Journey Monthly (Has Reactivated By EOM)                                                                                                                                             |
| **Reactivation**         | A previously cancelled subscription that becomes active again (subscription-level).                             | Measures **recovery of churned subscriptions**.                                                                | Subscription Metrics Daily (Reactivated Count), Movements (status\_reactivated), Events Enriched (Event Type = reactivated)                                                                                                      |
| **Net New**              | Net change in subscriptions: New + Reactivated − Cancelled.                                                     | Indicates **overall growth vs decline**.                                                                       | Subscription Metrics Daily (Net New Count)                                                                                                                                                                                       |
| **LTV (Lifetime Value)** | Total revenue generated by a subscriber across all subscription orders.                                         | Use to understand **customer value over time** and compare cohorts or segments.                                | Subscriber Journey (LTV Gross / Net Revenue), Subscriber Journey Monthly (LTV Gross Revenue EOM)                                                                                                                                 |
| **EOM (End of Month)**   | Metrics calculated as of the last day of a month.                                                               | Used for **consistent month-over-month comparisons** (retention, LTV growth).                                  | Subscriber Journey Monthly (all EOM fields like Active EOM, LTV EOM)                                                                                                                                                             |
| **Solo Subscription**    | A subscription that contains only one product.                                                                  | Helps identify products that perform well **individually**.                                                    | Subscription Product Metrics Daily (Solo Subscription Count)                                                                                                                                                                     |
| **Bundle**               | A subscription that contains two or more products.                                                              | Useful for analyzing **product combinations and cross-sell behavior**.                                         | Product Metrics (Bundle Subscription Count), Bundle Metrics Daily (all bundle fields)                                                                                                                                            |
| **Movement**             | Any change in a subscription’s state (created, cancelled, paused, resumed, reactivated, quantity/price change). | Use to understand **operational changes and trends** in subscriptions.                                         | Subscription Movements Daily (Movement Type, Category), Events Enriched (Event Type)                                                                                                                                             |
| **Provider**             | The system managing subscriptions (Recharge, ChordOMS, CustomOMS).                                              | Important context — **data availability and detail vary by provider**, which affects analysis.                 | All Explores (Provider filter present everywhere)                                                                                                                                                                                |


[title] Browser Compatibility for Accessing the Chord Platform
[path] Chord Data Platform/Overview/

To ensure smooth access to your Chord OMS and data analytics platform, please review the following browser settings. Certain privacy features can interfere with login and session functionality.**&#x20;As such, Chord recommends that you use the Google Chrome browser to access the platform.&#x20;**

**Chrome browser users should also ensure that third-party cookies are allowed for optimal experience:&#x20;**

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-FfgexO5vj2sBwL0Gj0hWK-20250812-213654.png)

If you choose to use a different browser, read on for additional guidance on how to update your browser settings to access Chord seamlessly.

### Safari users

Cross-site tracking prevention in Safari may block essential authentication functions.
&#x20;➡️ **Solution**: For best results, users must **disable cross-site tracking&#x20;**&#x6F;n Safari to log into the Chord platform.&#x20;

### Firefox users

Strict or custom cookie settings in Firefox can block the cookies needed to access the Chord platform.
&#x20;➡️ **Solution**: Use Firefox’s **standard tracking protection** mode when visiting the Chord platform.

If you're still having trouble accessing your dashboard, please reach out to [help@chord.co](mailto\:help@chord.co).

[title] Omni-Channel Sales Data Attributes (Amazon Source)
[path] Chord Data Platform/Data Sources/Untitled/Untitled/

For those clients with the Amazon Selling Partner source, this Explore combines Amazon and Shopify transactional line items into a unified explore.

- **Fulfillment Channel:&#x20;**&#x41;mazon fulfillment channel (null for Shopify)
- **Fulfillment Tax Total**: Fulfillment tax (only for Amazon)
- **Line Item Tax Total**: Tax amount for the line item (only for Amazon)
- **Order Fulfillment State**: Fulfillment state of the order
- **Order Line Fulfillment Total**: Fulfillment cost of the line item
- **Order Line Gross Revenue**: Gross revenue from the line item
- **Order Line Net Revenue**: Net revenue after all deductions
- **Order Line Promo Total**: Total promotional discount applied to the line item
- **Order Line Refund Total**: Total refunded amount for the line item
- **Promo Total**: Total promotions on the order (only for Amazon)
- **Quantity**: Number of items purchased
- **Sales Channel**: Sales channel from which the order originated
- **SKU Price**: Unit price of the SKU
- **Source System**: Source of the data: either amazon or shopify
- **Tax Total**: Total tax on the order (only for Amazon)
- **Total Price**: Total price for the line item
- **Order Created At:&#x20;**&#x54;imestamp when the order was created.
- **Total Fulfillment Tax Total**: Total Fulfillment Tax Total
- **Total Line Item Tax Total**: Total Line Item Tax Total
- **Total Order Line Fulfillment Total**: Total Order Line Fulfillment Total
- **Total Order Line Gross Revenue**: Total Order Line Gross Revenue
- **Total Order Line Net Revenue**: Total Order Line Net Revenue
- **Total Order Line Promo Total**: Total Order Line Promo Total
- **Total Order Line Refund Total**: Total Order Line Refund Total
- **Total Promo Total**: Total Promo Total
- **Total Quantity**: Total Quantity
- **Total SKU Price**: Total SKU Price
- **Total Tax Total**: Total Tax Total
- **Total Total Price**: Total Total Price


[title] Anonymous Audiences
[path] Chord Data Platform/Audiences/

# Overview

As is often the case in audience generation and identification, customer identifying details can be limited. Customer attributes like email address, phone number or User ID are easy to retrieve for customers who have *already* transacted, but not as easy to pull for *anonymous* customers that have yet to be identified. Chord's "blended user ID", along with a few additional configuration steps, helps to solve this and allows for audience building of yet to be identified customers.

## Example audience using Chord Blended ID

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/-70bD-vNrMr_JnXpcMYtP_image.png)

## Example audience using user ID & email

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/yjK1Lb7cR4QTppEpSqOA6_image.png)

As [mentioned here](https://docs.chord.co/audiences-api#Yrz_M), some audiences may contain what Chord calls a “blended user ID,” which is derived from the Chord data models to contain the **CDP User ID** - if one exists - else the **Anonymous ID**. This use case is particularly useful when mixing users that may or may not have a known CDP User ID; by using the CDP Blended User ID, audiences can be created for both users and visitors using the same ID.

:::hint{type="info"}
**Note:** Pre-built audiences like `At-Risk Customers`, `Brand Champions` and `Product Loyalists` are examples of audiences containing user-specific identifiable properties like user name, user ID and user email (which is a property that can be used downstream in most configured data activation destinations to identify and link customer activity).&#x20;

Should you have any questions, please reach out to [help@chord.co](mailto\:help@chord.co).&#x20;
:::

# How to pass along blended ID

For anonymous/unidentified audiences to be effectively used, ***Chord's blended user ID&#x20;***&#x6D;ust be sent downstream to all relevant destinations where the audience is to be activated. This passage requires that the Data Activation destination has a ***corresponding destination configured within Chord CDP.***

In other words, if you are looking to leverage blended IDs in audiences activated to downstream destinations, you **must** configure the corresponding pixel and/or device mode destination in the Chord CDP which is receiving events from a front-end source.

:::hint{type="info"}
**Note:** Pixel and device mode destinations in the Chord CDP typically reflect destinations receiving events from your store *front-end*.&#x20;

**Examples include:**

- Facebook Pixel
- Google Analytics (Device Mode)
- TikTok Pixel

Should you have any questions, please reach out to [help@chord.co](mailto\:help@chord.co).&#x20;
:::

# Examples

## Facebook Ads&#x20;

To help better connect unidentified audiences in your Facebook Ads accounts with their corresponding front-end user events and behavior, it is recommended that the ***Facebook Pixel*** destination be configured in Chord CDP to receive front-end events from your storefront:

![](https://archbee-image-uploads.s3.amazonaws.com/U9fkmkKcgT5gcNLmEiMMt-7Yv6hfmVbRz1jGwsF7GnR-20250630-171346.gif)

Configuring the Facebook Pixel destination in Chord CDP will help facilitate flow of user-specific identifiers downstream into your configured Facebook Ads account (via [Chord Data Activations](https://docs.chord.co/gFnF-data-activations)). [Facebook's customer information parameters](https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/customer-information-parameters) define which attributes can be sent and in which format they are required. The more customer information parameters passed along, the higher likelihood of profile match and identification.

## TikTok Ads

To help better connect unidentified audiences in your TikTok Ads accounts with their corresponding front-end user events and behavior, it is recommended that the ***TikTok Pixel&#x20;***&#x64;estination be configured in Chord CDP to receive front-end events from your storefront:

![](https://archbee-image-uploads.s3.amazonaws.com/U9fkmkKcgT5gcNLmEiMMt-r_dStZkaBj-iV4KYuwmWc-20250630-172226.gif)

Configuring the TikTok Pixel destination in Chord CDP will facilitate flow of [event-specific attributes ](https://ads.tiktok.com/help/article/how-to-set-up-matching-events-with-events-api?lang=en)like Click ID, Email and Phone, and External ID. This ***External ID*** is mapped to the "blended User ID" captured on the Chord side. Events with an included external ID will increase match rates for improved measurement and audience creation downstream in TikTok Ads.

## Google Ads

To help better connect unidentified audiences in your Google Ads accounts with their corresponding front-end user events and behavior, it is recommended that the ***Google Analytics (Device Mode)&#x20;***&#x64;estination be configured in Chord CDP to receive front-end events from your storefront:

![](https://archbee-image-uploads.s3.amazonaws.com/U9fkmkKcgT5gcNLmEiMMt-kbxleogXQtVafRvT6kE9K-20250630-172929.gif)

Similar to the destinations above, configuring the Google Analytics (Device Mode) destination in Chord CDP allows for passage of client-side user-specific attributes that can aid in user identification downstream in Google Ads. When the destination is configured,  [Google Analytic's user\_id](https://developers.google.com/analytics/devguides/collection/ga4/user-id?client_type=gtag)value will be collected (if available) in the storefront and sent through to Google to be used as another attribute for matching purposes.



:::hint{type="info"}
**Note:&#x20;**&#x41;s always, please reach out to [help@chord.co](mailto\:help@chord.co) for assistance.
:::


[title] Chord AI FAQ
[path] Chord AI/

## Data security & privacy

**How does Chord AI protect my data?**

Chord AI adheres to the same high standards of data security and privacy as the rest of the Chord platform. Your data never leaves our secure environment unless explicitly configured by your team.

**Is any of my customer or business data sent to third-party AI providers?**

No. Chord AI processes your data within our platform and does not send any raw business or customer data to external AI providers.

**Does Chord AI use my data to train external LLMs?**

Never. Your data is not used to train, fine-tune, or improve any models outside your organization. Chord AI uses a multi-LLM architecture, handling different data components strategically to ensure your data stays private. Your sensitive data remains protected without risk of being sent or trained to public LLMs.

**Can I control what data Chord AI has access to?**

Yes. Chord AI uses only the data that a given user is permitted to access. If a user can’t view the data on the Chord platform, they can’t query it with AI either.

## Functionality & capabilities

**What can I ask Chord Copilot to do?**

You can ask questions about your customers, orders, products, and performance—Chord Copilot translates these into SQL and returns accurate results from your data.

**What types of questions work best with Chord Copilot?**

Chord Copilot is best with clear, specific questions. Examples:

- “What was our average order value last month?”
- “Which products are most frequently purchased by subscribers?”

**Can I see the SQL behind Chord Copilot’s answers?**

Yes. Chord Copilot is built for transparency. Every response includes the SQL used (easily viewed if you click on the “View SQL” button at the bottom of the answer from Chord Copilot Chat), so you can validate or reuse it as needed.

## Access & use

**Who can use Chord AI in my organization?**

Chord AI access is permission-based. Currently, all users can query data with Chord Copilot Chat during our alpha release. Interacting with Chord AI Context Studio features - creating and adding new Instructions and SQL Pairs - will be available to Team Admins only.

**Does using Chord AI require special training or technical knowledge?**

No training required. Chord AI is designed to work for marketers, operators, and analysts—no SQL background required.

[title] Braze Campaigns
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Salesforce/

### **x\_fct\_campaigns**

| Name                            | Description                                                                                             |
| ------------------------------- | ------------------------------------------------------------------------------------------------------- |
| Campaign Api Id                 | Unique key generated by Chord to identify the API ID of the campaign.                                   |
| Campaign App Group Id           | Unique key generated by Chord to identify the workspace this event belongs to.                          |
| Campaign Braze Api Id           | API ID of the campaign.                                                                                 |
| Campaign Braze App Group Id     | Internal-use Braze ID of the workspace this event belongs to.                                           |
| Campaign Braze Id               | Internal-use Braze ID of the campaign.                                                                  |
| Campaign Id                     | Unique key generated by Chord to identify the Braze campaign.                                           |
| Campaign Name                   | Name of the campaign.                                                                                   |
| Campaign Updated At (Universal) | Timestamp of when the campaign was updated - Universal Time Zone.                                       |
| Event Ts (Central)              | Timestamp of the event - Cental Time Zone.                                                              |
| Event Ts (Eastern)              | Timestamp of the event - Eastern Time Zone.                                                             |
| Event Ts (Mountain)             | Timestamp of the event - Mountain Time Zone.                                                            |
| Event Ts (Pacific)              | Timestamp of the event - Pacific Time Zone.                                                             |
| Event Ts (Universal)            | Timestamp of the event - Universal Time Zone.                                                           |
| Average Abort Count             | Count of abort events. For either SMS or emails.                                                        |
| Average Bounce Count            | Count of email bounce events.                                                                           |
| Average Carrier Send Count      | Count of messages sent through carriers.                                                                |
| Average Channel                 | Indicates the channel of the event. Accepted values include: Email, SMS, Push Notification, InApp.      |
| Average Click Count             | Count of click events. Either in Emails or SMS.                                                         |
| Average Conversion Count        | Count of conversion events.                                                                             |
| Average Delivery Count          | Count of email delivery events.                                                                         |
| Average Delivery Failure Count  | Count of delivery failures in SMS messages.                                                             |
| Average Event Id                | Unique key generated by Chord for each event.                                                           |
| Average Impression Count        | Count of impression events.                                                                             |
| Average Inbound Receive Count   | Count of inbound messages received in SMS events.                                                       |
| Average Influenced Open Count   | Count of influenced open events for push notifications.                                                 |
| Average Markasspam Count        | Count of emails marked as spam.                                                                         |
| Average Open Count              | Count of email open events.                                                                             |
| Average Rejection Count         | Count of rejection events in SMS messages.                                                              |
| Average Revenue                 | Total revenue generated.                                                                                |
| Average Send Count              | Count of sent messages. Either SMS or Emails.                                                           |
| Average Softbounce Count        | Count of email soft bounce events.                                                                      |
| Average Unique Click Count      | Count of unique email click events.                                                                     |
| Average Unique Open Count       | Count of unique email open events.                                                                      |
| Average Unsubscribe Count       | Count of email unsubscribe events.                                                                      |
| Abort Count                     | Count of abort events. For either SMS or emails.                                                        |
| Bounce Count                    | Count of email bounce events.                                                                           |
| Carrier Send Count              | Count of messages sent through carriers.                                                                |
| Channel                         | Indicates the channel of the event. Accepted values include: Email, SMS, Push Notification, InApp, etc. |
| Click Count                     | Count of click events. Either in Emails or SMS.                                                         |
| Conversion Count                | Count of conversion events.                                                                             |
| Delivery Count                  | Count of email delivery events.                                                                         |
| Delivery Failure Count          | Count of delivery failures in SMS messages.                                                             |
| Event Id                        | Unique key generated by Chord for each event.                                                           |
| Impression Count                | Count of impression events.                                                                             |
| Inbound Receive Count           | Count of inbound messages received in SMS events.                                                       |
| Influenced Open Count           | Count of influenced open events for push notifications.                                                 |
| Markasspam Count                | Count of emails marked as spam.                                                                         |
| Open Count                      | Count of email open events.                                                                             |
| Rejection Count                 | Count of rejection events in SMS messages.                                                              |
| Revenue                         | Total revenue generated.                                                                                |
| Send Count                      | Count of sent messages. Either SMS or Emails.                                                           |
| Softbounce Count                | Count of email soft bounce events.                                                                      |
| Unique Click Count              | Count of unique email click events.                                                                     |
| Unique Open Count               | Count of unique email open events.                                                                      |
| Unsubscribe Count               | Count of email unsubscribe events.                                                                      |


[title] Variants
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Chord OMS/

### **x\_fct\_trans\_variants**

| Name                           | Description                                                                         |
| ------------------------------ | ----------------------------------------------------------------------------------- |
| Product Store Id               | Unique key generated by our models that uniquifies a store.                         |
| Product Store Name             | The name of the store.                                                              |
| Product Store Oms Admin Url    | The Admin URL of that OMS.                                                          |
| Product Store Oms Id           | Unique key generated by Chord that uniquifies an OMS.                               |
| Product Store Oms Store Id     | Unique key generated by our models that uniquifies a store.                         |
| Product Store Oms Type         | The type of the OMS.                                                                |
| Product Store Id               | Unique key generated by our models that uniquifies a store.                         |
| Product Store Tenant Id        | Unique key generated by Chord that uniquifies a tenant.                             |
| Product Store Url              | The Storefront URL of of the store.                                                 |
| Variant Cost Price             | The manufacturing cost of the variant.                                              |
| Variant Depth                  | The depth of the variant.                                                           |
| Variant Height                 | The height of the variant.                                                          |
| Variant Id                     | Unique key generated by Chord to identify a unique product variant.                 |
| Variant Is Backorderable       | Whether the stock item has at least one location where it is back-orderable or not. |
| Variant Is Inventory Tracked   | Whether the inventory should or should not be tracked for this variant.             |
| Variant Is Master              | Whether this represents the master SKU or not.                                      |
| Variant Is Subscribable        | Whether or not a customer can ask to subscribe to this product.                     |
| Variant Oms Variant Id         | Unique key generated by Solidus that identifies a variant.                          |
| Variant Option Color           | Color of the variant.                                                               |
| Variant Option Format          | Format of the variant.                                                              |
| Variant Option Quantity        | Quantity of item for the variant.                                                   |
| Variant Option Size            | Size of the variant.                                                                |
| Variant Position               | The position of the variant in the list of variants.                                |
| Variant Sku                    | The SKU of the variant.                                                             |
| Variant Weight                 | The weight of the variant.                                                          |
| Variant Width                  | The weight of the variant.                                                          |
| Variant Created At (Universal) | Reflects when the entity was first created in Solidus - Universal Time Zone.        |
| Variant Deleted At (Universal) | Reflects when the entity was deleted - Universal Time Zone.                         |
| Variant Updated At (Universal) | Reflects when the entity was last updated in Solidus - Universal Time Zone.         |
| Average Count On Hand          | The sum of on-hand stock currently available for the variant.                       |
| Count On Hand                  | The sum of on-hand stock currently available for the variant.                       |



******


[title] E-commerce Data Ingestion
[path] Chord Data Platform/Data Sources/

Chord can ingest data from different e-commerce systems for analysis. Two methods are available:

1. **Chord Ingest&#x20;**(preferred): a Chord-built system that will pull data from a customer's e-commerce system.
2. **Chord API** (optional): customers can use Chord's REST API to push data from their source system. Reach out to us at [help@chord.co](mailto\:help@chord.co) for more details.

# Chord Ingest

Chord Ingest is Chord's solution for customer not using Shopify (e.g. Magento, BigCommerce, SalesForce Commerce Cloud). To get started, simply input the URL for your system and a valid API key into your Chord instance.

![](https://archbee-image-uploads.s3.amazonaws.com/lGdX_fn_gYcg4afmFCucz-Q4KMOUDhq4ha8YJo6UCC2-20250417-215456.png)

That's it!

## Sample Data Mapping

Since different e-commerce platforms use different names for equivalent records, the table below shows how source records are mapped to Chord's data model.

Below is an example of a data mapping from Magento, a common e-commerce system, and Chord:

### Product

| Chord        | Magento                             |
| ------------ | ----------------------------------- |
| Name         | `name`                              |
| Slug         | Combination of the `name` and `id`. |
| SKU          | `sku`                               |
| External ID  | `id`                                |
| Product Type | `type_id`                           |

### Variant

| Chord       | Magento |
| ----------- | ------- |
| SKU         | `sku`   |
| Price       | `price` |
| External ID | `id`    |

### Order

| Chord              | Magento                                                                                                                                                 |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Line items         | `order.items[]`                                                                                                                                         |
| Discount           | `order.items[].discount_*`                                                                                                                              |
| Tax                | `order.items[].tax_*`                                                                                                                                   |
| Customer           | `order.customer_*`                                                                                                                                      |
| Billing address    | `order.billing_address`                                                                                                                                 |
| Shipping address   | `order.shipping_address`                                                                                                                                |
| Number             | `increment_id`                                                                                                                                          |
| State              | Depends on ...                                                                                                                                          |
| Payment state      | Depends on `total_due`:<br />* If `total_due` > 0: `balance_due`
* If `total_due` \< 0: `credit_owed`
* If `total_due` == 0: `paid`
* Otherwise: `void` |
| Shipment state     | Depends on `status`:<br />* `pending`: `pending`
* `processing`: `ready`
* `complete`: `shipped`                                                        |
| Email              | `email`                                                                                                                                                 |
| Currency           | `base_currency_code`                                                                                                                                    |
| Item total         | `subtotal`                                                                                                                                              |
| Total              | `grand_total`                                                                                                                                           |
| Adjustment total   | `grand_total` - `subtotal`                                                                                                                              |
| Shipment total     | `shipping_incl_tax`                                                                                                                                     |
| Promo total        | `discount_amount`                                                                                                                                       |
| Payment total      | `total_paid`                                                                                                                                            |
| Item count         | `total_item_count`                                                                                                                                      |
| Channel            | `chord`                                                                                                                                                 |
| Included tax total | `base_subtotal_incl_tax`                                                                                                                                |
| External ID        | `id`                                                                                                                                                    |

### Line Item

| Chord                | Magento                                |
| -------------------- | -------------------------------------- |
| Quantity             | `qty_ordered`                          |
| Additional tax total | `tax_amount`                           |
| Price                | `price`                                |
| External ID          | `item_id`                              |
| SKU                  | `sku`                                  |
| Adjustment total     | `additional_tax_total` + `promo_total` |
| Slug                 | `name`                                 |
| Promo total          | `discount_amount`                      |

### Line Item Discount

| Chord         | Magento                   |
| ------------- | ------------------------- |
| Adjustable ID | `line_item.id`            |
| Amount        | `discount_amount`         |
| Order ID      | `line_item.order.id`      |
| External ID   | "`line_item.id`-discount" |

### Line Item Tax

| Chord         | Magento              |
| ------------- | -------------------- |
| External ID   | "`line_item.id`-tax" |
| Adjustable ID | `line_item.id`       |
| Amount        | `tax_amount`         |
| Order ID      | `line_item.order.id` |

### Payment

| Chord  | Magento                                                              |
| ------ | -------------------------------------------------------------------- |
| Amount | `amount_paid`                                                        |
| State  | If `amount_paid == amount_ordered`, then `paid`; `pending` otherwise |
| Number | "`entity_id`-`method`"                                               |

### Shipment

| Chord           | Magento                |
| --------------- | ---------------------- |
| Inventory units | `shipment.items[]`     |
| External ID     | `entity_id`            |
| Number          | `entity_id`            |
| State           | `order.shipment_state` |
| Cost            | `order.shipment_total` |
| Shipped At      | `created_at`           |

### Inventory Unit

| Chord       | Magento                                                                                                           |
| ----------- | ----------------------------------------------------------------------------------------------------------------- |
| External ID | "`order_item_id`-`index`"; where `index` is a counter of the number of inventory units listed under the shipment. |
| SKU         | `sku`                                                                                                             |
| Variant ID  | Query the Chord database for the variant by `sku` and use the `id`                                                |

### User

| Chord | Magento                                    |
| ----- | ------------------------------------------ |
| Name  | "`customer_firstname` `customer_lastname`" |
| Email | `customer_email`                           |

### Address

| Chord       | Magento                                                                    |
| ----------- | -------------------------------------------------------------------------- |
| City        | `city`                                                                     |
| External ID | `entity_id`                                                                |
| Firstname   | `firstname`                                                                |
| Lastname    | `lastname`                                                                 |
| Address 1   | `street.first`                                                             |
| Address 2   | `street.second`                                                            |
| Zipcode     | `postcode`                                                                 |
| Phone       | `telephone`                                                                |
| State       | Query the Chord database for the `region_code` and return the state ID     |
| Country     | Query the Chord database where `iso: country_id` and return the country ID |



## How It Works

When a product is synced, all associated variants are also synced.&#x20;

When an order is synced, all associated records are also synced:

- Line items
  - Discount
  - Tax
- Shipments
  - Inventory units
- Customer
- Billing address
- Shipping address
- Payments

Chord replicates data 1-1 from the source system, performing the minimum transformations necessary for successful replication.

Chord syncs data daily from a customer's e-commerce system:

1. Product sync: sync all products and variants in the customer's catalogue.
2. Order sync: sync completed orders and associated records updated in the previous 24 hours.




[title] Sales
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Chord OMS/

### **x\_fct\_trans\_sales**

| Name                                                                                                  | Description                                                                                                                                                                                                                                                                                          |
| ----------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Affiliate Email                                                                                       | Email address of the affiliate.                                                                                                                                                                                                                                                                      |
| Affiliate Id                                                                                          | Unique key generated by Chord to identify a unique affiliate.                                                                                                                                                                                                                                        |
| Affiliate Name                                                                                        | Full name of the user.                                                                                                                                                                                                                                                                               |
| Affiliate Seen Emails                                                                                 | List of email addresses seen.                                                                                                                                                                                                                                                                        |
| Affiliate User Id                                                                                     | Unique key generated by Chord to identify a unique user.                                                                                                                                                                                                                                             |
| Billing Address Address1                                                                              | The street address of the customer.                                                                                                                                                                                                                                                                  |
| Billing Address Address2                                                                              | The optional second address of the customer.                                                                                                                                                                                                                                                         |
| Billing Address Alternative Phone                                                                     | The customer's alternative phone number.                                                                                                                                                                                                                                                             |
| Billing Address City                                                                                  | The city where the address is.                                                                                                                                                                                                                                                                       |
| Billing Address Company                                                                               | A company name.                                                                                                                                                                                                                                                                                      |
| Billing Address Country Abbr                                                                          | no description                                                                                                                                                                                                                                                                                       |
| Billing Address Country Name                                                                          | Full name of the country.                                                                                                                                                                                                                                                                            |
| Billing Address Firstname                                                                             | First name of the customer.                                                                                                                                                                                                                                                                          |
| Billing Address Id                                                                                    | Unique key generated by Chord to identify a unique address.                                                                                                                                                                                                                                          |
| Billing Address Lastname                                                                              | Last name of the customer.                                                                                                                                                                                                                                                                           |
| Billing Address Oms Address Id                                                                        | Unique key generated by ChordOMS that identifies an address.                                                                                                                                                                                                                                         |
| Billing Address Phone                                                                                 | The customer's phone number.                                                                                                                                                                                                                                                                         |
| Billing Address State Abbr                                                                            | no description                                                                                                                                                                                                                                                                                       |
| Billing Address State Name                                                                            | Full name of the state.                                                                                                                                                                                                                                                                              |
| Billing Address Zipcode                                                                               | The postal code.                                                                                                                                                                                                                                                                                     |
| Order Adjustment Types                                                                                | List of distinct adjustment reasons for adjustments made to the order.                                                                                                                                                                                                                               |
| Order Admin Url                                                                                       | The Admin URL of pointing to the order.                                                                                                                                                                                                                                                              |
| Order Applied Discount Codes                                                                          | List of promotion codes applied to the order.                                                                                                                                                                                                                                                        |
| Order Applied Discount Codes Count                                                                    | Count of promotion codes applied to the order.                                                                                                                                                                                                                                                       |
| Order Applied Discount Ids                                                                            | List of promotion ids applied to the order.                                                                                                                                                                                                                                                          |
| Order Applied Discount Names                                                                          | List of promotion names applied to the order.                                                                                                                                                                                                                                                        |
| Order Applied Discount Names Count                                                                    | Count of promotion names applied to the order.                                                                                                                                                                                                                                                       |
| Order Cart Url                                                                                        | Url of the cart which contains the order.                                                                                                                                                                                                                                                            |
| Order Channel                                                                                         | The channel from which the order is created.                                                                                                                                                                                                                                                         |
| Order Completed Order Rank By Subscription                                                            | Allows to rank completed orders by completion date for a subscription.                                                                                                                                                                                                                               |
| Order Completed Order Rank By User                                                                    | Allows to rank completed orders by completion date for a user.                                                                                                                                                                                                                                       |
| Order Contains Refund                                                                                 | Whether or not the order contains refund adjustments or refunds that are processed outside of the Chord OMS adjustment systems (for example via RMAs or cancellations).                                                                                                                              |
| Order Contains Replacement                                                                            | Whether or not the order contains replacement adjustments or shipped replacement items (following an RMA authorization).                                                                                                                                                                             |
| Order Contains Return                                                                                 | Whether or not the order contains returns (authorized RMAs).                                                                                                                                                                                                                                         |
| Order Contains Rma Refund                                                                             | Whether or not the order contains RMA refunds (refunds issued after an RMA was requested and authorized).                                                                                                                                                                                            |
| Order Contains Rma Store Credits                                                                      | This column is not documented.                                                                                                                                                                                                                                                                       |
| Order Currency                                                                                        | The currency for this order.                                                                                                                                                                                                                                                                         |
| Order Customer Lifetime Month                                                                         | Number of months between the current order's completion date and the user's first order completion date. First orders have a value of 1.                                                                                                                                                             |
| Order Customer Lifetime Week                                                                          | Number of weeks between the current order's completion date and the user's first order completion date. First orders always have a value of 1.                                                                                                                                                       |
| Order Email                                                                                           | The email address of the customer that made the order.                                                                                                                                                                                                                                               |
| Order Financial State                                                                                 | The current payment state of the order.                                                                                                                                                                                                                                                              |
| Order Fulfillment Ids                                                                                 | Array of unique keys generated by Chord to identify the unique shipments for an order.                                                                                                                                                                                                               |
| Order Fulfillment Numbers                                                                             | The unique identifier for this shipment.                                                                                                                                                                                                                                                             |
| Order Fulfillment State                                                                               | The current shipment state of the order.                                                                                                                                                                                                                                                             |
| Order Has Discount                                                                                    | Whether or not the order has promotions applied to it.                                                                                                                                                                                                                                               |
| Order Has Order Tags                                                                                  | Whether or not that order has tags.                                                                                                                                                                                                                                                                  |
| Order Hours From Order To First Fulfillment                                                           | Number of hours between order completion and first order shipment; how long it takes a company to get the initial product out to a customer.                                                                                                                                                         |
| Order Hours From Order To Last Fulfillment                                                            | Number of hours between order completion and last order shipment.                                                                                                                                                                                                                                    |
| Order Id                                                                                              | Unique key generated by Chord to identify a unique order.                                                                                                                                                                                                                                            |
| Order Is Canceled                                                                                     | Whether or not the order is canceled. The order is considered canceled when the canceled\_at date is not null.                                                                                                                                                                                       |
| Order Is Completed                                                                                    | Whether or not that order is completed. The order is considered completed when the completed\_at date is not null. This means that the order does not necessarily have a state = 'complete', since states can change after the order completion (for example in the case of a refund).               |
| Order Is First Completed Order                                                                        | Whether or not that order was the first completed order for a user.                                                                                                                                                                                                                                  |
| Order Is First Order                                                                                  | Whether or not that order was the first order for a user.                                                                                                                                                                                                                                            |
| Order Is First Subscription Completed Order                                                           | Whether or not that order was the first completed order for a subscription.                                                                                                                                                                                                                          |
| Order Is First Subscription Order                                                                     | Whether or not that order was the first order for a subscription.                                                                                                                                                                                                                                    |
| Order Is Fulfilled                                                                                    | Whether or not that order has shipped.                                                                                                                                                                                                                                                               |
| Order Is Part Of Subscription                                                                         | Whether or not that order is part of a subscription.                                                                                                                                                                                                                                                 |
| Order Is Pre Paid Purchase                                                                            | Whether the order the orderincludes the purchase of a pre-payment; this could be a gift subscription, pre-pay subscription, or gift card.                                                                                                                                                            |
| Order Is Pre Paid Redemption                                                                          | Whether the order included the redemption of a pre-payment; this could be the redemption of a gift subscription, pre-pay subscription, or gift card.                                                                                                                                                 |
| Order Is Referred By Affiliate                                                                        | Whether or not the user is referred by an affiliate.                                                                                                                                                                                                                                                 |
| Order Is Referred By Referrer                                                                         | Whether or not the user is referred by a referrer.                                                                                                                                                                                                                                                   |
| Order Is Replacement                                                                                  | True when the order is a replacement order.                                                                                                                                                                                                                                                          |
| Order Is Suspicious Referral Conversion                                                               | Wether this represents a suspicous referral conversions or not.                                                                                                                                                                                                                                      |
| Order Item Id                                                                                         | Unique key generated by Chord to identify a unique order.                                                                                                                                                                                                                                            |
| Order Item Line Items Quantity                                                                        | Sum of line items quantities per order.                                                                                                                                                                                                                                                              |
| Order Item Product Basket                                                                             | List of product names per in the order.                                                                                                                                                                                                                                                              |
| Order Item Product Basket Count                                                                       | Number of products in the order.                                                                                                                                                                                                                                                                     |
| Order Product Basket                                                                                  | The titles of products for a given order array converted to a string.                                                                                                                                                                                                                                |
| Order Item Total Line Item Unit Quantity                                                              | Sum of line item units in the order.                                                                                                                                                                                                                                                                 |
| Order Item Total Line Items Quantity                                                                  | Sum of line items quantities per order.                                                                                                                                                                                                                                                              |
| Order Item Unique Product Basket                                                                      | List of unique product names per in the order.                                                                                                                                                                                                                                                       |
| Order Item Unique Product Basket Count                                                                | Number of unique products in the order.                                                                                                                                                                                                                                                              |
| Order Unique Product Basket                                                                           | The list of unique products for a given order array converted to a string.                                                                                                                                                                                                                           |
| Order Item Unique Unit Basket                                                                         | List of unique units in the order.                                                                                                                                                                                                                                                                   |
| Order Item Unique Unit Basket Count                                                                   | Count of unique units in the order.                                                                                                                                                                                                                                                                  |
| Order Unit Basket                                                                                     | The list of units for a given order array converted to a string.                                                                                                                                                                                                                                     |
| Order Item Unique Variant Basket                                                                      | List of unique variant names per in the order.                                                                                                                                                                                                                                                       |
| Order Item Unique Variant Basket Count                                                                | Number of unique variants in the order.                                                                                                                                                                                                                                                              |
| Order Unique Variant Basket                                                                           | The list of unique variants for a given order array converted to a string.                                                                                                                                                                                                                           |
| Order Item Unit Basket                                                                                | List of all units in the order.                                                                                                                                                                                                                                                                      |
| Order Item Unit Basket Count                                                                          | Count of all units in the order.                                                                                                                                                                                                                                                                     |
| Order Unique Unit Basket                                                                              | The list of unique units for a given order array converted to a string.                                                                                                                                                                                                                              |
| Order Item Variant Basket                                                                             | List of variant names per in the order.                                                                                                                                                                                                                                                              |
| Order Item Variant Basket Count                                                                       | Number of variants in the order.                                                                                                                                                                                                                                                                     |
| Order Variant Basket                                                                                  | The titles of variants for a given order array converted to a string.                                                                                                                                                                                                                                |
| Order Number                                                                                          | Human-readable unique key generated by ChordOMS that identifies an order. It begins with a set of Tenant-Store defined letters and ends in a nine-digit number (for example, CHORD-123456789). This number is shown to the users in various places. These combinations are unique for a given Store. |
| Order Oms Order Id                                                                                    | Unique key generated by ChordOMS that identifies an order.                                                                                                                                                                                                                                           |
| Order Rank By User                                                                                    | Allows to rank completed orders by completion date for a user.                                                                                                                                                                                                                                       |
| Order Tags                                                                                            | List of tags associated to the order.                                                                                                                                                                                                                                                                |
| Order Tags Count                                                                                      | Number of tags associated to the order.                                                                                                                                                                                                                                                              |
| Order Referral Conversion Suspicious Reasons                                                          | A list of reasons explaining why the referral conversion is suspicious.                                                                                                                                                                                                                              |
| Order Referrer User Email                                                                             | The email address of the customer identified with the referral.                                                                                                                                                                                                                                      |
| Order Special Instructions                                                                            | Any special shipping instructions that have been specified by the customer during checkout.                                                                                                                                                                                                          |
| Order State                                                                                           | The current state of the order.                                                                                                                                                                                                                                                                      |
| Order Store Id                                                                                        | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                          |
| Order Store Name                                                                                      | The name of the store.                                                                                                                                                                                                                                                                               |
| Order Store Oms Admin Url                                                                             | The Admin URL of that OMS.                                                                                                                                                                                                                                                                           |
| Order Store Oms Id                                                                                    | Unique key generated by Chord that uniquifies an OMS.                                                                                                                                                                                                                                                |
| Order Store Oms Store Id                                                                              | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                          |
| Order Store Oms Type                                                                                  | The type of the OMS.                                                                                                                                                                                                                                                                                 |
| Order Store Id                                                                                        | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                          |
| Order Store Tenant Id                                                                                 | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                              |
| Order Store Url                                                                                       | The Storefront URL of of the store.                                                                                                                                                                                                                                                                  |
| Order Subscription Customer Lifetime Month                                                            | Number of months between the current order's completion date and the user's first subscription order completion date. First orders have a value of 1.                                                                                                                                                |
| Order Subscription Customer Lifetime Week                                                             | Number of weeks between the current order's completion date and the user's first subscription order completion date. First orders always have a value of 1.                                                                                                                                          |
| Order User Referral Code                                                                              | Unique key generated by ChordOMS that represents the user's referral code.                                                                                                                                                                                                                           |
| Order Website Locale                                                                                  | Locale of website. This will either be collected from the url or from the drop-down link on the store.                                                                                                                                                                                               |
| Referral Conversion Rank By Referrer                                                                  | Allows to rank a referral conversion by referrer.                                                                                                                                                                                                                                                    |
| Referral Id                                                                                           | Unique key generated by Chord to identify a unique referral identifier.                                                                                                                                                                                                                              |
| Referral Is Converted                                                                                 | Wether this represents a converted referral or not.                                                                                                                                                                                                                                                  |
| Referral Is First Conversion                                                                          | Whether or not the referral was the referrer's first converted referral.                                                                                                                                                                                                                             |
| Referral Is First Non Suspicious Conversion                                                           | Whether or not the referral was the referrer's first non suspicious converted referral.                                                                                                                                                                                                              |
| Referral Is Suspicious                                                                                | Wether this represents a suspicous referral conversions or not.                                                                                                                                                                                                                                      |
| Referral Non Suspicious Conversion Rank By Referrer                                                   | Allows ranking of non-suspicious referral conversion by the referrer.                                                                                                                                                                                                                                |
| Referral Oms Referral Conversion Id                                                                   | Unique key generated by ChordOMS that identifies a referral conversion.                                                                                                                                                                                                                              |
| Referral Suspicious Reasons                                                                           | A list of reasons explaining why the referral conversion is suspicious.                                                                                                                                                                                                                              |
| Referrer Currency                                                                                     | The currency for this referral identifier.                                                                                                                                                                                                                                                           |
| Referrer Email                                                                                        | The email address of the customer identified with the referral.                                                                                                                                                                                                                                      |
| Referrer Id                                                                                           | Unique key generated by Chord to identify a unique referral identifier.                                                                                                                                                                                                                              |
| Referrer Oms Referral Identifier Id                                                                   | Unique key generated by ChordOMS that identifies a referral identifier.                                                                                                                                                                                                                              |
| Referrer User Referral Code                                                                           | Unique key generated by ChordOMS that represents the user's referral code.                                                                                                                                                                                                                           |
| Shipping Address Address1                                                                             | The street address of the customer.                                                                                                                                                                                                                                                                  |
| Shipping Address Address2                                                                             | The optional second address of the customer.                                                                                                                                                                                                                                                         |
| Shipping Address Alternative Phone                                                                    | The customer's alternative phone number.                                                                                                                                                                                                                                                             |
| Shipping Address City                                                                                 | The city where the address is.                                                                                                                                                                                                                                                                       |
| Shipping Address Company                                                                              | A company name.                                                                                                                                                                                                                                                                                      |
| Shipping Address Country Abbr                                                                         | no description                                                                                                                                                                                                                                                                                       |
| Shipping Address Country Name                                                                         | Full name of the country.                                                                                                                                                                                                                                                                            |
| Shipping Address Firstname                                                                            | First name of the customer.                                                                                                                                                                                                                                                                          |
| Shipping Address Id                                                                                   | Unique key generated by Chord to identify a unique address.                                                                                                                                                                                                                                          |
| Shipping Address Lastname                                                                             | Last name of the customer.                                                                                                                                                                                                                                                                           |
| Shipping Address Oms Address Id                                                                       | Unique key generated by ChordOMS that identifies an address.                                                                                                                                                                                                                                         |
| Shipping Address Phone                                                                                | The customer's phone number.                                                                                                                                                                                                                                                                         |
| Shipping Address State Abbr                                                                           | no description                                                                                                                                                                                                                                                                                       |
| Shipping Address State Name                                                                           | Full name of the state.                                                                                                                                                                                                                                                                              |
| Shipping Address Zipcode                                                                              | The postal code.                                                                                                                                                                                                                                                                                     |
| Subscription Completed Oms Order Ids                                                                  | List of completed OMS order ids by a subscription.                                                                                                                                                                                                                                                   |
| Subscription Completed Order Count                                                                    | Total amount of orders completed by a subscription.                                                                                                                                                                                                                                                  |
| Subscription Completed Order Ids                                                                      | List of completed order ids by a subscription.                                                                                                                                                                                                                                                       |
| Subscription First Order Unique Product Basket                                                        | Array of unique product names ordered in the first order per subscription.                                                                                                                                                                                                                           |
| Subscription First Order Unique Variant Basket                                                        | Array of unique SKUs ordered in the first order per subscription.                                                                                                                                                                                                                                    |
| Subscription Has Subscription Tags                                                                    | Whether or not the subscription has tags.                                                                                                                                                                                                                                                            |
| Subscription Id                                                                                       | Unique key generated by ChordOMS that identifies a subscription.                                                                                                                                                                                                                                     |
| Subscription Interval In Days                                                                         | The number of days in the subscription interval.                                                                                                                                                                                                                                                     |
| Subscription Is Auto Redeemed                                                                         | Whether the pre-paid subscription will be auto-redeemed or if an action is required by the recepient.                                                                                                                                                                                                |
| Subscription Is Gift                                                                                  | Whether or not the pre-paid subscription is a gift.                                                                                                                                                                                                                                                  |
| Subscription Is Recurring                                                                             | Whether the pre-paid subscription is recurring.                                                                                                                                                                                                                                                      |
| Subscription Last Order Unique Product Basket                                                         | Array of unique product names ordered in the latest order per subscription.                                                                                                                                                                                                                          |
| Subscription Last Order Unique Variant Basket                                                         | Array of unique SKUs ordered in the latest order per subscription.                                                                                                                                                                                                                                   |
| Subscription Oms Pre Paid Subscription Id                                                             | ID generated by ChordOMS to identify a unique pre-paid subscription.                                                                                                                                                                                                                                 |
| Subscription Oms Subscription Id                                                                      | Unique key generated by ChordOMS that identifies a subscription.                                                                                                                                                                                                                                     |
| Subscription Pre Paid Subscription Id                                                                 | Chord generated unique id for the pre-pay subscription.                                                                                                                                                                                                                                              |
| Subscription State                                                                                    | The current state of the subscription, enhanced with values for \`paused\` if the subscription is active and paused.                                                                                                                                                                                 |
| Subscription Tags                                                                                     | The list of tags associated with a subscription.                                                                                                                                                                                                                                                     |
| Subscription Tags Count                                                                               | The number of tags associated with a subscription.                                                                                                                                                                                                                                                   |
| Subscription Unique Product Basket                                                                    | Array of unique product names ever ordered per subscription.                                                                                                                                                                                                                                         |
| Subscription Unique Variant Basket                                                                    | Array of unique SKUs ever ordered per subscription.                                                                                                                                                                                                                                                  |
| User Completed Oms Order Ids                                                                          | List of completed OMS order ids by a user.                                                                                                                                                                                                                                                           |
| User Completed Order Ids                                                                              | List of completed order ids by a user.                                                                                                                                                                                                                                                               |
| User Credit Category Basket                                                                           | Array of credit categories (Gift Card, Reimbursement, Referral Credits, Prepaid Subscription, GMA) issued per user.                                                                                                                                                                                  |
| User Email                                                                                            | Email address of the user.                                                                                                                                                                                                                                                                           |
| User First Completed Oms Order Id                                                                     | OMS order id of the first order completed by a user.                                                                                                                                                                                                                                                 |
| User First Completed Order Id                                                                         | Unique order id of the first order completed by a user.                                                                                                                                                                                                                                              |
| User First Order Unique Ordered Products                                                              | Unique products ordered by the user in their first completed order.                                                                                                                                                                                                                                  |
| User First Order Unique Ordered Skus                                                                  | Unique SKUs ordered by the user in their first completed order.                                                                                                                                                                                                                                      |
| User Has Ordered A La Carte                                                                           | Whether or not the user has had at least one order that is not part of a subscription.                                                                                                                                                                                                               |
| User Has Promo Applied In First Order                                                                 | Whether or not the user has a promo applied to their first completed order.                                                                                                                                                                                                                          |
| User Has Subscription In First Order                                                                  | Whether or not the user's first order is linked to a subscription.                                                                                                                                                                                                                                   |
| User Id                                                                                               | Unique key generated by Chord to identify a unique user.                                                                                                                                                                                                                                             |
| User Is Active Subscriber                                                                             | Whether or not the user has an active subscription with at least one completed subscription order. An active subscription is one that is not cancelled or paused.                                                                                                                                    |
| User Is Customer                                                                                      | Whether or not the user is a customer.                                                                                                                                                                                                                                                               |
| User Is New Customer                                                                                  | Whether or not the user is a new customer.                                                                                                                                                                                                                                                           |
| User Is Not Customer                                                                                  | Whether or not the user is not a customer.                                                                                                                                                                                                                                                           |
| User Is Returning Customer                                                                            | Whether or not the user is a returning customer.                                                                                                                                                                                                                                                     |
| User Is Subscriber                                                                                    | Whether or not the user has completed at least one subscription order.                                                                                                                                                                                                                               |
| User Login                                                                                            | The login email address of the user.                                                                                                                                                                                                                                                                 |
| User Name                                                                                             | Full name of the user.                                                                                                                                                                                                                                                                               |
| User Number Of Completed A La Carte Orders                                                            | Total amount of orders completed by a user that are a la carte.                                                                                                                                                                                                                                      |
| User Number Of Completed Subscription Orders                                                          | Total amount of orders completed by a user that was part of a subscription.                                                                                                                                                                                                                          |
| User Number Of Orders With Promos                                                                     | The count of completed orders with a promo applied.                                                                                                                                                                                                                                                  |
| User Number Of Subscriptions                                                                          | Total amount of subscriptions linked to a user.                                                                                                                                                                                                                                                      |
| User Oms User Id                                                                                      | Unique key generated by ChordOMS that identifies a user.                                                                                                                                                                                                                                             |
| User Phone                                                                                            | Phone number of the user.                                                                                                                                                                                                                                                                            |
| User Total Completed Order Count                                                                      | Total amount of orders completed by a user.                                                                                                                                                                                                                                                          |
| User Unique Ordered Products                                                                          | Unique products ordered by the user across all orders.                                                                                                                                                                                                                                               |
| User Unique Ordered Skus                                                                              | Unique SKUs ordered by the user across all orders.                                                                                                                                                                                                                                                   |
| Billing Address Created At (Universal)                                                                | Timestamp at which the address row was created - Universal Time Zone.                                                                                                                                                                                                                                |
| Billing Address Updated At (Universal)                                                                | Timestamp at which the address row was last updated - Universal Time Zone.                                                                                                                                                                                                                           |
| Order Approved At (Universal)                                                                         | Reflects when the entity was approved in ChordOMS - Universal Time Zone.                                                                                                                                                                                                                             |
| Order Canceled At (Universal)                                                                         | Reflects when the order was cancelled - Universal Time Zone.                                                                                                                                                                                                                                         |
| Order Completed At (Central)                                                                          | Reflects when the entity was moved to the 'completed' state - Cental Time Zone.                                                                                                                                                                                                                      |
| Order Completed At (Eastern)                                                                          | Reflects when the entity was moved to the 'completed' state - Eastern Time Zone.                                                                                                                                                                                                                     |
| Order Completed At (Mountain)                                                                         | Reflects when the entity was moved to the 'completed' state - Mountain Time Zone.                                                                                                                                                                                                                    |
| Order Completed At (Pacific)                                                                          | Reflects when the entity was moved to the 'completed' state - Pacific Time Zone.                                                                                                                                                                                                                     |
| Order Completed At (Universal)                                                                        | Reflects when the entity was moved to the 'completed' state - Universal Time Zone.                                                                                                                                                                                                                   |
| Order Created At (Central)                                                                            | Reflects when the entity was first created in ChordOMS - Cental Time Zone.                                                                                                                                                                                                                           |
| Order Created At (Eastern)                                                                            | Reflects when the entity was first created in ChordOMS - Eastern Time Zone.                                                                                                                                                                                                                          |
| Order Created At (Mountain)                                                                           | Reflects when the entity was first created in ChordOMS - Mountain Time Zone.                                                                                                                                                                                                                         |
| Order Created At (Pacific)                                                                            | Reflects when the entity was first created in ChordOMS - Pacific Time Zone.                                                                                                                                                                                                                          |
| **Order Created At (Universal)**                                                                      | Timestamp at which the first shipment for that order was shipped - Universal Time Zone.                                                                                                                                                                                                              |
| Order First Fulfillment Fulfilled At (Universal)                                                      | Timestamp of the last return adjustment for an order - Universal Time Zone.                                                                                                                                                                                                                          |
| Order First Fulfillment Fulfilled At (Universal)&#xD;&#xA;Order Last Adjustment Refund At (Universal) | Timestamp of the last replacement adjustment for an order - Universal Time Zone.                                                                                                                                                                                                                     |
| Order Last Fulfillment Fulfilled At (Universal)                                                       | Timestamp at which the last shipment for that order was shipped - Universal Time Zone.                                                                                                                                                                                                               |
| Order Updated At (Universal)                                                                          | Reflects when the entity was last updated in ChordOMS - Universal Time Zone.                                                                                                                                                                                                                         |
| Referral Converted At (Universal)                                                                     | Reflects when the referral entity was first converted in ChordOMS - Universal Time Zone.                                                                                                                                                                                                             |
| Referral Created At (Universal)                                                                       | Reflects when the entity was first created in ChordOMS - Universal Time Zone.                                                                                                                                                                                                                        |
| Referral Updated At (Universal)                                                                       | Reflects when the entity was last updated in ChordOMS - Universal Time Zone.                                                                                                                                                                                                                         |
| Referrer Created At (Universal)                                                                       | Reflects when the entity was first created in ChordOMS - Universal Time Zone.                                                                                                                                                                                                                        |
| Referrer Updated At (Universal)                                                                       | Reflects when the entity was last updated in ChordOMS - Universal Time Zone.                                                                                                                                                                                                                         |
| Shipping Address Created At (Universal)                                                               | Timestamp at which the address row was created - Universal Time Zone.                                                                                                                                                                                                                                |
| Shipping Address Updated At (Universal)                                                               | Timestamp at which the address row was last updated - Universal Time Zone.                                                                                                                                                                                                                           |
| Subscription Actionable Date (Universal)                                                              | The date of the next subscription installment. This date is updated after each successful installment. Subscriptions in an inactive state will be null - Universal Time Zone.                                                                                                                        |
| Subscription Created At (Universal)                                                                   | Reflects when the entity was first created in ChordOMS - Universal Time Zone.                                                                                                                                                                                                                        |
| Subscription First Order Completed At (Universal)                                                     | The timestamp of the subscription's first completed order - Universal Time Zone.                                                                                                                                                                                                                     |
| Subscription Last Order Completed At (Universal)                                                      | The timestamp of the subscription's last completed order - Universal Time Zone.                                                                                                                                                                                                                      |
| Subscription Updated At (Universal)                                                                   | Reflects when the entity was last updated in ChordOMS - Universal Time Zone.                                                                                                                                                                                                                         |
| User Created At (Universal)                                                                           | Timestamp at which the users row was created - Universal Time Zone.                                                                                                                                                                                                                                  |
| User Date Of Birth (Universal)                                                                        | Date of birth of the user - Universal Time Zone.Date of birth of the user - Universal Time Zone.                                                                                                                                                                                                     |
| User Deleted At (Universal)                                                                           | Timestamp at which the user's account was deleted - Universal Time Zone.                                                                                                                                                                                                                             |
| User First Order Completed At (Universal)                                                             | The timestamp of the user's first completed order - Universal Time Zone.                                                                                                                                                                                                                             |
| User First Subscription Order Completed At (Universal)                                                | The timestamp of the user's first completed subscription order, regardless of subsequent subscriptions - Universal Time Zone.                                                                                                                                                                        |
| User Last Order Completed At (Universal)                                                              | The timestamp of the user's last completed order - Universal Time Zone.                                                                                                                                                                                                                              |
| User Last Sign In At (Universal)                                                                      | The last sign in timestamp for the user - Universal Time Zone.                                                                                                                                                                                                                                       |
| User Updated At (Universal)                                                                           | Timestamp at which the users row was last updated - Universal Time Zone.                                                                                                                                                                                                                             |
| Average Additional Tax Total                                                                          | Total additional taxes for an order.                                                                                                                                                                                                                                                                 |
| Average Adjustment Fulfillment Tax Total                                                              | Total adjustment shipment taxes for an order.                                                                                                                                                                                                                                                        |
| Average Adjustment Fulfillment Total                                                                  | Total shipment adjustments applied to an order.                                                                                                                                                                                                                                                      |
| Average Adjustment Other Charges Total                                                                | Total of included additional adjustment charges paid for an order.                                                                                                                                                                                                                                   |
| Average Adjustment Other Credits Total                                                                | Total of credits issued for an order.                                                                                                                                                                                                                                                                |
| Average Adjustment Refund Total                                                                       | Total of return dollars for an order.                                                                                                                                                                                                                                                                |
| Average Adjustment Replacement Total                                                                  | Total of replacement dollars for an order.                                                                                                                                                                                                                                                           |
| Average Adjustment Rma Refund Total                                                                   | Total of refund dollards associated to an order that was returned via the RMA functionality of the Chord OMS.                                                                                                                                                                                        |
| Average Adjustment Tax Total                                                                          | Total adjustment taxes an order.                                                                                                                                                                                                                                                                     |
| Average Adjustment Total                                                                              | Total of adjustment applied for an order as on the order.                                                                                                                                                                                                                                            |
| Average Applied Gift Card Total                                                                       | Total of gift card dollars that were used as a payment method in the order                                                                                                                                                                                                                           |
| Average Commission Total                                                                              | Commission for an order.                                                                                                                                                                                                                                                                             |
| Average Fulfillment Total                                                                             | Total shipment for an order.                                                                                                                                                                                                                                                                         |
| Average Gross Revenue                                                                                 | Gross amount of revenue generated by the order including items and shipments totals. Gross revenue = total - included\_tax\_total + shipment\_total - purchased\_gift\_card\_total - pre-payment subscription purchase amount                                                                        |
| Average Included Tax Total                                                                            | Total included taxes for an order.                                                                                                                                                                                                                                                                   |
| Average Item Total                                                                                    | Total price for the order before adjustments.                                                                                                                                                                                                                                                        |
| Average Net Revenue                                                                                   | Net revenue generated by the order's items after promotions. Net revenue = total - included\_tax\_total + shipment\_total + adjustment\_total - additional\_tax\_total - purchased\_gift\_card\_total - pre-payment subscription purchase amount                                                     |
| Average Pre Paid Purchase Total                                                                       |                                                                                                                                                                                                                                                                                                      |
| Average Pre Paid Redemption Total                                                                     |                                                                                                                                                                                                                                                                                                      |
| Average Promo Total                                                                                   | Promotions applied to an order.                                                                                                                                                                                                                                                                      |
| Average Purchased Gift Card Total                                                                     | Total of gift card dollars that were purchased in the order.                                                                                                                                                                                                                                         |
| Average Reimbursement Credit Total                                                                    | The amount of store credits owed back in an order                                                                                                                                                                                                                                                    |
| Average Tax Total                                                                                     | Total taxes for an order.                                                                                                                                                                                                                                                                            |
| Average Total Price                                                                                   | Total to be paid by the customer for an order.                                                                                                                                                                                                                                                       |
| Average Transaction Total                                                                             | Total paid by the customer for a completed order.                                                                                                                                                                                                                                                    |
| Additional Tax Total                                                                                  | Total additional taxes for an order.                                                                                                                                                                                                                                                                 |
| Adjustment Fulfillment Tax Total                                                                      | Total adjustment shipment taxes for an order.                                                                                                                                                                                                                                                        |
| Adjustment Fulfillment Total                                                                          | Total shipment adjustments applied to an order.                                                                                                                                                                                                                                                      |
| Adjustment Other Charges Total                                                                        | Total of included additional adjustment charges paid for an order.                                                                                                                                                                                                                                   |
| Adjustment Other Credits Total                                                                        | Total of credits issued for an order.                                                                                                                                                                                                                                                                |
| Adjustment Refund Total                                                                               | Total of return dollars for an order.                                                                                                                                                                                                                                                                |
| Adjustment Replacement Total                                                                          | Total of replacement dollars for an order.                                                                                                                                                                                                                                                           |
| Adjustment Rma Refund Total                                                                           | Total of refund dollards associated to an order that was returned via the RMA functionality of the Chord OMS.                                                                                                                                                                                        |
| Adjustment Tax Total                                                                                  | Total adjustment taxes an order.                                                                                                                                                                                                                                                                     |
| Adjustment Total                                                                                      | Total of adjustment applied for an order as on the order.                                                                                                                                                                                                                                            |
| Applied Gift Card Total                                                                               | Total of gift card dollars that were used as a payment method in the order                                                                                                                                                                                                                           |
| Commission Total                                                                                      | Commission for an order.                                                                                                                                                                                                                                                                             |
| Fulfillment Total                                                                                     | Total shipment for an order.                                                                                                                                                                                                                                                                         |
| Gross Revenue                                                                                         | Gross amount of revenue generated by the order including items and shipments totals. Gross revenue = total - included\_tax\_total + shipment\_total - purchased\_gift\_card\_total - pre-payment subscription purchase amount                                                                        |
| Included Tax Total                                                                                    | Total included taxes for an order.                                                                                                                                                                                                                                                                   |
| Item Total                                                                                            | Total price for the order before adjustments.                                                                                                                                                                                                                                                        |
| Net Revenue                                                                                           | Net revenue generated by the order's items after promotions. Net revenue = total - included\_tax\_total + shipment\_total + adjustment\_total - additional\_tax\_total - purchased\_gift\_card\_total - pre-payment subscription purchase amount                                                     |
| Pre Paid Purchase Total                                                                               |                                                                                                                                                                                                                                                                                                      |
| Pre Paid Redemption Total                                                                             |                                                                                                                                                                                                                                                                                                      |
| Total Price                                                                                           | Total to be paid by the customer for an order.                                                                                                                                                                                                                                                       |
| Promo Total                                                                                           | Promotions applied to an order.                                                                                                                                                                                                                                                                      |
| Purchased GiftCard Total                                                                              | Total of gift card dollars that were purchased in the order.                                                                                                                                                                                                                                         |
| Reimbursement Credit Total                                                                            | The amount of store credits owed back in an order                                                                                                                                                                                                                                                    |
| Tax Total                                                                                             | Total taxes for an order.                                                                                                                                                                                                                                                                            |
| Transaction Total                                                                                     | Total paid by the customer for a completed order.                                                                                                                                                                                                                                                    |

### **order\_discount\_names**

| Name                         | Description                            |
| ---------------------------- | -------------------------------------- |
| Order Applied Discount Names | Discount name(s) applied to the order. |

### **order\_tags**

| Name       | Description                        |
| ---------- | ---------------------------------- |
| Order Tags | Order tag(s) applied to the order. |


[title] Messaging Events Data Modeling
[path] Chord Data Platform/Data Sources/Messaging Module/

:::hint{type="info"}
**This feature is currently in Beta. For access to this, please reach out to&#x20;**[help@chord.co](mailto\:help@chord.co)**!&#x20;**
:::

# Overview

This guide explains how Chord models messaging engagement data from Klaviyo and Iterable to support campaign analysis, audience segmentation, and activation. We highlight the most important attributes, event types, and how we enhance Klaviyo’s and Iterable’s native data with structure and long-term storage for smarter use across your customer journeys.

Both platforms are unified into a single set of models: the same Explores, the same attribution logic, the same metrics. Differences between platforms are called out where relevant.

:::hint{type="info"}
**Who this is for:** Marketing and CRM teams using Klaviyo to power messaging campaigns and segmentation.
:::

# Core event attributes

Each Klaviyo event modeled in Chord includes the following key attributes:

- **Event Date:** When the action occurred—such as an email being opened, a message clicked, or an order placed.
- **Session:** Sessions help organize activity. A session starts when a user engages with a qualifying event (e.g., opens an email). We use this to model session-based metrics like order attribution or conversion analysis.
- **Touch Type:** Identifies the origin of the message:

| **Touch Type**  | **Klaviyo**                          | **Iterable**                          |
| --------------- | ------------------------------------ | ------------------------------------- |
| Campaign        | One-time sends                       | One-time sends (blast, triggered)     |
| Flow / Workflow | Automated flow messages              | Automated workflow messages           |
| NULL            | External apps or non-Klaviyo sources | Events without a campaign or workflow |

# Measures & metrics

We model multiple types of performance measures to support analysis:

- **Event Counts:** Total number of times an event occurred—e.g., how many emails were opened or links clicked.
- **Unique Events:** First-time actions for a user within a given campaign or flow. For example:&#x20;
  - **Unique Opened Emails** – used to start sessions
  - **Unique Click Rate** – calculated as unique clicks divided by unique opens&#x20;
    - This is especially useful for building performance funnels across flows or campaign types.
- **Revenue Attribution:** For events like Placed Order (Klaviyo) or Purchase (Iterable), we capture revenue-related fields and associate them with the triggering session. This allows for clear connection between engagement and revenue outcomes.
- **Supported channels by platform:**

| **Channel** | **Klaviyo** | **Iterable** |
| ----------- | ----------- | ------------ |
| Email       | Yes         | Yes          |
| SMS         | Yes         | No           |
| Push        | Yes         | Yes          |

# Attribution & session modeling

Chord’s **Messaging Explore&#x20;**&#x73;upports deeper insights with structured attribution windows and session rules.Both Klaviyo and Iterable use the same session-based last-touch attribution logic:

## **Attribution lookback windows**

| **Channel** | **Lookback Period** | **Platforms**     |
| ----------- | ------------------- | ----------------- |
| Email       | 120 hours (5 days)  | Klaviyo, Iterable |
| Push        | 120 hours (5 days)  | Klaviyo, Iterable |
| SMS         | 24 hours            | Klaviyo only      |

## **Session-defining events**&#x20;

A new session begins when a user engages with one of these events:

| **Klaviyo**   | **Iterable** |
| ------------- | ------------ |
| Opened Email  | Email Open   |
| Clicked Email | Email Click  |
| Clicked SMS   | (no SMS)     |
| Opened Push   | Push Send    |

### Campaign enrichment

| **Field**         | **Klaviyo**                                   | **Iterable**              |
| ----------------- | --------------------------------------------- | ------------------------- |
| Campaign Name     | Yes                                           | Yes                       |
| Campaign Status   | Yes                                           | Yes                       |
| UTM Parameters    | Yes (source, medium, campaign, term, content) | No                        |
| Message Medium    | No                                            | Yes (email, push)         |
| Campaign Type     | No                                            | Yes (blast, triggered)    |
| Template Name     | No                                            | Yes                       |
| Channel Name      | No                                            | Yes                       |
| Message Type      | No                                            | Yes                       |
| Target Lists      | No                                            | Yes (list names resolved) |
| Suppression Lists | No                                            | Yes (list names resolved) |
| Workflow ID       | No                                            | Yes                       |
| Send Size         | No                                            | Yes                       |

When the optional Campaign Mapping transform is enabled, both platforms are enriched with standardized campaign classification fields (region, brand, objective, category, etc.).

# Where to find this data on Chord

Once your messaging events are ingested by Chord, you will be able to further analyze your messaging data on Chord. Follow the steps below to dig into your data:

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-t4udfCSVJNaR8PFAKe6k5-20250826-215007.png)

1. Log into the Chord Commerce data platform.
2. Navigate to **Explores** tab on the **Analytics** page.
3. Click on the **Explores** dropdown on the left side of the page.
4. Select one of the following options based on what you’d like to analyze:
   1. **Messaging Events**: Use this Explore to create session funnels and analyze campaign or flow performance.
   2. **Messaging Lists**: Use this Explore to dive into active subscriber counts.&#x20;
   3. **Messaging Segments:** Use this Explore to analyze behavior-based targeting in campaigns.

# Filtering & interpretation tips

:::hint{type="info"}
**Note:** Klaviyo campaigns don’t include a field that explicitly identifies the channel (e.g., Email vs. SMS). Campaigns rarely mix channels, so we recommend using event types and channel-specific metrics for precision.
:::

- Use `source_platform` to filter for a specific platform or compare across platforms.
- Use **campaign names** to filter for one-time sends. If the campaign name is blank, the event likely came from a **flow (Klaviyo) or workflow (Iterable).**
- You can use **Touch Type** to distinguish flows/workflows from campaigns and external sources.
- Clicks and delivery outcomes are **modeled separately by channel**:&#x20;
  - Email and SMS clicks are tracked independently.
  - Rates like **click-through** or **bounce** are also channel-specific.
  - Push messaging metrics include bounce, send, and open.

# Active subscriber modeling (***Klaviyo only***)

Chord enhances Klaviyo's list data by adding historical depth:

- **List Membership:** Klaviyo allows you to select lists when building a campaign, but doesn’t retain list membership counts over time.
- **Chord Enhancement:** We snapshot **profile counts** per list at regular intervals so you can:&#x20;
  - Track how many people were eligible for a campaign at send time; and
  - Understand historic list size and growth trends.

:::hint{type="info"}
**Analysis not yet available:&#x20;**&#x49;dentifying which users were members of specific lists for downstream activation.
:::


[title] Activities
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Chord OMS/

### *x\_fct\_trans\_activities*

| Name                                                  | Definition                                                                                                                                                                                                                                                                                                                           |
| ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Activity Event Text                                   | The name of the event.                                                                                                                                                                                                                                                                                                               |
| Activity Event Text Id                                | The slug of the event name, mapping to the page or track event table.                                                                                                                                                                                                                                                                |
| Activity Id                                           | The unique identifier of an activities (i.e. Track or Page event).                                                                                                                                                                                                                                                                   |
| Activity Page Path                                    | The page path part of the URL. A page path is the part of URL that comes after the hostname (domain) and before the query parameters, URL fragment, or port. (e.g. `/pages/contact-us/` for `https://chord.co/pages/contact-us/?ref=internal-banner`.)                                                                               |
| Activity Page Query                                   | The query string portion of the URL of the page.                                                                                                                                                                                                                                                                                     |
| Activity Page Title                                   | The title/name of the page.                                                                                                                                                                                                                                                                                                          |
| Activity Page Url                                     | The URL of the page.                                                                                                                                                                                                                                                                                                                 |
| Activity Session Activity Count                       | Total count of activities, pave views and tracked events within the session.                                                                                                                                                                                                                                                         |
| Activity Session Attribution Channel                  | The attribution channel for the first page event of the session. Sessions with an attribution of 'Unknown' indicates that there is no attributable data for that session.                                                                                                                                                            |
| Activity Session Attribution Channel Paid Or Organic  | Indicates if the session's first page attribution is paid or organic. Attribution is considered Organic if the attribution channel is 'Direct', 'Other', 'Organic Search', 'Organic Social', 'Email', or 'SMS'.                                                                                                                      |
| Activity Session Attribution First Page Url Has Gclid | Indicates if the first page event of the session has a Google Click ID.                                                                                                                                                                                                                                                              |
| Activity Session Attribution First Page Url Has Utm   | Indicates if the first page event of the session has any utm information.                                                                                                                                                                                                                                                            |
| Activity Session Attribution Has Referrer             | Indicates if the first page event of the session has a referrer host.                                                                                                                                                                                                                                                                |
| Activity Session Attribution Medium                   | The campaign medium represented by the UTM tags for the first page event of the session.                                                                                                                                                                                                                                             |
| Activity Session Attribution Source                   | The campaign source represented by the UTM tags for the first page event of the session.                                                                                                                                                                                                                                             |
| Activity Session Attribution Sub Channel              | Sub-Channel is a granular level of attribution.                                                                                                                                                                                                                                                                                      |
| Activity Session Completed Oms Order Ids              | Array of OMS Order IDs associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                        |
| Activity Session Completed Order Ids                  | Array of order IDs associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                            |
| Activity Session Completed Order Numbers              | Array of order numbers associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                        |
| Activity Session Days Since Last Session End          | The days between the last session's end and the start of this session.                                                                                                                                                                                                                                                               |
| Activity Session Device                               | The device on which the event was sent from.                                                                                                                                                                                                                                                                                         |
| Activity Session Device Category                      | The device category of the device on which the event was sent from. There are multiple supported values for this column such as iPhone',                                                                                                                                                                                             |
| Activity Session Duration In Seconds                  | Total seconds between start and end activities within the session.                                                                                                                                                                                                                                                                   |
| Activity Session Duration In Seconds Tiers            | Total seconds between start and end activities within the session, aggregated into tiers: 0-9s, 10-29s, 30-59s, and 60s or more.                                                                                                                                                                                                     |
| Activity Session Has Order Completion                 | Flag for sessions with an order completed or checkout completed front-end events                                                                                                                                                                                                                                                     |
| Activity Session Id                                   | Unique ID for the session.                                                                                                                                                                                                                                                                                                           |
| Activity Session Number                               | Session number per anonymous id.                                                                                                                                                                                                                                                                                                     |
| Activity Session Unique Completed Order Count         | Count of unique order ids associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                     |
| Activity Session Unique Completed Order Number Count  | Count of unique order numbers associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                 |
| Activity Utm Campaign                                 | The campaign name represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Activity Utm Content                                  | The campaign content represented by the UTM tags.                                                                                                                                                                                                                                                                                    |
| Activity Utm Medium                                   | The campaign medium represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Activity Utm Source                                   | The campaign source represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Activity Utm Term                                     | The campaign term represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Activity Website Locale                               | Locale of website. This will either be collected from the url or from the drop-down link on the store                                                                                                                                                                                                                                |
| Anonymous Completed Oms Order Ids                     | Array of OMS Order IDs associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                           |
| Anonymous Completed Order Ids                         | Array of order IDs associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                               |
| Anonymous Completed Order Numbers                     | Array of order numbers associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                           |
| Anonymous Current Blended User Id                     | Unique id derived from the user\_id and the anonymous\_id. Whenever a customer has a user\_id, the user\_anonymous\_id will be constant for                                                                                                                                                                                          |
| Anonymous Current User Id                             | The current user\_id associated with the anonymous\_id. This unique user\_id is created by Segment's Identify call. A user\_id can be associated to many anonymous\_ids.                                                                                                                                                             |
| Anonymous Id                                          | Unique id created by Chord for each anonymous visitor per store.                                                                                                                                                                                                                                                                     |
| Anonymous Segment Anonymous Id                        | Id created by Segment for each anonymous visitor. This id gets created as soon as a customer's browser loads the analytics javascript widget. The anonymous\_id remains unchanged through the entire browsing session from a single device. Depending on configuration, two stores connected stores may have the same anonymous\_id. |
| Anonymous Unique User Ids                             | Array of user IDs mapped to an anonymous ID.                                                                                                                                                                                                                                                                                         |
| Date Day Num Of Year                                  | The number representing the day of the year.                                                                                                                                                                                                                                                                                         |
| Date Id                                               | Unique key that uniquify a date.                                                                                                                                                                                                                                                                                                     |
| Date Month Num Of Year                                | The month number of the year.                                                                                                                                                                                                                                                                                                        |
| Last Seen Page Browser Locale                         | Locale of browser.                                                                                                                                                                                                                                                                                                                   |
| Last Seen Page Device                                 | The device on which the event was sent from.                                                                                                                                                                                                                                                                                         |
| Last Seen Page Device Category                        | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                            |
| Last Seen Page Event Table Name                       | The properly formatted name of the table of the event.                                                                                                                                                                                                                                                                               |
| Last Seen Page Event Text                             | The name of the event.                                                                                                                                                                                                                                                                                                               |
| Last Seen Page Event Text Id                          | The slug of the event name, mapping to the page or track event table.                                                                                                                                                                                                                                                                |
| Last Seen Page Gclid                                  | The Google Click ID. Google Click ID (GCLID) is a parameter passed in the URL with ad clicks, to identify the campaign and other attributes of the click associated with the ad for ad tracking and campaign attribution.                                                                                                            |
| Last Seen Page Id                                     | Unique key generated by Segment for each tracking or page event.                                                                                                                                                                                                                                                                     |
| Last Seen Page Oms Id                                 | Unique key generated by our models that uniquifies an OMS.                                                                                                                                                                                                                                                                           |
| Last Seen Page Host                                   | The host of the event's URL. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                        |
| Last Seen Page Path                                   | The page path part of the URL. A page path is the part of URL that comes after the hostname (domain) and before the query parameters, URL fragment, or port. (e.g. `/pages/contact-us/` for `https://chord.co/pages/contact-us/?ref=internal-banner`.)                                                                               |
| Last Seen Page Query                                  | The query string portion of the URL of the page.                                                                                                                                                                                                                                                                                     |
| Last Seen Page Referrer                               | The referrer of the page. The referrer is the webpage that sends visitors to the site using a link. In                                                                                                                                                                                                                               |
| Last Seen Page Title                                  | The title/name of the page.                                                                                                                                                                                                                                                                                                          |
| Last Seen Page Url                                    | The URL of the page.                                                                                                                                                                                                                                                                                                                 |
| Last Seen Page Referrer Host                          | The host of the referrer. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                           |
| Last Seen Page Segment User Id                        | The unique ID of the user.                                                                                                                                                                                                                                                                                                           |
| Last Seen Page Store Id                               | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Last Seen Page Tenant Id                              | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                              |
| Last Seen Page User Agent                             | The User agent of the device making the request. A User agent request header is a characteristic string that lets servers and                                                                                                                                                                                                        |
| Last Seen Page User Id                                | Unique key generated by Chord to identify the user.                                                                                                                                                                                                                                                                                  |
| Last Seen Page Utm Campaign                           | The campaign name represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Last Seen Page Utm Content                            | The campaign content represented by the UTM tags.                                                                                                                                                                                                                                                                                    |
| Last Seen Page Utm Medium                             | The campaign medium represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Last Seen Page Utm Source                             | The campaign source represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Last Seen Page Utm Term                               | The campaign term represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Last Seen Page Website Locale                         | Locale of website. This will either be collected from the url or from the drop-down link on the store                                                                                                                                                                                                                                |
| Session Landing Page Browser Locale                   | Locale of browser.                                                                                                                                                                                                                                                                                                                   |
| Session Landing Page Device                           | The device on which the event was sent from.                                                                                                                                                                                                                                                                                         |
| Session Landing Page Device Category                  | The device category of the device on which the event was sent from. There are multiple supported values for this column such as iPhone ,                                                                                                                                                                                             |
| Session Landing Page Event Table Name                 | The properly formatted name of the table of the event.                                                                                                                                                                                                                                                                               |
| Session Landing Page Event Text                       | The name of the event.                                                                                                                                                                                                                                                                                                               |
| Session Landing Page Event Text Id                    | The slug of the event name, mapping to the page or track event table.                                                                                                                                                                                                                                                                |
| Session Landing Page Gclid                            | The Google Click ID. Google Click ID (GCLID) is a parameter passed in the URL with ad clicks, to identify the campaign and other attributes of the click associated with the ad for ad tracking and campaign attribution.                                                                                                            |
| Session Landing Page Id                               | Unique key generated by Segment for each tracking or page event.                                                                                                                                                                                                                                                                     |
| Session Landing Page Oms Id                           | Unique key generated by our models that uniquifies an OMS.                                                                                                                                                                                                                                                                           |
| Session Landing Page Host                             | The host of the event's URL. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                        |
| Session Landing Page Path                             | The page path part of the URL. A page path is the part of URL that comes after the hostname (domain) and before the query parameters, URL fragment, or port. (e.g. `/pages/contact-us/` for `https://chord.co/pages/contact-us/?ref=internal-banner`.)                                                                               |
| Session Landing Page Query                            | The query string portion of the URL of the page.                                                                                                                                                                                                                                                                                     |
| Session Landing Page Referrer                         | The referrer of the page. The referrer is the webpage that sends visitors to the site using a link. In                                                                                                                                                                                                                               |
| Session Landing Page Title                            | The title/name of the page.                                                                                                                                                                                                                                                                                                          |
| Session Landing Page Url                              | The URL of the page.                                                                                                                                                                                                                                                                                                                 |
| Session Landing Page Referrer Host                    | The host of the referrer. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                           |
| Session Landing Page Segment User Id                  | The unique ID of the user.                                                                                                                                                                                                                                                                                                           |
| Session Landing Page Store Id                         | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Session Landing Page Tenant Id                        | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                              |
| Session Landing Page User Agent                       | The User agent of the device making the request. A User agent request header is a characteristic string that lets servers and                                                                                                                                                                                                        |
| Session Landing Page User Id                          | Unique key generated by Chord to identify the user.                                                                                                                                                                                                                                                                                  |
| Session Landing Page Utm Campaign                     | The campaign name represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Session Landing Page Utm Content                      | The campaign content represented by the UTM tags.                                                                                                                                                                                                                                                                                    |
| Session Landing Page Utm Medium                       | The campaign medium represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Session Landing Page Utm Source                       | The campaign source represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Session Landing Page Utm Term                         | The campaign term represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Session Landing Page Website Locale                   | Locale of website. This will either be collected from the url or from the drop-down link on the store                                                                                                                                                                                                                                |
| Store Id                                              | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Store Name                                            | The name of the store.                                                                                                                                                                                                                                                                                                               |
| Store Oms Admin Url                                   | The Admin URL of that OMS.                                                                                                                                                                                                                                                                                                           |
| Store Oms Id                                          | Unique key generated by Chord that uniquifies an OMS.                                                                                                                                                                                                                                                                                |
| Store Oms Store Id                                    | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Store Oms Type                                        | The type of the OMS.                                                                                                                                                                                                                                                                                                                 |
| Store Id                                              | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Store Tenant Id                                       | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                              |
| Store Url                                             | The Storefront URL of of the store.                                                                                                                                                                                                                                                                                                  |
| User Address 1                                        | The first line of the street address.                                                                                                                                                                                                                                                                                                |
| User Address 2                                        | The optional second line of the address.                                                                                                                                                                                                                                                                                             |
| User Address City                                     | The city of the address.                                                                                                                                                                                                                                                                                                             |
| User Address Country                                  | The country of the address.                                                                                                                                                                                                                                                                                                          |
| User Address Name                                     | The full name of the customer, based on firstName and lastName.                                                                                                                                                                                                                                                                      |
| User Address State                                    | The region of the address, such as the province, state, or district.                                                                                                                                                                                                                                                                 |
| User Address Zip                                      | The postal code of the address.                                                                                                                                                                                                                                                                                                      |
| User Completed Oms Order Ids                          | Array of OMS Order IDs associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                |
| User Completed Order Ids                              | Array of order IDs associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                    |
| User Completed Order Numbers                          | Array of order numbers associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                |
| User Email                                            | The email associated with the user.                                                                                                                                                                                                                                                                                                  |
| User Id                                               | Unique ID per user. It is equal to either 1) a identified\_user\_id as identified by Segment in the Identify call, or 2) an anonynous\_id.                                                                                                                                                                                           |
| User Identified User Id                               | Unique ID per identified user. (See Segment's documentation on user\_id) `https://segment.com/docs/connections/spec/identify/#user-id` .                                                                                                                                                                                             |
| User Ip                                               | IP address associated with the user.                                                                                                                                                                                                                                                                                                 |
| User Last Anonymous Id                                | Last seen anonymous\_id per user. An anonymous\_id is a unique ID per anonymous visitor. (See Segment's documentation on anonymous\_id) `https://segment.com/docs/connections/spec/identify/#anonymous-id]`.                                                                                                                         |
| User Last Segment Anonymous Id                        | This column is not documented.                                                                                                                                                                                                                                                                                                       |
| User Segment User Id                                  | The unique ID of the user.                                                                                                                                                                                                                                                                                                           |
| User Unique Anonymous Ids                             | Array of all seen anonymous\_ids per user. An anonymous\_id is a unique ID per anonymous visitor. (See Segment's documentation on anonymous\_id) \` `https://segment.com/docs/connections/spec/identify/#anonymous-id`.                                                                                                              |
| User Unique Completed Order Count                     | Count of unique order ids associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                             |


[title] Chord Reveal (Private Beta)
[path] Chord Data Platform/

## What is Chord Reveal?

**Chord Reveal** helps brands connect the dots between anonymous sessions and real customer identities—unlocking previously hidden insights across acquisition, retention, and conversion. By leveraging persistent, privacy-compliant cookies, we match site visitors to enriched profiles using verified third-party data sources.

The result? Smarter segmentation, better personalization, and stronger ROI across your marketing stack. Unlock new value from anonymous traffic by using our data enricher gives you the context you need.

:::hint{type="info"}
**Chord Reveal is currently available only for users located in the United States.** Visitors accessing your site from outside the U.S. cannot be identified through Chord Reveal.
:::

## Why it matters

Every e-commerce brand sees a large portion of traffic come from anonymous users—people who browse, click, and even add to cart without ever logging in or checking out. Until now, that activity has lived in the dark.

With **Chord Reveal**, you can:

- Identify and connect anonymous sessions to known users.
- Power smarter retargeting and journey orchestration.
- Improve campaign attribution and funnel visibility.
- Enrich your CDP with more complete customer profiles.

## How it works

Chord Reveal uses a blend of behavioral patterning, first-party identifiers (like email captures), and event-level stitching to match sessions across devices and visits—without relying on third-party cookies.

:::hint{type="info"}
Note that de-anonymized user data will not be merged with existing user profiles; this data is merely displaying additional fields based on the same anonymous ID.
:::

When a match is made, Chord automatically updates user records and exposes those enriched identities in existing Explores. If you are a beta user of Chord Reveal, you will be able to leverage a new group label named “Chord Reveal” across the **Activities and Sessions Explores** on the Chord platform.

Additional technical details follow below:

1. **Anonymous User&#x20;**`Page View`: As with standard user identification, an anonymous user triggers an initial Page View. If this user cannot be mapped to a known `User_ID`, we query our proprietary identity graph built from licensed third party providers to see if this user is identified.
2. **Identity Resolution & Enrichment Match:&#x20;**&#x49;f the user is found within the identity graph, we use high-confidence probabilistic scoring and return a structured enrichment object, which includes:
   - Email (V1)
   - Name (V1)
3. **Data Structure:&#x20;**&#x45;nriched profile data is returned via unique data table separated from first-party customer tables.
4. **Privacy & Compliance:&#x20;**&#x41;ll data processing adheres to U.S. regulatory frameworks. Consent preferences are honored, and opt-outs are immediately suppressed and removed from data enrichment workflows.

Here is a sample flow of how Chord Reveal works:

1. A visitor anonymously navigates to a page on your website (this individual is Anonymous).
2. If the visitor eventually logs in to their account on your site, they become Self-Identified (no longer Anonymous).
3. If the visitor doesn't log in and Chord identifies them, the visitor becomes Chord Identified (no longer Anonymous).
4. If the visitor logs in after being Chord Identified, then the visitor becomes Self-Identified.

## Getting started with Chord Reveal

### What you’ll need

- Chord CDP access
- Consent collection (via your site or email capture)
- Active web tracking (event capture)

### Setup steps

1. Request access to the private beta&#x20;
2. Verify event coverage
3. Access and monitor matches via Activities and Sessions Explores

## What to expect

Once Chord Reveal is enabled, you’ll begin to see:

- More users attributed to known IDs
- Enriched session and conversion metrics
- Greater reach in segmentation and re-marketing audiences

## Privacy & consent

Chord Reveal respects privacy by only resolving identity when consented, first-party data is available. All identity resolution is done using hashed identifiers and never relies on third-party cookies or cross-site tracking.

## Questions?

Reach out to [product@chord.co](mailto\:product@chord.co) to request early access to the private beta.


[title] Connect Data Sources
[path] Chord Data Platform/Data Sources/

# What is a data source connector?

Connectors are pre-built interfaces that allow the platform to connect to and retrieve data from various sources such as databases, SaaS applications, and other data repositories. These connectors handle the specific intricacies of interacting with each source system, ensuring a smooth and standardized process for data extraction.

In summary, a connector acts as a bridge between different data systems, ensuring seamless data flow and integration between them.

# List of supported connectors

## Connectors modeled in the data platform:

- **Amazon Selling Partner:&#x20;**&#x41; connection to Amazon that lets sellers and vendors securely pull business data—like orders, inventory, finances, and reports—into their own systems or tools for automation and analytics. ***This data source is currently only available for Shopify OMS brands.&#x20;***
- **Chord OMS:** PostgreSQL, a relational database management system for storing and managing structured data.
- **Facebook Ads:** An advertising platform on Facebook for targeted ad campaigns.
- [Fairing](docId\:VfeXgta8VSYPvshybVSzb)**:&#x20;**&#x41; post-purchase survey and customer feedback platform that helps eCommerce brands understand where customers came from and why they converted.
- **Google Ads:** Google's online advertising platform for displaying ads on search results and its advertising network.
- [Iterable](docId\:jLKFa2NEjOCp_t1KecBxI)**:** A cross-channel marketing platform for personalized customer engagement campaigns.
- [Klaviyo](docId:8uDT50KmZR0jRe1kbLfNX)**:** A marketing automation platform specializing in email marketing.
- **Pinterest Ads:** Advertising on Pinterest, a platform for showcasing and promoting products through paid ads.
- **Reddit Ads:** Advertising on Reddit, a platform for reaching specific communities with targeted ads.
- [Recharge](docId\:QgBXiJQDJYVHD9DlXV4F9)**:** An e-commerce platform focused on subscription billing.
- **Shopify:** An e-commerce platform for creating and managing online stores. Chord supports multiple Shopify sources, allowing users to connect more than one Shopify store to the platform.
- [Stay AI](docId\:L9w1Wy-03OyNYHkZJgmep)**:&#x20;**&#x41; Shopify-focused subscription platform that helps eCommerce brands grow recurring revenue through subscriber retention, churn reduction, and customer lifecycle optimization.
- **TikTok Ads:** An advertising platform on TikTok for creating and promoting ads.
- **YouTube Ads:** YouTube's online advertising platform for displaying ads on search results and its advertising network.

## Connectors with data modeling coming soon:

- **Braze:** A customer engagement platform for personalized messaging experiences.
- **Ordergroove:&#x20;**&#x41; subscription commerce platform that helps brands grow recurring revenue through memberships, auto-replenishment, and subscriber retention.
- **Gorgias:** A customer support and helpdesk platform purpose-built for ecommerce brands, unifying email, chat, social, and SMS conversations.
- **Okendo:** A reviews, ratings, and user-generated content platform for ecommerce brands.
- [NetSuite](docId\:uYozU5tQPSa2Tt9aOqnoS)**:** A cloud ERP platform that helps businesses manage finance, inventory, orders, and operations in one unified system.
- **Shopware:&#x20;**&#x41;n open commerce platform that helps brands and retailers build flexible B2C and B2B online stores with SaaS, PaaS, or self-hosted deployment options.
- **Zendesk:** A customer service and support platform for managing customer interactions and support tickets.

# Request access to Data Sources

You will see this page if your store does not have full access to Data Sources:

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-LZQfvH1jdHOBmK7x-r3LG-20250725-214022.png)

You can easily request access to add your data sources by clicking on the **"Request Access"** button on this page.

Once someone submits an access request on behalf of your organization, it will stay in the access queue until it is completed by Chord’s Support Team. In other words, there is no need to submit multiple requests for access - we will log only one access request per organization.

:::hint{type="info"}
If the Data Sources page is not present or disabled, please reach out to us at [help@chord.co](https://www.notion.so/DRAFT-Data-Source-Ingestor-KB-Doc-1e343ced87a28062baaffef02b83b6be?pvs=21).
:::

# Connector setup

:::hint{type="info"}
Users with the following roles on the Chord platform will have the ability to add and edit data source connectors: **Team Admin, Data Analyst (Chord OMS only), Developer.**
:::

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-GVLRPpu1qIluWW7rp_7UP-20250725-213921.png "Data Sources Homepage")

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV--c_tIPXiT9qdG8zC3IdFv-20250725-213939.png "Data Sources Connector Catalog")

Once your store has access to Data Sources, you’re now ready to add your data source connectors. Follow the instructions below to add your data sources:

1. Log into the Chord Commerce data platform.
2. Navigate to the Data Sources page.
3. Click the **Add Source** button to view our data source connector catalog.
4. From the data source connector catalog, select the data source you want to connect.
5. Follow the instructions on your screen to add your desired connector. ***Note: Chord supports more than one data ingestion method on the platform. Depending on the data source you attempt to connect, you will be guided through different steps to add your connector.***
6. Once you complete the data source connector setup and provide the API key for the specific connector you chose, you will see your data source saved and displayed on the **Data Sources** homepage.

:::hint{type="info"}
Note: Chord supports multiple shopify sources. To add more than one Shopify store, visit the **Data Sources** page and click the **Add Source&#x20;**&#x62;utton. Repeat this process for each store you want to connect.
:::

## Request a connector

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-xM6NRhqrn_Zqw19eVTHYE-20250725-213901.png)

Is your desired data source missing from our catalog? Submit a connector request via the **“Request”** button at the bottom of the **Add Data Sources** page.

Note that the Chord team will review and evaluate all requests, and that not all data sources will be supported.

# Glossary

- **Source:** Our data source connectors, the sources you have either connected or are in the process of, i.e., TikTok Ads, Klaviyo, or Iterable.
- **Setup:** Status of your connection, either **Connected, Incomplete,** or **Broken:**
  - **Connected**: Connection was successful and ready to sync (or synced).
  - **Incomplete**: Connection has not been finished and needs completion.
  - **Broken**: The connector is experiencing issues due to a problem with either the connector itself or its linked destination.
- **Sync Status:** A sync status indicates the current state of data transfer between two systems, offering insights into progress, success, or encountered issues during synchronization.
  - **Scheduled**: The synchronization is set to operate at designated intervals. Automated scheduling and execution occur according to the defined frequency.
  - **Paused**: Following successful setup tests, the system logs the "Connection Created" user action. During this phase, the connector is halted, refraining from extracting, processing, or loading any data from the source to the destination.
  - **Syncing**: The process of harmonizing data between two systems, ensuring that the information in the destination aligns with the source. During a standard sync, new or updated data from the source is transferred to the destination without overwriting existing information.
- **Last Synced:** Timestamp to store the date and time of the most recent sync.

# FAQs and troubleshooting

**Q: I added a Data Source but in the Setup column I see it is Incomplete.**

A: When a data source setup is marked as 'Incomplete' in the Setup column, it indicates that the configuration process hasn't been completed. To proceed, click back on the data source and finish the setup. Additionally, in such scenarios, the Sync Status is typically shown as 'Pause' until the setup is finalized

**Q: Can I pause my connection?**

A: If you temporarily want to halt data synchronization and consider resuming it later, you can choose to pause your connection. While infrequent, this option is especially utilized in combination with Chord. Occasionally, we have seen customers connect a source (enjoying the first two weeks free), pause it, analyze its utility, and then determine whether to continue using and paying for that source

**Q: What happens if we want to disconnect a Data Source?**

A: You can disconnect a Data Source by clicking the selected specific Source and clicking Disconnect Source. You will be prompted to confirm the disconnection. We do recommend reaching out to [help@chord.co](mailto\:help@chord.co) before you do so to ensure proper data disconnection.

**Q: How often does the Sync happen?**

A: Data sync frequency varies and is dependent on your contract. The Chord team will set the schedule according to your general data sync frequency.

**Q: Is it possible to configure the synchronization process?**

A: If you need to make any modification to a configuration, please reach out to [help@chord.co.](mailto\:help@chord.co)

**Q: What credentials would I need to provide to connect data sources?**

A: To connect a data source, you typically need access credentials for the third party source you intend to connect. For Shopify, this includes a `client id `and `client secret`. For other sources, the specific requirements vary — for precise instructions, refer to the setup guide located on the right side panel, as it provides detailed information tailored to each specific integration.

[title] Time
[path] Chord Data Platform/Data Models/



### Timezones

Chord's default timezone is UTC, the originating timezone of the raw data. Chord provides additional timezone options (Pacific, Mountain, Central, and Eastern) for users to customize analyses to their location preferences.&#x20;

### Time Options

Chord provides additional time options, including:

- **Time:&#x20;**&#x54;he timestamp.
- **Date:&#x20;**&#x54;he date of the timestamp.
- **Week:** The seven-day period from Monday through Sunday.
- **Month:** The calendar period of the month.
- **Quarter:** `YYYY-QY` defined as the calendar year and calendar three months of the quarter. For example, January 1 through March 31 of 2024 is `2024-Q1`.
- **Year:** The calendar year.

****

:::hint{type="success"}
if you have any questions or need help, please reach out to us at [help@chord.co](mailto\:help@chord.co)
:::


[title] Subscription Movements Daily Explore
[path] Chord Data Platform/Data Models/Subscriptions/

## Overview

Daily summary of subscription changes + estimated revenue impact.

- Grain: **movement type per day**

## When to use

- Quantify revenue impact
- Monitor operational changes
- Investigate anomalies

## Key dimensions & metrics

| Field                       | Description               |
| --------------------------- | ------------------------- |
| Report Date                 | Date                      |
| Movement Type               | created, cancelled, etc.  |
| Movement Category           | status / quantity / price |
| Subscription Count          | Distinct subs             |
| Customer Count              | Distinct customers        |
| Event Count                 | Raw events                |
| Revenue Impact Estimate     | Estimated impact          |
| Avg Order Value Affected    | AOV                       |
| Revenue Impact Is Estimated | Always yes                |
| Revenue Impact Method       | Calculation logic         |

## Example business questions

- Revenue lost from cancellations
- Movement comparison (volume + impact)
- Day-of-week trends
- Reactivation recovery

## Notes & caveats

- Revenue is **estimated**, not contractual
- Subscriptions without orders → NULL impact

## Glossary

| Term                     | What it Means                                                                                                   | How to Interpret / Use                                                                                         | Where You’ll See It in Looker                                                                                                                                                                                                    |
| ------------------------ | --------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Active Subscription**  | A subscription that is currently ongoing. Includes both fully active and paused subscriptions.                  | Use this to understand the **current size of your subscriber base**. Note that paused users are still counted. | Subscription Metrics Daily (Active Count), Subscriber Journey (Is Active Subscriber), Subscriber Journey Monthly (Is Active Subscriber EOM), Product & Bundle Explores (Active Subscription Count)                               |
| **Churn / Churned**      | A subscription that has been cancelled. Does not include pauses.                                                | Represents **true customer loss**. Track this to understand retention issues.                                  | Subscription Metrics Daily (Churned Count, Churn Rate), Subscriber Journey (Is Churned, Churn Count), Monthly (Is Churned EOM, Cancellations This Month), Events Enriched (Event Type = canceled), Movements (status\_cancelled) |
| **Winback**              | A subscriber who cancelled all subscriptions and later returned by subscribing again.                           | Indicates **successful re-engagement** after churn.                                                            | Subscriber Journey (Is Winback), Subscriber Journey Monthly (Has Reactivated By EOM)                                                                                                                                             |
| **Reactivation**         | A previously cancelled subscription that becomes active again (subscription-level).                             | Measures **recovery of churned subscriptions**.                                                                | Subscription Metrics Daily (Reactivated Count), Movements (status\_reactivated), Events Enriched (Event Type = reactivated)                                                                                                      |
| **Net New**              | Net change in subscriptions: New + Reactivated − Cancelled.                                                     | Indicates **overall growth vs decline**.                                                                       | Subscription Metrics Daily (Net New Count)                                                                                                                                                                                       |
| **LTV (Lifetime Value)** | Total revenue generated by a subscriber across all subscription orders.                                         | Use to understand **customer value over time** and compare cohorts or segments.                                | Subscriber Journey (LTV Gross / Net Revenue), Subscriber Journey Monthly (LTV Gross Revenue EOM)                                                                                                                                 |
| **EOM (End of Month)**   | Metrics calculated as of the last day of a month.                                                               | Used for **consistent month-over-month comparisons** (retention, LTV growth).                                  | Subscriber Journey Monthly (all EOM fields like Active EOM, LTV EOM)                                                                                                                                                             |
| **Solo Subscription**    | A subscription that contains only one product.                                                                  | Helps identify products that perform well **individually**.                                                    | Subscription Product Metrics Daily (Solo Subscription Count)                                                                                                                                                                     |
| **Bundle**               | A subscription that contains two or more products.                                                              | Useful for analyzing **product combinations and cross-sell behavior**.                                         | Product Metrics (Bundle Subscription Count), Bundle Metrics Daily (all bundle fields)                                                                                                                                            |
| **Movement**             | Any change in a subscription’s state (created, cancelled, paused, resumed, reactivated, quantity/price change). | Use to understand **operational changes and trends** in subscriptions.                                         | Subscription Movements Daily (Movement Type, Category), Events Enriched (Event Type)                                                                                                                                             |
| **Provider**             | The system managing subscriptions (Recharge, ChordOMS, CustomOMS).                                              | Important context — **data availability and detail vary by provider**, which affects analysis.                 | All Explores (Provider filter present everywhere)                                                                                                                                                                                |


[title] Subscription Bundle Metrics Daily Explore
[path] Chord Data Platform/Data Models/Subscriptions/

## Overview

Bundle-level performance (multi-product subscriptions).

- Grain: **bundle combination per day**

## When to use

- Identify top bundle combinations
- Compare bundle churn rates
- Analyze AOV by bundle

## Key dimensions & metrics

| Field                       | Description        |
| --------------------------- | ------------------ |
| Report Date                 | Date               |
| Bundle Key                  | Unique combo       |
| Product Titles              | Included products  |
| Product Count               | Number of products |
| Is Large Bundle             | >4 products        |
| Active Subscription Count   | Active subs        |
| New Subscription Count      | New subs           |
| Churned Subscription Count  | Cancelled subs     |
| Bundle Churn Rate           | Churn rate         |
| Avg Order Value             | AOV                |
| Bundle Rank by Active Count | Popularity         |

## Notes & caveats

- Large bundles (5+) grouped into **LARGE\_BUNDLE**
- Single-product subscriptions excluded

## Glossary

| Term                     | What it Means                                                                                                   | How to Interpret / Use                                                                                         | Where You’ll See It in Looker                                                                                                                                                                                                    |
| ------------------------ | --------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Active Subscription**  | A subscription that is currently ongoing. Includes both fully active and paused subscriptions.                  | Use this to understand the **current size of your subscriber base**. Note that paused users are still counted. | Subscription Metrics Daily (Active Count), Subscriber Journey (Is Active Subscriber), Subscriber Journey Monthly (Is Active Subscriber EOM), Product & Bundle Explores (Active Subscription Count)                               |
| **Churn / Churned**      | A subscription that has been cancelled. Does not include pauses.                                                | Represents **true customer loss**. Track this to understand retention issues.                                  | Subscription Metrics Daily (Churned Count, Churn Rate), Subscriber Journey (Is Churned, Churn Count), Monthly (Is Churned EOM, Cancellations This Month), Events Enriched (Event Type = canceled), Movements (status\_cancelled) |
| **Winback**              | A subscriber who cancelled all subscriptions and later returned by subscribing again.                           | Indicates **successful re-engagement** after churn.                                                            | Subscriber Journey (Is Winback), Subscriber Journey Monthly (Has Reactivated By EOM)                                                                                                                                             |
| **Reactivation**         | A previously cancelled subscription that becomes active again (subscription-level).                             | Measures **recovery of churned subscriptions**.                                                                | Subscription Metrics Daily (Reactivated Count), Movements (status\_reactivated), Events Enriched (Event Type = reactivated)                                                                                                      |
| **Net New**              | Net change in subscriptions: New + Reactivated − Cancelled.                                                     | Indicates **overall growth vs decline**.                                                                       | Subscription Metrics Daily (Net New Count)                                                                                                                                                                                       |
| **LTV (Lifetime Value)** | Total revenue generated by a subscriber across all subscription orders.                                         | Use to understand **customer value over time** and compare cohorts or segments.                                | Subscriber Journey (LTV Gross / Net Revenue), Subscriber Journey Monthly (LTV Gross Revenue EOM)                                                                                                                                 |
| **EOM (End of Month)**   | Metrics calculated as of the last day of a month.                                                               | Used for **consistent month-over-month comparisons** (retention, LTV growth).                                  | Subscriber Journey Monthly (all EOM fields like Active EOM, LTV EOM)                                                                                                                                                             |
| **Solo Subscription**    | A subscription that contains only one product.                                                                  | Helps identify products that perform well **individually**.                                                    | Subscription Product Metrics Daily (Solo Subscription Count)                                                                                                                                                                     |
| **Bundle**               | A subscription that contains two or more products.                                                              | Useful for analyzing **product combinations and cross-sell behavior**.                                         | Product Metrics (Bundle Subscription Count), Bundle Metrics Daily (all bundle fields)                                                                                                                                            |
| **Movement**             | Any change in a subscription’s state (created, cancelled, paused, resumed, reactivated, quantity/price change). | Use to understand **operational changes and trends** in subscriptions.                                         | Subscription Movements Daily (Movement Type, Category), Events Enriched (Event Type)                                                                                                                                             |
| **Provider**             | The system managing subscriptions (Recharge, ChordOMS, CustomOMS).                                              | Important context — **data availability and detail vary by provider**, which affects analysis.                 | All Explores (Provider filter present everywhere)                                                                                                                                                                                |


[title] Chord Platform and Okta SSO Integration
[path] Chord Data Platform/Overview/User Management on the Chord Platform/

Welcome to the Chord Platform SSO integration guide.

This will cover the basic understanding of the integration of Okta and the SSO flow and go through the setup process step by step.

## Architecture Diagram

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/fohRkFTuxg-_LMR9yaZy6_sso-hub-diagram-2.jpg)

## User flow

1. The user logs into IdP (e.g. Okta) dashboard and selects the Chord application.
2. Okta servers request that the user authenticate the login.
3. On success, the user is redirected to the data platform.
4. The Chord data platform validates the session information from the IdP and logs the user in.

## Sequence Diagram

![Sequence Diagram](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/s7J_FQCyUWvkI4ehlQHMl_sso-hub-diagram-5.jpg)

# Setup Guide

## Receive the two configuration settings from Chord

1. **ACS URL:** XXXXXXXXX
2. **Audience URI:** XXXXXXXXX

## Create and configure a new Okta Application

1. Log into okta.com and click Create App Integration in the Applications tab:

::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/v3C_R0Fsav1vn7UIjtmo3_image.png" size="100" width="2000" height="1130" position="center" alt="Create Applicaiton" darkWidth="2000" darkHeight="1130" showCaption="false" indent="2"}

2. Select **SAML 2.0**.
3. In the **General Settings** form, enter "Chord Hub".
   - If integrating on the Chord data platform's staging instance, append" - Staging" to the name.
   - The icon below can be downloaded and uploaded for the Chord application:

::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/sFBtbMIqtHK5aYOe13pwf_chord-icon.png" size="12" width="381" height="200" position="flex-start" alt="Chord logo" darkWidth="381" darkHeight="200" showCaption="false" indent="3"}

4. In the **Configure SAML** form, use these steps for the following fields:
   - **Single sign-on URL**: Enter the `acs_url` value from the Chord configuration.
   - "Use this for Recipient URL and Destination UR&#x4C;**"** should remain checked.
   - "Use this for Recipient URL and Destination URL" should remain checked.
   - Audience URI (SP Entity ID): Enter the audience\_uri value from the Chord configuration.
   - Default RelayState: This value can remain blank.
   - " Name ID format: Select ”EmailAddress".
   - "Application username: Select “Email"
   - Attribute Statements: Create these two:
     - Name: firstName;
       Name format: Basic;
       Value: user.firstName
     - Name: lastName;
       Name format: Basic;
       Value: user.lastName

::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/qQ_55yVDoJnCHMcBRxqdO_image.png" size="100" width="2000" height="2535" position="center" alt="Configure SAML" darkWidth="2000" darkHeight="2535" showCaption="false" indent="3"}

5. There may be a feedback form on the next step, which can be ignored. Then click "Finish. "

## View and send Chord your SAML setup setup instructions

1\. Click the **View SAML setup instructions** button on the **Sign On** tab of your newly created Okta application:

![View SAML setup instructions](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/1Au_R3GeO-Xf_LxJsGzsH_image.png)

2\. Send Chord the following values from the setup instructions page:

1. **Identity Provider Single Sign-On URL**
2. **Identity Provider Issuer**
3. **X.509 Certificate** (including the BEGIN\_CERTIFICATE and END\_CERTIFICATE lines)

## Provision access to the Chord Application

On the **Assignments** tab under your application in Okta, assign the application to team members who should have access to it by clicking **Assign**:

![Assignment button](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/Hvt5cW-5eyAsG7pajO2Fb_image.png)

## Test SSO integration after confirmation from Chord

The Okta user dashboard should show the Chord Application.
Please test the integration by clicking the application to sign in to Chord.


[title] Chord Reveal Data Attribute Definitions
[path] Chord Data Platform/Untitled/

:::hint{type="info"}
Chord Reveal will appear as a “group label” inside the existing Activities, Sessions, and Anonymous explores.&#x20;

Note: The data inside the Sessions, Activities, and Anonymous explores will only work when they are associated with data from Chord CDP.
:::

### Chord Reveal profile fields

- **First Identifier Attempt At**: Indicates when the first reveal attempt occurred.
- **Last Identifier Attempt At**: Indicates when the last reveal attempt occurred.
- **First Identified At**: Indicates when the anonymous user was first revealed.
- **Personal Email**: The personal email address of the identified user.
- **Business Email**: The professional or work email address of the identified user.
- **Age Range**: The estimated age range of the identified user (e.g., '25-34').
- **Company Address**: The full street address of the user's company.
- **Company City**: The city where the user's company is located.
- **Company Domain**: The website domain of the user's company.
- **Company Employee Count**: The estimated number of employees at the user's company.
- **Company Linkedin URL**: The URL for the user's company LinkedIn page.
- **Company NAICS**: The NAICS (North American Industry Classification System) code for the company's industry.
- **Company Name**: The legal name of the user's company.
- **Company Phone**: The general phone number for the user's company.
- **Company Revenue**: The estimated annual revenue of the user's company.
- **Company SIC**: The SIC (Standard Industrial Classification) code for the company's industry.
- **Company State**: The state or province where the user's company is located.
- **Company Zip**: The postal code for the user's company.
- **Department**: The department the user likely works in at their company (e.g., 'Marketing', 'Engineering').
- **First Name**: The first name of the identified user.
- **Gender**: The gender of the identified user.
- **Homeowner**: Indicates whether the user is a homeowner ('Yes'/'No').
- **Income Range**: The estimated household income range of the identified user.
- **Job Title**: The user's job title at their company (e.g., 'Marketing Manager').
- **Ip**: The IP address of the user from which the enrichment was triggered.
- **Job Title 2**: *No description provided.*
- **Last Name**: The last name of the identified user.
- **Linkedin URL**: The URL for the user's personal LinkedIn profile.
- **Married**: Indicates the marital status of the user ('Yes'/'No').
- **Mobile Phone**: The mobile phone number of the identified user.
- **Net Worth**: The estimated net worth of the identified user.
- **Personal City**: The city where the user resides.
- **Personal State**: The state or province where the user resides.
- **Personal Zip**: The personal postal code of the user.
- **Personal Zip4**: The extended 4-digit postal code (ZIP+4) for the user's personal address.
- **Primary Industry**: The primary industry in which the user works.
- **Professional Address**: The professional or business street address of the user.
- **Professional City**: The city of the user's professional address.
- **Professional State**: The state or province of the user's professional address.
- **Professional Zip**: The postal code of the user's professional address.
- **Professional Zip4**: The extended 4-digit postal code (ZIP+4) for the user's professional address.
- **Referrer URL**: The URL of the page that referred the user to the site, if available.
- **Seniority Level**: The user's seniority level within their company (e.g., 'Entry', 'Senior', 'C-Level').
- **Main Email**: Declares a primary email for the user. It prioritizes the personal email over the business email if both are available.


[title] Understanding Syncs in Chord
[path] Chord Data Platform/Data Activations/Data Activations/

::loom[]{url="https://www.loom.com/embed/b74184812f964a9c9c7285e9d1e64a3f"}

## Introduction

Syncs power Audience activation in Chord. When you send an Audience to a destination, such as an ESP or ad platform, you create a sync.

This page explains how syncs work and how to manage them.

## What is a sync?

A sync connects:

- A Chord Audience&#x20;
- A destination
- A defined set of mapped fields&#x20;

It controls how data moves from Chord to your external platform.

A sync does not change your underlying Audience logic. It only controls how that Audience is delivered.

## What you configure in a sync

When setting up a sync, you define:

**1. Destination**

Where the Audience is sent.

**2. Field mappings**

How Chord fields match destination fields.

Clear mapping ensures the destination platform receives data in the correct structure.

**3. Sync behavior**
Depending on the destination, you may configure:

- Full refresh vs. incremental updates
- List additions or removals
- Record update behavior

## Viewing sync history

![]()

![]()

Each sync includes a history of past runs.

You can review:

- Last run details
- Source details
- Destination details&#x20;
- Full sync history

If a sync fails, start by reviewing the error details in the run history. Most issues relate to:

- Missing required fields&#x20;
- Invalid mappings&#x20;
- Destination-side validation rules&#x20;

## Editing a sync

![]()

To edit a sync:

1. Navigate to **Data Activations**.
2. Click on **Manage Syncs.**&#x20;
3. Select the specific sync you wish to edit.
4. Click on the three veritcal dots icon in the **Actions&#x20;**&#x63;olumn.
5. Click **Edit sync**.&#x20;

:::hint{type="info"}
You can also Manage Syncs via the **Audience Destinations** tab on the **Audiences** page.
:::

All settings are available in one structured modal.

Changes apply to future runs. Historical runs remain unchanged.

## Deleting a sync

Deleting a sync:

- Stops future data updates&#x20;
- Does not delete historical records in the destination platform&#x20;
- Does not delete the underlying Audience&#x20;

To delete a sync:

1. Navigate to **Data Activations**.
2. Click on **Manage Syncs.**&#x20;
3. Select the specific sync you wish to delete.
4. Click on the three veritcal dots icon in the **Actions&#x20;**&#x63;olumn.
5. Click **Delete sync**.&#x20;

:::hint{type="info"}
You can also Delete Syncs via the **Audience Destinations** tab on the **Audiences** page.
:::

## Best practices

- Confirm required destination fields before mapping.&#x20;
- Review sync history after your first run.&#x20;
- Keep field naming consistent across platforms.&#x20;
- Test new syncs before launching time-sensitive campaigns.

[title] Transactions
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Chord OMS/

### x\_fct\_trans\_transactions

| Name                                                   | Description                                                                                                                                                                                                                                                                                         |
| ------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Applied Gift Card Amount                               | Dollar value of the gift card at time of issuance.                                                                                                                                                                                                                                                  |
| Applied Gift Card Amount Used                          | Amount used from the initial gift card amount.                                                                                                                                                                                                                                                      |
| Applied Gift Card Currency                             | Currency of the gift card amount.                                                                                                                                                                                                                                                                   |
| Applied Gift Card Gift Message                         | Gift card's custom message from the purchaser to the recipient.                                                                                                                                                                                                                                     |
| Applied Gift Card Id                                   | Unique key generated by Chord that uniquifies a gift card.                                                                                                                                                                                                                                          |
| Applied Gift Card Is Redeemable                        | Flag that determines whether or not the gift card is redeemable.                                                                                                                                                                                                                                    |
| Applied Gift Card Purchaser Name                       | Gift card's purchaser name as inputed by the gift card's purchaser.                                                                                                                                                                                                                                 |
| Applied Gift Card Recipient Email                      | Gift card's recipient email.                                                                                                                                                                                                                                                                        |
| Applied Gift Card Recipient Name                       | Gift card's recipient name as inputed by the gift card's purchaser.                                                                                                                                                                                                                                 |
| Applied Gift Card Redemption Code                      | Gift card's redemption code.                                                                                                                                                                                                                                                                        |
| Order Adjustment Types                                 | List of distinct adjustment reasons for adjustments made to the order.                                                                                                                                                                                                                              |
| Order Admin Url                                        | The Admin URL of pointing to the order.                                                                                                                                                                                                                                                             |
| Order Applied Discount Codes                           | List of promotion codes applied to the order.                                                                                                                                                                                                                                                       |
| Order Applied Discount Codes Count                     | Count of promotion codes applied to the order.                                                                                                                                                                                                                                                      |
| Order Applied Discount Ids                             | List of promotion ids applied to the order.                                                                                                                                                                                                                                                         |
| Order Applied Discount Names                           | List of promotion names applied to the order.                                                                                                                                                                                                                                                       |
| Order Applied Discount Names Count                     | Count of promotion names applied to the order.                                                                                                                                                                                                                                                      |
| Order Cart Url                                         | Url of the cart which contains the order.                                                                                                                                                                                                                                                           |
| Order Channel                                          | The channel from which the order is created.                                                                                                                                                                                                                                                        |
| Order Completed Order Rank By Subscription             | Allows to rank completed orders by completion date for a subscription.                                                                                                                                                                                                                              |
| Order Completed Order Rank By User                     | Allows to rank completed orders by completion date for a user.                                                                                                                                                                                                                                      |
| Order Contains Refund                                  | Whether or not the order contains refund adjustments or refunds that are processed outside of the Chord OMS adjustment systems (for example via RMAs or cancellations).                                                                                                                             |
| Order Contains Replacement                             | Whether or not the order contains replacement adjustments or shipped replacement items (following an RMA authorization).                                                                                                                                                                            |
| Order Contains Return                                  | Whether or not the order contains returns (authorized RMAs).                                                                                                                                                                                                                                        |
| Order Contains Rma Refund                              | Whether or not the order contains RMA refunds (refunds issued after an RMA was requested and authorized).                                                                                                                                                                                           |
| Order Contains Rma Store Credits                       | This column is not documented.                                                                                                                                                                                                                                                                      |
| Order Currency                                         | The currency for this order.                                                                                                                                                                                                                                                                        |
| Order Customer Lifetime Month                          | Number of months between the current order's completion date and the user's first order completion date. First orders have a value of 1.                                                                                                                                                            |
| Order Customer Lifetime Week                           | Number of weeks between the current order's completion date and the user's first order completion date. First orders always have a value of 1.                                                                                                                                                      |
| Order Email                                            | The email address of the customer that made the order.                                                                                                                                                                                                                                              |
| Order Financial State                                  | The current payment state of the order.                                                                                                                                                                                                                                                             |
| Order Fulfillment Ids                                  | Array of unique keys generated by Chord to identify the unique shipments for an order.                                                                                                                                                                                                              |
| Order Fulfillment Numbers                              | The unique identifier for this shipment.                                                                                                                                                                                                                                                            |
| Order Fulfillment State                                | The current shipment state of the order.                                                                                                                                                                                                                                                            |
| Order Has Discount                                     | Whether or not the order has promotions applied to it.                                                                                                                                                                                                                                              |
| Order Has Order Tags                                   | Whether or not that order has tags.                                                                                                                                                                                                                                                                 |
| Order Hours From Order To First Fulfillment            | Number of hours between order completion and first order shipment; how long it takes a company to get the initial product out to a customer.                                                                                                                                                        |
| Order Hours From Order To Last Fulfillment             | Number of hours between order completion and last order shipment.                                                                                                                                                                                                                                   |
| Order Id                                               | Unique key generated by Chord to identify a unique order.                                                                                                                                                                                                                                           |
| Order Is Canceled                                      | Whether or not the order is canceled. The order is considered canceled when the canceled\_at date is not null.                                                                                                                                                                                      |
| Order Is Completed                                     | Whether or not that order is completed. The order is considered completed when the completed\_at date is not null. This means that the order does not necessarily have a state = 'complete', since states can change after the order completion (for example in the case of a refund).              |
| Order Is First Completed Order                         | Whether or not that order was the first completed order for a user.                                                                                                                                                                                                                                 |
| Order Is First Order                                   | Whether or not that order was the first order for a user.                                                                                                                                                                                                                                           |
| Order Is First Subscription Completed Order            | Whether or not that order was the first completed order for a subscription.                                                                                                                                                                                                                         |
| Order Is First Subscription Order                      | Whether or not that order was the first order for a subscription.                                                                                                                                                                                                                                   |
| Order Is Fulfilled                                     | Whether or not that order has shipped.                                                                                                                                                                                                                                                              |
| Order Is Part Of Subscription                          | Whether or not that order is part of a subscription.                                                                                                                                                                                                                                                |
| Order Is Pre Paid Purchase                             | Whether the order the orderincludes the purchase of a pre-payment; this could be a gift subscription, pre-pay subscription, or gift card.                                                                                                                                                           |
| Order Is Pre Paid Redemption                           | Whether the order included the redemption of a pre-payment; this could be the redemption of a gift subscription, pre-pay subscription, or gift card.                                                                                                                                                |
| Order Is Referred By Affiliate                         | Whether or not the user is referred by an affiliate.                                                                                                                                                                                                                                                |
| Order Is Referred By Referrer                          | Whether or not the user is referred by a referrer.                                                                                                                                                                                                                                                  |
| Order Is Replacement                                   | True when the order is a replacement order.                                                                                                                                                                                                                                                         |
| Order Is Suspicious Referral Conversion                | Wether this represents a suspicous referral conversions or not.                                                                                                                                                                                                                                     |
| Order Number                                           | Human-readable unique key generated by Solidus that identifies an order. It begins with a set of Tenant-Store defined letters and ends in a nine-digit number (for example, CHORD-123456789). This number is shown to the users in various places. These combinations are unique for a given Store. |
| Order Oms Order Id                                     | Unique key generated by Solidus that identifies an order.                                                                                                                                                                                                                                           |
| Order Rank By User                                     | Allows to rank completed orders by completion date for a user.                                                                                                                                                                                                                                      |
| Order Tags                                             | List of tags associated to the order.                                                                                                                                                                                                                                                               |
| Order Tags Count                                       | Number of tags associated to the order.                                                                                                                                                                                                                                                             |
| Order Referral Conversion Suspicious Reasons           | A list of reasons explaining why the referral conversion is suspicious.                                                                                                                                                                                                                             |
| Order Referrer User Email                              | The email address of the customer identified with the referral.                                                                                                                                                                                                                                     |
| Order Special Instructions                             | Any special shipping instructions that have been specified by the customer during checkout.                                                                                                                                                                                                         |
| Order State                                            | The current state of the order.                                                                                                                                                                                                                                                                     |
| Order Subscription Customer Lifetime Month             | Number of months between the current order's completion date and the user's first subscription order completion date. First orders have a value of 1.                                                                                                                                               |
| Order Subscription Customer Lifetime Week              | Number of weeks between the current order's completion date and the user's first subscription order completion date. First orders always have a value of 1.                                                                                                                                         |
| Order User Referral Code                               | Unique key generated by Solidus that represents the user's referral code.                                                                                                                                                                                                                           |
| Order Website Locale                                   | Locale of website. This will either be collected from the url or from the drop-down link on the store.                                                                                                                                                                                              |
| Purchased Gift Card Amount                             | Dollar value of the gift card at time of issuance.                                                                                                                                                                                                                                                  |
| Purchased Gift Card Amount Used                        | Amount used from the initial gift card amount.                                                                                                                                                                                                                                                      |
| Purchased Gift Card Currency                           | Currency of the gift card amount.                                                                                                                                                                                                                                                                   |
| Purchased Gift Card Gift Message                       | Gift card's custom message from the purchaser to the recipient.                                                                                                                                                                                                                                     |
| Purchased Gift Card Id                                 | Unique key generated by Chord that uniquifies a gift card.                                                                                                                                                                                                                                          |
| Purchased Gift Card Is Redeemable                      | Flag that determines whether or not the gift card is redeemable.                                                                                                                                                                                                                                    |
| Purchased Gift Card Purchaser Name                     | Gift card's purchaser name as inputed by the gift card's purchaser.                                                                                                                                                                                                                                 |
| Purchased Gift Card Recipient Email                    | Gift card's recipient email.                                                                                                                                                                                                                                                                        |
| Purchased Gift Card Recipient Name                     | Gift card's recipient name as inputed by the gift card's purchaser.                                                                                                                                                                                                                                 |
| Purchased Gift Card Redemption Code                    | Gift card's redemption code.                                                                                                                                                                                                                                                                        |
| Store Id                                               | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                         |
| Store Name                                             | The name of the store.                                                                                                                                                                                                                                                                              |
| Store Oms Admin Url                                    | The Admin URL of that OMS.                                                                                                                                                                                                                                                                          |
| Store Oms Id                                           | Unique key generated by Chord that uniquifies an OMS.                                                                                                                                                                                                                                               |
| Store Oms Store Id                                     | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                         |
| Store Oms Type                                         | The type of the OMS.                                                                                                                                                                                                                                                                                |
| Store Id                                               | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                         |
| Store Tenant Id                                        | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                             |
| Store Url                                              | The Storefront URL of of the store.                                                                                                                                                                                                                                                                 |
| Transaction Id                                         | Unique key generated by Chord that uniquifies a transaction.                                                                                                                                                                                                                                        |
| Transaction Payment Method                             | Represents the transaction's payment method. May include values such as 'Stripe', 'Venmo', etc.                                                                                                                                                                                                     |
| Transaction Payment Type                               | Represents the transaction's payment type. May include values such as 'Money', 'Store Credit', 'Referral credit applied', etc.                                                                                                                                                                      |
| Transaction Reason                                     | Represents the transaction reason. May include values such as 'Return processing', 'Order canceled', 'Order', 'Order Not Received', etc.                                                                                                                                                            |
| Transaction Type                                       | Represents the transaction type. Its value is either 'Payment' or 'Refund'.                                                                                                                                                                                                                         |
| User Completed Oms Order Ids                           | List of completed OMS order ids by a user.                                                                                                                                                                                                                                                          |
| User Completed Order Ids                               | List of completed order ids by a user.                                                                                                                                                                                                                                                              |
| User Credit Category Basket                            | Array of credit categories (Gift Card, Reimbursement, Referral Credits, Prepaid Subscription, GMA) issued per user.                                                                                                                                                                                 |
| User Email                                             | Email address of the user.                                                                                                                                                                                                                                                                          |
| User First Completed Oms Order Id                      | OMS order id of the first order completed by a user.                                                                                                                                                                                                                                                |
| User First Completed Order Id                          | Unique order id of the first order completed by a user.                                                                                                                                                                                                                                             |
| User First Order Unique Ordered Products               | Unique products ordered by the user in their first completed order.                                                                                                                                                                                                                                 |
| User First Order Unique Ordered Skus                   | Unique SKUs ordered by the user in their first completed order.                                                                                                                                                                                                                                     |
| User Has Ordered A La Carte                            | Whether or not the user has had at least one order that is not part of a subscription.                                                                                                                                                                                                              |
| User Has Promo Applied In First Order                  | Whether or not the user has a promo applied to their first completed order.                                                                                                                                                                                                                         |
| User Has Subscription In First Order                   | Whether or not the user's first order is linked to a subscription.                                                                                                                                                                                                                                  |
| User Id                                                | Unique key generated by Chord to identify a unique user.                                                                                                                                                                                                                                            |
| User Is Active Subscriber                              | Whether or not the user has an active subscription with at least one completed subscription order. An active subscription is one that is not cancelled or paused.                                                                                                                                   |
| User Is Customer                                       | Whether or not the user is a customer.                                                                                                                                                                                                                                                              |
| User Is New Customer                                   | Whether or not the user is a new customer.                                                                                                                                                                                                                                                          |
| User Is Not Customer                                   | Whether or not the user is not a customer.                                                                                                                                                                                                                                                          |
| User Is Returning Customer                             | Whether or not the user is a returning customer.                                                                                                                                                                                                                                                    |
| User Is Subscriber                                     | Whether or not the user has completed at least one subscription order.                                                                                                                                                                                                                              |
| User Login                                             | The login email address of the user.                                                                                                                                                                                                                                                                |
| User Name                                              | Full name of the user.                                                                                                                                                                                                                                                                              |
| User Number Of Completed A La Carte Orders             | Total amount of orders completed by a user that are a la carte.                                                                                                                                                                                                                                     |
| User Number Of Completed Subscription Orders           | Total amount of orders completed by a user that was part of a subscription.                                                                                                                                                                                                                         |
| User Number Of Orders With Promos                      | The count of completed orders with a promo applied.                                                                                                                                                                                                                                                 |
| User Number Of Subscriptions                           | Total amount of subscriptions linked to a user.                                                                                                                                                                                                                                                     |
| User Oms User Id                                       | Unique key generated by Solidus that identifies a user.                                                                                                                                                                                                                                             |
| User Phone                                             | Phone number of the user.                                                                                                                                                                                                                                                                           |
| User Total Completed Order Count                       | Total amount of orders completed by a user.                                                                                                                                                                                                                                                         |
| User Unique Ordered Products                           | Unique products ordered by the user across all orders.                                                                                                                                                                                                                                              |
| User Unique Ordered Skus                               | Unique SKUs ordered by the user across all orders.                                                                                                                                                                                                                                                  |
| Applied Gift Card Applied At (Universal)               | Timestamp that represents the time at which gift card was last applied as a payment method on an order - Universal Time Zone.                                                                                                                                                                       |
| Applied Gift Card Created At (Universal)               | Timestamp that represents the time at which gift card was created - Universal Time Zone.                                                                                                                                                                                                            |
| Applied Gift Card Deactivated At (Universal)           | Timestamp that represents the time at which gift card was deactivated - Universal Time Zone.                                                                                                                                                                                                        |
| Applied Gift Card Sent At (Universal)                  | Timestamp that represents the time at which gift card was sent to its recipient - Universal Time Zone.                                                                                                                                                                                              |
| Applied Gift Card Updated At (Universal)               | Timestamp that represents the time at which gift card was last updated - Universal Time Zone.                                                                                                                                                                                                       |
| Order Approved At (Universal)                          | Reflects when the entity was approved in Solidus - Universal Time Zone.                                                                                                                                                                                                                             |
| Order Canceled At (Universal)                          | Reflects when the order was cancelled - Universal Time Zone.                                                                                                                                                                                                                                        |
| Order Completed At (Central)                           | Reflects when the entity was moved to the 'completed' state - Cental Time Zone.                                                                                                                                                                                                                     |
| Order Completed At (Eastern)                           | Reflects when the entity was moved to the 'completed' state - Eastern Time Zone.                                                                                                                                                                                                                    |
| Order Completed At (Mountain)                          | Reflects when the entity was moved to the 'completed' state - Mountain Time Zone.                                                                                                                                                                                                                   |
| Order Completed At (Pacific)                           | Reflects when the entity was moved to the 'completed' state - Pacific Time Zone.                                                                                                                                                                                                                    |
| Order Completed At (Universal)                         | Reflects when the entity was moved to the 'completed' state - Universal Time Zone.                                                                                                                                                                                                                  |
| Order Created At (Central)                             | Reflects when the entity was first created in Solidus - Cental Time Zone.                                                                                                                                                                                                                           |
| Order Created At (Eastern)                             | Reflects when the entity was first created in Solidus - Eastern Time Zone.                                                                                                                                                                                                                          |
| Order Created At (Mountain)                            | Reflects when the entity was first created in Solidus - Mountain Time Zone.                                                                                                                                                                                                                         |
| Order Created At (Pacific)                             | Reflects when the entity was first created in Solidus - Pacific Time Zone.                                                                                                                                                                                                                          |
| Order Created At (Universal)                           | Reflects when the entity was first created in Solidus - Universal Time Zone.                                                                                                                                                                                                                        |
| Order First Fulfillment Fulfilled At (Universal)       | Timestamp at which the first shipment for that order was shipped - Universal Time Zone.                                                                                                                                                                                                             |
| Order Last Adjustment Refund At (Universal)            | Timestamp of the last return adjustment for an order - Universal Time Zone.                                                                                                                                                                                                                         |
| Order Last Adjustment Replacement At (Universal)       | Timestamp of the last replacement adjustment for an order - Universal Time Zone.                                                                                                                                                                                                                    |
| Order Last Fulfillment Fulfilled At (Universal)        | Timestamp at which the last shipment for that order was shipped - Universal Time Zone.                                                                                                                                                                                                              |
| Order Updated At (Universal)                           | Reflects when the entity was last updated in Solidus - Universal Time Zone.                                                                                                                                                                                                                         |
| Purchased Gift Card Applied At (Universal)             | Timestamp that represents the time at which gift card was last applied as a payment method on an order - Universal Time Zone.                                                                                                                                                                       |
| Purchased Gift Card Created At (Universal)             | Timestamp that represents the time at which gift card was created - Universal Time Zone.                                                                                                                                                                                                            |
| Purchased Gift Card Deactivated At (Universal)         | Timestamp that represents the time at which gift card was deactivated - Universal Time Zone.                                                                                                                                                                                                        |
| Purchased Gift Card Sent At (Universal)                | Timestamp that represents the time at which gift card was sent to its recipient - Universal Time Zone.                                                                                                                                                                                              |
| Purchased Gift Card Updated At (Universal)             | Timestamp that represents the time at which gift card was last updated - Universal Time Zone.                                                                                                                                                                                                       |
| Transaction Ts (Central)                               | Timestamp that represents the time at which the transaction was last updated - Cental Time Zone.                                                                                                                                                                                                    |
| Transaction Ts (Eastern)                               | Timestamp that represents the time at which the transaction was last updated - Eastern Time Zone.                                                                                                                                                                                                   |
| Transaction Ts (Mountain)                              | Timestamp that represents the time at which the transaction was last updated - Mountain Time Zone.                                                                                                                                                                                                  |
| Transaction Ts (Pacific)                               | Timestamp that represents the time at which the transaction was last updated - Pacific Time Zone.                                                                                                                                                                                                   |
| Transaction Ts (Universal)                             | Timestamp that represents the time at which the transaction was last updated - Universal Time Zone.                                                                                                                                                                                                 |
| User Created At (Universal)                            | Timestamp at which the users row was created - Universal Time Zone.                                                                                                                                                                                                                                 |
| User Date Of Birth (Universal)                         | Date of birth of the user - Universal Time Zone.                                                                                                                                                                                                                                                    |
| User Deleted At (Universal)                            | Timestamp at which the user's account was deleted - Universal Time Zone.                                                                                                                                                                                                                            |
| User First Order Completed At (Universal)              | The timestamp of the user's first completed order - Universal Time Zone.                                                                                                                                                                                                                            |
| User First Subscription Order Completed At (Universal) | The timestamp of the user's first completed subscription order, regardless of subsequent subscriptions - Universal Time Zone.                                                                                                                                                                       |
| User Last Order Completed At (Universal)               | The timestamp of the user's last completed order - Universal Time Zone.                                                                                                                                                                                                                             |
| User Last Sign In At (Universal)                       | The last sign in timestamp for the user - Universal Time Zone.                                                                                                                                                                                                                                      |
| User Updated At (Universal)                            | Timestamp at which the users row was last updated - Universal Time Zone.                                                                                                                                                                                                                            |
| Average Net Revenue                                    | This column is not documented.                                                                                                                                                                                                                                                                      |
| Average Transaction Amount                             | Full amount of transaction. The value will be positive if the transaction is a payment, and negative if the transaction is a refund.                                                                                                                                                                |
| Net Revenue                                            | This column is not documented.                                                                                                                                                                                                                                                                      |
| Transaction Amount                                     | Full amount of transaction. The value will be positive if the transaction is a payment, and negative if the transaction is a refund.                                                                                                                                                                |


[title] Data Support for Multiple Stores
[path] Chord Data Platform/Overview/

Chord supports a "multi-store" architecture, i.e. sending data from more than one store to the same Chord instance. Chord displays the resulting data in aggregate while also providing the ability to filter by store.

:::hint{type="warning"}
This is an advanced feature. Please speak with someone at Chord before acting on the following.
:::

## Requirements

These must be true:

1. All stores use the same OMS, such as Shopify.
2. It is acceptable that store data will not be isolated.

## Recommendations

When configuring your **Chord CDP**:

- We recommend creating unique Sources per store. The schema name of these Sources must follow a naming convention that we can provide. Use the correct write keys when sending events to each Source.
- All sources should point to the same Chord Data Warehouse Destination.
- We recommend the same approach for other Destinations (e.g. GA4, Klaviyo). It is up to how your business uses those services, but having multiple instances of each may make our data less effective.

## Limitations

The **Integrations > Data Sources&#x20;**&#x70;ortion of Chord does not currently have multi-store support. Please consult with us with regards to any implications that might have.

Chord does not currently support **multiple currencies**. As a result:

- All currency will be shown as USD, but will not have been converted. For example, sales worth €1,000 will be shown as $1,000. The correct symbol (e.g. "€") will not appear, nor will that $1,000 reflect any conversion rates between EUR and USD.
- Given the above, reports that aggregate data between multiple currencies will not be accurate. For example, sales across three stores worth $100, €50, and £25 would be shown as $175. That total will not reflect any conversation rates between USD and other currencies.

It is worth noting that despite the above, our data does have record of what currency each transaction was made in. That information will be used as we add multi-currency support.


[title] Subscriber Journey Monthly Explore
[path] Chord Data Platform/Data Models/Subscriptions/

## Overview

Monthly snapshots of subscriber state.

- Grain: **1 row per subscriber per month**
- Purpose: **retention + LTV progression analysis**

## When to use

- Cohort retention curves
- LTV growth over time
- Monthly churn/reactivation patterns
- MoM reporting

## Key dimensions & metrics

| Field                           | Description          |
| ------------------------------- | -------------------- |
| Snapshot Month End Date         | Month end            |
| Cohort Month                    | First subscription   |
| Months Since First Subscription | Cohort age           |
| Is Active Subscriber EOM        | Active at month end  |
| Is Churned EOM                  | Churned at month end |
| Active Subscription Count EOM   | Active count         |
| LTV Gross Revenue EOM           | Cumulative revenue   |
| LTV Order Count EOM             | Cumulative orders    |
| Orders This Month               | Monthly orders       |
| Revenue This Month              | Monthly revenue      |
| New Subscriptions This Month    | New subs             |
| Cancellations This Month        | Cancelled subs       |
| Has Churned By EOM              | Ever churned         |
| Has Reactivated By EOM          | Ever reactivated     |
| Churn Count By EOM              | Total cancellations  |

## Example business questions

- Retention curve by cohort
- LTV growth curves
- Monthly subscription revenue
- Churn timing by lifecycle

## Notes & caveats

- EOM = **End of Month**
- Rows only exist **after subscriber creation**

## Glossary

| Term                     | What it Means                                                                                                   | How to Interpret / Use                                                                                         | Where You’ll See It in Looker                                                                                                                                                                                                    |
| ------------------------ | --------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Active Subscription**  | A subscription that is currently ongoing. Includes both fully active and paused subscriptions.                  | Use this to understand the **current size of your subscriber base**. Note that paused users are still counted. | Subscription Metrics Daily (Active Count), Subscriber Journey (Is Active Subscriber), Subscriber Journey Monthly (Is Active Subscriber EOM), Product & Bundle Explores (Active Subscription Count)                               |
| **Churn / Churned**      | A subscription that has been cancelled. Does not include pauses.                                                | Represents **true customer loss**. Track this to understand retention issues.                                  | Subscription Metrics Daily (Churned Count, Churn Rate), Subscriber Journey (Is Churned, Churn Count), Monthly (Is Churned EOM, Cancellations This Month), Events Enriched (Event Type = canceled), Movements (status\_cancelled) |
| **Winback**              | A subscriber who cancelled all subscriptions and later returned by subscribing again.                           | Indicates **successful re-engagement** after churn.                                                            | Subscriber Journey (Is Winback), Subscriber Journey Monthly (Has Reactivated By EOM)                                                                                                                                             |
| **Reactivation**         | A previously cancelled subscription that becomes active again (subscription-level).                             | Measures **recovery of churned subscriptions**.                                                                | Subscription Metrics Daily (Reactivated Count), Movements (status\_reactivated), Events Enriched (Event Type = reactivated)                                                                                                      |
| **Net New**              | Net change in subscriptions: New + Reactivated − Cancelled.                                                     | Indicates **overall growth vs decline**.                                                                       | Subscription Metrics Daily (Net New Count)                                                                                                                                                                                       |
| **LTV (Lifetime Value)** | Total revenue generated by a subscriber across all subscription orders.                                         | Use to understand **customer value over time** and compare cohorts or segments.                                | Subscriber Journey (LTV Gross / Net Revenue), Subscriber Journey Monthly (LTV Gross Revenue EOM)                                                                                                                                 |
| **EOM (End of Month)**   | Metrics calculated as of the last day of a month.                                                               | Used for **consistent month-over-month comparisons** (retention, LTV growth).                                  | Subscriber Journey Monthly (all EOM fields like Active EOM, LTV EOM)                                                                                                                                                             |
| **Solo Subscription**    | A subscription that contains only one product.                                                                  | Helps identify products that perform well **individually**.                                                    | Subscription Product Metrics Daily (Solo Subscription Count)                                                                                                                                                                     |
| **Bundle**               | A subscription that contains two or more products.                                                              | Useful for analyzing **product combinations and cross-sell behavior**.                                         | Product Metrics (Bundle Subscription Count), Bundle Metrics Daily (all bundle fields)                                                                                                                                            |
| **Movement**             | Any change in a subscription’s state (created, cancelled, paused, resumed, reactivated, quantity/price change). | Use to understand **operational changes and trends** in subscriptions.                                         | Subscription Movements Daily (Movement Type, Category), Events Enriched (Event Type)                                                                                                                                             |
| **Provider**             | The system managing subscriptions (Recharge, ChordOMS, CustomOMS).                                              | Important context — **data availability and detail vary by provider**, which affects analysis.                 | All Explores (Provider filter present everywhere)                                                                                                                                                                                |


[title] Activities
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Salesforce/

### x\_fct\_trans\_activities

| Name                                                  | Description                                                                                                                                                                                                                                                                                                                          |
| ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Activity Event Text                                   | The name of the event.                                                                                                                                                                                                                                                                                                               |
| Activity Event Text Id                                | The slug of the event name, mapping to the page or track event table.                                                                                                                                                                                                                                                                |
| Activity Id                                           | The unique identifier of an activities (i.e. Track or Page event).                                                                                                                                                                                                                                                                   |
| Activity Page Path                                    | The page path part of the URL. A page path is the part of URL that comes after the hostname (domain) and before the query parameters, URL fragment, or port. (e.g. `/pages/contact-us/` for `https://chord.co/pages/contact-us/?ref=internal-banner` .)                                                                              |
| Activity Page Query                                   | The query string portion of the URL of the page.                                                                                                                                                                                                                                                                                     |
| Activity Page Title                                   | The title/name of the page.                                                                                                                                                                                                                                                                                                          |
| Activity Page Url                                     | The URL of the page.                                                                                                                                                                                                                                                                                                                 |
| Activity Session Activity Count                       | Total count of activities, pave views and tracked events within the session.                                                                                                                                                                                                                                                         |
| Activity Session Attribution Channel                  | The attribution channel for the first page event of the session. Sessions with an attribution of 'Unknown' indicates that there is no attributable data for that session.                                                                                                                                                            |
| Activity Session Attribution Channel Paid Or Organic  | Indicates if the session's first page attribution is paid or organic. Attribution is considered Organic if the attribution channel is 'Direct', 'Other', 'Organic Search', 'Organic Social', 'Email', or 'SMS'.                                                                                                                      |
| Activity Session Attribution First Page Url Has Gclid | Indicates if the first page event of the session has a Google Click ID.                                                                                                                                                                                                                                                              |
| Activity Session Attribution First Page Url Has Utm   | Indicates if the first page event of the session has any utm information.                                                                                                                                                                                                                                                            |
| Activity Session Attribution Has Referrer             | Indicates if the first page event of the session has a referrer host.                                                                                                                                                                                                                                                                |
| Activity Session Attribution Medium                   | The campaign medium represented by the UTM tags for the first page event of the session.                                                                                                                                                                                                                                             |
| Activity Session Attribution Source                   | The campaign source represented by the UTM tags for the first page event of the session.                                                                                                                                                                                                                                             |
| Activity Session Attribution Sub Channel              | Sub-Channel is a granular level of attribution.                                                                                                                                                                                                                                                                                      |
| Activity Session Completed Oms Order Ids              | Array of OMS Order IDs associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                        |
| Activity Session Completed Order Ids                  | Array of order IDs associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                            |
| Activity Session Completed Order Numbers              | Array of order numbers associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                        |
| Activity Session Days Since Last Session End          | The days between the last session's end and the start of this session.                                                                                                                                                                                                                                                               |
| Activity Session Device                               | The device on which the event was sent from.                                                                                                                                                                                                                                                                                         |
| Activity Session Device Category                      | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                            |
| Activity Session Duration In Seconds                  | Total seconds between start and end activities within the session.                                                                                                                                                                                                                                                                   |
| Activity Session Duration In Seconds Tiers            | Total seconds between start and end activities within the session, aggregated into tiers: 0-9s, 10-29s, 30-59s, and 60s or more.                                                                                                                                                                                                     |
| Activity Session Has Order Completion                 | Flag for sessions with an order completed or checkout completed front-end events                                                                                                                                                                                                                                                     |
| Activity Session Id                                   | Unique ID for the session.                                                                                                                                                                                                                                                                                                           |
| Activity Session Number                               | Session number per anonymous id.                                                                                                                                                                                                                                                                                                     |
| Activity Session Unique Completed Order Count         | Count of unique order ids associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                     |
| Activity Session Unique Completed Order Number Count  | Count of unique order numbers associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                 |
| Activity Utm Campaign                                 | The campaign name represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Activity Utm Content                                  | The campaign content represented by the UTM tags.                                                                                                                                                                                                                                                                                    |
| Activity Utm Medium                                   | The campaign medium represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Activity Utm Source                                   | The campaign source represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Activity Utm Term                                     | The campaign term represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Activity Website Locale                               | Locale of website. This will either be collected from the url or from the drop-down link on the store                                                                                                                                                                                                                                |
| Anonymous Completed Oms Order Ids                     | Array of OMS Order IDs associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                           |
| Anonymous Completed Order Ids                         | Array of order IDs associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                               |
| Anonymous Completed Order Numbers                     | Array of order numbers associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                           |
| Anonymous Current Blended User Id                     | Unique id derived from the user\_id and the anonymous\_id. Whenever a customer has a user\_id, the user\_anonymous\_id will be constant for                                                                                                                                                                                          |
| Anonymous Current User Id                             | The current user\_id associated with the anonymous\_id. This unique user\_id is created by Segment's Identify call. A user\_id can be associated to many anonymous\_ids.                                                                                                                                                             |
| Anonymous Id                                          | Unique id created by Chord for each anonymous visitor per store.                                                                                                                                                                                                                                                                     |
| Anonymous Segment Anonymous Id                        | Id created by Segment for each anonymous visitor. This id gets created as soon as a customer's browser loads the analytics javascript widget. The anonymous\_id remains unchanged through the entire browsing session from a single device. Depending on configuration, two stores connected stores may have the same anonymous\_id. |
| Anonymous Unique User Ids                             | Array of user IDs mapped to an anonymous ID.                                                                                                                                                                                                                                                                                         |
| Date Day Num Of Year                                  | The number representing the day of the year.                                                                                                                                                                                                                                                                                         |
| Date Id                                               | Unique key that uniquify a date.                                                                                                                                                                                                                                                                                                     |
| Date Month Num Of Year                                | The month number of the year.                                                                                                                                                                                                                                                                                                        |
| Last Seen Page Browser Locale                         | Locale of browser.                                                                                                                                                                                                                                                                                                                   |
| Last Seen Page Device                                 | The device on which the event was sent from.                                                                                                                                                                                                                                                                                         |
| Last Seen Page Device Category                        | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                            |
| Last Seen Page Event Table Name                       | The properly formatted name of the table of the event.                                                                                                                                                                                                                                                                               |
| Last Seen Page Event Text                             | The name of the event.                                                                                                                                                                                                                                                                                                               |
| Last Seen Page Event Text Id                          | The slug of the event name, mapping to the page or track event table.                                                                                                                                                                                                                                                                |
| Last Seen Page Gclid                                  | The Google Click ID. Google Click ID (GCLID) is a parameter passed in the URL with ad clicks, to identify the campaign and other attributes of the click associated with the ad for ad tracking and campaign attribution.                                                                                                            |
| Last Seen Page Id                                     | Unique key generated by Segment for each tracking or page event.                                                                                                                                                                                                                                                                     |
| Last Seen Page Oms Id                                 | Unique key generated by our models that uniquifies an OMS.                                                                                                                                                                                                                                                                           |
| Last Seen Page Host                                   | The host of the event's URL. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                        |
| Last Seen Page Path                                   | The page path part of the URL. A page path is the part of URL that comes after the hostname (domain) and before the query parameters, URL fragment, or port. (e.g. `/pages/contact-us/` for `https://chord.co/pages/contact-us/?ref=internal-banner`)                                                                                |
| Last Seen Page Query                                  | The query string portion of the URL of the page.                                                                                                                                                                                                                                                                                     |
| Last Seen Page Referrer                               | The referrer of the page. The referrer is the webpage that sends visitors to the site using a link. In                                                                                                                                                                                                                               |
| Last Seen Page Title                                  | The title/name of the page.                                                                                                                                                                                                                                                                                                          |
| Last Seen Page Url                                    | The URL of the page.                                                                                                                                                                                                                                                                                                                 |
| Last Seen Page Referrer Host                          | The host of the referrer. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                           |
| Last Seen Page Segment User Id                        | The unique ID of the user.                                                                                                                                                                                                                                                                                                           |
| Last Seen Page Store Id                               | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Last Seen Page Tenant Id                              | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                              |
| Last Seen Page User Agent                             | The User agent of the device making the request. A User agent request header is a characteristic string that lets servers and                                                                                                                                                                                                        |
| Last Seen Page User Id                                | Unique key generated by Chord to identify the user.                                                                                                                                                                                                                                                                                  |
| Last Seen Page Utm Campaign                           | The campaign name represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Last Seen Page Utm Content                            | The campaign content represented by the UTM tags.                                                                                                                                                                                                                                                                                    |
| Last Seen Page Utm Medium                             | The campaign medium represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Last Seen Page Utm Source                             | The campaign source represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Last Seen Page Utm Term                               | The campaign term represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Last Seen Page Website Locale                         | Locale of website. This will either be collected from the url or from the drop-down link on the store                                                                                                                                                                                                                                |
| Session Landing Page Browser Locale                   | Locale of browser.                                                                                                                                                                                                                                                                                                                   |
| Session Landing Page Device                           | The device on which the event was sent from.                                                                                                                                                                                                                                                                                         |
| Session Landing Page Device Category                  | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                            |
| Session Landing Page Event Table Name                 | The properly formatted name of the table of the event.                                                                                                                                                                                                                                                                               |
| Session Landing Page Event Text                       | The name of the event.                                                                                                                                                                                                                                                                                                               |
| Session Landing Page Event Text Id                    | The slug of the event name, mapping to the page or track event table.                                                                                                                                                                                                                                                                |
| Session Landing Page Gclid                            | The Google Click ID. Google Click ID (GCLID) is a parameter passed in the URL with ad clicks, to identify the campaign and other attributes of the click associated with the ad for ad tracking and campaign attribution.                                                                                                            |
| Session Landing Page Id                               | Unique key generated by Segment for each tracking or page event.                                                                                                                                                                                                                                                                     |
| Session Landing Page Oms Id                           | Unique key generated by our models that uniquifies an OMS.                                                                                                                                                                                                                                                                           |
| Session Landing Page Host                             | The host of the event's URL. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                        |
| Session Landing Page Path                             | The page path part of the URL. A page path is the part of URL that comes after the hostname (domain) and before the query parameters, URL fragment, or port. (e.g. `/pages/contact-us/` for `https://chord.co/pages/contact-us/?ref=internal-banner`.)                                                                               |
| Session Landing Page Query                            | The query string portion of the URL of the page.                                                                                                                                                                                                                                                                                     |
| Session Landing Page Referrer                         | The referrer of the page. The referrer is the webpage that sends visitors to the site using a link. In                                                                                                                                                                                                                               |
| Session Landing Page Title                            | The title/name of the page.                                                                                                                                                                                                                                                                                                          |
| Session Landing Page Url                              | The URL of the page.                                                                                                                                                                                                                                                                                                                 |
| Session Landing Page Referrer Host                    | The host of the referrer. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                           |
| Session Landing Page Segment User Id                  | The unique ID of the user.                                                                                                                                                                                                                                                                                                           |
| Session Landing Page Store Id                         | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Session Landing Page Tenant Id                        | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                              |
| Session Landing Page User Agent                       | The User agent of the device making the request. A User agent request header is a characteristic string that lets servers and                                                                                                                                                                                                        |
| Session Landing Page User Id                          | Unique key generated by Chord to identify the user.                                                                                                                                                                                                                                                                                  |
| Session Landing Page Utm Campaign                     | The campaign name represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Session Landing Page Utm Content                      | The campaign content represented by the UTM tags.                                                                                                                                                                                                                                                                                    |
| Session Landing Page Utm Medium                       | The campaign medium represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Session Landing Page Utm Source                       | The campaign source represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Session Landing Page Utm Term                         | The campaign term represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Session Landing Page Website Locale                   | Locale of website. This will either be collected from the url or from the drop-down link on the store                                                                                                                                                                                                                                |
| Store Id                                              | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Store Name                                            | The name of the store.                                                                                                                                                                                                                                                                                                               |
| Store Oms Admin Url                                   | The Admin URL of that OMS.                                                                                                                                                                                                                                                                                                           |
| Store Oms Id                                          | Unique key generated by Chord that uniquifies an OMS.                                                                                                                                                                                                                                                                                |
| Store Oms Store Id                                    | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Store Oms Type                                        | The type of the OMS.                                                                                                                                                                                                                                                                                                                 |
| Store Id                                              | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Store Tenant Id                                       | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                              |
| Store Url                                             | The Storefront URL of of the store.                                                                                                                                                                                                                                                                                                  |
| User Address 1                                        | The first line of the street address.                                                                                                                                                                                                                                                                                                |
| User Address 2                                        | The optional second line of the address.                                                                                                                                                                                                                                                                                             |
| User Address City                                     | The city of the address.                                                                                                                                                                                                                                                                                                             |
| User Address Country                                  | The country of the address.                                                                                                                                                                                                                                                                                                          |
| User Address Name                                     | The full name of the customer, based on firstName and lastName.                                                                                                                                                                                                                                                                      |
| User Address State                                    | The region of the address, such as the province, state, or district.                                                                                                                                                                                                                                                                 |
| User Address Zip                                      | The postal code of the address.                                                                                                                                                                                                                                                                                                      |
| User Completed Oms Order Ids                          | Array of OMS Order IDs associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                |
| User Completed Order Ids                              | Array of order IDs associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                    |
| User Completed Order Numbers                          | Array of order numbers associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                |
| User Email                                            | The email associated with the user.                                                                                                                                                                                                                                                                                                  |
| User Id                                               | Unique ID per user. It is equal to either 1) a identified\_user\_id as identified by Segment in the Identify call, or 2) an anonynous\_id.                                                                                                                                                                                           |
| User Identified User Id                               | Unique ID per identified user. (See Segment's documentation on user\_id)\[ `https://segment.com/docs/connections/spec/identify/#user-id` ].                                                                                                                                                                                          |
| User Ip                                               | IP address associated with the user.                                                                                                                                                                                                                                                                                                 |
| User Last Anonymous Id                                | Last seen anonymous\_id per user. An anonymous\_id is a unique ID per anonymous visitor. (See Segment's documentation on anonymous\_id)\[ `https://segment.com/docs/connections/spec/identify/#anonymous-id` ].                                                                                                                      |
| User Last Segment Anonymous Id                        | This column is not documented.                                                                                                                                                                                                                                                                                                       |
| User Segment User Id                                  | The unique ID of the user.                                                                                                                                                                                                                                                                                                           |
| User Unique Anonymous Ids                             | Array of all seen anonymous\_ids per user. An anonymous\_id is a unique ID per anonymous visitor. (See Segment's documentation on anonymous\_id)\[ `https://segment.com/docs/connections/spec/identify/#anonymous-id` ].                                                                                                             |
| User Unique Completed Order Count                     | Count of unique order ids associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                             |
| Activity Session End Ts (Universal)                   | Last activity timestamp for a session - Universal Time Zone.                                                                                                                                                                                                                                                                         |
| Activity Session Last Session End Ts (Universal)      | The timestamp of the previous session's end per blended user id, if this is not the user's first session - Universal Time Zone.                                                                                                                                                                                                      |
| Activity Session Last Session Start Ts (Universal)    | The timestamp of the previous session's start per blended user id, if this is not the user's first session - Universal Time Zone.                                                                                                                                                                                                    |
| Activity Session Start Ts (Central)                   | First activity timestamp for a session - Cental Time Zone.                                                                                                                                                                                                                                                                           |
| Activity Session Start Ts (Eastern)                   | First activity timestamp for a session - Eastern Time Zone.                                                                                                                                                                                                                                                                          |
| Activity Session Start Ts (Mountain)                  | First activity timestamp for a session - Mountain Time Zone.                                                                                                                                                                                                                                                                         |
| Activity Session Start Ts (Pacific)                   | First activity timestamp for a session - Pacific Time Zone.                                                                                                                                                                                                                                                                          |
| Activity Session Start Ts (Universal)                 | First activity timestamp for a session - Universal Time Zone.                                                                                                                                                                                                                                                                        |
| Activity Ts (Central)                                 | The timestamp calculated by Segment correcting clock skew - Cental Time Zone.                                                                                                                                                                                                                                                        |
| Activity Ts (Eastern)                                 | The timestamp calculated by Segment correcting clock skew - Eastern Time Zone.                                                                                                                                                                                                                                                       |
| Activity Ts (Mountain)                                | The timestamp calculated by Segment correcting clock skew - Mountain Time Zone.                                                                                                                                                                                                                                                      |
| Activity Ts (Pacific)                                 | The timestamp calculated by Segment correcting clock skew - Pacific Time Zone.                                                                                                                                                                                                                                                       |
| Activity Ts (Universal)                               | The timestamp calculated by Segment correcting clock skew - Universal Time Zone.                                                                                                                                                                                                                                                     |
| Last Seen Page Ts (Universal)                         | The timestamp calculated by Segment correcting clock skew - Universal Time Zone.                                                                                                                                                                                                                                                     |
| Session Landing Page Ts (Universal)                   | The timestamp calculated by Segment correcting clock skew - Universal Time Zone.                                                                                                                                                                                                                                                     |
| User Created At (Universal)                           | The timestamp when the user was created - Universal Time Zone.                                                                                                                                                                                                                                                                       |
| User First Seen At (Universal)                        | The first time the user was seen on the site, identified as either anonymous ID or user ID - Universal Time Zone.                                                                                                                                                                                                                    |

### x\_fct\_current\_sales\_\_daily

| Name                          | Description                                                                                                                                                                                                                     |
| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Date Day Num Of Year          | The number representing the day of the year.                                                                                                                                                                                    |
| Date Id                       | Unique key that uniquify a date.                                                                                                                                                                                                |
| Date Month Num Of Year        | The month number of the year.                                                                                                                                                                                                   |
| Ts (Universal)                | The truncated UTC date the order was created - Universal Time Zone.                                                                                                                                                             |
| Average Completed Order Count | The total count of orders created on the UTC date that have been completed. An order is considered complete if it has a status of 'Fulfilled' or 'Returned' or it has a status 'Canceled' and has a payment associated with it. |
| Average Created Order Count   | The total count of orders created on the UTC date.                                                                                                                                                                              |
| Average Gross Sales           | The gross sales for completed orders. An order is considered complete if it has a status of 'Fulfilled' or 'Returned' or it has a status 'Canceled' and has a payment associated with it.                                       |
| Average Net Revenue           | The net sales for completed orders. An order is considered complete if it has a status of 'Fulfilled' or 'Returned' or it has a status 'Canceled' and has a payment associated with it.                                         |
| Average Placed Gross Revenue  | Gross Revenue is the pre-tax, pre-adjusted total line item price (unit price \* quantity) + the fulfillment total.                                                                                                              |
| Average Placed Net Revenue    | Net Revenue is the adjusted line item price (unit price \* quantity - line adjustments) + the adjusted fulfillment (fulfillment total - line adjustments) - order level adjustments - refunds.                                  |
| Completed Order Count         | The total count of orders created on the UTC date that have been completed. An order is considered complete if it has a status of 'Fulfilled' or 'Returned' or it has a status 'Canceled' and has a payment associated with it. |
| Created Order Count           | The total count of orders created on the UTC date.                                                                                                                                                                              |
| Gross Sales                   | The gross sales for completed orders. An order is considered complete if it has a status of 'Fulfilled' or 'Returned' or it has a status 'Canceled' and has a payment associated with it.                                       |
| Net Revenue                   | The net sales for completed orders. An order is considered complete if it has a status of 'Fulfilled' or 'Returned' or it has a status 'Canceled' and has a payment associated with it.                                         |
| Placed Gross Revenue          | Gross Revenue is the pre-tax, pre-adjusted total line item price (unit price \* quantity) + the fulfillment total.                                                                                                              |
| Placed Net Revenue            | Net Revenue is the adjusted line item price (unit price \* quantity - line adjustments) + the adjusted fulfillment (fulfillment total - line adjustments) - order level adjustments - refunds.                                  |


[title] Audience Activations with Ninetailed
[path] Chord Data Platform/Data Activations/Data Activations/Destination Set-up Notes/

# Introduction

This document provides an overview of how to use our Ninetailed Sync using Chord's Audiences API. Ninetailed is a personalization and experimentation platform built for modern, headless CMS and e-commerce setups. It enables marketers and developers to deliver tailored content and experiences to different user segments.

The primary focus when it comes to audience activations with Ninetailed via Chord is to add profile traits defined through Chord’s pre-built and custom audience dashboards. This enables real-time personalization by delivering dynamic audience data to Ninetailed.

:::hint{type="info"}
If you get stuck or have additional questions as you review this documentation, feel free to reach out to us at [help@chord.co](mailto\:help@chord.co) — our team is also happy to help you activate audiences on other CMS tools or platforms that help you get your job done!
:::

# Chord to Ninetailed Activation Flow

- **Chord Platform Application:** Audiences are created via the Chord platform per the existing flow.
- **Integration with DynamoDB:** Chord extracts Audience data from our Snowflake warehouses and stores it in an **AWS DynamoDB table**.
- **DynamoDB Stream:** A stream of events generated form changes to the table are queued.
- **AWS Lambda Function:** An **AWS Lambda function** receives the events via a connected stream trigger to process and bulk send up to 50 “identify” events per request.
  - If emails are used as the primary key for an audience, the emails are hashed before being sent as the id to Ninetailed.
- **Conentful/Ninetailed**: The synchronized traits can now be utilized in building targeted content using the trait attributes on the profile.

# Sample Request to Ninetailed

:::hint{type="info"}
Chord requires the following two items to setup the sync to the [bulk upsert URL](https://www.contentful.com/developers/docs/personalization/experience-api/#batch-upsert-profiles):

- **api\_key**
- **environment**
:::

```javascript
curl --location 'https://experience.ninetailed.co/v2/organizations/{API_KEY}/environments/{ENV}/events' \
--header 'Content-Type: application/json' \
--data '{
    "events": [
        {
            "channel": "server",
            "context": {
                "library": {
                    "name": "Chord Audiences",
                    "version": "1.0.0"
                }
            },
            "messageId": "58f358f2-a858-11ed-afa1-0242ac120002",
            "anonymousId": "(userId || anonymousId)",
            "userId": "(userId || anonymousId)",
            "traits": {"Audience - FirstTimeBuyer": "true" },
            "type": "identify"
        },
        {
            "channel": "server",
            "context": {
                "library": {
                    "name": "Chord Audiences",
                    "version": "1.0.0"
                }
            },
            "messageId": "58f358f2-a858-11ed-afa1-0242ac120002",
            "anonymousId": "(userId || anonymousId)",
            "userId": "(userId || anonymousId)",
            "traits": {"Audience - SuperFan": "false" },
            "type": "identify"
        }
    ]
}'
```

If emails are used as the primary key for an audience, the emails are hashed before being sent as the ID. If you would like to fetch the profile through Ninetailed using the email, you can obtain the id through this code snippet:

```jsx
async function hashEmail(email) {
	const encoder = new TextEncoder();
	const data = encoder.encode(email.toLowerCase());
	const hashBuffer = await crypto.subtle.digest('SHA-256', data);
	const hashArray = Array.from(new Uint8Array(hashBuffer));
	const base64Hash = btoa(String.fromCharCode(...hashArray));
	return base64Hash.replace(/[^a-zA-Z0-9]/g, '').substring(0, 32);
}
```

# DynamoDB Destination

Chord will handle the connection to the DynamoDB destination for you. You can view it as part of your [Data Activations](https://docs.chord.co/data-activations):&#x20;

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-GSUPCD0jzNGoCxiv5gAFW-20250604-160005.png)

# Creating a Sync

Using our Sync UI, we first need to create a new sync that connects a custom Audience as the **source** and our DynamoDB table as the **destination**.&#x20;

As a Chord tenant, you will have access to your own dedicated DynamoDB table. The example below is using `chord_audiences` for documentation purposes.

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-IIBTNPUc8q9wVFWASXs9f-20250604-160053.png)

## Select Sync Behavior

Sync Behaviors dictate the types of change that should be applied to your data when a sync finds a matching (or not) record in a source and a destination.

Available sync behaviors are:

- **Update or Create (aka Upsert):** Update existing destination records when IDs match, otherwise, create new records if they're missing.
- **Mirror:** Keep the destination in sync with the source.
  - If a row is added or edited in the source, update the destination.
  - If a previously synced row no longer is in the source, remove the matching object from the destination.

:::hint{type="info"}
Mirror syncs identify changes by comparing against the data they have already sent -- not the data that might or might not already exist in the destination.&#x20;

This means that the first sync will be an upsert for all records, and the second and following syncs will account for changes from the source data.
:::

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-HWRhV1evYyi9ZT8Iia6mH-20250604-160243.png)

# Sync Key

:::hint{type="danger"}
**Note:&#x20;**&#x54;he following steps (Sync Key, Field Mapping) are more advanced and should be handled by Chord employees or individuals with a strong understanding of the feature.
:::

Sync Keys will dictate how to associate data in the source with the destination. Both the source and destination need to provide a single, unique per record, identifying field. The identifiers will be used to look for matches. When a match is found - or not found - we then can use your selected Sync Behavior to decide what to do.&#x20;

Your sync key can be any kind of unique identifier, like a user ID, an email address, etc. However, we do recommend using a “blended user ID” provided by Chord if possible (see below).

## Mapping with a blended user identifier

Some audiences may contain what we call a “blended user ID,” which is derived from the Chord data models to contain the CDP User ID - if one exists - else the Anonymous ID. This use case is particularly useful when mixing users that may or may not have a known CDP User ID.

This means that you will be able to look up a user via the Audience API using either a CDP anonymous ID or a known User ID (in this case).

:::hint{type="info"}
When using blended ID, it is very important to keep in mind that if you query an Anonymous ID that was identified at any point, our API won't return any result.
:::

# Field Mapping

Once you've defined *how* data is related between your source and destination, the next step is to determine *what* properties should be updated. The field mapping step lets you specify how fields should be mapped from your source model to the destination object's fields.

- We start by assigning our unique user identifier. `anonymous_current_cdp_blended_user_id` will become our `pk` (primary key).
- We can then set up the `sk` (sort key). It is **important** to ensure that this value reflects the name of the Audience being synced. You can easily obtain that value by choosing `Sync Metadata > Source Name`

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-l-DPlQsNVCkMdTHP09kVw-20250604-184828.png)

You should end up with the following:

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-k8QyJ3A0yWvduWyPeXSWC-20250604-184854.png)

# Sync Schedule

Like any [Data Activations sync](https://docs.chord.co/gFnF-data-activations) on the Chord data platform, the Ninetailed sync can be scheduled to run at regular intervals.&#x20;

The Chord platform will display the sync results on th&#x65;**&#x20;Data Activations** page when you click into the **"Manage Syncs"** button.&#x20;

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-fuAQWG0ucAxMkBZweRVhS-20250604-184943.png "Sync Schedule Dropdown")

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-E3YejzY7wz1A8fcHZAkri-20250604-185856.png)

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-QZ2bv9iaWkdE7_QQEwX_6-20250604-190014.png "My Syncs sidesheet ")


[title] Orders
[path] Chord Data Platform/Data Models/

### Overview

Chord utilizes transactional data from the OMS (Chord OMS, Shopify, etc.) to derive the orders dataset.

### Created vs. Completed Orders

Chord has two different order concepts:

- **Created Order:&#x20;**&#x57;hen the order was first created in the OMS. This date will be most closely aligned with how OMSes report orders.
- **Completed Order:&#x20;**&#x57;hen the order is considered complete, either when it's closed or fully fulfilled. This timestamp is useful for financial reporting, such as revenue recognition.
  - For Shopify, the `closed_at` timestamp is generated for orders in Shopify that are automatically archived. If this feature is not enabled, the last updated closed fulfillment date is used as the completed at date.
  - For Chord OMS, the order is considered completed when the `completed_at` date is not null. This means that the order does not necessarily have a state = 'complete', since states can change after the order completion (for example in the case of a refund).

### Orders vs. Sales Explores

The "Orders" explore contains all orders regardless of status, whereas the "Sales" explore includes only completed orders.







:::hint{type="success"}
if you have any questions or need help, please reach out to us at [help@chord.co](mailto\:help@chord.co)
:::


[title] Marketing Attribution
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Chord OMS/

### extend\_x\_fct\_trans\_orders\_for\_attribution

| Name                                                   | Description                                                                                                                                                                                                                                                                                         |
| ------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Affiliate Email                                        | Email address of the affiliate.                                                                                                                                                                                                                                                                     |
| Affiliate Id                                           | Unique key generated by Chord to identify a unique affiliate.                                                                                                                                                                                                                                       |
| Affiliate Name                                         | Full name of the user.                                                                                                                                                                                                                                                                              |
| Affiliate Seen Emails                                  | List of email addresses seen.                                                                                                                                                                                                                                                                       |
| Affiliate User Id                                      | Unique key generated by Chord to identify a unique user.                                                                                                                                                                                                                                            |
| Billing Address Address1                               | The street address of the customer.                                                                                                                                                                                                                                                                 |
| Billing Address Address2                               | The optional second address of the customer.                                                                                                                                                                                                                                                        |
| Billing Address Alternative Phone                      | The customer's alternative phone number.                                                                                                                                                                                                                                                            |
| Billing Address City                                   | The city where the address is.                                                                                                                                                                                                                                                                      |
| Billing Address Company                                | A company name.                                                                                                                                                                                                                                                                                     |
| Billing Address Country Abbr                           |                                                                                                                                                                                                                                                                                                     |
| Billing Address Country Name                           | Full name of the country.                                                                                                                                                                                                                                                                           |
| Billing Address Firstname                              | First name of the customer.                                                                                                                                                                                                                                                                         |
| Billing Address Id                                     | Unique key generated by Chord to identify a unique address.                                                                                                                                                                                                                                         |
| Billing Address Lastname                               | Last name of the customer.                                                                                                                                                                                                                                                                          |
| Billing Address Oms Address Id                         | Unique key generated by Solidus that identifies an address.                                                                                                                                                                                                                                         |
| Billing Address Phone                                  | The customer's phone number.                                                                                                                                                                                                                                                                        |
| Billing Address State Abbr                             |                                                                                                                                                                                                                                                                                                     |
| Billing Address State Name                             | Full name of the state.                                                                                                                                                                                                                                                                             |
| Billing Address Zipcode                                | The postal code.                                                                                                                                                                                                                                                                                    |
| Order Adjustment Types                                 | List of distinct adjustment reasons for adjustments made to the order.                                                                                                                                                                                                                              |
| Order Admin Url                                        | The Admin URL of pointing to the order.                                                                                                                                                                                                                                                             |
| Order Applied Discount Codes                           | List of promotion codes applied to the order.                                                                                                                                                                                                                                                       |
| Order Applied Discount Codes Count                     | Count of promotion codes applied to the order.                                                                                                                                                                                                                                                      |
| Order Applied Discount Ids                             | List of promotion ids applied to the order.                                                                                                                                                                                                                                                         |
| Order Applied Discount Names                           | List of promotion names applied to the order.                                                                                                                                                                                                                                                       |
| Order Applied Discount Names Count                     | Count of promotion names applied to the order.                                                                                                                                                                                                                                                      |
| Order Cart Url                                         | Url of the cart which contains the order.                                                                                                                                                                                                                                                           |
| Order Channel                                          | The channel from which the order is created.                                                                                                                                                                                                                                                        |
| Order Completed Order Rank By Subscription             | Allows to rank completed orders by completion date for a subscription.                                                                                                                                                                                                                              |
| Order Completed Order Rank By User                     | Allows to rank completed orders by completion date for a user.                                                                                                                                                                                                                                      |
| Order Contains Refund                                  | Whether or not the order contains refund adjustments or refunds that are processed outside of the Chord OMS adjustment systems (for example via RMAs or cancellations).                                                                                                                             |
| Order Contains Replacement                             | Whether or not the order contains replacement adjustments or shipped replacement items (following an RMA authorization).                                                                                                                                                                            |
| Order Contains Return                                  | Whether or not the order contains returns (authorized RMAs).                                                                                                                                                                                                                                        |
| Order Contains Rma Refund                              | Whether or not the order contains RMA refunds (refunds issued after an RMA was requested and authorized).                                                                                                                                                                                           |
| Order Contains Rma Store Credits                       | This column is not documented.                                                                                                                                                                                                                                                                      |
| Order Currency                                         | The currency for this order.                                                                                                                                                                                                                                                                        |
| Order Customer Lifetime Month                          | Number of months between the current order's completion date and the user's first order completion date. First orders have a value of 1.                                                                                                                                                            |
| Order Customer Lifetime Week                           | Number of weeks between the current order's completion date and the user's first order completion date. First orders always have a value of 1.                                                                                                                                                      |
| Order Email                                            | The email address of the customer that made the order.                                                                                                                                                                                                                                              |
| Order Financial State                                  | The current payment state of the order.                                                                                                                                                                                                                                                             |
| Order Fulfillment Ids                                  | Array of unique keys generated by Chord to identify the unique shipments for an order.                                                                                                                                                                                                              |
| Order Fulfillment Numbers                              | The unique identifier for this shipment.                                                                                                                                                                                                                                                            |
| Order Fulfillment State                                | The current shipment state of the order.                                                                                                                                                                                                                                                            |
| Order Has Discount                                     | Whether or not the order has promotions applied to it.                                                                                                                                                                                                                                              |
| Order Has Order Tags                                   | Whether or not that order has tags.                                                                                                                                                                                                                                                                 |
| Order Hours From Order To First Fulfillment            | Number of hours between order completion and first order shipment; how long it takes a company to get the initial product out to a customer.                                                                                                                                                        |
| Order Hours From Order To Last Fulfillment             | Number of hours between order completion and last order shipment.                                                                                                                                                                                                                                   |
| Order Id                                               | Unique key generated by Chord to identify a unique order.                                                                                                                                                                                                                                           |
| Order Is Canceled                                      | Whether or not the order is canceled. The order is considered canceled when the canceled\_at date is not null.                                                                                                                                                                                      |
| Order Is Completed                                     | Whether or not that order is completed. The order is considered completed when the completed\_at date is not null. This means that the order does not necessarily have a state = 'complete', since states can change after the order completion (for example in the case of a refund).              |
| Order Is First Completed Order                         | Whether or not that order was the first completed order for a user.                                                                                                                                                                                                                                 |
| Order Is First Order                                   | Whether or not that order was the first order for a user.                                                                                                                                                                                                                                           |
| Order Is First Subscription Completed Order            | Whether or not that order was the first completed order for a subscription.                                                                                                                                                                                                                         |
| Order Is First Subscription Order                      | Whether or not that order was the first order for a subscription.                                                                                                                                                                                                                                   |
| Order Is Fulfilled                                     | Whether or not that order has shipped.                                                                                                                                                                                                                                                              |
| Order Is Part Of Subscription                          | Whether or not that order is part of a subscription.                                                                                                                                                                                                                                                |
| Order Is Pre Paid Purchase                             | Whether the order the orderincludes the purchase of a pre-payment; this could be a gift subscription, pre-pay subscription, or gift card.                                                                                                                                                           |
| Order Is Pre Paid Redemption                           | Whether the order included the redemption of a pre-payment; this could be the redemption of a gift subscription, pre-pay subscription, or gift card.                                                                                                                                                |
| Order Is Referred By Affiliate                         | Whether or not the user is referred by an affiliate.                                                                                                                                                                                                                                                |
| Order Is Referred By Referrer                          | Whether or not the user is referred by a referrer.                                                                                                                                                                                                                                                  |
| Order Is Replacement                                   | True when the order is a replacement order.                                                                                                                                                                                                                                                         |
| Order Is Suspicious Referral Conversion                | Wether this represents a suspicous referral conversions or not.                                                                                                                                                                                                                                     |
| Order Item Id                                          | Unique key generated by Chord to identify a unique order.                                                                                                                                                                                                                                           |
| Order Item Line Items Quantity                         | Sum of line items quantities per order.                                                                                                                                                                                                                                                             |
| Order Item Product Basket                              | List of product names per in the order.                                                                                                                                                                                                                                                             |
| Order Item Product Basket Count                        | Number of products in the order.                                                                                                                                                                                                                                                                    |
| Order Product Basket                                   | The titles of products for a given order array converted to a string.                                                                                                                                                                                                                               |
| Order Item Total Line Item Unit Quantity               | Sum of line item units in the order.                                                                                                                                                                                                                                                                |
| Order Item Total Line Items Quantity                   | Sum of line items quantities per order.                                                                                                                                                                                                                                                             |
| Order Item Unique Product Basket                       | List of unique product names per in the order.                                                                                                                                                                                                                                                      |
| Order Item Unique Product Basket Count                 | Number of unique products in the order.                                                                                                                                                                                                                                                             |
| Order Unique Product Basket                            | The list of unique products for a given order array converted to a string.                                                                                                                                                                                                                          |
| Order Item Unique Unit Basket                          | List of unique units in the order.                                                                                                                                                                                                                                                                  |
| Order Item Unique Unit Basket Count                    | Count of unique units in the order.                                                                                                                                                                                                                                                                 |
| Order Unit Basket                                      | The list of units for a given order array converted to a string.                                                                                                                                                                                                                                    |
| Order Item Unique Variant Basket                       | List of unique variant names per in the order.                                                                                                                                                                                                                                                      |
| Order Item Unique Variant Basket Count                 | Number of unique variants in the order.                                                                                                                                                                                                                                                             |
| Order Unique Variant Basket                            | The list of unique variants for a given order array converted to a string.                                                                                                                                                                                                                          |
| Order Item Unit Basket                                 | List of all units in the order.                                                                                                                                                                                                                                                                     |
| Order Item Unit Basket Count                           | Count of all units in the order.                                                                                                                                                                                                                                                                    |
| Order Unique Unit Basket                               | The list of unique units for a given order array converted to a string.                                                                                                                                                                                                                             |
| Order Item Variant Basket                              | List of variant names per in the order.                                                                                                                                                                                                                                                             |
| Order Item Variant Basket Count                        | Number of variants in the order.                                                                                                                                                                                                                                                                    |
| Order Variant Basket                                   | The titles of variants for a given order array converted to a string.                                                                                                                                                                                                                               |
| Order Number                                           | Human-readable unique key generated by Solidus that identifies an order. It begins with a set of Tenant-Store defined letters and ends in a nine-digit number (for example, CHORD-123456789). This number is shown to the users in various places. These combinations are unique for a given Store. |
| Order Oms Order Id                                     | Unique key generated by Solidus that identifies an order.                                                                                                                                                                                                                                           |
| Order Rank By User                                     | Allows to rank completed orders by completion date for a user.                                                                                                                                                                                                                                      |
| Order Tags                                             | List of tags associated to the order.                                                                                                                                                                                                                                                               |
| Order Tags Count                                       | Number of tags associated to the order.                                                                                                                                                                                                                                                             |
| Order Referral Conversion Suspicious Reasons           | A list of reasons explaining why the referral conversion is suspicious.                                                                                                                                                                                                                             |
| Order Referrer User Email                              | The email address of the customer identified with the referral.                                                                                                                                                                                                                                     |
| Order Special Instructions                             | Any special shipping instructions that have been specified by the customer during checkout.                                                                                                                                                                                                         |
| Order State                                            | The current state of the order.                                                                                                                                                                                                                                                                     |
| Order Store Id                                         | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                         |
| Order Store Name                                       | The name of the store.                                                                                                                                                                                                                                                                              |
| Order Store Oms Admin Url                              | The Admin URL of that OMS.                                                                                                                                                                                                                                                                          |
| Order Store Oms Id                                     | Unique key generated by Chord that uniquifies an OMS.                                                                                                                                                                                                                                               |
| Order Store Oms Store Id                               | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                         |
| Order Store Oms Type                                   | The type of the OMS.                                                                                                                                                                                                                                                                                |
| Order Store Id                                         | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                         |
| Order Store Tenant Id                                  | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                             |
| Order Store Url                                        | The Storefront URL of of the store.                                                                                                                                                                                                                                                                 |
| Order Subscription Customer Lifetime Month             | Number of months between the current order's completion date and the user's first subscription order completion date. First orders have a value of 1.                                                                                                                                               |
| Order Subscription Customer Lifetime Week              | Number of weeks between the current order's completion date and the user's first subscription order completion date. First orders always have a value of 1.                                                                                                                                         |
| Order User Referral Code                               | Unique key generated by Solidus that represents the user's referral code.                                                                                                                                                                                                                           |
| Order Website Locale                                   | Locale of website. This will either be collected from the url or from the drop-down link on the store.                                                                                                                                                                                              |
| Referral Conversion Rank By Referrer                   | Allows to rank a referral conversion by referrer.                                                                                                                                                                                                                                                   |
| Referral Id                                            | Unique key generated by Chord to identify a unique referral identifier.                                                                                                                                                                                                                             |
| Referral Is Converted                                  | Wether this represents a converted referral or not.                                                                                                                                                                                                                                                 |
| Referral Is First Conversion                           | Whether or not the referral was the referrer's first converted referral.                                                                                                                                                                                                                            |
| Referral Is First Non Suspicious Conversion            | Whether or not the referral was the referrer's first non suspicious converted referral.                                                                                                                                                                                                             |
| Referral Is Suspicious                                 | Wether this represents a suspicous referral conversions or not.                                                                                                                                                                                                                                     |
| Referral Non Suspicious Conversion Rank By Referrer    | Allows ranking of non-suspicious referral conversion by the referrer.                                                                                                                                                                                                                               |
| Referral Oms Referral Conversion Id                    | Unique key generated by Solidus that identifies a referral conversion.                                                                                                                                                                                                                              |
| Referral Suspicious Reasons                            | A list of reasons explaining why the referral conversion is suspicious.                                                                                                                                                                                                                             |
| Referrer Currency                                      | The currency for this referral identifier.                                                                                                                                                                                                                                                          |
| Referrer Email                                         | The email address of the customer identified with the referral.                                                                                                                                                                                                                                     |
| Referrer Id                                            | Unique key generated by Chord to identify a unique referral identifier.                                                                                                                                                                                                                             |
| Referrer Oms Referral Identifier Id                    | Unique key generated by Solidus that identifies a referral identifier.                                                                                                                                                                                                                              |
| Referrer User Referral Code                            | Unique key generated by Solidus that represents the user's referral code.                                                                                                                                                                                                                           |
| Shipping Address Address1                              | The street address of the customer.                                                                                                                                                                                                                                                                 |
| Shipping Address Address2                              | The optional second address of the customer.                                                                                                                                                                                                                                                        |
| Shipping Address Alternative Phone                     | The customer's alternative phone number.                                                                                                                                                                                                                                                            |
| Shipping Address City                                  | The city where the address is.                                                                                                                                                                                                                                                                      |
| Shipping Address Company                               | A company name.                                                                                                                                                                                                                                                                                     |
| Shipping Address Country Abbr                          |                                                                                                                                                                                                                                                                                                     |
| Shipping Address Country Name                          | Full name of the country.                                                                                                                                                                                                                                                                           |
| Shipping Address Firstname                             | First name of the customer.                                                                                                                                                                                                                                                                         |
| Shipping Address Id                                    | Unique key generated by Chord to identify a unique address.                                                                                                                                                                                                                                         |
| Shipping Address Lastname                              | Last name of the customer.                                                                                                                                                                                                                                                                          |
| Shipping Address Oms Address Id                        | Unique key generated by Solidus that identifies an address.                                                                                                                                                                                                                                         |
| Shipping Address Phone                                 | The customer's phone number.                                                                                                                                                                                                                                                                        |
| Shipping Address State Abbr                            |                                                                                                                                                                                                                                                                                                     |
| Shipping Address State Name                            | Full name of the state.                                                                                                                                                                                                                                                                             |
| Shipping Address Zipcode                               | The postal code.                                                                                                                                                                                                                                                                                    |
| Subscription Completed Oms Order Ids                   | List of completed OMS order ids by a subscription.                                                                                                                                                                                                                                                  |
| Subscription Completed Order Count                     | Total amount of orders completed by a subscription.                                                                                                                                                                                                                                                 |
| Subscription Completed Order Ids                       | List of completed order ids by a subscription.                                                                                                                                                                                                                                                      |
| Subscription First Order Unique Product Basket         | Array of unique product names ordered in the first order per subscription.                                                                                                                                                                                                                          |
| Subscription First Order Unique Variant Basket         | Array of unique SKUs ordered in the first order per subscription.                                                                                                                                                                                                                                   |
| Subscription Has Subscription Tags                     | Whether or not the subscription has tags.                                                                                                                                                                                                                                                           |
| Subscription Id                                        | Unique key generated by Solidus that identifies a subscription.                                                                                                                                                                                                                                     |
| Subscription Interval In Days                          | The number of days in the subscription interval.                                                                                                                                                                                                                                                    |
| Subscription Is Auto Redeemed                          | Whether the pre-paid subscription will be auto-redeemed or if an action is required by the recepient.                                                                                                                                                                                               |
| Subscription Is Gift                                   | Whether or not the pre-paid subscription is a gift.                                                                                                                                                                                                                                                 |
| Subscription Is Recurring                              | Whether the pre-paid subscription is recurring.                                                                                                                                                                                                                                                     |
| Subscription Last Order Unique Product Basket          | Array of unique product names ordered in the latest order per subscription.                                                                                                                                                                                                                         |
| Subscription Last Order Unique Variant Basket          | Array of unique SKUs ordered in the latest order per subscription.                                                                                                                                                                                                                                  |
| Subscription Oms Pre Paid Subscription Id              | ID generated by ChordOMS to identify a unique pre-paid subscription.                                                                                                                                                                                                                                |
| Subscription Oms Subscription Id                       | Unique key generated by Solidus that identifies a subscription.                                                                                                                                                                                                                                     |
| Subscription Pre Paid Subscription Id                  | Chord generated unique id for the pre-pay subscription.                                                                                                                                                                                                                                             |
| Subscription State                                     | The current state of the subscription, enhanced with values for \`paused\` if the subscription is active and paused.                                                                                                                                                                                |
| Subscription Tags                                      | The list of tags associated with a subscription.                                                                                                                                                                                                                                                    |
| Subscription Tags Count                                | The number of tags associated with a subscription.                                                                                                                                                                                                                                                  |
| Subscription Unique Product Basket                     | Array of unique product names ever ordered per subscription.                                                                                                                                                                                                                                        |
| Subscription Unique Variant Basket                     | Array of unique SKUs ever ordered per subscription.                                                                                                                                                                                                                                                 |
| User Completed Oms Order Ids                           | List of completed OMS order ids by a user.                                                                                                                                                                                                                                                          |
| User Completed Order Ids                               | List of completed order ids by a user.                                                                                                                                                                                                                                                              |
| User Credit Category Basket                            | Array of credit categories (Gift Card, Reimbursement, Referral Credits, Prepaid Subscription, GMA) issued per user.                                                                                                                                                                                 |
| User Email                                             | Email address of the user.                                                                                                                                                                                                                                                                          |
| User First Completed Oms Order Id                      | OMS order id of the first order completed by a user.                                                                                                                                                                                                                                                |
| User First Completed Order Id                          | Unique order id of the first order completed by a user.                                                                                                                                                                                                                                             |
| User First Order Unique Ordered Products               | Unique products ordered by the user in their first completed order.                                                                                                                                                                                                                                 |
| User First Order Unique Ordered Skus                   | Unique SKUs ordered by the user in their first completed order.                                                                                                                                                                                                                                     |
| User Has Ordered A La Carte                            | Whether or not the user has had at least one order that is not part of a subscription.                                                                                                                                                                                                              |
| User Has Promo Applied In First Order                  | Whether or not the user has a promo applied to their first completed order.                                                                                                                                                                                                                         |
| User Has Subscription In First Order                   | Whether or not the user's first order is linked to a subscription.                                                                                                                                                                                                                                  |
| User Id                                                | Unique key generated by Chord to identify a unique user.                                                                                                                                                                                                                                            |
| User Is Active Subscriber                              | Whether or not the user has an active subscription with at least one completed subscription order. An active subscription is one that is not cancelled or paused.                                                                                                                                   |
| User Is Customer                                       | Whether or not the user is a customer.                                                                                                                                                                                                                                                              |
| User Is New Customer                                   | Whether or not the user is a new customer.                                                                                                                                                                                                                                                          |
| User Is Not Customer                                   | Whether or not the user is not a customer.                                                                                                                                                                                                                                                          |
| User Is Returning Customer                             | Whether or not the user is a returning customer.                                                                                                                                                                                                                                                    |
| User Is Subscriber                                     | Whether or not the user has completed at least one subscription order.                                                                                                                                                                                                                              |
| User Login                                             | The login email address of the user.                                                                                                                                                                                                                                                                |
| User Name                                              | Full name of the user.                                                                                                                                                                                                                                                                              |
| User Number Of Completed A La Carte Orders             | Total amount of orders completed by a user that are a la carte.                                                                                                                                                                                                                                     |
| User Number Of Completed Subscription Orders           | Total amount of orders completed by a user that was part of a subscription.                                                                                                                                                                                                                         |
| User Number Of Orders With Promos                      | The count of completed orders with a promo applied.                                                                                                                                                                                                                                                 |
| User Number Of Subscriptions                           | Total amount of subscriptions linked to a user.                                                                                                                                                                                                                                                     |
| User Oms User Id                                       | Unique key generated by Solidus that identifies a user.                                                                                                                                                                                                                                             |
| User Phone                                             | Phone number of the user.                                                                                                                                                                                                                                                                           |
| User Total Completed Order Count                       | Total amount of orders completed by a user.                                                                                                                                                                                                                                                         |
| User Unique Ordered Products                           | Unique products ordered by the user across all orders.                                                                                                                                                                                                                                              |
| User Unique Ordered Skus                               | Unique SKUs ordered by the user across all orders.                                                                                                                                                                                                                                                  |
| Billing Address Created At (Universal)                 | Timestamp at which the address row was created - Universal Time Zone.                                                                                                                                                                                                                               |
| Billing Address Updated At (Universal)                 | Timestamp at which the address row was last updated - Universal Time Zone.                                                                                                                                                                                                                          |
| Order Approved At (Universal)                          | Reflects when the entity was approved in Solidus - Universal Time Zone.                                                                                                                                                                                                                             |
| Order Canceled At (Universal)                          | Reflects when the order was cancelled - Universal Time Zone.                                                                                                                                                                                                                                        |
| Order Completed At (Central)                           | Reflects when the entity was moved to the 'completed' state - Cental Time Zone.                                                                                                                                                                                                                     |
| Order Completed At (Eastern)                           | Reflects when the entity was moved to the 'completed' state - Eastern Time Zone.                                                                                                                                                                                                                    |
| Order Completed At (Mountain)                          | Reflects when the entity was moved to the 'completed' state - Mountain Time Zone.                                                                                                                                                                                                                   |
| Order Completed At (Pacific)                           | Reflects when the entity was moved to the 'completed' state - Pacific Time Zone.                                                                                                                                                                                                                    |
| Order Completed At (Universal)                         | Reflects when the entity was moved to the 'completed' state - Universal Time Zone.                                                                                                                                                                                                                  |
| Order Created At (Central)                             | Reflects when the entity was first created in Solidus - Cental Time Zone.                                                                                                                                                                                                                           |
| Order Created At (Eastern)                             | Reflects when the entity was first created in Solidus - Eastern Time Zone.                                                                                                                                                                                                                          |
| Order Created At (Mountain)                            | Reflects when the entity was first created in Solidus - Mountain Time Zone.                                                                                                                                                                                                                         |
| Order Created At (Pacific)                             | Reflects when the entity was first created in Solidus - Pacific Time Zone.                                                                                                                                                                                                                          |
| Order Created At (Universal)                           | Reflects when the entity was first created in Solidus - Universal Time Zone.                                                                                                                                                                                                                        |
| Order First Fulfillment Fulfilled At (Universal)       | Timestamp at which the first shipment for that order was shipped - Universal Time Zone.                                                                                                                                                                                                             |
| Order Last Adjustment Refund At (Universal)            | Timestamp of the last return adjustment for an order - Universal Time Zone.                                                                                                                                                                                                                         |
| Order Last Adjustment Replacement At (Universal)       | Timestamp of the last replacement adjustment for an order - Universal Time Zone.                                                                                                                                                                                                                    |
| Order Last Fulfillment Fulfilled At (Universal)        | Timestamp at which the last shipment for that order was shipped - Universal Time Zone.                                                                                                                                                                                                              |
| Order Updated At (Universal)                           | Reflects when the entity was last updated in Solidus - Universal Time Zone.                                                                                                                                                                                                                         |
| Referral Converted At (Universal)                      | Reflects when the referral entity was first converted in Solidus - Universal Time Zone.                                                                                                                                                                                                             |
| Referral Created At (Universal)                        | Reflects when the entity was first created in Solidus - Universal Time Zone.                                                                                                                                                                                                                        |
| Referral Updated At (Universal)                        | Reflects when the entity was last updated in Solidus - Universal Time Zone.                                                                                                                                                                                                                         |
| Referrer Created At (Universal)                        | Reflects when the entity was first created in Solidus - Universal Time Zone.                                                                                                                                                                                                                        |
| Referrer Updated At (Universal)                        | Reflects when the entity was last updated in Solidus - Universal Time Zone.                                                                                                                                                                                                                         |
| Shipping Address Created At (Universal)                | Timestamp at which the address row was created - Universal Time Zone.                                                                                                                                                                                                                               |
| Shipping Address Updated At (Universal)                | Timestamp at which the address row was last updated - Universal Time Zone.                                                                                                                                                                                                                          |
| Subscription Actionable Date (Universal)               | The date of the next subscription installment. This date is updated after each successful installment. Subscriptions in an inactive state will be null - Universal Time Zone.                                                                                                                       |
| Subscription Created At (Universal)                    | Reflects when the entity was first created in Solidus - Universal Time Zone.                                                                                                                                                                                                                        |
| Subscription First Order Completed At (Universal)      | The timestamp of the subscription's first completed order - Universal Time Zone.                                                                                                                                                                                                                    |
| Subscription Last Order Completed At (Universal)       | The timestamp of the subscription's last completed order - Universal Time Zone.                                                                                                                                                                                                                     |
| Subscription Updated At (Universal)                    | Reflects when the entity was last updated in Solidus - Universal Time Zone.                                                                                                                                                                                                                         |
| User Created At (Universal)                            | Timestamp at which the users row was created - Universal Time Zone.                                                                                                                                                                                                                                 |
| User Date Of Birth (Universal)                         | Date of birth of the user - Universal Time Zone.                                                                                                                                                                                                                                                    |
| User Deleted At (Universal)                            | Timestamp at which the user's account was deleted - Universal Time Zone.                                                                                                                                                                                                                            |
| User First Order Completed At (Universal)              | The timestamp of the user's first completed order - Universal Time Zone.                                                                                                                                                                                                                            |
| User First Subscription Order Completed At (Universal) | The timestamp of the user's first completed subscription order, regardless of subsequent subscriptions - Universal Time Zone.                                                                                                                                                                       |
| User Last Order Completed At (Universal)               | The timestamp of the user's last completed order - Universal Time Zone.                                                                                                                                                                                                                             |
| User Last Sign In At (Universal)                       | The last sign in timestamp for the user - Universal Time Zone.                                                                                                                                                                                                                                      |
| User Updated At (Universal)                            | Timestamp at which the users row was last updated - Universal Time Zone.                                                                                                                                                                                                                            |
| Average Additional Tax Total                           | Total additional taxes for an order.                                                                                                                                                                                                                                                                |
| Average Adjustment Fulfillment Tax Total               | Total adjustment shipment taxes for an order.                                                                                                                                                                                                                                                       |
| Average Adjustment Fulfillment Total                   | Total shipment adjustments applied to an order.                                                                                                                                                                                                                                                     |
| Average Adjustment Other Charges Total                 | Total of included additional adjustment charges paid for an order.                                                                                                                                                                                                                                  |
| Average Adjustment Other Credits Total                 | Total of credits issued for an order.                                                                                                                                                                                                                                                               |
| Average Adjustment Refund Total                        | Total of return dollars for an order.                                                                                                                                                                                                                                                               |
| Average Adjustment Replacement Total                   | Total of replacement dollars for an order.                                                                                                                                                                                                                                                          |
| Average Adjustment Rma Refund Total                    | Total of refund dollards associated to an order that was returned via the RMA functionality of the Chord OMS.                                                                                                                                                                                       |
| Average Adjustment Tax Total                           | Total adjustment taxes an order.                                                                                                                                                                                                                                                                    |
| Average Adjustment Total                               | Total of adjustment applied for an order as on the order.                                                                                                                                                                                                                                           |
| Average Applied Gift Card Total                        | Total of gift card dollars that were used as a payment method in the order                                                                                                                                                                                                                          |
| Average Commission Total                               | Commission for an order.                                                                                                                                                                                                                                                                            |
| Average Fulfillment Total                              | Total shipment for an order.                                                                                                                                                                                                                                                                        |
| Average Gross Revenue                                  | Gross amount of revenue generated by the order including items and shipments totals. Gross revenue = total - included\_tax\_total + shipment\_total - purchased\_gift\_card\_total - pre-payment subscription purchase amount                                                                       |
| Average Included Tax Total                             | Total included taxes for an order.                                                                                                                                                                                                                                                                  |
| Average Item Total                                     | Total price for the order before adjustments.                                                                                                                                                                                                                                                       |
| Average Net Revenue                                    | Net revenue generated by the order's items after promotions. Net revenue = total - included\_tax\_total + shipment\_total + adjustment\_total - additional\_tax\_total - purchased\_gift\_card\_total - pre-payment subscription purchase amount                                                    |
| Average Pre Paid Purchase Total                        | The amount of the order that was purchased as a pre-payment; this could be a gift subscription, pre-pay subscription, or gift card.                                                                                                                                                                 |
| Average Pre Paid Redemption Total                      | The amount of the order that was the redemption of a pre-payment; this could be the redemption of a gift subscription, pre-pay subscription, or gift card.                                                                                                                                          |
| Average Promo Total                                    | Promotions applied to an order.                                                                                                                                                                                                                                                                     |
| Average Purchased Gift Card Total                      | Total of gift card dollars that were purchased in the order.                                                                                                                                                                                                                                        |
| Average Reimbursement Credit Total                     | The amount of store credits owed back in an order                                                                                                                                                                                                                                                   |
| Average Tax Total                                      | Total taxes for an order.                                                                                                                                                                                                                                                                           |
| Average Total Price                                    | Total to be paid by the customer for an order.                                                                                                                                                                                                                                                      |
| Average Transaction Total                              | Total paid by the customer for a completed order.                                                                                                                                                                                                                                                   |
| Additional Tax Total                                   | Total additional taxes for an order.                                                                                                                                                                                                                                                                |
| Adjustment Fulfillment Tax Total                       | Total adjustment shipment taxes for an order.                                                                                                                                                                                                                                                       |
| Adjustment Fulfillment Total                           | Total shipment adjustments applied to an order.                                                                                                                                                                                                                                                     |
| Adjustment Other Charges Total                         | Total of included additional adjustment charges paid for an order.                                                                                                                                                                                                                                  |
| Adjustment Other Credits Total                         | Total of credits issued for an order.                                                                                                                                                                                                                                                               |
| Adjustment Refund Total                                | Total of return dollars for an order.                                                                                                                                                                                                                                                               |
| Adjustment Replacement Total                           | Total of replacement dollars for an order.                                                                                                                                                                                                                                                          |
| Adjustment Rma Refund Total                            | Total of refund dollards associated to an order that was returned via the RMA functionality of the Chord OMS.                                                                                                                                                                                       |
| Adjustment Tax Total                                   | Total adjustment taxes an order.                                                                                                                                                                                                                                                                    |
| Adjustment Total                                       | Total of adjustment applied for an order as on the order.                                                                                                                                                                                                                                           |
| Applied Gift Card Total                                | Total of gift card dollars that were used as a payment method in the order                                                                                                                                                                                                                          |
| Commission Total                                       | Commission for an order.                                                                                                                                                                                                                                                                            |
| Fulfillment Total                                      | Total shipment for an order.                                                                                                                                                                                                                                                                        |
| Gross Revenue                                          | Gross amount of revenue generated by the order including items and shipments totals. Gross revenue = total - included\_tax\_total + shipment\_total - purchased\_gift\_card\_total - pre-payment subscription purchase amount                                                                       |
| Included Tax Total                                     | Total included taxes for an order.                                                                                                                                                                                                                                                                  |
| Item Total                                             | Total price for the order before adjustments.                                                                                                                                                                                                                                                       |
| Net Revenue                                            | Net revenue generated by the order's items after promotions. Net revenue = total - included\_tax\_total + shipment\_total + adjustment\_total - additional\_tax\_total - purchased\_gift\_card\_total - pre-payment subscription purchase amount                                                    |
| Pre Paid Purchase Total                                | The amount of the order that was purchased as a pre-payment; this could be a gift subscription, pre-pay subscription, or gift card.                                                                                                                                                                 |
| Pre Paid Redemption Total                              | The amount of the order that was the redemption of a pre-payment; this could be the redemption of a gift subscription, pre-pay subscription, or gift card.                                                                                                                                          |
| Total Price                                            | Total to be paid by the customer for an order.                                                                                                                                                                                                                                                      |
| Promo Total                                            | Promotions applied to an order.                                                                                                                                                                                                                                                                     |
| Purchased Gift Card Total                              | Total of gift card dollars that were purchased in the order.                                                                                                                                                                                                                                        |
| Reimbursement Credit Total                             | The amount of store credits owed back in an order                                                                                                                                                                                                                                                   |
| Tax Total                                              | Total taxes for an order.                                                                                                                                                                                                                                                                           |
| Transaction Total                                      | Total paid by the customer for a completed order.                                                                                                                                                                                                                                                   |

### x\_fct\_trans\_sessions

| Name                                         | Description                                                                                                                                                                                                                                                                                                                          |
| -------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Anonymous Completed Oms Order Ids            | Array of OMS Order IDs associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                           |
| Anonymous Completed Order Ids                | Array of order IDs associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                               |
| Anonymous Completed Order Numbers            | Array of order numbers associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                           |
| Anonymous Current Blended User Id            | Unique id derived from the user\_id and the anonymous\_id. Whenever a customer has a user\_id, the user\_anonymous\_id will be constant for                                                                                                                                                                                          |
| Anonymous Current User Id                    | The current user\_id associated with the anonymous\_id. This unique user\_id is created by Segment's Identify call. A user\_id can be associated to many anonymous\_ids.                                                                                                                                                             |
| Anonymous Id                                 | Unique id created by Chord for each anonymous visitor per store.                                                                                                                                                                                                                                                                     |
| Anonymous Segment Anonymous Id               | Id created by Segment for each anonymous visitor. This id gets created as soon as a customer's browser loads the analytics javascript widget. The anonymous\_id remains unchanged through the entire browsing session from a single device. Depending on configuration, two stores connected stores may have the same anonymous\_id. |
| Anonymous Unique User Ids                    | Array of user IDs mapped to an anonymous ID.                                                                                                                                                                                                                                                                                         |
| Attribution Point First Touch                | The first session associated with the user prior to conversion receives 100% of the attribution, all other sessions recieve 0 points. Reflected with a value of 0 or 1.                                                                                                                                                              |
| Attribution Point Forty Twenty Forty         | The first and last sessions associated with the user prior to conversion receive 40% of the attribution points each, the remaining middle-touch sessions receive an equal portion of the 20%; 0.4, 0.4, and 0.2/number of remaining sessions.                                                                                        |
| Attribution Point Id                         | Sessions for a user that occor prior to conversion, or first completed order.                                                                                                                                                                                                                                                        |
| Attribution Point Last Touch                 | The last session associated with the user prior to conversion receives 100% of the attribution, all other sessions recieve 0 points. Reflected with a value of 0 or 1.                                                                                                                                                               |
| Attribution Point Linear                     | All sessions for the user prior to conversion recieve an equal percentage of the attribution points; calculated as 1.0 / number of sessions                                                                                                                                                                                          |
| End Date Day Num Of Year                     | The number representing the day of the year.                                                                                                                                                                                                                                                                                         |
| End Date Id                                  | Unique key that uniquify a date.                                                                                                                                                                                                                                                                                                     |
| End Date Month Num Of Year                   | The month number of the year.                                                                                                                                                                                                                                                                                                        |
| Landing Page Browser Locale                  | Locale of browser.                                                                                                                                                                                                                                                                                                                   |
| Landing Page Device                          | The device on which the event was sent from.                                                                                                                                                                                                                                                                                         |
| Landing Page Device Category                 | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                            |
| Landing Page Event Table Name                | The properly formatted name of the table of the event.                                                                                                                                                                                                                                                                               |
| Landing Page Event Text                      | The name of the event.                                                                                                                                                                                                                                                                                                               |
| Landing Page Event Text Id                   | The slug of the event name, mapping to the page or track event table.                                                                                                                                                                                                                                                                |
| Landing Page Gclid                           | The Google Click ID. Google Click ID (GCLID) is a parameter passed in the URL with ad clicks, to identify the campaign and other attributes of the click associated with the ad for ad tracking and campaign attribution.                                                                                                            |
| Landing Page Id                              | Unique key generated by Segment for each tracking or page event.                                                                                                                                                                                                                                                                     |
| Landing Page Oms Id                          | Unique key generated by our models that uniquifies an OMS.                                                                                                                                                                                                                                                                           |
| Landing Page Host                            | The host of the event's URL. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev` . This facilitates grouping events by host.                                                                                                                                                       |
| Landing Page Path                            | The page path part of the URL. A page path is the part of URL that comes after the hostname (domain) and before the query parameters, URL fragment, or port. (e.g. `/pages/contact-us/` for `https://chord.co/pages/contact-us/?ref=internal-banner`.)                                                                               |
| Landing Page Query                           | The query string portion of the URL of the page.                                                                                                                                                                                                                                                                                     |
| Landing Page Referrer                        | The referrer of the page. The referrer is the webpage that sends visitors to the site using a link. In                                                                                                                                                                                                                               |
| Landing Page Title                           | The title/name of the page.                                                                                                                                                                                                                                                                                                          |
| Landing Page Url                             | The URL of the page.                                                                                                                                                                                                                                                                                                                 |
| Landing Page Referrer Host                   | The host of the referrer. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev` . This facilitates grouping events by host.                                                                                                                                                          |
| Landing Page Segment User Id                 | The unique ID of the user.                                                                                                                                                                                                                                                                                                           |
| Landing Page Store Id                        | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Landing Page Tenant Id                       | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                              |
| Landing Page User Agent                      | The User agent of the device making the request. A User agent request header is a characteristic string that lets servers and                                                                                                                                                                                                        |
| Landing Page User Id                         | Unique key generated by Chord to identify the user.                                                                                                                                                                                                                                                                                  |
| Landing Page Utm Campaign                    | The campaign name represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Landing Page Utm Content                     | The campaign content represented by the UTM tags.                                                                                                                                                                                                                                                                                    |
| Landing Page Utm Medium                      | The campaign medium represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Landing Page Utm Source                      | The campaign source represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Landing Page Utm Term                        | The campaign term represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Landing Page Website Locale                  | Locale of website. This will either be collected from the url or from the drop-down link on the store                                                                                                                                                                                                                                |
| Last Page Browser Locale                     | Locale of browser.                                                                                                                                                                                                                                                                                                                   |
| Last Page Device                             | The device on which the event was sent from.                                                                                                                                                                                                                                                                                         |
| Last Page Device Category                    | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                            |
| Last Page Event Table Name                   | The properly formatted name of the table of the event.                                                                                                                                                                                                                                                                               |
| Last Page Event Text                         | The name of the event.                                                                                                                                                                                                                                                                                                               |
| Last Page Event Text Id                      | The slug of the event name, mapping to the page or track event table.                                                                                                                                                                                                                                                                |
| Last Page Gclid                              | The Google Click ID. Google Click ID (GCLID) is a parameter passed in the URL with ad clicks, to identify the campaign and other attributes of the click associated with the ad for ad tracking and campaign attribution.                                                                                                            |
| Last Page Id                                 | Unique key generated by Segment for each tracking or page event.                                                                                                                                                                                                                                                                     |
| Last Page Oms Id                             | Unique key generated by our models that uniquifies an OMS.                                                                                                                                                                                                                                                                           |
| Last Page Host                               | The host of the event's URL. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                        |
| Last Page Path                               | The page path part of the URL. A page path is the part of URL that comes after the hostname (domain) and before the query parameters, URL fragment, or port. (e.g. `/pages/contact-us/` for `https://chord.co/pages/contact-us/?ref=internal-banner`.)                                                                               |
| Last Page Query                              | The query string portion of the URL of the page.                                                                                                                                                                                                                                                                                     |
| Last Page Referrer                           | The referrer of the page. The referrer is the webpage that sends visitors to the site using a link. In                                                                                                                                                                                                                               |
| Last Page Title                              | The title/name of the page.                                                                                                                                                                                                                                                                                                          |
| Last Page Url                                | The URL of the page.                                                                                                                                                                                                                                                                                                                 |
| Last Page Referrer Host                      | The host of the referrer. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                           |
| Last Page Segment User Id                    | The unique ID of the user.                                                                                                                                                                                                                                                                                                           |
| Last Page Store Id                           | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Last Page Tenant Id                          | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                              |
| Last Page User Agent                         | The User agent of the device making the request. A User agent request header is a characteristic string that lets servers and                                                                                                                                                                                                        |
| Last Page User Id                            | Unique key generated by Chord to identify the user.                                                                                                                                                                                                                                                                                  |
| Last Page Utm Campaign                       | The campaign name represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Last Page Utm Content                        | The campaign content represented by the UTM tags.                                                                                                                                                                                                                                                                                    |
| Last Page Utm Medium                         | The campaign medium represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Last Page Utm Source                         | The campaign source represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Last Page Utm Term                           | The campaign term represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Last Page Website Locale                     | Locale of website. This will either be collected from the url or from the drop-down link on the store                                                                                                                                                                                                                                |
| Session Activity Count                       | Total count of activities, pave views and tracked events within the session.                                                                                                                                                                                                                                                         |
| Session Attribution Channel                  | The attribution channel for the first page event of the session. Sessions with an attribution of 'Unknown' indicates that there is no attributable data for that session.                                                                                                                                                            |
| Session Attribution Channel Paid Or Organic  | Indicates if the session's first page attribution is paid or organic. Attribution is considered Organic if the attribution channel is 'Direct', 'Other', 'Organic Search', 'Organic Social', 'Email', or 'SMS'.                                                                                                                      |
| Session Attribution First Page Url Has Gclid | Indicates if the first page event of the session has a Google Click ID.                                                                                                                                                                                                                                                              |
| Session Attribution First Page Url Has Utm   | Indicates if the first page event of the session has any utm information.                                                                                                                                                                                                                                                            |
| Session Attribution Has Referrer             | Indicates if the first page event of the session has a referrer host.                                                                                                                                                                                                                                                                |
| Session Attribution Medium                   | The campaign medium represented by the UTM tags for the first page event of the session.                                                                                                                                                                                                                                             |
| Session Attribution Source                   | The campaign source represented by the UTM tags for the first page event of the session.                                                                                                                                                                                                                                             |
| Session Attribution Sub Channel              | Sub-Channel is a granular level of attribution.                                                                                                                                                                                                                                                                                      |
| Session Completed Oms Order Ids              | Array of OMS Order IDs associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                        |
| Session Completed Order Ids                  | Array of order IDs associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                            |
| Session Completed Order Numbers              | Array of order numbers associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                        |
| Session Days Since Last Session End          | The days between the last session's end and the start of this session.                                                                                                                                                                                                                                                               |
| Session Device                               | The device on which the event was sent from.                                                                                                                                                                                                                                                                                         |
| Session Device Category                      | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                            |
| Session Duration In Seconds                  | Total seconds between start and end activities within the session.                                                                                                                                                                                                                                                                   |
| Session Duration In Seconds Tiers            | Total seconds between start and end activities within the session, aggregated into tiers: 0-9s, 10-29s, 30-59s, and 60s or more.                                                                                                                                                                                                     |
| Session Has Order Completion                 | Flag for sessions with an order completed or checkout completed front-end events                                                                                                                                                                                                                                                     |
| Session Id                                   | Unique ID for the session.                                                                                                                                                                                                                                                                                                           |
| Session Number                               | Session number per anonymous id.                                                                                                                                                                                                                                                                                                     |
| Session Unique Completed Order Count         | Count of unique order ids associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                     |
| Session Unique Completed Order Number Count  | Count of unique order numbers associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                 |
| Start Date Day Num Of Year                   | The number representing the day of the year.                                                                                                                                                                                                                                                                                         |
| Start Date Id                                | Unique key that uniquify a date.                                                                                                                                                                                                                                                                                                     |
| Start Date Month Num Of Year                 | The month number of the year.                                                                                                                                                                                                                                                                                                        |
| Store Id                                     | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Store Name                                   | The name of the store.                                                                                                                                                                                                                                                                                                               |
| Store Oms Admin Url                          | The Admin URL of that OMS.                                                                                                                                                                                                                                                                                                           |
| Store Oms Id                                 | Unique key generated by Chord that uniquifies an OMS.                                                                                                                                                                                                                                                                                |
| Store Oms Store Id                           | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Store Oms Type                               | The type of the OMS.                                                                                                                                                                                                                                                                                                                 |
| Store Id                                     | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Store Tenant Id                              | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                              |
| Store Url                                    | The Storefront URL of of the store.                                                                                                                                                                                                                                                                                                  |
| User Address 1                               | The first line of the street address.                                                                                                                                                                                                                                                                                                |
| User Address 2                               | The optional second line of the address.                                                                                                                                                                                                                                                                                             |
| User Address City                            | The city of the address.                                                                                                                                                                                                                                                                                                             |
| User Address Country                         | The country of the address.                                                                                                                                                                                                                                                                                                          |
| User Address Name                            | The full name of the customer, based on firstName and lastName.                                                                                                                                                                                                                                                                      |
| User Address State                           | The region of the address, such as the province, state, or district.                                                                                                                                                                                                                                                                 |
| User Address Zip                             | The postal code of the address.                                                                                                                                                                                                                                                                                                      |
| User Completed Oms Order Ids                 | Array of OMS Order IDs associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                |
| User Completed Order Ids                     | Array of order IDs associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                    |
| User Completed Order Numbers                 | Array of order numbers associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                |
| User Email                                   | The email associated with the user.                                                                                                                                                                                                                                                                                                  |
| User Id                                      | Unique ID per user. It is equal to either 1) a identified\_user\_id as identified by Segment in the Identify call, or 2) an anonynous\_id.                                                                                                                                                                                           |
| User Identified User Id                      | Unique ID per identified user. (See Segment's documentation on user\_id)\[ `https://segment.com/docs/connections/spec/identify/#user-id` ].                                                                                                                                                                                          |
| User Ip                                      | IP address associated with the user.                                                                                                                                                                                                                                                                                                 |
| User Last Anonymous Id                       | Last seen anonymous\_id per user. An `anonymous_id`  is a unique ID per anonymous visitor. (See Segment's documentation on anonymous\_id)\[ `https://segment.com/docs/connections/spec/identify/#anonymous-id` ].                                                                                                                    |
| User Last Segment Anonymous Id               | This column is not documented.                                                                                                                                                                                                                                                                                                       |
| User Segment User Id                         | The unique ID of the user.                                                                                                                                                                                                                                                                                                           |
| User Unique Anonymous Ids                    | Array of all seen anonymous\_ids per user. An `anonymous_id` is a unique ID per anonymous visitor. (See Segment's documentation on anonymous\_id)\[ `https://segment.com/docs/connections/spec/identify/#anonymous-id` ].                                                                                                            |
| User Unique Completed Order Count            | Count of unique order ids associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                             |
| End Ts (Universal)                           | Last activity timestamp for a session - Universal Time Zone.                                                                                                                                                                                                                                                                         |
| Landing Page Ts (Universal)                  | The timestamp calculated by Segment correcting clock skew - Universal Time Zone.                                                                                                                                                                                                                                                     |
| Last Page Ts (Universal)                     | The timestamp calculated by Segment correcting clock skew - Universal Time Zone.                                                                                                                                                                                                                                                     |
| Session End Ts (Universal)                   | Last activity timestamp for a session - Universal Time Zone.                                                                                                                                                                                                                                                                         |
| Session Last Session End Ts (Universal)      | The timestamp of the previous session's end per blended user id, if this is not the user's first session - Universal Time Zone.                                                                                                                                                                                                      |
| Session Last Session Start Ts (Universal)    | The timestamp of the previous session's start per blended user id, if this is not the user's first session - Universal Time Zone.                                                                                                                                                                                                    |
| Session Start Ts (Central)                   | First activity timestamp for a session - Cental Time Zone.                                                                                                                                                                                                                                                                           |
| Session Start Ts (Eastern)                   | First activity timestamp for a session - Eastern Time Zone.                                                                                                                                                                                                                                                                          |
| Session Start Ts (Mountain)                  | First activity timestamp for a session - Mountain Time Zone.                                                                                                                                                                                                                                                                         |
| Session Start Ts (Pacific)                   | First activity timestamp for a session - Pacific Time Zone.                                                                                                                                                                                                                                                                          |
| Session Start Ts (Universal)                 | First activity timestamp for a session - Universal Time Zone.                                                                                                                                                                                                                                                                        |
| Start Ts (Central)                           | First activity timestamp for a session - Cental Time Zone.                                                                                                                                                                                                                                                                           |
| Start Ts (Eastern)                           | First activity timestamp for a session - Eastern Time Zone.                                                                                                                                                                                                                                                                          |
| Start Ts (Mountain)                          | First activity timestamp for a session - Mountain Time Zone.                                                                                                                                                                                                                                                                         |
| Start Ts (Pacific)                           | First activity timestamp for a session - Pacific Time Zone.                                                                                                                                                                                                                                                                          |
| Start Ts (Universal)                         | First activity timestamp for a session - Universal Time Zone.                                                                                                                                                                                                                                                                        |
| User Created At (Universal)                  | The timestamp when the user was created - Universal Time Zone.                                                                                                                                                                                                                                                                       |
| User First Seen At (Universal)               | The first time the user was seen on the site, identified as either anonymous ID or user ID - Universal Time Zone.                                                                                                                                                                                                                    |

### user\_completed\_order\_numbers

| Name                         | Description                  |
| ---------------------------- | ---------------------------- |
| User Completed Order Numbers | User completed order numbers |


[title] User Attribution on Chord
[path] Chord Data Platform/Data Models/Marketing Attribution/

:::hint{type="info"}
This is our original marketing attribution explore. It was previously called the ***Marketing Attribution Explore***.
:::

## Introduction

On Chord, user attribution is the process of determining which marketing channel, campaign, or touchpoint led to a specific purchase at the user level. **A brand should select this attribution Explore when they want to better analyze when a user became a customer (i.e. when someone made a purchase)**. It helps you understand what drove a customer to *convert*—whether that was an ad, an email, a discount code, or another action right before the sale.

Based on the specific attribution points selected (first-touch, last-touch, linear, or 40-20-40), Chord will attribute revenue metrics based on when the user converts (i.e. makes a purchase).

You can use Chord’s User Attribution Explore when:

- You're tracking customer acquisition or lifecycle journeys.
- You want to understand which sources or campaigns brought in high-value or loyal customers.
- You're segmenting customers by first touch or most recent meaningful engagement.

## Getting Started

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-iwnqujpfI5syVKKaR2GyZ-20250625-194714.png)

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-NHEWAfN4o-SAGsUs6D2W3-20250625-194737.png)

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-1S_KoGbM_QnFhoDDBEw46-20250625-194747.png)

1. Log into the Chord Commerce Data Platform.
2. Navigate to your **Analytics** page.
3. Click the **Explores** tab.
4. Select the **Marketing Attribution - User Attribution** item in the dropdown menu (see first image).
5. Navigate to the **User Attribution** Field list on the lefthand side to access the new **attribution point** dimensions (see second image).
6. Select an attribution point dimension applicable to your analysis.
7. Additionally, if you’d like to use different attribution measures, you can select attribution measures under the measures list on the lefthand navigation pane (see third image).

:::hint{type="info"}
For more information on the differences between **Dimensions&#x20;**&#x61;nd **Measures**, click [here](https://docs.chord.co/glossary#CiE5u).
:::




[title] Receiving Data from Chord via Cloud Storage
[path] Chord Data Platform/Overview/

# Introduction

This guide provides step-by-step instructions for integrating external cloud storage services to Chord's data warehouse (Snowflake). We delegate authentication to Snowflake-managed identities, eliminating the need to manage credentials directly.

We recommend creating a specific bucket specifically to receive data.

Below you'll find instructions for connecting either AWS S3, Google Cloud Storage or Azure Blob Storage services to Chord's data warehouse (Snowflake).

# Configuring an integration for AWS S3

This sections describes how to configure secure access to data files stored in an AWS S3 bucket.

1. Create an IAM Policy that has the permissions required to access the bucket and write objects:

:::Paragraph{indent="3"}
a. Log into the AWS Management Console.
:::

:::Paragraph{indent="3"}
b. From the home dashboard, search for and select **IAM.**
:::

:::Paragraph{indent="3"}
c. From the left-hand navigation pane, select **Account settings.**
:::

:::Paragraph{indent="3"}
d. Under **Security Token Service (STS)** in the Endpoints list, find the **United States (N. Virginia)** (i.e., `us-east-1`) region. If the **STS status** is inactive, move the toggle to **Active**.
:::

:::Paragraph{indent="3"}
e. Select **Create Policy.**
:::

:::Paragraph{indent="3"}
f. For **Policy editor**, select **JSON.**
:::

:::Paragraph{indent="3"}
g. Add a policy document that will allow Chord to access the S3 bucket and folder. The following policy (in JSON format) provides Chord with the required permissions to write data using a single bucket and folder path. Copy and paste the text into the policy editor:
:::

:::CodeblockTabs{indent="3"}
```javascript
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
              "s3:GetObject",
              "s3:GetObjectVersion",
              "s3:PutObject",
              "s3:DeleteObject"
            ],
            "Resource": "arn:aws:s3:::<bucket>/<prefix>/*"
        },
        {
            "Effect": "Allow",
            "Action": [
                "s3:ListBucket",
                "s3:GetBucketLocation"
            ],
            "Resource": "arn:aws:s3:::<bucket>",
            "Condition": {
                "StringLike": {
                    "s3:prefix": [
                        "<prefix>/*"
                    ]
                }
            }
        }
    ]
}
```
:::

:::Paragraph{indent="3"}
h. Select **Next.**
:::

:::Paragraph{indent="3"}
i. Enter a **Policy name** and an optional Description.
:::

:::Paragraph{indent="3"}
j. Select **Create policy.**
:::

2. Create an IAM Role and attach the custom IAM role:

:::Paragraph{indent="3"}
a. From the left-hand navigation pane in the Identity and Access Management (IAM) Dashboard, select **Roles.**
:::

:::Paragraph{indent="3"}
b. Select **Create role.**
:::

:::Paragraph{indent="3"}
c. Select **AWS account** as the trusted entity type.
:::

:::Paragraph{indent="3"}
d. Select **Another AWS account.**
:::

:::Paragraph{indent="3"}
e. In the **Account ID** field, enter your own AWS account ID temporarily. Later, you will modify the trust relationship and grant access to Snowflake.
:::

:::Paragraph{indent="3"}
f. Select the **Require external ID&#x20;**&#x6F;ption. An external ID is used to grant access to your AWS resources (such as S3 buckets) to a third party like Snowflake. Enter a placeholder ID such as `0000`. In a later step, you will modify the trust relationship for your IAM role and specify the external ID that Chord will provide.
:::

:::Paragraph{indent="3"}
g. Select **Next.**
:::

:::Paragraph{indent="3"}
h. Select the IAM Policy you created in the previous step.
:::

:::Paragraph{indent="3"}
i. Select **Next.**
:::

:::Paragraph{indent="3"}
j. Enter a name and description for the role, then select **Create role**.You have now created an IAM policy, IAM role and attached the policy to the role.
:::

:::Paragraph{indent="3"}
k. On the role summary page, locate and record the **Role ARN** value. You will need to provide Chord this ARN to complete the next steps.
:::

3. Provide Chord the IAM Role ARN and bucket name. The full bucket name is a URL that will look like the following: `s3://my-cool-bucket/`.
4. Once your bucket name and IAM Role ARN is confirmed, Chord will provide an IAM User ARN and an AWS External ID
5. Grant the IAM User permissions to access bucket objects:

:::Paragraph{indent="3"}
a. Sign in to the AWS Management Console
:::

:::Paragraph{indent="3"}
b. Select **IAM**
:::

:::Paragraph{indent="3"}
c. From the left-hand navigation pane, select **Roles**
:::

:::Paragraph{indent="3"}
d. Select the IAM Role you created in the previous step
:::

:::Paragraph{indent="3"}
e. Select the **Trust relationships** tab
:::

:::Paragraph{indent="3"}
f. Select **Edit trust policy**
:::

:::Paragraph{indent="3"}
g. Modify the policy document with the values provided by Chord. This includes IAM User ARN and External ID.
:::

:::CodeblockTabs{indent="3"}
```javascript
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "",
      "Effect": "Allow",
      "Principal": {
        "AWS": "<user_arn>"
      },
      "Action": "sts:AssumeRole",
      "Condition": {
        "StringEquals": {
          "sts:ExternalId": "<external_id>"
        }
      }
    }
  ]
}
```
:::

:::Paragraph{indent="3"}
h. Select **Update policy** to save your changes.
:::

# Configuring an integration for Google Cloud Storage

This sections describes how to configure secure access to data files stored in a Google Cloud Storage bucket.

1. Provide Chord with your GCS `bucket` name. The bucket name is the name of the Cloud Storage bucket that stores your data files. The full bucket name is a URL that will look like the following: `gcs://my-cool-bucket/`.
2. Once your `bucket` name is confirmed, Chord will provide you a Cloud Storage service account name to be used in the following steps.
3. Create a custom role that has the permissions required to access the bucket and write objects:

:::Paragraph{indent="3"}
a. Sign in to the Google Cloud console as a project editor.
:::

:::Paragraph{indent="3"}
b. From the home dashboard, select **IAM & Admin** » **Roles**
:::

:::Paragraph{indent="3"}
c. Select **Create Role.**
:::

:::Paragraph{indent="3"}
d. Enter a **Title** and optional **Description** for the custom role.
:::

:::Paragraph{indent="3"}
e. Select **Add Permissions.**
:::

:::Paragraph{indent="3"}
f. Filter the list of permissions, and add the following from the list: `storage.buckets.get`, `storage.objects.get`, `storage.objects.list`, `storage.objects.create` and `storage.objects.delete`
:::

:::Paragraph{indent="3"}
g. Select **Add.**
:::

:::Paragraph{indent="3"}
h. Select **Create.**
:::

4. Assign the custom role to the Cloud Storage Service Account:

:::Paragraph{indent="3"}
a. Sign in to the Google Cloud console as a project editor.
:::

:::Paragraph{indent="3"}
b. From the home dashboard, select **Cloud Storage** » **Buckets**
:::

:::Paragraph{indent="3"}
c. Filter the list of buckets, and select the in-scope bucket.
:::

:::Paragraph{indent="3"}
d. Select **Permissions** » **View by principals**, then select **Grant access.**
:::

:::Paragraph{indent="3"}
e. Under **Add principals**, paste the name of the service account name provided by Chord.
:::

:::Paragraph{indent="3"}
f. Under **Assign roles**, select the custom IAM role that you created previously, then select **Save.**
:::

5. (Optional) Grant the Cloud Storage service account permissions on the Cloud Key Management Service cryptographic keys:

:::hint{type="info" indent="2"}
This step is required ***only if&#x20;*** your GCS bucket is encrypted using a key stored in the Google Cloud Key Management Service (Cloud KMS).
:::

:::Paragraph{indent="3"}
a. Sign in to the Google Cloud console as a project editor.
:::

:::Paragraph{indent="3"}
b. From the home dashboard, search for and select **Security** » **Key Management.**
:::

:::Paragraph{indent="3"}
c. Select the key ring that is assigned to your GCS bucket.
:::

:::Paragraph{indent="3"}
d. Click **SHOW INFO PANEL** in the upper-right corner. The information panel for the key ring slides out.
:::

:::Paragraph{indent="3"}
e. Click the **ADD PRINCIPAL** button.
:::

:::Paragraph{indent="3"}
f. In the **New principals** field, search for the service account name provided by Chord.
:::

:::Paragraph{indent="3"}
g. From the **Select a role** dropdown, select the "Cloud KMS CrytoKey Encryptor/Decryptor role".
:::

:::Paragraph{indent="3"}
h. Click the **Save** button. The service account name is added to the **Cloud KMS CrytoKey Encryptor/Decryptor role** dropdown in the information panel.
:::

# Configuring an integration for Microsoft Azure Blob Storage

This sections describes how to configure secure access to data files stored in Microsoft Azure Blob Storage.

1. Provide Chord with your `tenant_id` and `container name`.
2. Once your `tenant_id` and `container name` are confirmed, Chord will provide a consent URL and app name.
3. In a web browser, navigate to the consent URL. The page displays a Microsoft permissions request page.
4. Click the **Accept** button. This action allows the Azure service principal created for Chord’s Snowflake account to be granted an access token on specified resources inside your tenant. Obtaining an access token succeeds only if you grant the service principal the appropriate permissions on the container (see the next step). The Microsoft permissions request page redirects to the Snowflake corporate site (snowflake.com).
5. Sign in to the Microsoft Azure portal.
6. Navigate to **Azure Services** » **Storage Accounts**. Click the name of the storage account you are granting the Snowflake service principal access to.
7. Click **Access Control (IAM)** » **Add role assignment**.
8. Select the desired role to grant to the Snowflake service principal: **Storage Blob Data Contributor grants read and write access**, allowing Snowflake to both load data from and unload data to the storage account.
9. Search for the Snowflake service principal. This is the identity in the app name property that we will provide.
10. Click the **Review + assign** button.

# Troubleshooting

:::hint{type="info"}
This document has been created for customer reference purposes. For the most up-to-date information, you may consult official Snowflake documentation:

- [AWS S3](https://docs.snowflake.com/en/user-guide/data-load-s3-config-storage-integration#configuring-secure-access-to-cloud-storage)
- [Google Cloud Storage](https://docs.snowflake.com/en/user-guide/data-load-gcs-config#step-3-grant-the-service-account-permissions-to-access-bucket-objects)
- [Microsoft Azure Blob Storage](https://docs.snowflake.com/en/user-guide/data-load-azure-config#step-2-grant-snowflake-access-to-the-storage-locations)
:::

# Recommended next steps

If you plan to use cloud storage integration to share data with Chord, we have some helpful recommendations for structuing data to faciliitate seemless data ingestion. See [Chord Data Source Ingestion Guidelines](docId\:XkTAjRAIlw5UnrQRmPAn9).


[title] Ads
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Salesforce/

### **x\_fct\_unions**

| Name                              | Description                                                                                                                                                                                                                                                                                   |
| --------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Account Name                      | The name of the ad account.                                                                                                                                                                                                                                                                   |
| Account Source Account Id         | The unique identifier of the ad account from the source dataset.                                                                                                                                                                                                                              |
| Account Updated At Date           | The timestamp of when an ad account was last updated in the database - Universal Time Zone.                                                                                                                                                                                                   |
| Account Updated At Month          | The timestamp of when an ad account was last updated in the database - Universal Time Zone.                                                                                                                                                                                                   |
| Account Updated At Quarter        | The timestamp of when an ad account was last updated in the database - Universal Time Zone.                                                                                                                                                                                                   |
| Account Updated At Time           | The timestamp of when an ad account was last updated in the database - Universal Time Zone.                                                                                                                                                                                                   |
| Account Updated At Week           | The timestamp of when an ad account was last updated in the database - Universal Time Zone.                                                                                                                                                                                                   |
| Account Updated At Year           | The timestamp of when an ad account was last updated in the database - Universal Time Zone.                                                                                                                                                                                                   |
| Ad Name                           | The name of the ad.                                                                                                                                                                                                                                                                           |
| Ad Source Ad Id                   | The unique identifier of the ad from the source dataset.                                                                                                                                                                                                                                      |
| Ad Status                         | The status of the ad.                                                                                                                                                                                                                                                                         |
| Ad Updated At Date                | The timestamp of when an ad was last updated in the database - Universal Time Zone.                                                                                                                                                                                                           |
| Ad Updated At Month               | The timestamp of when an ad was last updated in the database - Universal Time Zone.                                                                                                                                                                                                           |
| Ad Updated At Quarter             | The timestamp of when an ad was last updated in the database - Universal Time Zone.                                                                                                                                                                                                           |
| Ad Updated At Time                | The timestamp of when an ad was last updated in the database - Universal Time Zone.                                                                                                                                                                                                           |
| Ad Updated At Week                | The timestamp of when an ad was last updated in the database - Universal Time Zone.                                                                                                                                                                                                           |
| Ad Updated At Year                | The timestamp of when an ad was last updated in the database - Universal Time Zone.                                                                                                                                                                                                           |
| Ad Group Name                     | The name of the ad group or ad set of the ad.                                                                                                                                                                                                                                                 |
| Ad Group Source Ad Group Id       | The unique identifier of the ad group or ad set for the ad.                                                                                                                                                                                                                                   |
| Ad Group Status                   | Status of the ad group or ad set.                                                                                                                                                                                                                                                             |
| Ad Group Updated At Date          | The timestamp of when an ad group or ad set was last updated in the database - Universal Time Zone.                                                                                                                                                                                           |
| Ad Group Updated At Month         | The timestamp of when an ad group or ad set was last updated in the database - Universal Time Zone.                                                                                                                                                                                           |
| Ad Group Updated At Quarter       | The timestamp of when an ad group or ad set was last updated in the database - Universal Time Zone.                                                                                                                                                                                           |
| Ad Group Updated At Time          | The timestamp of when an ad group or ad set was last updated in the database - Universal Time Zone.                                                                                                                                                                                           |
| Ad Group Updated At Week          | The timestamp of when an ad group or ad set was last updated in the database - Universal Time Zone.                                                                                                                                                                                           |
| Ad Group Updated At Year          | The timestamp of when an ad group or ad set was last updated in the database - Universal Time Zone.                                                                                                                                                                                           |
| Campaign Advertising Channel Type | The type of advertising channel being used by the campaign.                                                                                                                                                                                                                                   |
| Campaign End Date Date            | The date when the ad campaign ends - Universal Time Zone.                                                                                                                                                                                                                                     |
| Campaign End Date Month           | The date when the ad campaign ends - Universal Time Zone.                                                                                                                                                                                                                                     |
| Campaign End Date Quarter         | The date when the ad campaign ends - Universal Time Zone.                                                                                                                                                                                                                                     |
| Campaign End Date Time            | The date when the ad campaign ends - Universal Time Zone.                                                                                                                                                                                                                                     |
| Campaign End Date Week            | The date when the ad campaign ends - Universal Time Zone.                                                                                                                                                                                                                                     |
| Campaign End Date Year            | The date when the ad campaign ends - Universal Time Zone.                                                                                                                                                                                                                                     |
| Campaign Name                     | The name of the ad campaign.                                                                                                                                                                                                                                                                  |
| Campaign Source Campaign Id       | The unique identifier of the ad campaign from the source dataset.                                                                                                                                                                                                                             |
| Campaign Start Date Date          | The date when the ad campaign starts - Universal Time Zone.                                                                                                                                                                                                                                   |
| Campaign Start Date Month         | The date when the ad campaign starts - Universal Time Zone.                                                                                                                                                                                                                                   |
| Campaign Start Date Quarter       | The date when the ad campaign starts - Universal Time Zone.                                                                                                                                                                                                                                   |
| Campaign Start Date Time          | The date when the ad campaign starts - Universal Time Zone.                                                                                                                                                                                                                                   |
| Campaign Start Date Week          | The date when the ad campaign starts - Universal Time Zone.                                                                                                                                                                                                                                   |
| Campaign Start Date Year          | The date when the ad campaign starts - Universal Time Zone.                                                                                                                                                                                                                                   |
| Campaign Status                   | The status of the ad campaign.                                                                                                                                                                                                                                                                |
| Campaign Updated At Date          | The timestamp of when an ad campaign was last updated in the database - Universal Time Zone.                                                                                                                                                                                                  |
| Campaign Updated At Month         | The timestamp of when an ad campaign was last updated in the database - Universal Time Zone.                                                                                                                                                                                                  |
| Campaign Updated At Quarter       | The timestamp of when an ad campaign was last updated in the database - Universal Time Zone.                                                                                                                                                                                                  |
| Campaign Updated At Time          | The timestamp of when an ad campaign was last updated in the database - Universal Time Zone.                                                                                                                                                                                                  |
| Campaign Updated At Week          | The timestamp of when an ad campaign was last updated in the database - Universal Time Zone.                                                                                                                                                                                                  |
| Campaign Updated At Year          | The timestamp of when an ad campaign was last updated in the database - Universal Time Zone.                                                                                                                                                                                                  |
| Insight Ad Network Type           | The network type used across the account. This field is native to Google and YouTube and fileld with the ad source for other sources.                                                                                                                                                         |
| Insight Date Date                 | The date of the insight - Universal Time Zone.                                                                                                                                                                                                                                                |
| Insight Date Month                | The date of the insight - Universal Time Zone.                                                                                                                                                                                                                                                |
| Insight Date Quarter              | The date of the insight - Universal Time Zone.                                                                                                                                                                                                                                                |
| Insight Date Time                 | The date of the insight - Universal Time Zone.                                                                                                                                                                                                                                                |
| Insight Date Week                 | The date of the insight - Universal Time Zone.                                                                                                                                                                                                                                                |
| Insight Date Year                 | The date of the insight - Universal Time Zone.                                                                                                                                                                                                                                                |
| Source                            | The source of the Ad dataset - Google, Facebook, Tiktok, etc.                                                                                                                                                                                                                                 |
| Average Clicks                    | The number of paid and earned clicks that occurred on the day of the record.                                                                                                                                                                                                                  |
| Average Impressions               | The number of paid and earned impressions - the number of times an ad appeared on the page - that occurred on the day of the record.                                                                                                                                                          |
| Average Link Clicks               | The number of link clicks on the ad's text, media or call-to-action that link to destinations or experiences specified by the advertiser. This metric excludes clicks on content or links in the comments section of a post. Currently, only Facebook Ads sourced insights surface this data. |
| Average Spend                     | The estimated total amount of spend that occurred on the day of the record.                                                                                                                                                                                                                   |
| Total Clicks                      | The number of paid and earned clicks that occurred on the day of the record.                                                                                                                                                                                                                  |
| Total Impressions                 | The number of paid and earned impressions - the number of times an ad appeared on the page - that occurred on the day of the record.                                                                                                                                                          |
| Total Link Clicks                 | The number of link clicks on the ad's text, media or call-to-action that link to destinations or experiences specified by the advertiser. This metric excludes clicks on content or links in the comments section of a post. Currently, only Facebook Ads sourced insights surface this data. |
| Total Spend                       | The estimated total amount of spend that occurred on the day of the record.                                                                                                                                                                                                                   |


[title] Subscription events
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Chord OMS/

### **x\_fct\_trans\_subscription\_events**

| Name                                                   | Description                                                                                                                                                                   |
| ------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Subscription Completed Oms Order Ids                   | List of completed OMS order ids by a subscription.                                                                                                                            |
| Subscription Completed Order Count                     | Total amount of orders completed by a subscription.                                                                                                                           |
| Subscription Completed Order Ids                       | List of completed order ids by a subscription.                                                                                                                                |
| Subscription Event Type                                | The type of the subscription event.                                                                                                                                           |
| Subscription Event Id                                  | Unique key generated by Chord to identify a unique subscription event.                                                                                                        |
| Subscription Event Oms Subscription Event Id           | Unique key generated by Solidus that identifies a subscription event.                                                                                                         |
| Subscription Event Oms Subscription Id                 | Unique key generated by Solidus that identifies a subscription.                                                                                                               |
| Subscription Event Unique Product Basket               | Array of products per subscription when an event is triggered.                                                                                                                |
| Subscription Event Unique Variant Basket               | Array of SKUs per subscription when an event is triggered.                                                                                                                    |
| Subscription First Order Unique Product Basket         | Array of unique product names ordered in the first order per subscription.                                                                                                    |
| Subscription First Order Unique Variant Basket         | Array of unique SKUs ordered in the first order per subscription.                                                                                                             |
| Subscription Has Subscription Tags                     | Whether or not the subscription has tags.                                                                                                                                     |
| Subscription Id                                        | Unique key generated by Solidus that identifies a subscription.                                                                                                               |
| Subscription Interval In Days                          | The number of days in the subscription interval.                                                                                                                              |
| Subscription Is Auto Redeemed                          | Whether the pre-paid subscription will be auto-redeemed or if an action is required by the recepient.                                                                         |
| Subscription Is Gift                                   | Whether or not the pre-paid subscription is a gift.                                                                                                                           |
| Subscription Is Recurring                              | Whether the pre-paid subscription is recurring.                                                                                                                               |
| Subscription Last Order Unique Product Basket          | Array of unique product names ordered in the latest order per subscription.                                                                                                   |
| Subscription Last Order Unique Variant Basket          | Array of unique SKUs ordered in the latest order per subscription.                                                                                                            |
| Subscription Oms Pre Paid Subscription Id              | ID generated by ChordOMS to identify a unique pre-paid subscription.                                                                                                          |
| Subscription Oms Subscription Id                       | Unique key generated by Solidus that identifies a subscription.                                                                                                               |
| Subscription Pre Paid Subscription Id                  | Chord generated unique id for the pre-pay subscription.                                                                                                                       |
| Subscription State                                     | The current state of the subscription, enhanced with values for \`paused\` if the subscription is active and paused.                                                          |
| Subscription Store Id                                  | Unique key generated by our models that uniquifies a store.                                                                                                                   |
| Subscription Store Name                                | The name of the store.                                                                                                                                                        |
| Subscription Store Oms Admin Url                       | The Admin URL of that OMS.                                                                                                                                                    |
| Subscription Store Oms Id                              | Unique key generated by Chord that uniquifies an OMS.                                                                                                                         |
| Subscription Store Oms Store Id                        | Unique key generated by our models that uniquifies a store.                                                                                                                   |
| Subscription Store Oms Type                            | The type of the OMS.                                                                                                                                                          |
| Subscription Store Id                                  | Unique key generated by our models that uniquifies a store.                                                                                                                   |
| Subscription Store Tenant Id                           | Unique key generated by Chord that uniquifies a tenant.                                                                                                                       |
| Subscription Store Url                                 | The Storefront URL of of the store.                                                                                                                                           |
| Subscription Tags                                      | The list of tags associated with a subscription.                                                                                                                              |
| Subscription Tags Count                                | The number of tags associated with a subscription.                                                                                                                            |
| Subscription Unique Product Basket                     | Array of unique product names ever ordered per subscription.                                                                                                                  |
| Subscription Unique Variant Basket                     | Array of unique SKUs ever ordered per subscription.                                                                                                                           |
| User Completed Oms Order Ids                           | List of completed OMS order ids by a user.                                                                                                                                    |
| User Completed Order Ids                               | List of completed order ids by a user.                                                                                                                                        |
| User Credit Category Basket                            | Array of credit categories (Gift Card, Reimbursement, Referral Credits, Prepaid Subscription, GMA) issued per user.                                                           |
| User Email                                             | Email address of the user.                                                                                                                                                    |
| User First Completed Oms Order Id                      | OMS order id of the first order completed by a user.                                                                                                                          |
| User First Completed Order Id                          | Unique order id of the first order completed by a user.                                                                                                                       |
| User First Order Unique Ordered Products               | Unique products ordered by the user in their first completed order.                                                                                                           |
| User First Order Unique Ordered Skus                   | Unique SKUs ordered by the user in their first completed order.                                                                                                               |
| User Has Ordered A La Carte                            | Whether or not the user has had at least one order that is not part of a subscription.                                                                                        |
| User Has Promo Applied In First Order                  | Whether or not the user has a promo applied to their first completed order.                                                                                                   |
| User Has Subscription In First Order                   | Whether or not the user's first order is linked to a subscription.                                                                                                            |
| User Id                                                | Unique key generated by Chord to identify a unique user.                                                                                                                      |
| User Is Active Subscriber                              | Whether or not the user has an active subscription with at least one completed subscription order. An active subscription is one that is not cancelled or paused.             |
| User Is Customer                                       | Whether or not the user is a customer.                                                                                                                                        |
| User Is New Customer                                   | Whether or not the user is a new customer.                                                                                                                                    |
| User Is Not Customer                                   | Whether or not the user is not a customer.                                                                                                                                    |
| User Is Returning Customer                             | Whether or not the user is a returning customer.                                                                                                                              |
| User Is Subscriber                                     | Whether or not the user has completed at least one subscription order.                                                                                                        |
| User Login                                             | The login email address of the user.                                                                                                                                          |
| User Name                                              | Full name of the user.                                                                                                                                                        |
| User Number Of Completed A La Carte Orders             | Total amount of orders completed by a user that are a la carte.                                                                                                               |
| User Number Of Completed Subscription Orders           | Total amount of orders completed by a user that was part of a subscription.                                                                                                   |
| User Number Of Orders With Promos                      | The count of completed orders with a promo applied.                                                                                                                           |
| User Number Of Subscriptions                           | Total amount of subscriptions linked to a user.                                                                                                                               |
| User Oms User Id                                       | Unique key generated by Solidus that identifies a user.                                                                                                                       |
| User Phone                                             | Phone number of the user.                                                                                                                                                     |
| User Total Completed Order Count                       | Total amount of orders completed by a user.                                                                                                                                   |
| User Unique Ordered Products                           | Unique products ordered by the user across all orders.                                                                                                                        |
| User Unique Ordered Skus                               | Unique SKUs ordered by the user across all orders.                                                                                                                            |
| Subscription Actionable Date (Universal)               | The date of the next subscription installment. This date is updated after each successful installment. Subscriptions in an inactive state will be null - Universal Time Zone. |
| Subscription Created At (Universal)                    | Reflects when the entity was first created in Solidus - Universal Time Zone.                                                                                                  |
| Subscription Event Created At (Universal)              | Reflects when the entity was first created in Solidus - Universal Time Zone.                                                                                                  |
| Subscription Event Updated At (Universal)              | Reflects when the entity was last updated in Solidus - Universal Time Zone.                                                                                                   |
| Subscription First Order Completed At (Universal)      | The timestamp of the subscription's first completed order - Universal Time Zone.                                                                                              |
| Subscription Last Order Completed At (Universal)       | The timestamp of the subscription's last completed order - Universal Time Zone.                                                                                               |
| Subscription Updated At (Universal)                    | Reflects when the entity was last updated in Solidus - Universal Time Zone.                                                                                                   |
| User Created At (Universal)                            | Timestamp at which the users row was created - Universal Time Zone.                                                                                                           |
| User Date Of Birth (Universal)                         | Date of birth of the user - Universal Time Zone.                                                                                                                              |
| User Deleted At (Universal)                            | Timestamp at which the user's account was deleted - Universal Time Zone.                                                                                                      |
| User First Order Completed At (Universal)              | The timestamp of the user's first completed order - Universal Time Zone.                                                                                                      |
| User First Subscription Order Completed At (Universal) | The timestamp of the user's first completed subscription order, regardless of subsequent subscriptions - Universal Time Zone.                                                 |
| User Last Order Completed At (Universal)               | The timestamp of the user's last completed order - Universal Time Zone.                                                                                                       |
| User Last Sign In At (Universal)                       | The last sign in timestamp for the user - Universal Time Zone.                                                                                                                |
| User Updated At (Universal)                            | Timestamp at which the users row was last updated - Universal Time Zone.                                                                                                      |

### **subscription\_event\_unique\_product\_basket**

| Name                  | Description                                              |
| --------------------- | -------------------------------------------------------- |
| Unique Product Basket | Unique product basket at the time of subscription event. |


[title] Salesforce Marketing Cloud (SFMC)
[path] Chord Data Platform/Data Activations/Data Activations/Destination Set-up Notes/

*This page describes how to connect Salesforce Marketing Cloud (SFMC) as a Data Activation*

## Getting Started

In this guide, we will show you how to connect Salesforce Marketing Cloud to Chord Data Activations and create your first sync.

:::hint{type="warning"}
This process involves several steps - please set aside 15-30 minutes to complete it. Note that you may be on an older or newer version of Marketing Cloud which has slightly different screens than the ones pictured below. Marketing Cloud configuration can be complex, so if you have any questions please contact us via ***help\@chord.co&#x20;***&#x61;nd we'll help you tailor these instructions to your needs.
:::

### 1. Create and Configure a Server-to-Server Installed Package

Sign in to Salesforce Marketing Cloud and enter "Setup"

Navigate to "Apps > Installed Packages". Click "New" to create a new package. Create an app called "Chord" and provide an optional description, then click "Save"

![](https://docs.getcensus.com/~gitbook/image?url=https%3A%2F%2F217220813-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MV3poo0VqVau1o8I79_%252Fuploads%252Fgit-blob-fecefa194ecc308306afc53e9cd87a7c4798eda2%252Fsfmc_step1.png%3Falt%3Dmedia\&width=768\&dpr=4\&quality=100\&sign=32f2601e\&sv=2)

![](https://docs.getcensus.com/~gitbook/image?url=https%3A%2F%2F217220813-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MV3poo0VqVau1o8I79_%252Fuploads%252Fgit-blob-457512f75353bb417ad78e477db7af8516034cd4%252Fsfmc_step2.png%3Falt%3Dmedia\&width=768\&dpr=4\&quality=100\&sign=2930b5fb\&sv=2)

Click "Add Component" and choose "API Integration"

![](https://docs.getcensus.com/~gitbook/image?url=https%3A%2F%2F217220813-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MV3poo0VqVau1o8I79_%252Fuploads%252Fgit-blob-0a537972b9f9d52f0049877113c4b828bcaf584a%252Fsfmc_step3.png%3Falt%3Dmedia\&width=768\&dpr=4\&quality=100\&sign=9d91c69e\&sv=2)

Choose "Server-to-Server" as the OAuth Integration Type

![](https://docs.getcensus.com/~gitbook/image?url=https%3A%2F%2F217220813-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MV3poo0VqVau1o8I79_%252Fuploads%252Fgit-blob-25da65adfd719a965c6bd2b8ca6ae7f10eba93b6%252Fsfmc_step4.png%3Falt%3Dmedia\&width=768\&dpr=4\&quality=100\&sign=43451a34\&sv=2)

In "Set Server-to-Server Properties", given the new component the following permissions by checking the appropriate boxes:

- Automation > **Automations: Read, Write, Execute**
- Contacts > **Audiences: Read, Write**
- Contacts > **List and Subscribers: Read, Write**
- Data > **Data Extensions: Read, Write**
- Data > **File Locations: Read, Write**
- Journeys > **Journeys: Read, Write**

Click "Save" to continue. You should see a new Component in your package - verify that it has the correct permissions (in the Scope section) by comparing to the image below.

![](https://docs.getcensus.com/~gitbook/image?url=https%3A%2F%2F217220813-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MV3poo0VqVau1o8I79_%252Fuploads%252Fgit-blob-aac65832b016af844c687a0a6e6d33a5ea0ef95f%252Fsfmc_step5.png%3Falt%3Dmedia\&width=768\&dpr=4\&quality=100\&sign=491c27f1\&sv=2)

Copy the **Client Id**, **Client Secret**, and **Authentication Base URI** from this page - you will need to provide these values to Chord Data Activations in Step 3.

### 2. Create an SFTP Account in Salesforce Marketing Cloud

Chord Data Activations uses the ExactTarget Enhanced FTP server to upload large data files to your Salesforce Marketing Cloud instance and prepare them for import. In this step, you'll ensure there is a File Location for Chord to upload the data, and create a new user account on your FTP server that Chord can use to sign in.

**File Location**

In Salesforce Marketing Cloud Setup, navigate to "Data Management > File Locations". If you have an Enhanced FTP location with an external key of "ExactTarget Enhanced FTP", then no action is required. If you do not see this File Location, click "Create" to generate a new location with the following configurations:

- An "External Key" value of **ExactTarget Enhanced FTP**
- A "Location Type" of **Enhanced FTP Site Import Directory**

![](https://docs.getcensus.com/~gitbook/image?url=https%3A%2F%2F217220813-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MV3poo0VqVau1o8I79_%252Fuploads%252Fgit-blob-3f6c70fb187151a03427a18cd3cfb0916a47e66c%252Fscreely-1653426548785.png%3Falt%3Dmedia\&width=768\&dpr=4\&quality=100\&sign=2dbd9373\&sv=2)

**FTP User**

Still in Salesforce Marketing Cloud Setup, navigate to "Data Management > FTP Accounts" and click "Add FTP User".

![](https://docs.getcensus.com/~gitbook/image?url=https%3A%2F%2F217220813-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MV3poo0VqVau1o8I79_%252Fuploads%252Fgit-blob-94892a29ccacd2471ec8c9a0e133952445f4eeef%252Fsfmc_step6.png%3Falt%3Dmedia\&width=768\&dpr=4\&quality=100\&sign=10cbb0a\&sv=2)

For the email address, type in **help\@chord.co** and give the user a strong, random password. You do not need to write down or memorize this password - Chord does not require it, and in step 4 we will replace it with an SSH key. Make sure to give the Chord user "Full" access, and do not specify any IPs in the "Allowlist IPs" list. Click Next.

![](https://docs.getcensus.com/~gitbook/image?url=https%3A%2F%2F217220813-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MV3poo0VqVau1o8I79_%252Fuploads%252Fgit-blob-e14ed2e30bf540d7faa95c5c78d55243f016a56e%252Fsfmc_step7.png%3Falt%3Dmedia\&width=768\&dpr=4\&quality=100\&sign=327efbf6\&sv=2)

There's nothing to do yet on the next screen - we'll set up SSH Keys later.

![](https://docs.getcensus.com/~gitbook/image?url=https%3A%2F%2F217220813-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MV3poo0VqVau1o8I79_%252Fuploads%252Fgit-blob-1937d6a4500043942f851e9fb1f75c3bef9e7068%252Fsfmc_step8.png%3Falt%3Dmedia\&width=768\&dpr=4\&quality=100\&sign=cbd1864c\&sv=2)

Select the Root folder as the Home Folder for your user. Click "Save" to create the user.

![](https://docs.getcensus.com/~gitbook/image?url=https%3A%2F%2F217220813-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MV3poo0VqVau1o8I79_%252Fuploads%252FGjZZVE7O8pBeCVWQONTX%252FScreenshot%25202024-06-25%2520at%25205.31.39%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3D3b6adca0-6729-480e-a3b7-862aec5ff593\&width=768\&dpr=4\&quality=100\&sign=f0636bc0\&sv=2)

Select the Root folder as the Home Folder

Salesforce Marketing Cloud will create the user, which may take a few seconds. Copy the **FTP Username** that was assigned to the user, which you'll need in Step 3.

### 3. Configure Chord with Your Connection Information

Go to Chord Data Activation Destinations, click **New Destination** and choose **Salesforce Marketing Cloud**.

![](https://docs.getcensus.com/~gitbook/image?url=https%3A%2F%2F217220813-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MV3poo0VqVau1o8I79_%252Fuploads%252FT1vbrCUX8HPrMr9amP9r%252FSFMC%2520-%2520Card.png%3Falt%3Dmedia%26token%3D9dfc20af-c67a-4271-a025-f895486357b8\&width=768\&dpr=4\&quality=100\&sign=1249e05\&sv=2)

In the dialog, fill out the data you gathered in steps 2 and 3:

- Name: A descriptive name of your choosing. If you have more than one Salesforce Marketing Cloud connection, you can use this field to help you keep track them
- Endpoint URL: Fill in the **Authentication Base URI** from Step 1
- Client ID and Client Secret: Fill in the **Client ID** and **Client Secret** from Step 1
- SFTP User: Fill in the **FTP Username** from Step 2(Optional) **Business Unit MID**: If you would like to create a connection for a business unit other than your primary SFMC account, you can provide a Business Unit MID. This can be found in the SFMC top navigation menu:
- Include Shared Data Extensions?: If you would like Chord to access shared data extensions, check this box. This has performance implications (see below for more details).

![](https://docs.getcensus.com/~gitbook/image?url=https%3A%2F%2F217220813-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MV3poo0VqVau1o8I79_%252Fuploads%252FmkM68LXtFbHQMUGVu4is%252FCleanShot%25202023-02-02%2520at%252010.01.34%25402x.png%3Falt%3Dmedia%26token%3Df45369bd-5872-4e7a-9b7e-514d9def00f8\&width=768\&dpr=4\&quality=100\&sign=9d5c1ce9\&sv=2)

- In order to enable Chord support for business units, you will also need to turn on business unit app integration in your SFMC instance under `Setup` > `Apps` > `Installed Packages` > `Chord` > `Access` > `Enable Integration` :

![](https://docs.getcensus.com/~gitbook/image?url=https%3A%2F%2F217220813-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MV3poo0VqVau1o8I79_%252Fuploads%252Fgit-blob-bacd9f6d9c09e664ae85e509882982977fedceab%252FCleanShot%25202023-01-03%2520at%252011.12.41%25402x.png%3Falt%3Dmedia\&width=768\&dpr=4\&quality=100\&sign=9d3a4965\&sv=2)



Click **Save Connection**.

Chord will show your new Salesforce Marketing Cloud connection in its connections list

### 4. Upload Chord's SSH Public Key to Marketing Cloud

The final step is to configure Marketing Cloud to accept Chord's SSH public key for FTP access, instead of using a password. Still in Chord, click the button labeled "Click to Download" next to the "SFTP Public Key". This will download a file called "census.pub" to your computer - make a note of where it was saved.

Return to Salesforce Marketing Cloud Setup and navigate to "Data Management" > "Key Management". Click "Create".

![](https://docs.getcensus.com/~gitbook/image?url=https%3A%2F%2F217220813-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MV3poo0VqVau1o8I79_%252Fuploads%252F6Doshr25YpCK6KJNXLxL%252FSFMC%2520-%2520Config.png%3Falt%3Dmedia%26token%3D04012a15-a217-4e3f-9293-1b0f4345dbfe\&width=768\&dpr=4\&quality=100\&sign=5a0f0d11\&sv=2)

- For "Key Type", choose "SSH"
- For "Name", type "Chord Public Key"
- For "External Key", type "chord-public-key"
- Check the "Public Key" checkbox
- Click "Browse" next to the "Key (required)" field and find the "census.pub" file you previously downloaded.
- Click "Save"

Now we'll associate the key with the Chord user. Navigate to "Data Management" > "FTP Accounts". Choose the "help\@chord.co" user and click the small arrow next to their name (you may need to scroll to the right. Choose "SSH Keys" from the drop-down menu.

![](https://docs.getcensus.com/~gitbook/image?url=https%3A%2F%2F217220813-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MV3poo0VqVau1o8I79_%252Fuploads%252Fgit-blob-94b903da3f6a1633516d92c909c5e057f2c99ca1%252Fsfmc_step12.png%3Falt%3Dmedia\&width=768\&dpr=4\&quality=100\&sign=a560b5e6\&sv=2)

![](https://docs.getcensus.com/~gitbook/image?url=https%3A%2F%2F217220813-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MV3poo0VqVau1o8I79_%252Fuploads%252Fgit-blob-72ea0eb357cf75395da2f04b809654edf550e747%252Fsfmc_step13.png%3Falt%3Dmedia\&width=768\&dpr=4\&quality=100\&sign=e034ef7f\&sv=2)

Click in the "Search SSH Keys" box and find "Chord Public Key" and select it. Change the "Authentication Options" to "SSH Key" and click "Save". In a few seconds, Salesforce Marketing Cloud will finish configuring the SSH key (you can click the refresh icon at the top right to see the activity log go from "Pending" to "Success".

![](https://docs.getcensus.com/~gitbook/image?url=https%3A%2F%2F217220813-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MV3poo0VqVau1o8I79_%252Fuploads%252Fgit-blob-d158ecccb3153bd01b90bf817da942c815299fff%252Fsfmc_step14.png%3Falt%3Dmedia\&width=768\&dpr=4\&quality=100\&sign=c62ac329\&sv=2)

You're ready to start using Chord Data Activations to load data from your warehouse to Salesforce Marketing Cloud!

## Supported Objects and Behaviors



| **Object Name**       | **Supported?** | **Sync Keys**     | **Behaviors**                          |
| --------------------- | -------------- | ----------------- | -------------------------------------- |
| Data Extension        | ✅              | Unique Identifier | Update or Create, Update Only, Replace |
| Contact               | ✅              | Contact Key       | Update or Create                       |
| API-Triggered Journey | ✅              | Contact Key       | Update or Create, Mirror               |

## 🏗️ Working With Data Extensions

Data Extensions are a fundamental component of Salesforce Marketing Cloud and are used in various capacities, including email personalization, segmentation, and reporting. They're unique in that they combine the common marketing automation concepts of segmentation and custom/relational data together into a single mechanism.

Chord allows you to sync data to existing data extensions, create new ones, and add fields to existing ones as well.

### Creating a data extension

You can select any existing data extension as a destination for a sync. You can also create a new data extension when setting up a Chord sync.

![](https://docs.getcensus.com/~gitbook/image?url=https%3A%2F%2F217220813-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MV3poo0VqVau1o8I79_%252Fuploads%252FSOFwu2fLPn5oTuKvuLBg%252FSFMC%2520-%2520New%2520DE.png%3Falt%3Dmedia%26token%3D244f136a-81f1-47f4-b894-16f2df299a86\&width=768\&dpr=4\&quality=100\&sign=388cf783\&sv=2)

1. Click New Object
2. Provide a name for your data extension
3. Optionally, you can provide a different name for the identifier. By default, we'll use **ID**.

:::hint{type="info"}
You can also have Chord create the data extension within a subfolder by providing it in the data extension name. The subfolder must already exist, Chord won't automatically create it. The subfolder will be relative to any configured root folder (see below).
:::

### Adding new properties

Whether you're working with a brand new data extension or an existing one, you can always add more properties to a data extension. Within the Mappings section, either the **Add Mapping** or **Generate Mappings** allow you to add new properties to the data extension that will be created next time the sync is run.

### Setting a root folder

Some Salesforce Marketing Cloud installations have a very large number of data extensions. Chord allows specify a specific folder to use as the root or base folder. Only data extensions within this folder or its subfolders will be shown in Chord and new data extensions will be created in this folder.

![](https://docs.getcensus.com/~gitbook/image?url=https%3A%2F%2F217220813-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MV3poo0VqVau1o8I79_%252Fuploads%252FmjDPTw8mIF1CuCj2yWmN%252FSFMC%2520-%2520Folder%2520Path.png%3Falt%3Dmedia%26token%3D36d74652-48a3-45b4-ba5e-295f6c4c494c\&width=768\&dpr=4\&quality=100\&sign=eb8c834a\&sv=2)

- Visit the Destinations page and find your Salesforce Marketing Cloud connection.
- Click **Edit**.
- Set the Folder Path value to match your desired folder.
- Click **Save Connection**.

### Shared Data Extensions

In addition to Data Extentions in your specified root folder, you can also have Chord look for shared data extensions. For organizations with thousands of data extensions (regardless of whether they're shared or not), this can make the process of scanning for all existing extensions very slow. This slowness will show up when setting up new Chord connections or creating a new data extension. If you're experiencing slow performance, you can disable this feature by unchecking the "Include Shared Data Extensions?" checkbox in the Salesforce Marketing Cloud connection settings.

## Advanced Configuration

By default, Chord uses Salesforce Marketing Cloud's bulk upload mechanism which is powered by SFTP. This is the recommended mechanism for most syncs. However, for small data volumes, it may be preferred to send updates individually via Salesforce Marketing Cloud's SOAP API for faster processing. If your syncs must be processed with as low latency as possible and you have a relatively small number of changes, you can disable the standard SFTP method of syncing.

[title] Marketing Attribution
[path] Chord Data Platform/Data Models/

# Introduction

Marketing attribution is the process of figuring out which marketing touchpoints—like ads, email campaigns, or social media posts —contributed to a customer taking a specific action, such as making a purchase. Essentially, marketing attribution is a critical piece of the toolkit for connecting customer actions (like ad clicks and email opens) to customer outcomes (like revenue and retention).

Think of it as giving credit where credit is due: if a customer sees a Facebook ad, then opens an email, and finally clicks a Google search ad before buying, attribution helps determine how much each of those steps mattered in the path to the customer’s purchase. It’s foundational for making smarter, data-backed decisions that move the needle for your business.

# Chord’s Methodology

While understanding marketing attribution helps you spend smarter and grow faster, it can also be tough to analyze because people are unpredictable, their purchase journeys are messy, and your tools don’t always talk to each other cleanly.

Chord makes attribution not only possible, but practical—giving you the tools to go from reactive reporting to proactive growth strategy. It's built to make analysts like you more confident, efficient, and impactful.

Below you will find additional information on Chord’s methodology behind marketing attribution.

## User Stitching

User stitching is the identity resolution process of assigning an anonymous ID, or many anonymous IDs, to a user ID for all events recorded for a given user. This is becoming increasingly challenging in a world where users navigate websites from various devices and across multiple sessions, both before and after each purchase.

Once user information, such as user ID or email, is known for a given touchpoint, the user can be assigned to the anonymous ID throughout time to understand all of the events and sessions before and after purchase(s). This process will be repeated for all known anonymous IDs and then aggregated to have one or many anonymous IDs to one user ID combination for a user's history.

Partitioning by user\_id provides a more accurate attribution and allows a better view of users across various devices and sessions.

## Attribution Points

There are many different types of attribution methodologies that marketers can leverage. Chord supports four different attribution points that you can use as part of your analysis.

Note: Which attribution point system you use will depend on which touchpoint your business considers to be the most important.

The attribution point systems are:

- **First-Touch:** The first session gets 100% of the attribution points.
  - Tip: If you’re focused on reporting on first-touch attribution, you will want to leverage this attribution point system.
- **Last-Touch:** The last session gets 100% of the attribution points.
- **Linear:** All sessions get assigned an equal portion of the attribution points.
  - Tip: If you’re focused on multi-touch attribution and each touchpoint is valuable to your analysis, leverage this point system to assign equal weight to all of your touchpoints.
- **40-20-40 (Forty-Twenty-Forty):** The first and last sessions each get assigned 40% of the attribution points, and the sessions in-between get an equal portion of the remaining 20%.
  - Note:  For users with only one session, that session gets all the points. If a user has two sessions, there’s a 50/50 split between the sessions.

Here’s an example of how these attribution points can be used in your analysis for a single customer:

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-vmg8V81u8d5Ex6hfDlKy7-20250625-194138.png)

### Further examples

Brands will be interested in first-touch and multi-touch attribution. Here are some examples that may help illustrate the differences:

**First-Touch Attribution**

- **What it does**: Gives 100% of the credit to the *first* marketing interaction that brought a user to your brand.
- **Focus**: *Customer acquisition.*
- **Example**: If someone saw a TikTok ad, then later clicked an email and made a purchase, first-touch attribution credits the TikTok ad.

**Multi-Touch Attribution**

- **What it does**: Distributes credit across *multiple touchpoints* a customer interacts with before converting.
- **Focus**: *The entire journey.*
- **Example**: That same customer’s TikTok ad, email click, and final purchase via a paid search ad might each get a portion of the credit (based on the attribution point you choose).

## Channel Mapping

Chord assigns a referring channel category to each session.

:::hint{type="info"}
Note that we extract sources and mediums from Chord's eventing, specifically the landing page UTM parameters. For sessions with no UTMs, we infer the source and medium from the referring URL whenever possible.
:::

We are able to assign all sessions to one of the following categories when mapping source-medium pairs with channels:

- **Paid search:** Traffic driven by paid ads on search engines (like Google Ads or Bing Ads). This includes search results labeled as “sponsored” or “ad.”
- **Organic search:** Traffic that comes from unpaid search engine results. These are links users click after typing a query, without seeing or clicking an ad.
- **Paid social:** Traffic from paid ads on social platforms like Facebook, Instagram, TikTok, Pinterest, or Snapchat.
- **Organic social:** Traffic from unpaid posts, shares, or profile links on social media platforms.
- **Email:** Traffic from marketing emails sent to your list—newsletters, promotions, post-purchase messages, etc.
- **SMS:** Traffic from text message marketing—includes promotions, order updates with links, or personalized offers sent via SMS.
- **Direct:** Traffic from users who type your URL directly into their browser or access your site via a bookmark.
- **Affiliate:** Traffic from third-party websites promoting your products in exchange for a commission on referred sales.
- **Other:** A mapping for which the combinations of variables (source, medium, GCLID, referrer) have at least one value but is unknown as to which channel this combination should be mapped.

Here’s an example of an aggregated channel-level view of multi-touch attribution:

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-OacLGp66sV3Nq3aR19AAk-20250625-194300.png)

While Chord assigns a default channel mapping, customers can choose to create their own channel mappings through Chord's Amplifications feature to override Chord's default logic.

# User Attribution vs. Order Attribution on Chord

Chord provides two different models for you to start digging into your rich attribution data. One focuses on analysis at the User (customer) level and the other centers around Order-level data. Read on for additional information about each of these models.

## User Attribution

:::hint{type="info"}
**Note:** The **Marketing Attribution - User Attribution Explore** was previously called **Marketing Attribution Explore**.
:::

- **What it does**: We attribute the revenue metrics based on when a user converts (i.e. makes a purchase).
- For more information, view our [User Attribution documentation](https://docs.chord.co/user-attribution-on-chord).

## Order Attribution&#x20;

:::hint{type="info"}
**Note:&#x20;**&#x54;he **Marketing Attribution - Order Attribution Explore** is a NEW attribution Explore.
:::

- **What it does**: We assign an attribution value based on every session before a purchase. The key difference here us that we identify the session when the user makes their first purchase and then we repeat the attribution exercise with every session thereafter.
- For more information, view our [Order Attribution documentation](https://docs.chord.co/order-attribution-on-chord).

## User vs. Order Attribution Comparison

Here’s an example highlighting the differences in methodology for the two Explores:

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-jc79KdX-SQmE6zLJwewrq-20250625-194419.png)


[title] Subscriptions
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Chord OMS/

### x\_fct\_trans\_subscriptions

| Name                                                   | Description                                                                                                                                                                   |
| ------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Billing Address Address1                               | The street address of the customer.                                                                                                                                           |
| Billing Address Address2                               | The optional second address of the customer.                                                                                                                                  |
| Billing Address Alternative Phone                      | The customer's alternative phone number.                                                                                                                                      |
| Billing Address City                                   | The city where the address is.                                                                                                                                                |
| Billing Address Company                                |                                                                                                                                                                               |
| Billing Address Country Abbr                           | A company name.                                                                                                                                                               |
| Billing Address Country Name                           | Full name of the country.                                                                                                                                                     |
| Billing Address Firstname                              | First name of the customer.                                                                                                                                                   |
| Billing Address Id                                     | Unique key generated by Chord to identify a unique address.                                                                                                                   |
| Billing Address Lastname                               | Last name of the customer.                                                                                                                                                    |
| Billing Address Oms Address Id                         | Unique key generated by Solidus that identifies an address.                                                                                                                   |
| Billing Address Phone                                  | The customer's phone number.                                                                                                                                                  |
| Billing Address State Abbr                             |                                                                                                                                                                               |
| Billing Address State Name                             | Full name of the state.                                                                                                                                                       |
| Billing Address Zipcode                                | The postal code.                                                                                                                                                              |
| Shipping Address Address1                              | The street address of the customer.                                                                                                                                           |
| Shipping Address Address2                              | The optional second address of the customer.                                                                                                                                  |
| Shipping Address Alternative Phone                     | The customer's alternative phone number.                                                                                                                                      |
| Shipping Address City                                  | The city where the address is.                                                                                                                                                |
| Shipping Address Company                               | A company name.                                                                                                                                                               |
| Shipping Address Country Abbr                          |                                                                                                                                                                               |
| Shipping Address Country Name                          | Full name of the country.                                                                                                                                                     |
| Shipping Address Firstname                             | First name of the customer.                                                                                                                                                   |
| Shipping Address Id                                    | Unique key generated by Chord to identify a unique address.                                                                                                                   |
| Shipping Address Lastname                              | Last name of the customer.                                                                                                                                                    |
| Shipping Address Oms Address Id                        | Unique key generated by Solidus that identifies an address.                                                                                                                   |
| Shipping Address Phone                                 | The customer's phone number.                                                                                                                                                  |
| Shipping Address State Abbr                            |                                                                                                                                                                               |
| Shipping Address State Name                            | Full name of the state.                                                                                                                                                       |
| Shipping Address Zipcode                               | The postal code.                                                                                                                                                              |
| Subscription Completed Oms Order Ids                   | List of completed OMS order ids by a subscription.                                                                                                                            |
| Subscription Completed Order Count                     | Total amount of orders completed by a subscription.                                                                                                                           |
| Subscription Completed Order Ids                       | List of completed order ids by a subscription.                                                                                                                                |
| Subscription First Order Unique Product Basket         | Array of unique product names ordered in the first order per subscription.                                                                                                    |
| Subscription First Order Unique Variant Basket         | Array of unique SKUs ordered in the first order per subscription.                                                                                                             |
| Subscription Has Subscription Tags                     | Whether or not the subscription has tags.                                                                                                                                     |
| Subscription Id                                        | Unique key generated by Solidus that identifies a subscription.                                                                                                               |
| Subscription Interval In Days                          | The number of days in the subscription interval.                                                                                                                              |
| Subscription Is Auto Redeemed                          | Whether the pre-paid subscription will be auto-redeemed or if an action is required by the recepient.                                                                         |
| Subscription Is Gift                                   | Whether or not the pre-paid subscription is a gift.                                                                                                                           |
| Subscription Is Recurring                              | Whether the pre-paid subscription is recurring.                                                                                                                               |
| Subscription Last Order Unique Product Basket          | Array of unique product names ordered in the latest order per subscription.                                                                                                   |
| Subscription Last Order Unique Variant Basket          | Array of unique SKUs ordered in the latest order per subscription.                                                                                                            |
| Subscription Oms Pre Paid Subscription Id              | ID generated by ChordOMS to identify a unique pre-paid subscription.                                                                                                          |
| Subscription Oms Subscription Id                       | Unique key generated by Solidus that identifies a subscription.                                                                                                               |
| Subscription Pre Paid Subscription Id                  | Chord generated unique id for the pre-pay subscription.                                                                                                                       |
| Subscription State                                     | The current state of the subscription, enhanced with values for \`paused\` if the subscription is active and paused.                                                          |
| Subscription Store Id                                  | Unique key generated by our models that uniquifies a store.                                                                                                                   |
| Subscription Store Name                                | The name of the store.                                                                                                                                                        |
| Subscription Store Oms Admin Url                       | The Admin URL of that OMS.                                                                                                                                                    |
| Subscription Store Oms Id                              | Unique key generated by Chord that uniquifies an OMS.                                                                                                                         |
| Subscription Store Oms Store Id                        | Unique key generated by our models that uniquifies a store.                                                                                                                   |
| Subscription Store Oms Type                            | The type of the OMS.                                                                                                                                                          |
| Subscription Store Id                                  | Unique key generated by our models that uniquifies a store.                                                                                                                   |
| Subscription Store Tenant Id                           | Unique key generated by Chord that uniquifies a tenant.                                                                                                                       |
| Subscription Store Url                                 | The Storefront URL of of the store.                                                                                                                                           |
| Subscription Tags                                      | The list of tags associated with a subscription.                                                                                                                              |
| Subscription Tags Count                                | The number of tags associated with a subscription.                                                                                                                            |
| Subscription Unique Product Basket                     | Array of unique product names ever ordered per subscription.                                                                                                                  |
| Subscription Unique Variant Basket                     | Array of unique SKUs ever ordered per subscription.                                                                                                                           |
| User Completed Oms Order Ids                           | List of completed OMS order ids by a user.                                                                                                                                    |
| User Completed Order Ids                               | List of completed order ids by a user.                                                                                                                                        |
| User Credit Category Basket                            | Array of credit categories (Gift Card, Reimbursement, Referral Credits, Prepaid Subscription, GMA) issued per user.                                                           |
| User Email                                             | Email address of the user.                                                                                                                                                    |
| User First Completed Oms Order Id                      | OMS order id of the first order completed by a user.                                                                                                                          |
| User First Completed Order Id                          | Unique order id of the first order completed by a user.                                                                                                                       |
| User First Order Unique Ordered Products               | Unique products ordered by the user in their first completed order.                                                                                                           |
| User First Order Unique Ordered Skus                   | Unique SKUs ordered by the user in their first completed order.                                                                                                               |
| User Has Ordered A La Carte                            | Whether or not the user has had at least one order that is not part of a subscription.                                                                                        |
| User Has Promo Applied In First Order                  | Whether or not the user has a promo applied to their first completed order.                                                                                                   |
| User Has Subscription In First Order                   | Whether or not the user's first order is linked to a subscription.                                                                                                            |
| User Id                                                | Unique key generated by Chord to identify a unique user.                                                                                                                      |
| User Is Active Subscriber                              | Whether or not the user has an active subscription with at least one completed subscription order. An active subscription is one that is not cancelled or paused.             |
| User Is Customer                                       | Whether or not the user is a customer.                                                                                                                                        |
| User Is New Customer                                   | Whether or not the user is a new customer.                                                                                                                                    |
| User Is Not Customer                                   | Whether or not the user is not a customer.                                                                                                                                    |
| User Is Returning Customer                             | Whether or not the user is a returning customer.                                                                                                                              |
| User Is Subscriber                                     | Whether or not the user has completed at least one subscription order.                                                                                                        |
| User Login                                             | The login email address of the user.                                                                                                                                          |
| User Name                                              | Full name of the user.                                                                                                                                                        |
| User Number Of Completed A La Carte Orders             | Total amount of orders completed by a user that are a la carte.                                                                                                               |
| User Number Of Completed Subscription Orders           | Total amount of orders completed by a user that was part of a subscription.                                                                                                   |
| User Number Of Orders With Promos                      | The count of completed orders with a promo applied.                                                                                                                           |
| User Number Of Subscriptions                           | Total amount of subscriptions linked to a user.                                                                                                                               |
| User Oms User Id                                       | Unique key generated by Solidus that identifies a user.                                                                                                                       |
| User Phone                                             | Phone number of the user.                                                                                                                                                     |
| User Total Completed Order Count                       | Total amount of orders completed by a user.                                                                                                                                   |
| User Unique Ordered Products                           | Unique products ordered by the user across all orders.                                                                                                                        |
| User Unique Ordered Skus                               | Unique SKUs ordered by the user across all orders.                                                                                                                            |
| Billing Address Created At (Universal)                 | Timestamp at which the address row was created - Universal Time Zone.                                                                                                         |
| Billing Address Updated At (Universal)                 | Timestamp at which the address row was last updated - Universal Time Zone.                                                                                                    |
| Shipping Address Created At (Universal)                | Timestamp at which the address row was created - Universal Time Zone.                                                                                                         |
| Shipping Address Updated At (Universal)                | Timestamp at which the address row was last updated - Universal Time Zone.                                                                                                    |
| Subscription Actionable Date (Universal)               | The date of the next subscription installment. This date is updated after each successful installment. Subscriptions in an inactive state will be null - Universal Time Zone. |
| Subscription Created At (Universal)                    | Reflects when the entity was first created in Solidus - Universal Time Zone.                                                                                                  |
| Subscription First Order Completed At (Universal)      | The timestamp of the subscription's first completed order - Universal Time Zone.                                                                                              |
| Subscription Last Order Completed At (Universal)       | The timestamp of the subscription's last completed order - Universal Time Zone.                                                                                               |
| Subscription Updated At (Universal)                    | Reflects when the entity was last updated in Solidus - Universal Time Zone.                                                                                                   |
| User Created At (Universal)                            | Timestamp at which the users row was created - Universal Time Zone.                                                                                                           |
| User Date Of Birth (Universal)                         | Date of birth of the user - Universal Time Zone.                                                                                                                              |
| User Deleted At (Universal)                            | Timestamp at which the user's account was deleted - Universal Time Zone.                                                                                                      |
| User First Order Completed At (Universal)              | The timestamp of the user's first completed order - Universal Time Zone.                                                                                                      |
| User First Subscription Order Completed At (Universal) | The timestamp of the user's first completed subscription order, regardless of subsequent subscriptions - Universal Time Zone.                                                 |
| User Last Order Completed At (Universal)               | The timestamp of the user's last completed order - Universal Time Zone.                                                                                                       |
| User Last Sign In At (Universal)                       | The last sign in timestamp for the user - Universal Time Zone.                                                                                                                |
| User Updated At (Universal)                            | Timestamp at which the users row was last updated - Universal Time Zone.                                                                                                      |
| Average Additional Tax Total                           | Sum of additional taxes paid for all completed orders for a subscription.                                                                                                     |
| Average Adjustment Total                               | Sum of adjustment applied for all completed orders for a subscription as on the order.                                                                                        |
| Average Commission Total                               | Sum of commission paid for all completed orders for a subscription.                                                                                                           |
| Average Fulfillment Total                              | Sum paid for fulfillment for all completed orders for a subscription.                                                                                                         |
| Average Included Tax Total                             | Sum of included taxes paid for all completed orders for a subscription.                                                                                                       |
| Average Item Total                                     | Sum of items price paid for all completed orders for a subscription.                                                                                                          |
| Average Promo Total                                    | Sum of promotions applied for all completed orders for a subscription.                                                                                                        |
| Average Tax Total                                      | Sum of total taxes paid for all completed orders for a subscription.                                                                                                          |
| Average Total Completed Order Count                    | Total amount of orders completed by a subscription.                                                                                                                           |
| Average Transaction Total                              | Sum paid on all transactions for a subscription.                                                                                                                              |
| Additional Tax Total                                   | Sum of additional taxes paid for all completed orders for a subscription.                                                                                                     |
| Adjustment Total                                       | Sum of adjustment applied for all completed orders for a subscription as on the order.                                                                                        |
| Commission Total                                       | Sum of commission paid for all completed orders for a subscription.                                                                                                           |
| Total Completed Order Count                            | Total amount of orders completed by a subscription.                                                                                                                           |
| Fulfillment Total                                      | Sum paid for fulfillment for all completed orders for a subscription.                                                                                                         |
| Included Tax Total                                     | Sum of included taxes paid for all completed orders for a subscription.                                                                                                       |
| Item Total                                             | Sum of items price paid for all completed orders for a subscription.                                                                                                          |
| Promo Total                                            | Sum of promotions applied for all completed orders for a subscription.                                                                                                        |
| Tax Total                                              | Sum of total taxes paid for all completed orders for a subscription.                                                                                                          |
| Transaction Total                                      | Sum paid on all transactions for a subscription.                                                                                                                              |

### subscription\_unique\_product\_basket

| Name                  | Description                                                                                                                 |
| --------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| Unique Product Basket | Unique product basket for the subscription. Includes all products associated with the subscription, historical and current. |


[title] Data Sources
[path] Chord Data Platform/

Data sources are the origins from which Chord collects and processes your business data. By connecting your data sources to the Chord data platform, you can centralize information from across your tech stack and make it available for analytics, modeling, and activation.

Chord supports a growing list of connectors for SaaS applications, e-commerce platforms, advertising networks, and databases. Once connected, data from these sources is extracted, transformed, and loaded into the platform on a scheduled basis.

# **What's in this section**

Got it! Here's the updated **What's in this section** block based on the actual content of each page:

**What's in this section**

- **Connect data sources** — Learn how to add and manage data source connectors in the Chord platform, including setup steps, supported connectors, and troubleshooting guidance.
- **Ads module** — Overview of the ads explore for building custom reports and analyzing ad spend alongside Chord's marketing attribution data.
- **Messaging module** — Overview of the messaging explore for tracking campaign sends, opens, clicks, and subscription rates.
- **Sales channel module** — Organize and analyze revenue data across all your sales channels, including DTC storefronts, third-party marketplaces, and retail partnerships via Amazon Selling Partner. (Note: This module is only available for Shopify OMS brands.)
- **Subscriptions module** — Analyze subscription performance using Chord's suite of subscription explores. Covers metrics like churn, retention, LTV, and subscriber growth.
- **E-commerce data ingestion** — Learn how Chord ingests data from non-Shopify e-commerce platforms like Magento, BigCommerce, and Salesforce Commerce Cloud, including data mapping and sync details.


[title] Subscriptions
[path] Chord Data Platform/Data Models/

## Introduction

Chord's Subscription Analytics module provides a suite of **7 Explores** designed for self-service subscription analysis.

These Explores:

- Work across Recharge and your OMS
- Provide a unified view of subscription performance
- Support analysis across:&#x20;
  - Customer-level
  - Subscription-level
  - Product-level
  - Lifecycle events

## How to access

1. Log into the Chord Commerce Data Platform
2. Navigate to **Analytics**
3. Click **Explores**
4. Select a **Subscription Explore**

## Quick reference — Which Explore should I use?

Use this as your starting point when you’re not sure where to go.

Each Explore is designed to answer a specific type of business question.

| If your question is about…      | What you’re trying to understand                    | Use this Explore                       |
| ------------------------------- | --------------------------------------------------- | -------------------------------------- |
| **Overall subscription health** | Are we growing or shrinking? What’s our churn rate? | **Subscription Metrics Daily**         |
| **Customer value (LTV)**        | Who are our most valuable subscribers?              | **Subscriber Journey**                 |
| **Retention over time**         | How long do customers stay? How do cohorts behave?  | **Subscriber Journey Monthly**         |
| **Behavior leading to churn**   | What happens before users cancel?                   | **Subscription Events Enriched**       |
| **Business impact of changes**  | How much revenue are we losing from cancellations?  | **Subscription Movements Daily**       |
| **Product performance**         | Which products drive growth or churn?               | **Subscription Product Metrics Daily** |
| **Bundle performance**          | Which product combinations perform best?            | **Subscription Bundle Metrics Daily**  |

**You can use this handy guide to start your analysis:&#x20;**

- Start with **Metrics Daily** → *“What is happening?”*
- Move to **Journey / Monthly** → *“Who is driving this and how does it evolve?”*
- Use **Events** → *“Why is this happening?”*
- Use **Movements / Product / Bundle** → *“Where is the impact coming from?”*

## Key Dimensions & Metrics

[Subscription Metrics Daily Explore](docId\:vrK7FlahNOV_r92ULUJH0)

[Subscriber Journey Explore](docId\:pHLEFk8F-KCnLkaNepm97)

[Subscriber Journey Monthly Explore](docId\:K3t064ARjs6tAEi21ua46)

[Subscription Events Enriched Explore](docId\:PGqIyYRgagkRu-tuwX6jj)

[Subscription Movements Daily Explore](docId\:JjEYNdJwHcf6ua-4ketck)

[Subscription Product Metrics Daily Explore](docId:6lDcTaqrCd0OXvQrVvGOz)

[Subscription Bundle Metrics Daily Explore](docId\:FpvuvhiI9L9Wp4ybhC2Hc)

# Glossary

| Term                     | What it Means                                                                                                                             | How to Interpret / Use                                                                                         | Where You’ll See It in Looker                                                                                                                                                                                                    |
| ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Active Subscription**  | A subscription that is currently ongoing. Includes both fully active and paused subscriptions.                                            | Use this to understand the **current size of your subscriber base**. Note that paused users are still counted. | Subscription Metrics Daily (Active Count), Subscriber Journey (Is Active Subscriber), Subscriber Journey Monthly (Is Active Subscriber EOM), Product & Bundle Explores (Active Subscription Count)                               |
| **Churn / Churned**      | A subscription that has been cancelled. Does not include pauses.                                                                          | Represents **true customer loss**. Track this to understand retention issues.                                  | Subscription Metrics Daily (Churned Count, Churn Rate), Subscriber Journey (Is Churned, Churn Count), Monthly (Is Churned EOM, Cancellations This Month), Events Enriched (Event Type = canceled), Movements (status\_cancelled) |
| **Winback**              | A subscriber who cancelled all subscriptions and later returned by subscribing again.                                                     | Indicates **successful re-engagement** after churn.                                                            | Subscriber Journey (Is Winback), Subscriber Journey Monthly (Has Reactivated By EOM)                                                                                                                                             |
| **Reactivation**         | A previously cancelled subscription that becomes active again (subscription-level).                                                       | Measures **recovery of churned subscriptions**.                                                                | Subscription Metrics Daily (Reactivated Count), Movements (status\_reactivated), Events Enriched (Event Type = reactivated)                                                                                                      |
| **Net New**              | Net change in subscriptions: New + Reactivated − Cancelled.                                                                               | Indicates **overall growth vs decline**.                                                                       | Subscription Metrics Daily (Net New Count)                                                                                                                                                                                       |
| **LTV (Lifetime Value)** | Total revenue generated by a subscriber across all subscription orders.                                                                   | Use to understand **customer value over time** and compare cohorts or segments.                                | Subscriber Journey (LTV Gross / Net Revenue), Subscriber Journey Monthly (LTV Gross Revenue EOM)                                                                                                                                 |
| **EOM (End of Month)**   | Metrics calculated as of the last day of a month.                                                                                         | Used for **consistent month-over-month comparisons** (retention, LTV growth).                                  | Subscriber Journey Monthly (all EOM fields)                                                                                                                                                                                      |
| **Subscriber Category**  | Mutually-exclusive current-state classification of a customer: active / partially\_paused / fully\_paused / canceled / never\_subscribed. | Use to segment customers by **current lifecycle state**. A reactivated customer returns to *active*.           | Subscriber Journey, Subscriber Journey Monthly (current value)                                                                                                                                                                   |
| **Partially Paused**     | Customer has at least one active AND at least one paused subscription simultaneously.                                                     | Identifies **at-risk users** scaling down but not fully churned.                                               | Subscription Metrics Daily (Partially Paused Subscribers Count), Subscriber Journey (Subscriber Category)                                                                                                                        |
| **Fully Paused**         | Customer's only non-canceled subscriptions are paused.                                                                                    | A **softer churn signal** — these users may still reactivate.                                                  | Subscription Metrics Daily (Fully Paused Subscribers Count), Subscriber Journey (Subscriber Category)                                                                                                                            |
| **Never Subscribed**     | Customer exists in the system but has never had a subscription.                                                                           | Useful for sizing **first-subscription / cross-sell opportunity**.                                             | Subscriber Journey only                                                                                                                                                                                                          |
| **Prepaid Subscriber**   | Customer has at least one prepaid (non-gift) subscription.                                                                                | Identifies **upfront billing behavior**. ChordOMS only.                                                        | Subscription Metrics Daily (Prepaid Subscribers Count), Subscriber Journey (Is Prepaid Subscriber)                                                                                                                               |
| **Gift Purchaser**       | Customer has purchased one or more gift subscriptions for someone else.                                                                   | Useful for **marketing segmentation and gifting behavior**. ChordOMS only.                                     | Subscription Metrics Daily (Gift Purchasers Count — cumulative), Subscriber Journey (Is Gift Purchaser)                                                                                                                          |
| **Gifted Subscriber**    | Customer is receiving a gift subscription (someone else purchased it).                                                                    | Useful for **conversion strategies** (turning recipients into paying users). ChordOMS only.                    | Subscription Metrics Daily (Gifted Subscribers Count), Subscriber Journey (Is Gifted Subscriber)                                                                                                                                 |
| **Solo Subscription**    | A subscription that contains only one product.                                                                                            | Helps identify products that perform well **individually**.                                                    | Subscription Product Metrics Daily (Solo Subscription Count)                                                                                                                                                                     |
| **Bundle**               | A subscription that contains two or more products.                                                                                        | Useful for analyzing **cross-sell and product combinations**.                                                  | Product Metrics (Bundle Subscription Count), Bundle Metrics Daily                                                                                                                                                                |
| **Movement**             | Any change in a subscription’s state (created, cancelled, paused, resumed, reactivated, quantity/price change).                           | Use to understand **operational changes and trends** in subscriptions.                                         | Subscription Movements Daily (Movement Type), Events Enriched (Event Type)                                                                                                                                                       |
| **Provider**             | The system managing subscriptions (Recharge, ChordOMS, CustomOMS).                                                                        | Important context — **data availability varies by provider**, impacting analysis.                              | All Explores                                                                                                                                                                                                                     |


[title] Subscription Metrics Daily Explore
[path] Chord Data Platform/Data Models/Subscriptions/

## Overview

Daily summary of subscription counts and flows.

- Grain: **1 row per day**
- Purpose: monitor **growth, churn, and overall health**

## When to use

- Track subscription health on dashboards
- Monitor churn trends over time
- Evaluate net growth vs decline
- Support executive-level reporting

## Key dimensions & metrics

| Field                              | Description                                                                     |
| ---------------------------------- | ------------------------------------------------------------------------------- |
| Report Date                        | Date of snapshot                                                                |
| Active Count                       | Total active subscriptions                                                      |
| New Count                          | Subscriptions created that day                                                  |
| Churned Count                      | Subscriptions cancelled that day                                                |
| Reactivated Count                  | Previously cancelled → active                                                   |
| Paused Count                       | Subscriptions paused that day                                                   |
| Resumed Count                      | Subscriptions resumed that day                                                  |
| Net New Count                      | New + Reactivated − Churned                                                     |
| Churn Rate                         | Churned / previous day active                                                   |
| Cancelled Cumulative Count         | Running total cancellations                                                     |
| Active Subscribers Count           | Point-in-time count of customers with ≥1 active sub and no paused subs          |
| Partially Paused Subscribers Count | Point-in-time count of customers with both active AND paused subs               |
| Fully Paused Subscribers Count     | Point-in-time count of customers with only paused subs                          |
| Canceled Subscribers Count         | Point-in-time count of customers whose only remaining subs are canceled         |
| Prepaid Subscribers Count          | Point-in-time count of customers with ≥1 prepaid (non-gift) sub (ChordOMS only) |
| Gifted Subscribers Count           | Point-in-time count of customers currently receiving a gift sub (ChordOMS only) |
| Gift Purchasers Count              | Cumulative count of customers who have purchased a gift sub (ChordOMS only)     |

## Example business questions

- Daily churn trend (last 90 days)
- Net growth trend over time
- Monthly adds vs losses

## Notes & caveats

- **Churn = cancellation only** (pauses excluded)
- Paused/Resumed counts are **distinct subscription counts**, not event counts
- Churn rate returns **NULL** if no previous-day active subscriptions
- The subscriber counts above are **point-in-time (recalculated per report\_date)**
- **Gift Purchasers Count is cumulative** — once a customer has bought a gift, they remain counted
- **Prepaid, Gifted, and Gift Purchasers are ChordOMS-only** — Recharge and CustomOMS tenants will always show 0

## Glossary

| Term                     | What it Means                                                                                                                             | How to Interpret / Use                                                                                         | Where You’ll See It in Looker                                                                                                                                                                                                    |
| ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Active Subscription**  | A subscription that is currently ongoing. Includes both fully active and paused subscriptions.                                            | Use this to understand the **current size of your subscriber base**. Note that paused users are still counted. | Subscription Metrics Daily (Active Count), Subscriber Journey (Is Active Subscriber), Subscriber Journey Monthly (Is Active Subscriber EOM), Product & Bundle Explores (Active Subscription Count)                               |
| **Churn / Churned**      | A subscription that has been cancelled. Does not include pauses.                                                                          | Represents **true customer loss**. Track this to understand retention issues.                                  | Subscription Metrics Daily (Churned Count, Churn Rate), Subscriber Journey (Is Churned, Churn Count), Monthly (Is Churned EOM, Cancellations This Month), Events Enriched (Event Type = canceled), Movements (status\_cancelled) |
| **Winback**              | A subscriber who cancelled all subscriptions and later returned by subscribing again.                                                     | Indicates **successful re-engagement** after churn.                                                            | Subscriber Journey (Is Winback), Subscriber Journey Monthly (Has Reactivated By EOM)                                                                                                                                             |
| **Reactivation**         | A previously cancelled subscription that becomes active again (subscription-level).                                                       | Measures **recovery of churned subscriptions**.                                                                | Subscription Metrics Daily (Reactivated Count), Movements (status\_reactivated), Events Enriched (Event Type = reactivated)                                                                                                      |
| **Net New**              | Net change in subscriptions: New + Reactivated − Cancelled.                                                                               | Indicates **overall growth vs decline**.                                                                       | Subscription Metrics Daily (Net New Count)                                                                                                                                                                                       |
| **LTV (Lifetime Value)** | Total revenue generated by a subscriber across all subscription orders.                                                                   | Use to understand **customer value over time** and compare cohorts or segments.                                | Subscriber Journey (LTV Gross / Net Revenue), Subscriber Journey Monthly (LTV Gross Revenue EOM)                                                                                                                                 |
| **EOM (End of Month)**   | Metrics calculated as of the last day of a month.                                                                                         | Used for **consistent month-over-month comparisons** (retention, LTV growth).                                  | Subscriber Journey Monthly (all EOM fields)                                                                                                                                                                                      |
| **Subscriber Category**  | Mutually-exclusive current-state classification of a customer: active / partially\_paused / fully\_paused / canceled / never\_subscribed. | Use to segment customers by **current lifecycle state**. A reactivated customer returns to *active*.           | Subscriber Journey, Subscriber Journey Monthly (current value)                                                                                                                                                                   |
| **Partially Paused**     | Customer has at least one active AND at least one paused subscription simultaneously.                                                     | Identifies **at-risk users** scaling down but not fully churned.                                               | Subscription Metrics Daily (Partially Paused Subscribers Count), Subscriber Journey (Subscriber Category)                                                                                                                        |
| **Fully Paused**         | Customer's only non-canceled subscriptions are paused.                                                                                    | A **softer churn signal** — these users may still reactivate.                                                  | Subscription Metrics Daily (Fully Paused Subscribers Count), Subscriber Journey (Subscriber Category)                                                                                                                            |
| **Never Subscribed**     | Customer exists in the system but has never had a subscription.                                                                           | Useful for sizing **first-subscription / cross-sell opportunity**.                                             | Subscriber Journey only                                                                                                                                                                                                          |
| **Prepaid Subscriber**   | Customer has at least one prepaid (non-gift) subscription.                                                                                | Identifies **upfront billing behavior**. ChordOMS only.                                                        | Subscription Metrics Daily (Prepaid Subscribers Count), Subscriber Journey (Is Prepaid Subscriber)                                                                                                                               |
| **Gift Purchaser**       | Customer has purchased one or more gift subscriptions for someone else.                                                                   | Useful for **marketing segmentation and gifting behavior**. ChordOMS only.                                     | Subscription Metrics Daily (Gift Purchasers Count — cumulative), Subscriber Journey (Is Gift Purchaser)                                                                                                                          |
| **Gifted Subscriber**    | Customer is receiving a gift subscription (someone else purchased it).                                                                    | Useful for **conversion strategies** (turning recipients into paying users). ChordOMS only.                    | Subscription Metrics Daily (Gifted Subscribers Count), Subscriber Journey (Is Gifted Subscriber)                                                                                                                                 |
| **Solo Subscription**    | A subscription that contains only one product.                                                                                            | Helps identify products that perform well **individually**.                                                    | Subscription Product Metrics Daily (Solo Subscription Count)                                                                                                                                                                     |
| **Bundle**               | A subscription that contains two or more products.                                                                                        | Useful for analyzing **cross-sell and product combinations**.                                                  | Product Metrics (Bundle Subscription Count), Bundle Metrics Daily                                                                                                                                                                |
| **Movement**             | Any change in a subscription’s state (created, cancelled, paused, resumed, reactivated, quantity/price change).                           | Use to understand **operational changes and trends** in subscriptions.                                         | Subscription Movements Daily (Movement Type), Events Enriched (Event Type)                                                                                                                                                       |
| **Provider**             | The system managing subscriptions (Recharge, ChordOMS, CustomOMS).                                                                        | Important context — **data availability varies by provider**, impacting analysis.                              | All Explores                                                                                                                                                                                                                     |


[title] Chord AI Context
[path] Chord AI/

# Introduction

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-zPTxv9KUQixj52c3V58cI-20250910-152227.png)

Chord AI’s Context helps you capture and manage verified insights in the form of **Instructions&#x20;**&#x61;nd **SQL Pairs**.

**Instructions** offer two levels of guidance:

- **Global Instructions**, which apply to all queries (e.g., applying business rules like filtering out canceled orders, enforcing rounding conventions or naming standards across the board), and
- **Question‑Matching Instructions**, which apply only when a question matches a defined pattern (e.g., how to calculate “late delivery rate” based on specific date logic).

Together, these ensure more precise, standardized SQL generation aligned with your organization’s metrics and logic.

Additionally, **SQL Pairs** allow you to map natural language questions—like “What is our average customer lifetime value?”—to pre‑verified SQL queries, so that when similar questions are asked in the future, Chord AI can generate accurate and consistent results using those saved queries.&#x20;

&#x20;Question types that are best served by **SQL Pairs** include:&#x20;

- Complex business or computation logic that requires precise SQL formulation.
- Frequently asked business questions with established calculation methods.
- Custom KPIs and metrics specific to your brand.

Combined, **Instructions** and **SQL Pairs** give Chord AI the ability to answer domain-specific questions with high consistency and accuracy—capturing organizational knowledge, reducing SQL errors, and improving trust in AI-generated outputs.&#x20;

Read on for additional information about these features within Chord Context.

## Instructions

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/LBWVPPXwlhq3dTTpiqWBP-20250919-173838.png)

The **Instructions** feature in Chord Context lets your team embed business logic and formatting rules directly into how the system generates SQL queries and answers. By using Instructions, organizations can standardize how metrics are calculated, ensure consistent SQL structure, and provide data context in a way that aligns closely with internal definitions. It helps Chord Copilot produce accurate, reliable, and predictable answers by capturing domain-specific business rules and metrics logic in advance.

There are two types of **Instructions** that organizations can customize: **Global Instructions** and **Question-Matching Instructions**.

### Global instructions

You can set **Global Instructions** that apply to all questions—perfect for enforcing naming conventions, consistent rounding, data filters (e.g. excluding canceled orders), and join behaviors.

To add a **Global Instruction**:

1. Navigate to the **Context** navigation link.
2. Click the **"Add Instruction"** button.
3. Select **"Global"** under **"Apply instruction to"**.
4. Enter your instruction details in the text field.
5. Clic&#x6B;**&#x20;"Submit"** to save and apply the instruction.

### Question-matching instructions

You can also define **Question-Matching Instructions**, which only apply when user queries match specific patterns or topics—such as calculating “late delivery rate” using your exact definition.

To add &#x61;**&#x20;Question-Matching Instruction**:

1. Navigate to the **Context** navigation link.
2. Click on the **Instructions** tab.
3. Click th&#x65;**&#x20;"Add Instruction"** button.
4. Select **"Matched to specific questions"** under **"Apply instruction to".**
5. Enter your instruction details in the text field.
6. Add questions that should trigger the instruction.
7. Click **"Submit"** to save and apply the instruction.

## SQL pairs

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/R91aHF4uETf2aTa0gnD6B-20250919-173806.png)

Chord AI's **SQL Pairs** capability allows you to capture and map natural‑language questions to their exact SQL queries, building a trusted knowledge base of verified answers. Whenever a team member asks a similar question—such as "What is our average order value?"—Chord AI can pull the saved SQL and respond with the exact computation each time, ensuring consistency across the organization.

To set up a **SQL Pair**, you can manually add a SQL pair to Chord Context if you know certain questions that your team will ask in advance.&#x20;

To manually add a **SQL Pair**:

1. Navigate to the **Context** navigation link.
2. Click on the **Question-SQL Pairs** tab.
3. Click th&#x65;**&#x20;"Add Question-SQL Pair"** button.
4. Add a question and the corresponding SQL statement that answers the quesiton.
5. Click **"Create"** to create and save the SQL Pair.

Once a SQL Pair is created, you can view, edit, or delete a specific SQL Pair at any time.


[title] Stock Requests
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Chord OMS/

### **x\_fct\_trans\_stock\_requests**

| Name                                 | Description                                                                         |
| ------------------------------------ | ----------------------------------------------------------------------------------- |
| Product Description                  | The description of the product.                                                     |
| Product Id                           | Unique key generated by Chord to identify a unique product.                         |
| Product Is Adult Signature Required  | If an adult's signature is required.                                                |
| Product Is Promotionable             | Whether promotions can apply to the product.                                        |
| Product Name                         | The name of the product.                                                            |
| Product Oms Product Id               | Unique key generated by Solidus that identifies a product.                          |
| Product Property Gender              | Product property gender.                                                            |
| Product Slug                         | The slug of the product.                                                            |
| Stock Request Id                     | Unique key generated by Chord to identify a unique stock request.                   |
| Stock Request Oms Stock Request Id   | Unique key generated by Solidus that identifies a stock request.                    |
| Stock Request Requester Email        | Email address of the user requesting stock.                                         |
| Stock Request Status                 | Status of the stock request.                                                        |
| Store Id                             | Unique key generated by our models that uniquifies a store.                         |
| Store Name                           | The name of the store.                                                              |
| Store Oms Admin Url                  | The Admin URL of that OMS.                                                          |
| Store Oms Id                         | Unique key generated by Chord that uniquifies an OMS.                               |
| Store Oms Store Id                   | Unique key generated by our models that uniquifies a store.                         |
| Store Oms Type                       | The type of the OMS.                                                                |
| Store Id                             | Unique key generated by our models that uniquifies a store.                         |
| Store Tenant Id                      | Unique key generated by Chord that uniquifies a tenant.                             |
| Store Url                            | The Storefront URL of of the store.                                                 |
| Variant Cost Price                   | The manufacturing cost of the variant.                                              |
| Variant Depth                        | The depth of the variant.                                                           |
| Variant Height                       | The height of the variant.                                                          |
| Variant Id                           | Unique key generated by Chord to identify a unique product variant.                 |
| Variant Is Backorderable             | Whether the stock item has at least one location where it is back-orderable or not. |
| Variant Is Inventory Tracked         | Whether the inventory should or should not be tracked for this variant.             |
| Variant Is Master                    | Whether this represents the master SKU or not.                                      |
| Variant Is Subscribable              | Whether or not a customer can ask to subscribe to this product.                     |
| Variant Oms Variant Id               | Unique key generated by Solidus that identifies a variant.                          |
| Variant Option Color                 | Color of the variant.                                                               |
| Variant Option Format                | Format of the variant.                                                              |
| Variant Option Quantity              | Quantity of item for the variant.                                                   |
| Variant Option Size                  | Size of the variant.                                                                |
| Variant Position                     | The position of the variant in the list of variants.                                |
| Variant Sku                          | The SKU of the variant.                                                             |
| Variant Weight                       | The weight of the variant.                                                          |
| Variant Width                        | The weight of the variant.                                                          |
| Product Created At (Universal)       | Reflects when the entity was first created in Solidus - Universal Time Zone.        |
| Product Deleted At (Universal)       | Reflects when the entity was deleted - Universal Time Zone.                         |
| Product Discontinued At (Universal)  | Reflects when the entity was discontinued - Universal Time Zone.                    |
| Product Updated At (Universal)       | Reflects when the entity was last updated in Solidus - Universal Time Zone.         |
| Stock Request Created At (Universal) | Timestamp at which the stock request was created - Universal Time Zone.             |
| Stock Request Updated At (Universal) | Timestamp at which the stock request was last updated - Universal Time Zone.        |
| Variant Created At (Universal)       | Reflects when the entity was first created in Solidus - Universal Time Zone.        |
| Variant Deleted At (Universal)       | Reflects when the entity was deleted - Universal Time Zone.                         |
| Variant Updated At (Universal)       | Reflects when the entity was last updated in Solidus - Universal Time Zone.         |


[title] Data Models
[path] Chord Data Platform/

## Introduction

Data models, or transformations, are tables created by our analytics engineering team to present data in a shape that is easy to consume for analytics purposes. Orders facts, product dimensions, and user dimensions are all examples of potential entities (or tables) in a data model.

Creating data models is essential for transforming raw data into structured, meaningful, and usable formats that drive analytics, reporting, and decision-making. Well-designed data models also serve as the foundation for powering more robust and useful AI systems by providing clean, consistent inputs that improve model accuracy, reduce noise, and support richer feature engineering. In short, data models not only enable better business intelligence but also unlock the full potential of AI by ensuring data is trustworthy, well-organized, and aligned with real-world context.

## Why Data Models Matter

🔧 **Structure and Organization**

- Data models define **how data is organized**, related, and stored.
- They bring **consistency and clarity** to how teams understand and query data.

:::BlockQuote
Example: Instead of dealing with hundreds or even thousands of unconnected tables, a well-designed model organizes them into clean dimensions (like Customers, Products) and facts (like Revenue).
:::

**🤖 Unlock Full Potential of AI with Organized, Accurate, and Business-Ready Context**

- Models provide the structured, high-quality data that machine learning systems rely on for accuracy and relevance.
- They enable richer feature engineering, reduce noise, and ensure AI outputs are grounded in business-ready context.

**📊 Enable Reliable Analytics**

- Models establish **clean relationships** between metrics and dimensions, reducing errors and ambiguity.
- They ensure that calculations like revenue, retention, or conversion rate are **accurate and consistent** across tools and users, creating a **single source of truth**.

**🚀 Power Self-Service & Scale**

- With intuitive, documented models (e.g., via dbt or semantic layers), non-technical users can explore data confidently.
- Teams avoid reinventing logic and reduce dependency on data engineers or analysts for every question.

🔒 **Governance and Control**

- Data models provide **defined logic, lineage, and ownership**, supporting governance, auditing, and compliance.
- They help enforce **data quality checks, contracts, and access controls**.

📐 **Improve Performance and Efficiency**

- Well-modeled data reduces duplication and streamlines queries.
- Optimized joins, indexing, and aggregations improve performance in warehouses and BI tools.

🧠 **Support Business Understanding**

- Models reflect the **business logic**—how the company defines a customer, transaction, or lifecycle stage.
- They bridge the gap between technical schemas and business needs.

## How it Works

Chord utilizes the **Kimball approach** to data modeling. This is a widely used method in analytics and data warehousing that enables teams to build models that are easy to understand and utilize.

It breaks data into two core types of tables:

🧾 **Fact Tables (fct\_)** – The “What Happened”

Fact tables track **events or transactions**, such as purchases, logins, or ad clicks.
&#x20;They include **measurable data** such as revenue, quantities, time of action, and user IDs.

:::BlockQuote
Example: A table of all orders placed on your website, including order amount, date, and customer ID.
:::

�&#xDC64;**&#x20;Dimension Tables (dim\_) – The “Who” and “What”**

Dimension tables provide **context** for facts. They describe things like customers, products, or regions.

:::BlockQuote
Example: A table of customer information with name, email, signup date, and status (active/inactive).
:::

These two types of tables are designed to **join together** easily, allowing users to answer questions like:

- *“How much revenue did we make from active customers last month?”*
- *“Which products are most popular among new users?”*

### 🛠️ How Chord Builds Data Models

**Step 1: Ingest Raw Data**

Data often starts messy—coming from tools like:

- Shopify (orders, line items, products, etc.)
- Chord CDP (website client-side events and server-side events)
- Klaviyo (messaging)
- Facebook Ads (ad spend and metrics)

This data is loaded into a cloud data warehouse. However, at this point, it remains messy, inconsistent, and contains duplicates, inconsistent naming, or missing values. Additionally, each source typically contains tens or hundreds of separate tables that must be combined to make sense of the data.

**Step 2: Clean and Normalize the Data**

Chord utilizes **dbt** (short for *data build tool*), a transformation tool that helps data teams clean, organize, and document data as it flows from raw sources to clean, usable models. Chord's analytics engineers build these data models in layers in dbt using programming languages like SQL, python, jinja and YAML. The various data modelling layers allow us to:

- **Clean** the raw data (e.g., standardize names, remove junk values, Handle nulls, trims, formatting, or simple derived fields
- **Deduplicate** records
- **Convert&#x20;**&#x64;ata types (e.g., string to timestamp)
- **Filte**r out irrelevant rows (e.g., deleted or test records)
- **Add flags** like is\_active
- **Convert or standardize** (e.g., currency conversion, unit standardization)
- **Join related tables** from different systems (e.g., linking a CDP session to a Shopify order)
- **Enrich** records with helpful metadata or flags
- **Define&#x20;**&#x6D;etrics

**Step 3: Organize into Facts and Dimensions**

Once cleaned, the data is structured into:

- **Dimension models** like dim\_customers, dim\_products, dim\_dates
- **Fact models** like fct\_orders, fct\_pageviews, fct\_subscriptions

**Step 4: Explode!**

Chord utilizes an explosion technique to join every applicable dimension and fact table into a single, consolidated table, such as Orders, so that every field applicable to orders is now available in a single, unified table. We call these x\_fct tables. Now, there's no need for one-to-many joins between dimension and fact tables, and instead, data is readily joined to immediately start analysis!

These data models models are **versioned, documented, and tested** in dbt to ensure reliability. They run daily (or even hourly), so dashboards and AI models always use fresh, trustworthy data.

## **Getting Started**

Chord's data models power your AI, Analytics, and Activations in the Chord platform. You'll see data models such as Orders, Sessions, and more in your Explores section of Analytics. For the full list of models, along with each field therein, see the documentation in [Chord Data Attribute Definitions](docId\:EehJlvlJqMT3Q98V-e87N).



:::hint{type="success"}
if you have any questions or need help, please reach out to us at [help@chord.co](mailto\:help@chord.co)
:::


[title] Custom Audiences
[path] Chord Data Platform/Audiences/

# Overview

Chord's pre-built audiences give brands a quick and easy way to view (and activate) specific customer segments for marketing and beyond. In addition to modifying pre-built templates, brands can now also **create custom audiences directly from Explores** — capturing the exact filters and conditions used in an analysis with just one click. These custom audiences, like all others in Chord, can then be sent to third-party tools via the data activation suite to drive deeper e-commerce insights and customer engagement.

# How to create an activate audiences from Explores

::loom[]{url="https://www.loom.com/embed/f67b3e580ea44c76941004e2b677c7e9"}

You can now build and save custom audiences faster with the new **Create Audience&#x20;**&#x62;utton — available directly in Explores.

When you've defined your filters and segments in an Explore, the **Create Audience** button allows you to:

- **Capture your current Explore state:&#x20;**&#x45;verything you've filtered, defined, and scoped is preserved as the foundation of your new audience.&#x20;
- **Name your audience:&#x20;**&#x47;ive it a clear, meaningful name to reflect its purpose or intended use.&#x20;
- **Save it to your Shared Audiences folder:&#x20;**&#x4E;o need to export or switch views — your audience is instantly saved and available for reuse.

:::hint{type="info"}
**Bonus: Auto-Select on Save**

Once your audience is saved, it will be automatically pre-selected when you navigate to the **Shared Audiences&#x20;**&#x76;iew. That means you can immediately take action, explore further, or use it in downstream workflows — no extra clicks required.
:::

# How to create and activate audiences from Prebuilt Audiences

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-o6TOHc82hlvbTHknmYLEe-20250403-142749.png)

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-B5tsXZ-cCymeEOrvlIC-0-20250403-143047.png)

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-BrwPprBVzAZFWTdE_fJf_-20250403-143729.png)

1. Once logged into the Chord data platform, navigate to the **Prebuilt Audiences&#x20;**&#x70;age.
2. Select a prebuilt audience that you'd like to customize. Click on the **Use As Template&#x20;**&#x62;utton.&#x20;
3. Give your new audience a new title and/or a description in the modal and click **Create Audience**.&#x20;
4. After you have made the desired changes to your custom audience segment, click **Sync Audience&#x20;**&#x74;o send your custom audience to Chord Activations.
5. From here, you can send your customized audience segment to an existing sync OR create a new sync for your audience.

:::hint{type="info"}
**Note:&#x20;**&#x49;f you do not see your custom audience synced to data activations, please reach out to [help@chord.co](mailto\:help@chord.co) for assistance.
:::

# Troubleshooting and FAQs

- **Question: I clicked "Activate Audience" after creating a customized pre-built audience, and nothing happened. What did I do wrong?**
  - ***Does your organization have access to Chord's Data Activations suite?*** If not, your team manager can request access to the Data Activations features and a Chord representative will be in touch shortly!
  - If you organization ***does*** have access to the Data Activations features, you will see the below Audience Activations page:&#x20;

::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-e9rTSZxiy5TQusRKHwyIM-20250403-143535.png" size="100" width="2694" height="1196" position="center" darkWidth="2694" darkHeight="1196" showCaption="false" indent="3"}

:::Paragraph{listStyleType="disc" listStart="3" indent="2"}
From here, you can follow the existing steps to create a data activations destination and will see your customized prebuilt audience list in the data sources dropdown menu.&#x20;
:::

- **Question: I just created a custom segment and sent it to activations following the instructions above but don't see the audience segment I need in the activations suite. What did I do wrong?**
  - The sync should occur immediately. However, if you do not see your custom audience listed under the activations modal, it may be due to issues with the setup of the audience in which the underlying SQL is not compiling. You''ll want to check that:
    - Your dimension does not show "Remove filled in dates" like below. If your dimension does show "Remove filled in dates," select "Remove filled in dates" and then re-save your audience.

::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/iCsIrWE2VP6jmzs1DjUUy-71trnVimpGL2TkOVcmWS8-20250714-181904.png" size="100" width="1014" height="544" position="center" darkWidth="1014" darkHeight="544" showCaption="false" indent="4"}

:::Paragraph{listStyleType="disc" listStart="2" indent="2"}
If you do not see your custom audience listed under the activations modal, please reach out to [help@chord.co ](mailto\:help@chord.co) for assistance.
:::

- **Question: Can I edit and activate a custom audience segment that has been previously activated?&#x20;**
  - No, you will not be able to edit a custom audience segment that has been previously activated. You will need to create new audience segments each time in order to send the customer list to the Chord data activations suite.
- **Question:** **What if I am not creating an audience through the Chord data platform and want to send information to a third-party app like Klaviyo or Google Sheets?&#x20;**
  - This is something the Chord team is working on supporting through a separate custom data activations feature. This workflow is not supported by **Custom Audiences.**&#x20;




[title] Omni-Channel Sales Data Modeling
[path] Chord Data Platform/Data Sources/Untitled/

:::hint{type="info"}
**This Explore is only available to Shopify OMS customers at this time.**
:::

# Overview

E-commerce brands don’t sell in just one place—and your data shouldn’t treat each sales channel as a silo. Chord’s new omni-channel sales data modeling brings together sales data from all your key commerce channels—including Shopify, Chord OMS, Salesforce, and third-party marketplaces like Amazon—into a unified, comprehensive dataset.

For Chord brands with the Amazon Selling Partner source, this Explore combines Amazon and Shopify transactional line items into a unified Explore.&#x20;

This omni-channel approach allows you to:

- Analyze total sales across all channels in one place.
- Compare performance across categories or by individual channel.
- Break down revenue by channel to support reporting and strategy.
- Track trends and customer behavior regardless of point of sale.

# Core Event Attributes

- Line Items
  - Source System: Can be Amazon or Shopify
- Order
- Order Created Date

# Where to Find This Data in Chord

Once your Amazon Selling Partner source events are ingested by Chord, you will be able to further analyze this data on Chord.&#x20;

:::hint{type="info"}
For assistance with getting Amazon Selling Partner data ingested on Chord, please contact help\@chord.co.
:::

Once your Amazon Selling Partner data has been ingested and synced, follow the steps below to dig into your data:

1. Log into the Chord Commerce data platform.
2. Navigate to **Explores** tab on the **Analytics** page.
3. Click on the **Explores** dropdown on the left side of the page.
4. Select th&#x65;**&#x20;Omni-Channel Sales** Explore.


[title] Orders
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Chord OMS/

### x\_fct\_trans\_orders

| Name                                                   | Description                                                                                                                                                                                                                                                                                         |
| ------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Affiliate Email                                        | Email address of the affiliate.                                                                                                                                                                                                                                                                     |
| Affiliate Id                                           | Unique key generated by Chord to identify a unique affiliate.                                                                                                                                                                                                                                       |
| Affiliate Name                                         | Full name of the user.                                                                                                                                                                                                                                                                              |
| Affiliate Seen Emails                                  | List of email addresses seen.                                                                                                                                                                                                                                                                       |
| Affiliate User Id                                      | Unique key generated by Chord to identify a unique user.                                                                                                                                                                                                                                            |
| Billing Address Address1                               | The street address of the customer.                                                                                                                                                                                                                                                                 |
| Billing Address Address2                               | The optional second address of the customer.                                                                                                                                                                                                                                                        |
| Billing Address Alternative Phone                      | The customer's alternative phone number.                                                                                                                                                                                                                                                            |
| Billing Address City                                   | The city where the address is.                                                                                                                                                                                                                                                                      |
| Billing Address Company                                | A company name.                                                                                                                                                                                                                                                                                     |
| Billing Address Country Abbr                           |                                                                                                                                                                                                                                                                                                     |
| Billing Address Country Name                           | Full name of the country.                                                                                                                                                                                                                                                                           |
| Billing Address Firstname                              | First name of the customer.                                                                                                                                                                                                                                                                         |
| Billing Address Id                                     | Unique key generated by Chord to identify a unique address.                                                                                                                                                                                                                                         |
| Billing Address Lastname                               | Last name of the customer.                                                                                                                                                                                                                                                                          |
| Billing Address Oms Address Id                         | Unique key generated by Solidus that identifies an address.                                                                                                                                                                                                                                         |
| Billing Address Phone                                  | The customer's phone number.                                                                                                                                                                                                                                                                        |
| Billing Address State Abbr                             |                                                                                                                                                                                                                                                                                                     |
| Billing Address State Name                             | Full name of the state.                                                                                                                                                                                                                                                                             |
| Billing Address Zipcode                                | The postal code.                                                                                                                                                                                                                                                                                    |
| Order Adjustment Types                                 | List of distinct adjustment reasons for adjustments made to the order.                                                                                                                                                                                                                              |
| Order Admin Url                                        | The Admin URL of pointing to the order.                                                                                                                                                                                                                                                             |
| Order Applied Discount Codes                           | List of promotion codes applied to the order.                                                                                                                                                                                                                                                       |
| Order Applied Discount Codes Count                     | Count of promotion codes applied to the order.                                                                                                                                                                                                                                                      |
| Order Applied Discount Ids                             | List of promotion ids applied to the order.                                                                                                                                                                                                                                                         |
| Order Applied Discount Names                           | List of promotion names applied to the order.                                                                                                                                                                                                                                                       |
| Order Applied Discount Names Count                     | Count of promotion names applied to the order.                                                                                                                                                                                                                                                      |
| Order Cart Url                                         | Url of the cart which contains the order.                                                                                                                                                                                                                                                           |
| Order Channel                                          | The channel from which the order is created.                                                                                                                                                                                                                                                        |
| Order Completed Order Rank By Subscription             | Allows to rank completed orders by completion date for a subscription.                                                                                                                                                                                                                              |
| Order Completed Order Rank By User                     | Allows to rank completed orders by completion date for a user.                                                                                                                                                                                                                                      |
| Order Contains Refund                                  | Whether or not the order contains refund adjustments or refunds that are processed outside of the Chord OMS adjustment systems (for example via RMAs or cancellations).                                                                                                                             |
| Order Contains Replacement                             | Whether or not the order contains replacement adjustments or shipped replacement items (following an RMA authorization).                                                                                                                                                                            |
| Order Contains Return                                  | Whether or not the order contains returns (authorized RMAs).                                                                                                                                                                                                                                        |
| Order Contains Rma Refund                              | Whether or not the order contains RMA refunds (refunds issued after an RMA was requested and authorized).                                                                                                                                                                                           |
| Order Contains Rma Store Credits                       | This column is not documented.                                                                                                                                                                                                                                                                      |
| Order Currency                                         | The currency for this order.                                                                                                                                                                                                                                                                        |
| Order Customer Lifetime Month                          | Number of months between the current order's completion date and the user's first order completion date. First orders have a value of 1.                                                                                                                                                            |
| Order Customer Lifetime Week                           | Number of weeks between the current order's completion date and the user's first order completion date. First orders always have a value of 1.                                                                                                                                                      |
| Order Days Since Last Order Completed                  | The days between the last order's completed date and this order's. Only for completed orders.                                                                                                                                                                                                       |
| Order Days Since Last Order Completed                  | The days between the last order's created date and this order's.                                                                                                                                                                                                                                    |
| Order Email                                            | The email address of the customer that made the order.                                                                                                                                                                                                                                              |
| Order Financial State                                  | The current payment state of the order.                                                                                                                                                                                                                                                             |
| Order Fulfillment Ids                                  | Array of unique keys generated by Chord to identify the unique shipments for an order.                                                                                                                                                                                                              |
| Order Fulfillment Numbers                              | The unique identifier for this shipment.                                                                                                                                                                                                                                                            |
| Order Fulfillment State                                | The current shipment state of the order.                                                                                                                                                                                                                                                            |
| Order Has Discount                                     | Whether or not the order has promotions applied to it.                                                                                                                                                                                                                                              |
| Order Has Order Tags                                   | Whether or not that order has tags.                                                                                                                                                                                                                                                                 |
| Order Hours From Order To First Fulfillment            | Number of hours between order completion and first order shipment; how long it takes a company to get the initial product out to a customer.                                                                                                                                                        |
| Order Hours From Order To Last Fulfillment             | Number of hours between order completion and last order shipment.                                                                                                                                                                                                                                   |
| Order Id                                               | Unique key generated by Chord to identify a unique order.                                                                                                                                                                                                                                           |
| Order Is Canceled                                      | Whether or not the order is canceled. The order is considered canceled when the canceled\_at date is not null.                                                                                                                                                                                      |
| Order Is Completed                                     | Whether or not that order is completed. The order is considered completed when the completed\_at date is not null. This means that the order does not necessarily have a state = 'complete', since states can change after the order completion (for example in the case of a refund).              |
| Order Is First Completed Order                         | Whether or not that order was the first completed order for a user.                                                                                                                                                                                                                                 |
| Order Is First Order                                   | Whether or not that order was the first order for a user.                                                                                                                                                                                                                                           |
| Order Is First Subscription Completed Order            | Whether or not that order was the first completed order for a subscription.                                                                                                                                                                                                                         |
| Order Is First Subscription Order                      | Whether or not that order was the first order for a subscription.                                                                                                                                                                                                                                   |
| Order Is Fulfilled                                     | Whether or not that order has shipped.                                                                                                                                                                                                                                                              |
| Order Is Part Of Subscription                          | Whether or not that order is part of a subscription.                                                                                                                                                                                                                                                |
| Order Is Pre Paid Purchase                             | Whether the order the orderincludes the purchase of a pre-payment; this could be a gift subscription, pre-pay subscription, or gift card.                                                                                                                                                           |
| Order Is Pre Paid Redemption                           | Whether the order included the redemption of a pre-payment; this could be the redemption of a gift subscription, pre-pay subscription, or gift card.                                                                                                                                                |
| Order Is Referred By Affiliate                         | Whether or not the user is referred by an affiliate.                                                                                                                                                                                                                                                |
| Order Is Referred By Referrer                          | Whether or not the user is referred by a referrer.                                                                                                                                                                                                                                                  |
| Order Is Replacement                                   | True when the order is a replacement order.                                                                                                                                                                                                                                                         |
| Order Is Suspicious Referral Conversion                | Wether this represents a suspicous referral conversions or not.                                                                                                                                                                                                                                     |
| Order Item Id                                          | Unique key generated by Chord to identify a unique order.                                                                                                                                                                                                                                           |
| Order Item Line Items Quantity                         | Sum of line items quantities per order.                                                                                                                                                                                                                                                             |
| Order Item Product Basket                              | List of product names per in the order.                                                                                                                                                                                                                                                             |
| Order Item Product Basket Count                        | Number of products in the order.                                                                                                                                                                                                                                                                    |
| Order Product Basket                                   | The titles of products for a given order array converted to a string.                                                                                                                                                                                                                               |
| Order Item Total Line Item Unit Quantity               | Sum of line item units in the order.                                                                                                                                                                                                                                                                |
| Order Item Total Line Items Quantity                   | Sum of line items quantities per order.                                                                                                                                                                                                                                                             |
| Order Item Unique Product Basket                       | List of unique product names per in the order.                                                                                                                                                                                                                                                      |
| Order Item Unique Product Basket Count                 | Number of unique products in the order.                                                                                                                                                                                                                                                             |
| Order Unique Product Basket                            | The list of unique products for a given order array converted to a string.                                                                                                                                                                                                                          |
| Order Item Unique Unit Basket                          | List of unique units in the order.                                                                                                                                                                                                                                                                  |
| Order Item Unique Unit Basket Count                    | Count of unique units in the order.                                                                                                                                                                                                                                                                 |
| Order Unit Basket                                      | The list of units for a given order array converted to a string.                                                                                                                                                                                                                                    |
| Order Item Unique Variant Basket                       | List of unique variant names per in the order.                                                                                                                                                                                                                                                      |
| Order Item Unique Variant Basket Count                 | Number of unique variants in the order.                                                                                                                                                                                                                                                             |
| Order Unique Variant Basket                            | The list of unique variants for a given order array converted to a string.                                                                                                                                                                                                                          |
| Order Item Unit Basket                                 | List of all units in the order.                                                                                                                                                                                                                                                                     |
| Order Item Unit Basket Count                           | Count of all units in the order.                                                                                                                                                                                                                                                                    |
| Order Unique Unit Basket                               | The list of unique units for a given order array converted to a string.                                                                                                                                                                                                                             |
| Order Item Variant Basket                              | List of variant names per in the order.                                                                                                                                                                                                                                                             |
| Order Item Variant Basket Count                        | Number of variants in the order.                                                                                                                                                                                                                                                                    |
| Order Variant Basket                                   | The titles of variants for a given order array converted to a string.                                                                                                                                                                                                                               |
| Order Number                                           | Human-readable unique key generated by Solidus that identifies an order. It begins with a set of Tenant-Store defined letters and ends in a nine-digit number (for example, CHORD-123456789). This number is shown to the users in various places. These combinations are unique for a given Store. |
| Order Oms Order Id                                     | Unique key generated by Solidus that identifies an order.                                                                                                                                                                                                                                           |
| Order Rank By User                                     | Allows to rank completed orders by completion date for a user.                                                                                                                                                                                                                                      |
| Order Tags                                             | List of tags associated to the order.                                                                                                                                                                                                                                                               |
| Order Tags Count                                       | Number of tags associated to the order.                                                                                                                                                                                                                                                             |
| Order Referral Conversion Suspicious Reasons           | A list of reasons explaining why the referral conversion is suspicious.                                                                                                                                                                                                                             |
| Order Referrer User Email                              | The email address of the customer identified with the referral.                                                                                                                                                                                                                                     |
| Order Special Instructions                             | Any special shipping instructions that have been specified by the customer during checkout.                                                                                                                                                                                                         |
| Order State                                            | The current state of the order.                                                                                                                                                                                                                                                                     |
| Order Store Id                                         | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                         |
| Order Store Name                                       | The name of the store.                                                                                                                                                                                                                                                                              |
| Order Store Oms Admin Url                              | The Admin URL of that OMS.                                                                                                                                                                                                                                                                          |
| Order Store Oms Id                                     | Unique key generated by Chord that uniquifies an OMS.                                                                                                                                                                                                                                               |
| Order Store Oms Store Id                               | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                         |
| Order Store Oms Type                                   | The type of the OMS.                                                                                                                                                                                                                                                                                |
| Order Store Id                                         | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                         |
| Order Store Tenant Id                                  | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                             |
| Order Store Url                                        | The Storefront URL of of the store.                                                                                                                                                                                                                                                                 |
| Order Subscription Customer Lifetime Month             | Number of months between the current order's completion date and the user's first subscription order completion date. First orders have a value of 1.                                                                                                                                               |
| Order Subscription Customer Lifetime Week              | Number of weeks between the current order's completion date and the user's first subscription order completion date. First orders always have a value of 1.                                                                                                                                         |
| Order User Referral Code                               | Unique key generated by Solidus that represents the user's referral code.                                                                                                                                                                                                                           |
| Order Website Locale                                   | Locale of website. This will either be collected from the url or from the drop-down link on the store.                                                                                                                                                                                              |
| Referral Conversion Rank By Referrer                   | Allows to rank a referral conversion by referrer.                                                                                                                                                                                                                                                   |
| Referral Id                                            | Unique key generated by Chord to identify a unique referral identifier.                                                                                                                                                                                                                             |
| Referral Is Converted                                  | Wether this represents a converted referral or not.                                                                                                                                                                                                                                                 |
| Referral Is First Conversion                           | Whether or not the referral was the referrer's first converted referral.                                                                                                                                                                                                                            |
| Referral Is First Non Suspicious Conversion            | Whether or not the referral was the referrer's first non suspicious converted referral.                                                                                                                                                                                                             |
| Referral Is Suspicious                                 | Wether this represents a suspicous referral conversions or not.                                                                                                                                                                                                                                     |
| Referral Non Suspicious Conversion Rank By Referrer    | Allows ranking of non-suspicious referral conversion by the referrer.                                                                                                                                                                                                                               |
| Referral Oms Referral Conversion Id                    | Unique key generated by Solidus that identifies a referral conversion.                                                                                                                                                                                                                              |
| Referral Suspicious Reasons                            | A list of reasons explaining why the referral conversion is suspicious.                                                                                                                                                                                                                             |
| Referrer Currency                                      | The currency for this referral identifier.                                                                                                                                                                                                                                                          |
| Referrer Email                                         | The email address of the customer identified with the referral.                                                                                                                                                                                                                                     |
| Referrer Id                                            | Unique key generated by Chord to identify a unique referral identifier.                                                                                                                                                                                                                             |
| Referrer Oms Referral Identifier Id                    | Unique key generated by Solidus that identifies a referral identifier.                                                                                                                                                                                                                              |
| Referrer User Referral Code                            | Unique key generated by Solidus that represents the user's referral code.                                                                                                                                                                                                                           |
| Shipping Address Address1                              | The street address of the customer.                                                                                                                                                                                                                                                                 |
| Shipping Address Address2                              | The optional second address of the customer.                                                                                                                                                                                                                                                        |
| Shipping Address Alternative Phone                     | The customer's alternative phone number.                                                                                                                                                                                                                                                            |
| Shipping Address City                                  | The city where the address is.                                                                                                                                                                                                                                                                      |
| Shipping Address Company                               | A company name.                                                                                                                                                                                                                                                                                     |
| Shipping Address Country Abbr                          |                                                                                                                                                                                                                                                                                                     |
| Shipping Address Country Name                          | Full name of the country.                                                                                                                                                                                                                                                                           |
| Shipping Address Firstname                             | First name of the customer.                                                                                                                                                                                                                                                                         |
| Shipping Address Id                                    | Unique key generated by Chord to identify a unique address.                                                                                                                                                                                                                                         |
| Shipping Address Lastname                              | Last name of the customer.                                                                                                                                                                                                                                                                          |
| Shipping Address Oms Address Id                        | Unique key generated by Solidus that identifies an address.                                                                                                                                                                                                                                         |
| Shipping Address Phone                                 | The customer's phone number.                                                                                                                                                                                                                                                                        |
| Shipping Address State Abbr                            |                                                                                                                                                                                                                                                                                                     |
| Shipping Address State Name                            | Full name of the state.                                                                                                                                                                                                                                                                             |
| Shipping Address Zipcode                               | The postal code.                                                                                                                                                                                                                                                                                    |
| Subscription Completed Oms Order Ids                   | List of completed OMS order ids by a subscription.                                                                                                                                                                                                                                                  |
| Subscription Completed Order Count                     | Total amount of orders completed by a subscription.                                                                                                                                                                                                                                                 |
| Subscription Completed Order Ids                       | List of completed order ids by a subscription.                                                                                                                                                                                                                                                      |
| Subscription First Order Unique Product Basket         | Array of unique product names ordered in the first order per subscription.                                                                                                                                                                                                                          |
| Subscription First Order Unique Variant Basket         | Array of unique SKUs ordered in the first order per subscription.                                                                                                                                                                                                                                   |
| Subscription Has Subscription Tags                     | Whether or not the subscription has tags.                                                                                                                                                                                                                                                           |
| Subscription Id                                        | Unique key generated by Solidus that identifies a subscription.                                                                                                                                                                                                                                     |
| Subscription Interval In Days                          | The number of days in the subscription interval.                                                                                                                                                                                                                                                    |
| Subscription Is Auto Redeemed                          | Whether the pre-paid subscription will be auto-redeemed or if an action is required by the recepient.                                                                                                                                                                                               |
| Subscription Is Gift                                   | Whether or not the pre-paid subscription is a gift.                                                                                                                                                                                                                                                 |
| Subscription Is Recurring                              | Whether the pre-paid subscription is recurring.                                                                                                                                                                                                                                                     |
| Subscription Last Order Unique Product Basket          | Array of unique product names ordered in the latest order per subscription.                                                                                                                                                                                                                         |
| Subscription Last Order Unique Variant Basket          | Array of unique SKUs ordered in the latest order per subscription.                                                                                                                                                                                                                                  |
| Subscription Oms Pre Paid Subscription Id              | ID generated by ChordOMS to identify a unique pre-paid subscription.                                                                                                                                                                                                                                |
| Subscription Oms Subscription Id                       | Unique key generated by Solidus that identifies a subscription.                                                                                                                                                                                                                                     |
| Subscription Pre Paid Subscription Id                  | Chord generated unique id for the pre-pay subscription.                                                                                                                                                                                                                                             |
| Subscription State                                     | The current state of the subscription, enhanced with values for \`paused\` if the subscription is active and paused.                                                                                                                                                                                |
| Subscription Tags                                      | The list of tags associated with a subscription.                                                                                                                                                                                                                                                    |
| Subscription Tags Count                                | The number of tags associated with a subscription.                                                                                                                                                                                                                                                  |
| Subscription Unique Product Basket                     | Array of unique product names ever ordered per subscription.                                                                                                                                                                                                                                        |
| Subscription Unique Variant Basket                     | Array of unique SKUs ever ordered per subscription.                                                                                                                                                                                                                                                 |
| User Completed Oms Order Ids                           | List of completed OMS order ids by a user.                                                                                                                                                                                                                                                          |
| User Completed Order Ids                               | List of completed order ids by a user.                                                                                                                                                                                                                                                              |
| User Credit Category Basket                            | Array of credit categories (Gift Card, Reimbursement, Referral Credits, Prepaid Subscription, GMA) issued per user.                                                                                                                                                                                 |
| User Email                                             | Email address of the user.                                                                                                                                                                                                                                                                          |
| User First Completed Oms Order Id                      | OMS order id of the first order completed by a user.                                                                                                                                                                                                                                                |
| User First Completed Order Id                          | Unique order id of the first order completed by a user.                                                                                                                                                                                                                                             |
| User First Order Unique Ordered Products               | Unique products ordered by the user in their first completed order.                                                                                                                                                                                                                                 |
| User First Order Unique Ordered Skus                   | Unique SKUs ordered by the user in their first completed order.                                                                                                                                                                                                                                     |
| User Has Ordered A La Carte                            | Whether or not the user has had at least one order that is not part of a subscription.                                                                                                                                                                                                              |
| User Has Promo Applied In First Order                  | Whether or not the user has a promo applied to their first completed order.                                                                                                                                                                                                                         |
| User Has Subscription In First Order                   | Whether or not the user's first order is linked to a subscription.                                                                                                                                                                                                                                  |
| User Id                                                | Unique key generated by Chord to identify a unique user.                                                                                                                                                                                                                                            |
| User Is Active Subscriber                              | Whether or not the user has an active subscription with at least one completed subscription order. An active subscription is one that is not cancelled or paused.                                                                                                                                   |
| User Is Customer                                       | Whether or not the user is a customer.                                                                                                                                                                                                                                                              |
| User Is New Customer                                   | Whether or not the user is a new customer.                                                                                                                                                                                                                                                          |
| User Is Not Customer                                   | Whether or not the user is not a customer.                                                                                                                                                                                                                                                          |
| User Is Returning Customer                             | Whether or not the user is a returning customer.                                                                                                                                                                                                                                                    |
| User Is Subscriber                                     | Whether or not the user has completed at least one subscription order.                                                                                                                                                                                                                              |
| User Login                                             | The login email address of the user.                                                                                                                                                                                                                                                                |
| User Name                                              | Full name of the user.                                                                                                                                                                                                                                                                              |
| User Number Of Completed A La Carte Orders             | Total amount of orders completed by a user that are a la carte.                                                                                                                                                                                                                                     |
| User Number Of Completed Subscription Orders           | Total amount of orders completed by a user that was part of a subscription.                                                                                                                                                                                                                         |
| User Number Of Orders With Promos                      | The count of completed orders with a promo applied.                                                                                                                                                                                                                                                 |
| User Number Of Subscriptions                           | Total amount of subscriptions linked to a user.                                                                                                                                                                                                                                                     |
| User Oms User Id                                       | Unique key generated by Solidus that identifies a user.                                                                                                                                                                                                                                             |
| User Phone                                             | Phone number of the user.                                                                                                                                                                                                                                                                           |
| User Total Completed Order Count                       | Total amount of orders completed by a user.                                                                                                                                                                                                                                                         |
| User Unique Ordered Products                           | Unique products ordered by the user across all orders.                                                                                                                                                                                                                                              |
| User Unique Ordered Skus                               | Unique SKUs ordered by the user across all orders.                                                                                                                                                                                                                                                  |
| Billing Address Created At (Universal)                 | Timestamp at which the address row was created - Universal Time Zone.                                                                                                                                                                                                                               |
| Billing Address Updated At (Universal)                 | Timestamp at which the address row was last updated - Universal Time Zone.                                                                                                                                                                                                                          |
| Order Approved At (Universal)                          | Reflects when the entity was approved in Solidus - Universal Time Zone.                                                                                                                                                                                                                             |
| Order Canceled At (Universal)                          | Reflects when the order was cancelled - Universal Time Zone.                                                                                                                                                                                                                                        |
| Order Completed At (Central)                           | Reflects when the entity was moved to the 'completed' state - Cental Time Zone.                                                                                                                                                                                                                     |
| Order Completed At (Eastern)                           | Reflects when the entity was moved to the 'completed' state - Eastern Time Zone.                                                                                                                                                                                                                    |
| Order Completed At (Mountain)                          | Reflects when the entity was moved to the 'completed' state - Mountain Time Zone.                                                                                                                                                                                                                   |
| Order Completed At (Pacific)                           | Reflects when the entity was moved to the 'completed' state - Pacific Time Zone.                                                                                                                                                                                                                    |
| Order Completed At (Universal)                         | Reflects when the entity was moved to the 'completed' state - Universal Time Zone.                                                                                                                                                                                                                  |
| Order Created At (Central)                             | Reflects when the entity was first created in Solidus - Cental Time Zone.                                                                                                                                                                                                                           |
| Order Created At (Eastern)                             | Reflects when the entity was first created in Solidus - Eastern Time Zone.                                                                                                                                                                                                                          |
| Order Created At (Mountain)                            | Reflects when the entity was first created in Solidus - Mountain Time Zone.                                                                                                                                                                                                                         |
| Order Created At (Pacific)                             | Reflects when the entity was first created in Solidus - Pacific Time Zone.                                                                                                                                                                                                                          |
| Order Created At (Universal)                           | Reflects when the entity was first created in Solidus - Universal Time Zone.                                                                                                                                                                                                                        |
| Order First Fulfillment Fulfilled At (Universal)       | Timestamp at which the first shipment for that order was shipped - Universal Time Zone.                                                                                                                                                                                                             |
| Order Last Adjustment Refund At (Universal)            | Timestamp of the last return adjustment for an order - Universal Time Zone.                                                                                                                                                                                                                         |
| Order Last Adjustment Replacement At (Universal)       | Timestamp of the last replacement adjustment for an order - Universal Time Zone.                                                                                                                                                                                                                    |
| Order Last Fulfillment Fulfilled At (Universal)        | Timestamp at which the last shipment for that order was shipped - Universal Time Zone.                                                                                                                                                                                                              |
| Order Updated At (Universal)                           | Reflects when the entity was last updated in Solidus - Universal Time Zone.                                                                                                                                                                                                                         |
| Referral Converted At (Universal)                      | Reflects when the referral entity was first converted in Solidus - Universal Time Zone.                                                                                                                                                                                                             |
| Referral Created At (Universal)                        | Reflects when the entity was first created in Solidus - Universal Time Zone.                                                                                                                                                                                                                        |
| Referral Updated At (Universal)                        | Reflects when the entity was last updated in Solidus - Universal Time Zone.                                                                                                                                                                                                                         |
| Referrer Created At (Universal)                        | Reflects when the entity was first created in Solidus - Universal Time Zone.                                                                                                                                                                                                                        |
| Referrer Updated At (Universal)                        | Reflects when the entity was last updated in Solidus - Universal Time Zone.                                                                                                                                                                                                                         |
| Shipping Address Created At (Universal)                | Timestamp at which the address row was created - Universal Time Zone.                                                                                                                                                                                                                               |
| Shipping Address Updated At (Universal)                | Timestamp at which the address row was last updated - Universal Time Zone.                                                                                                                                                                                                                          |
| Subscription Actionable Date (Universal)               | The date of the next subscription installment. This date is updated after each successful installment. Subscriptions in an inactive state will be null - Universal Time Zone.                                                                                                                       |
| Subscription Created At (Universal)                    | Reflects when the entity was first created in Solidus - Universal Time Zone.                                                                                                                                                                                                                        |
| Subscription First Order Completed At (Universal)      | The timestamp of the subscription's first completed order - Universal Time Zone.                                                                                                                                                                                                                    |
| Subscription Last Order Completed At (Universal)       | The timestamp of the subscription's last completed order - Universal Time Zone.                                                                                                                                                                                                                     |
| Subscription Updated At (Universal)                    | Reflects when the entity was last updated in Solidus - Universal Time Zone.                                                                                                                                                                                                                         |
| User Created At (Universal)                            | Timestamp at which the users row was created - Universal Time Zone.                                                                                                                                                                                                                                 |
| User Date Of Birth (Universal)                         | Date of birth of the user - Universal Time Zone.                                                                                                                                                                                                                                                    |
| User Deleted At (Universal)                            | Timestamp at which the user's account was deleted - Universal Time Zone.                                                                                                                                                                                                                            |
| User First Order Completed At (Universal)              | The timestamp of the user's first completed order - Universal Time Zone.                                                                                                                                                                                                                            |
| User First Subscription Order Completed At (Universal) | The timestamp of the user's first completed subscription order, regardless of subsequent subscriptions - Universal Time Zone.                                                                                                                                                                       |
| User Last Order Completed At (Universal)               | The timestamp of the user's last completed order - Universal Time Zone.                                                                                                                                                                                                                             |
| User Last Sign In At (Universal)                       | The last sign in timestamp for the user - Universal Time Zone.                                                                                                                                                                                                                                      |
| User Updated At (Universal)                            | Timestamp at which the users row was last updated - Universal Time Zone.                                                                                                                                                                                                                            |
| Average Additional Tax Total                           | Total additional taxes for an order.                                                                                                                                                                                                                                                                |
| Average Adjustment Fulfillment Tax Total               | Total adjustment shipment taxes for an order.                                                                                                                                                                                                                                                       |
| Average Adjustment Fulfillment Total                   | Total shipment adjustments applied to an order.                                                                                                                                                                                                                                                     |
| Average Adjustment Other Charges Total                 | Total of included additional adjustment charges paid for an order.                                                                                                                                                                                                                                  |
| Average Adjustment Other Credits Total                 | Total of credits issued for an order.                                                                                                                                                                                                                                                               |
| Average Adjustment Refund Total                        | Total of return dollars for an order.                                                                                                                                                                                                                                                               |
| Average Adjustment Replacement Total                   | Total of replacement dollars for an order.                                                                                                                                                                                                                                                          |
| Average Adjustment Rma Refund Total                    | Total of refund dollards associated to an order that was returned via the RMA functionality of the Chord OMS.                                                                                                                                                                                       |
| Average Adjustment Tax Total                           | Total adjustment taxes an order.                                                                                                                                                                                                                                                                    |
| Average Adjustment Total                               | Total of adjustment applied for an order as on the order.                                                                                                                                                                                                                                           |
| Average Applied Gift Card Total                        | Total of gift card dollars that were used as a payment method in the order                                                                                                                                                                                                                          |
| Average Commission Total                               | Commission for an order.                                                                                                                                                                                                                                                                            |
| Average Fulfillment Total                              | Total shipment for an order.                                                                                                                                                                                                                                                                        |
| Average Gross Revenue                                  | Gross amount of revenue generated by the order including items and shipments totals. Gross revenue = total - included\_tax\_total + shipment\_total - purchased\_gift\_card\_total - pre-payment subscription purchase amount                                                                       |
| Average Included Tax Total                             | Total included taxes for an order.                                                                                                                                                                                                                                                                  |
| Average Item Total                                     | Total price for the order before adjustments.                                                                                                                                                                                                                                                       |
| Average Net Revenue                                    | Net revenue generated by the order's items after promotions. Net revenue = total - included\_tax\_total + shipment\_total + adjustment\_total - additional\_tax\_total - purchased\_gift\_card\_total - pre-payment subscription purchase amount                                                    |
| Average Pre Paid Purchase Total                        | The amount of the order that was purchased as a pre-payment; this could be a gift subscription, pre-pay subscription, or gift card.                                                                                                                                                                 |
| Average Pre Paid Redemption Total                      | The amount of the order that was the redemption of a pre-payment; this could be the redemption of a gift subscription, pre-pay subscription, or gift card.                                                                                                                                          |
| Average Promo Total                                    | Promotions applied to an order.                                                                                                                                                                                                                                                                     |
| Average Purchased Gift Card Total                      | Total of gift card dollars that were purchased in the order.                                                                                                                                                                                                                                        |
| Average Reimbursement Credit Total                     | The amount of store credits owed back in an order                                                                                                                                                                                                                                                   |
| Average Tax Total                                      | Total taxes for an order.                                                                                                                                                                                                                                                                           |
| Average Total Price                                    | Total to be paid by the customer for an order.                                                                                                                                                                                                                                                      |
| Average Transaction Total                              | Total paid by the customer for a completed order.                                                                                                                                                                                                                                                   |
| Additional Tax Total                                   | Total additional taxes for an order.                                                                                                                                                                                                                                                                |
| Adjustment Fulfillment Tax Total                       | Total adjustment shipment taxes for an order.                                                                                                                                                                                                                                                       |
| Adjustment Fulfillment Total                           | Total shipment adjustments applied to an order.                                                                                                                                                                                                                                                     |
| Adjustment Other Charges Total                         | Total of included additional adjustment charges paid for an order.                                                                                                                                                                                                                                  |
| Adjustment Other Credits Total                         | Total of credits issued for an order.                                                                                                                                                                                                                                                               |
| Adjustment Refund Total                                | Total of return dollars for an order.                                                                                                                                                                                                                                                               |
| Adjustment Replacement Total                           | Total of replacement dollars for an order.                                                                                                                                                                                                                                                          |
| Adjustment Rma Refund Total                            | Total of refund dollards associated to an order that was returned via the RMA functionality of the Chord OMS.                                                                                                                                                                                       |
| Adjustment Tax Total                                   | Total adjustment taxes an order.                                                                                                                                                                                                                                                                    |
| Adjustment Total                                       | Total of adjustment applied for an order as on the order.                                                                                                                                                                                                                                           |
| Applied Gift Card Total                                | Total of gift card dollars that were used as a payment method in the order                                                                                                                                                                                                                          |
| Commission Total                                       | Commission for an order.                                                                                                                                                                                                                                                                            |
| Fulfillment Total                                      | Total shipment for an order.                                                                                                                                                                                                                                                                        |
| Gross Revenue                                          | Gross amount of revenue generated by the order including items and shipments totals. Gross revenue = total - included\_tax\_total + shipment\_total - purchased\_gift\_card\_total - pre-payment subscription purchase amount                                                                       |
| Included Tax Total                                     | Total included taxes for an order.                                                                                                                                                                                                                                                                  |
| Item Total                                             | Total price for the order before adjustments.                                                                                                                                                                                                                                                       |
| Net Revenue                                            | Net revenue generated by the order's items after promotions. Net revenue = total - included\_tax\_total + shipment\_total + adjustment\_total - additional\_tax\_total - purchased\_gift\_card\_total - pre-payment subscription purchase amount                                                    |
| Pre Paid Purchase Total                                | The amount of the order that was purchased as a pre-payment; this could be a gift subscription, pre-pay subscription, or gift card.                                                                                                                                                                 |
| Pre Paid Redemption Total                              | The amount of the order that was the redemption of a pre-payment; this could be the redemption of a gift subscription, pre-pay subscription, or gift card.                                                                                                                                          |
| Total Price                                            | Total to be paid by the customer for an order.                                                                                                                                                                                                                                                      |
| Promo Total                                            | Promotions applied to an order.                                                                                                                                                                                                                                                                     |
| Purchased Gift Card Total                              | Total of gift card dollars that were purchased in the order.                                                                                                                                                                                                                                        |
| Reimbursement Credit Total                             | The amount of store credits owed back in an order                                                                                                                                                                                                                                                   |
| Tax Total                                              | Total taxes for an order.                                                                                                                                                                                                                                                                           |
| Transaction Total                                      | Total paid by the customer for a completed order.                                                                                                                                                                                                                                                   |

### order\_discount\_codes

| Name                         | Description                            |
| ---------------------------- | -------------------------------------- |
| Order Applied Discount Codes | Discount code(s) applied to the order. |

### order\_discount\_names

| Name                         | Description                            |
| ---------------------------- | -------------------------------------- |
| Order Applied Discount Names | Discount name(s) applied to the order. |

### order\_tags

| Name       | Description                        |
| ---------- | ---------------------------------- |
| Order Tags | Order tag(s) applied to the order. |

### subscription\_tags

| Name              | Description                               |
| ----------------- | ----------------------------------------- |
| Subscription Tags | Subscription tag(s) applied to the order. |


[title] Line Items By Units
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Chord OMS/

### **x\_fct\_trans\_line\_items**

| Name                                                   | Description                                                                                                                                                                                                                                                                                         |
| ------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Affiliate Email                                        | Email address of the affiliate.                                                                                                                                                                                                                                                                     |
| Affiliate Id                                           | Unique key generated by Chord to identify a unique affiliate.                                                                                                                                                                                                                                       |
| Affiliate Name                                         | Full name of the user.                                                                                                                                                                                                                                                                              |
| Affiliate Seen Emails                                  | List of email addresses seen.                                                                                                                                                                                                                                                                       |
| Affiliate User Id                                      | Unique key generated by Chord to identify a unique user.                                                                                                                                                                                                                                            |
| Billing Address Address1                               | The street address of the customer.                                                                                                                                                                                                                                                                 |
| Billing Address Address2                               | The optional second address of the customer.                                                                                                                                                                                                                                                        |
| Billing Address Alternative Phone                      | The customer's alternative phone number.                                                                                                                                                                                                                                                            |
| Billing Address City                                   | The city where the address is.                                                                                                                                                                                                                                                                      |
| Billing Address Company                                | A company name.                                                                                                                                                                                                                                                                                     |
| Billing Address Country Abbr                           |                                                                                                                                                                                                                                                                                                     |
| Billing Address Country Name                           | Full name of the country.                                                                                                                                                                                                                                                                           |
| Billing Address Firstname                              | First name of the customer.                                                                                                                                                                                                                                                                         |
| Billing Address Id                                     | Unique key generated by Chord to identify a unique address.                                                                                                                                                                                                                                         |
| Billing Address Lastname                               | Last name of the customer.                                                                                                                                                                                                                                                                          |
| Billing Address Oms Address Id                         | Unique key generated by Solidus that identifies an address.                                                                                                                                                                                                                                         |
| Billing Address Phone                                  | The customer's phone number.                                                                                                                                                                                                                                                                        |
| Billing Address State Abbr                             |                                                                                                                                                                                                                                                                                                     |
| Billing Address State Name                             | Full name of the state.                                                                                                                                                                                                                                                                             |
| Billing Address Zipcode                                | The postal code.                                                                                                                                                                                                                                                                                    |
| Bundle All Parts                                       | List that contains all of the parts skus for a specific bundle.                                                                                                                                                                                                                                     |
| Bundle Id                                              | Unique key of line item variant if it is a bundle or kit, coalesce of bundles from line\_item\_part\_bundles and parts\_and\_bundles.                                                                                                                                                               |
| Bundle Is Bundle                                       | Whether or not the bundle is an actual bundle.                                                                                                                                                                                                                                                      |
| Bundle Is Oms Bundle                                   | Whether or not the bundle is an actual Chord OMS bundle.                                                                                                                                                                                                                                            |
| Bundle Name                                            | The name of the bundle.                                                                                                                                                                                                                                                                             |
| Bundle Variant Sku                                     | Variant sku associated with the bundle variant id.                                                                                                                                                                                                                                                  |
| Line Item Adjustment Types                             | List of distinct adjustment reasons for adjustments made to the order line item.                                                                                                                                                                                                                    |
| Line Item Contains Refund                              | Whether or not the line item contains a partial or full refund. Refunds can be done via adjustments, RMAs or order cancellations.                                                                                                                                                                   |
| Line Item Contains Replacement                         | Whether or not the line item contains a replacement adjustment or has been partially or fully replaced via the Chord OMS RMA functionality.                                                                                                                                                         |
| Line Item Contains Return                              | Whether or not the line item has been partially or fully returned via the Chord OMS RMA functionality.                                                                                                                                                                                              |
| Line Item Fulfillment State                            | Status of the shipment.                                                                                                                                                                                                                                                                             |
| Line Item Id                                           | Unique key generated by Chord to identify a unique line item.                                                                                                                                                                                                                                       |
| Line Item Is Subscription Item                         | Whether or not the line item is part of a subscription.                                                                                                                                                                                                                                             |
| Line Item Oms Line Item Id                             | Unique key generated by Solidus that identifies a line item.                                                                                                                                                                                                                                        |
| Line Item Price                                        | The price of the variant.                                                                                                                                                                                                                                                                           |
| Line Item Quantity                                     | The quantity of how many of said variant was purchased.                                                                                                                                                                                                                                             |
| Line Item Unique Line Item Count Per Order             | Count of unique line items per order.                                                                                                                                                                                                                                                               |
| Order Adjustment Types                                 | List of distinct adjustment reasons for adjustments made to the order.                                                                                                                                                                                                                              |
| Order Admin Url                                        | The Admin URL of pointing to the order.                                                                                                                                                                                                                                                             |
| Order Applied Discount Codes                           | List of promotion codes applied to the order.                                                                                                                                                                                                                                                       |
| Order Applied Discount Codes Count                     | Count of promotion codes applied to the order.                                                                                                                                                                                                                                                      |
| Order Applied Discount Ids                             | List of promotion ids applied to the order.                                                                                                                                                                                                                                                         |
| Order Applied Discount Names                           | List of promotion names applied to the order.                                                                                                                                                                                                                                                       |
| Order Applied Discount Names Count                     | Count of promotion names applied to the order.                                                                                                                                                                                                                                                      |
| Order Cart Url                                         | Url of the cart which contains the order.                                                                                                                                                                                                                                                           |
| Order Channel                                          | The channel from which the order is created.                                                                                                                                                                                                                                                        |
| Order Completed Order Rank By Subscription             | Allows to rank completed orders by completion date for a subscription.                                                                                                                                                                                                                              |
| Order Completed Order Rank By User                     | Allows to rank completed orders by completion date for a user.                                                                                                                                                                                                                                      |
| Order Contains Refund                                  | Whether or not the order contains refund adjustments or refunds that are processed outside of the Chord OMS adjustment systems (for example via RMAs or cancellations).                                                                                                                             |
| Order Contains Replacement                             | Whether or not the order contains replacement adjustments or shipped replacement items (following an RMA authorization).                                                                                                                                                                            |
| Order Contains Return                                  | Whether or not the order contains returns (authorized RMAs).                                                                                                                                                                                                                                        |
| Order Contains Rma Refund                              | Whether or not the order contains RMA refunds (refunds issued after an RMA was requested and authorized).                                                                                                                                                                                           |
| Order Contains Rma Store Credits                       | This column is not documented.                                                                                                                                                                                                                                                                      |
| Order Currency                                         | The currency for this order.                                                                                                                                                                                                                                                                        |
| Order Customer Lifetime Month                          | Number of months between the current order's completion date and the user's first order completion date. First orders have a value of 1.                                                                                                                                                            |
| Order Customer Lifetime Week                           | Number of weeks between the current order's completion date and the user's first order completion date. First orders always have a value of 1.                                                                                                                                                      |
| Order Email                                            | The email address of the customer that made the order.                                                                                                                                                                                                                                              |
| Order Financial State                                  | The current payment state of the order.                                                                                                                                                                                                                                                             |
| Order Fulfillment Ids                                  | Array of unique keys generated by Chord to identify the unique shipments for an order.                                                                                                                                                                                                              |
| Order Fulfillment Numbers                              | The unique identifier for this shipment.                                                                                                                                                                                                                                                            |
| Order Fulfillment State                                | The current shipment state of the order.                                                                                                                                                                                                                                                            |
| Order Has Discount                                     | Whether or not the order has promotions applied to it.                                                                                                                                                                                                                                              |
| Order Has Order Tags                                   | Whether or not that order has tags.                                                                                                                                                                                                                                                                 |
| Order Hours From Order To First Fulfillment            | Number of hours between order completion and first order shipment; how long it takes a company to get the initial product out to a customer.                                                                                                                                                        |
| Order Hours From Order To Last Fulfillment             | Number of hours between order completion and last order shipment.                                                                                                                                                                                                                                   |
| Order Id                                               | Unique key generated by Chord to identify a unique order.                                                                                                                                                                                                                                           |
| Order Is Canceled                                      | Whether or not the order is canceled. The order is considered canceled when the canceled\_at date is not null.                                                                                                                                                                                      |
| Order Is Completed                                     | Whether or not that order is completed. The order is considered completed when the completed\_at date is not null. This means that the order does not necessarily have a state = 'complete', since states can change after the order completion (for example in the case of a refund).              |
| Order Is First Completed Order                         | Whether or not that order was the first completed order for a user.                                                                                                                                                                                                                                 |
| Order Is First Order                                   | Whether or not that order was the first order for a user.                                                                                                                                                                                                                                           |
| Order Is First Subscription Completed Order            | Whether or not that order was the first completed order for a subscription.                                                                                                                                                                                                                         |
| Order Is First Subscription Order                      | Whether or not that order was the first order for a subscription.                                                                                                                                                                                                                                   |
| Order Is Fulfilled                                     | Whether or not that order has shipped.                                                                                                                                                                                                                                                              |
| Order Is Part Of Subscription                          | Whether or not that order is part of a subscription.                                                                                                                                                                                                                                                |
| Order Is Pre Paid Purchase                             | Whether the order the orderincludes the purchase of a pre-payment; this could be a gift subscription, pre-pay subscription, or gift card.                                                                                                                                                           |
| Order Is Pre Paid Redemption                           | Whether the order included the redemption of a pre-payment; this could be the redemption of a gift subscription, pre-pay subscription, or gift card.                                                                                                                                                |
| Order Is Referred By Affiliate                         | Whether or not the user is referred by an affiliate.                                                                                                                                                                                                                                                |
| Order Is Referred By Referrer                          | Whether or not the user is referred by a referrer.                                                                                                                                                                                                                                                  |
| Order Is Replacement                                   | True when the order is a replacement order.                                                                                                                                                                                                                                                         |
| Order Is Suspicious Referral Conversion                | Wether this represents a suspicous referral conversions or not.                                                                                                                                                                                                                                     |
| Order Item Id                                          | Unique key generated by Chord to identify a unique order.                                                                                                                                                                                                                                           |
| Order Item Line Items Quantity                         | Sum of line items quantities per order.                                                                                                                                                                                                                                                             |
| Order Item Product Basket                              | List of product names per in the order.                                                                                                                                                                                                                                                             |
| Order Item Product Basket Count                        | Number of products in the order.                                                                                                                                                                                                                                                                    |
| Order Product Basket                                   | The titles of products for a given order array converted to a string.                                                                                                                                                                                                                               |
| Order Item Total Line Item Unit Quantity               | Sum of line item units in the order.                                                                                                                                                                                                                                                                |
| Order Item Total Line Items Quantity                   | Sum of line items quantities per order.                                                                                                                                                                                                                                                             |
| Order Item Unique Product Basket                       | List of unique product names per in the order.                                                                                                                                                                                                                                                      |
| Order Item Unique Product Basket Count                 | Number of unique products in the order.                                                                                                                                                                                                                                                             |
| Order Unique Product Basket                            | The list of unique products for a given order array converted to a string.                                                                                                                                                                                                                          |
| Order Item Unique Unit Basket                          | List of unique units in the order.                                                                                                                                                                                                                                                                  |
| Order Item Unique Unit Basket Count                    | Count of unique units in the order.                                                                                                                                                                                                                                                                 |
| Order Unit Basket                                      | The list of units for a given order array converted to a string.                                                                                                                                                                                                                                    |
| Order Item Unique Variant Basket                       | List of unique variant names per in the order.                                                                                                                                                                                                                                                      |
| Order Item Unique Variant Basket Count                 | Number of unique variants in the order.                                                                                                                                                                                                                                                             |
| Order Unique Variant Basket                            | The list of unique variants for a given order array converted to a string.                                                                                                                                                                                                                          |
| Order Item Unit Basket                                 | List of all units in the order.                                                                                                                                                                                                                                                                     |
| Order Item Unit Basket Count                           | Count of all units in the order.                                                                                                                                                                                                                                                                    |
| Order Unique Unit Basket                               | The list of unique units for a given order array converted to a string.                                                                                                                                                                                                                             |
| Order Item Variant Basket                              | List of variant names per in the order.                                                                                                                                                                                                                                                             |
| Order Item Variant Basket Count                        | Number of variants in the order.                                                                                                                                                                                                                                                                    |
| Order Variant Basket                                   | The titles of variants for a given order array converted to a string.                                                                                                                                                                                                                               |
| Order Number                                           | Human-readable unique key generated by Solidus that identifies an order. It begins with a set of Tenant-Store defined letters and ends in a nine-digit number (for example, CHORD-123456789). This number is shown to the users in various places. These combinations are unique for a given Store. |
| Order Oms Order Id                                     | Unique key generated by Solidus that identifies an order.                                                                                                                                                                                                                                           |
| Order Rank By User                                     | Allows to rank completed orders by completion date for a user.                                                                                                                                                                                                                                      |
| Order Tags                                             | List of tags associated to the order.                                                                                                                                                                                                                                                               |
| Order Tags Count                                       | Number of tags associated to the order.                                                                                                                                                                                                                                                             |
| Order Referral Conversion Suspicious Reasons           | A list of reasons explaining why the referral conversion is suspicious.                                                                                                                                                                                                                             |
| Order Referrer User Email                              | The email address of the customer identified with the referral.                                                                                                                                                                                                                                     |
| Order Special Instructions                             | Any special shipping instructions that have been specified by the customer during checkout.                                                                                                                                                                                                         |
| Order State                                            | The current state of the order.                                                                                                                                                                                                                                                                     |
| Order Store Id                                         | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                         |
| Order Store Name                                       | The name of the store.                                                                                                                                                                                                                                                                              |
| Order Store Oms Admin Url                              | The Admin URL of that OMS.                                                                                                                                                                                                                                                                          |
| Order Store Oms Id                                     | Unique key generated by Chord that uniquifies an OMS.                                                                                                                                                                                                                                               |
| Order Store Oms Store Id                               | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                         |
| Order Store Oms Type                                   | The type of the OMS.                                                                                                                                                                                                                                                                                |
| Order Store Id                                         | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                         |
| Order Store Tenant Id                                  | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                             |
| Order Store Url                                        | The Storefront URL of of the store.                                                                                                                                                                                                                                                                 |
| Order Subscription Customer Lifetime Month             | Number of months between the current order's completion date and the user's first subscription order completion date. First orders have a value of 1.                                                                                                                                               |
| Order Subscription Customer Lifetime Week              | Number of weeks between the current order's completion date and the user's first subscription order completion date. First orders always have a value of 1.                                                                                                                                         |
| Order User Referral Code                               | Unique key generated by Solidus that represents the user's referral code.                                                                                                                                                                                                                           |
| Order Website Locale                                   | Locale of website. This will either be collected from the url or from the drop-down link on the store.                                                                                                                                                                                              |
| Product Description                                    | The description of the product.                                                                                                                                                                                                                                                                     |
| Product Id                                             | Unique key generated by Chord to identify a unique product.                                                                                                                                                                                                                                         |
| Product Is Adult Signature Required                    | If an adult's signature is required.                                                                                                                                                                                                                                                                |
| Product Is Promotionable                               | Whether promotions can apply to the product.                                                                                                                                                                                                                                                        |
| Product Name                                           | The name of the product.                                                                                                                                                                                                                                                                            |
| Product Oms Product Id                                 | Unique key generated by Solidus that identifies a product.                                                                                                                                                                                                                                          |
| Product Property Gender                                | Product property gender.                                                                                                                                                                                                                                                                            |
| Product Slug                                           | The slug of the product.                                                                                                                                                                                                                                                                            |
| Product Store Id                                       | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                         |
| Product Store Name                                     | The name of the store.                                                                                                                                                                                                                                                                              |
| Product Store Oms Admin Url                            | The Admin URL of that OMS.                                                                                                                                                                                                                                                                          |
| Product Store Oms Id                                   | Unique key generated by Chord that uniquifies an OMS.                                                                                                                                                                                                                                               |
| Product Store Oms Store Id                             | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                         |
| Product Store Oms Type                                 | The type of the OMS.                                                                                                                                                                                                                                                                                |
| Product Store Id                                       | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                         |
| Product Store Tenant Id                                | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                             |
| Product Store Url                                      | The Storefront URL of of the store.                                                                                                                                                                                                                                                                 |
| Shipping Address Address1                              | The street address of the customer.                                                                                                                                                                                                                                                                 |
| Shipping Address Address2                              | The optional second address of the customer.                                                                                                                                                                                                                                                        |
| Shipping Address Alternative Phone                     | The customer's alternative phone number.                                                                                                                                                                                                                                                            |
| Shipping Address City                                  | The city where the address is.                                                                                                                                                                                                                                                                      |
| Shipping Address Company                               | A company name.                                                                                                                                                                                                                                                                                     |
| Shipping Address Country Abbr                          |                                                                                                                                                                                                                                                                                                     |
| Shipping Address Country Name                          | Full name of the country.                                                                                                                                                                                                                                                                           |
| Shipping Address Firstname                             | First name of the customer.                                                                                                                                                                                                                                                                         |
| Shipping Address Id                                    | Unique key generated by Chord to identify a unique address.                                                                                                                                                                                                                                         |
| Shipping Address Lastname                              | Last name of the customer.                                                                                                                                                                                                                                                                          |
| Shipping Address Oms Address Id                        | Unique key generated by Solidus that identifies an address.                                                                                                                                                                                                                                         |
| Shipping Address Phone                                 | The customer's phone number.                                                                                                                                                                                                                                                                        |
| Shipping Address State Abbr                            |                                                                                                                                                                                                                                                                                                     |
| Shipping Address State Name                            | Full name of the state.                                                                                                                                                                                                                                                                             |
| Shipping Address Zipcode                               | The postal code.                                                                                                                                                                                                                                                                                    |
| Subscription Completed Oms Order Ids                   | List of completed OMS order ids by a subscription.                                                                                                                                                                                                                                                  |
| Subscription Completed Order Count                     | Total amount of orders completed by a subscription.                                                                                                                                                                                                                                                 |
| Subscription Completed Order Ids                       | List of completed order ids by a subscription.                                                                                                                                                                                                                                                      |
| Subscription First Order Unique Product Basket         | Array of unique product names ordered in the first order per subscription.                                                                                                                                                                                                                          |
| Subscription First Order Unique Variant Basket         | Array of unique SKUs ordered in the first order per subscription.                                                                                                                                                                                                                                   |
| Subscription Has Subscription Tags                     | Whether or not the subscription has tags.                                                                                                                                                                                                                                                           |
| Subscription Id                                        | Unique key generated by Solidus that identifies a subscription.                                                                                                                                                                                                                                     |
| Subscription Interval In Days                          | The number of days in the subscription interval.                                                                                                                                                                                                                                                    |
| Subscription Is Auto Redeemed                          | Whether the pre-paid subscription will be auto-redeemed or if an action is required by the recepient.                                                                                                                                                                                               |
| Subscription Is Gift                                   | Whether or not the pre-paid subscription is a gift.                                                                                                                                                                                                                                                 |
| Subscription Is Recurring                              | Whether the pre-paid subscription is recurring.                                                                                                                                                                                                                                                     |
| Subscription Last Order Unique Product Basket          | Array of unique product names ordered in the latest order per subscription.                                                                                                                                                                                                                         |
| Subscription Last Order Unique Variant Basket          | Array of unique SKUs ordered in the latest order per subscription.                                                                                                                                                                                                                                  |
| Subscription Oms Pre Paid Subscription Id              | ID generated by ChordOMS to identify a unique pre-paid subscription.                                                                                                                                                                                                                                |
| Subscription Oms Subscription Id                       | Unique key generated by Solidus that identifies a subscription.                                                                                                                                                                                                                                     |
| Subscription Pre Paid Subscription Id                  | Chord generated unique id for the pre-pay subscription.                                                                                                                                                                                                                                             |
| Subscription State                                     | The current state of the subscription, enhanced with values for \`paused\` if the subscription is active and paused.                                                                                                                                                                                |
| Subscription Tags                                      | The list of tags associated with a subscription.                                                                                                                                                                                                                                                    |
| Subscription Tags Count                                | The number of tags associated with a subscription.                                                                                                                                                                                                                                                  |
| Subscription Unique Product Basket                     | Array of unique product names ever ordered per subscription.                                                                                                                                                                                                                                        |
| Subscription Unique Variant Basket                     | Array of unique SKUs ever ordered per subscription.                                                                                                                                                                                                                                                 |
| User Completed Oms Order Ids                           | List of completed OMS order ids by a user.                                                                                                                                                                                                                                                          |
| User Completed Order Ids                               | List of completed order ids by a user.                                                                                                                                                                                                                                                              |
| User Credit Category Basket                            | Array of credit categories (Gift Card, Reimbursement, Referral Credits, Prepaid Subscription, GMA) issued per user.                                                                                                                                                                                 |
| User Email                                             | Email address of the user.                                                                                                                                                                                                                                                                          |
| User First Completed Oms Order Id                      | OMS order id of the first order completed by a user.                                                                                                                                                                                                                                                |
| User First Completed Order Id                          | Unique order id of the first order completed by a user.                                                                                                                                                                                                                                             |
| User First Order Unique Ordered Products               | Unique products ordered by the user in their first completed order.                                                                                                                                                                                                                                 |
| User First Order Unique Ordered Skus                   | Unique SKUs ordered by the user in their first completed order.                                                                                                                                                                                                                                     |
| User Has Ordered A La Carte                            | Whether or not the user has had at least one order that is not part of a subscription.                                                                                                                                                                                                              |
| User Has Promo Applied In First Order                  | Whether or not the user has a promo applied to their first completed order.                                                                                                                                                                                                                         |
| User Has Subscription In First Order                   | Whether or not the user's first order is linked to a subscription.                                                                                                                                                                                                                                  |
| User Id                                                | Unique key generated by Chord to identify a unique user.                                                                                                                                                                                                                                            |
| User Is Active Subscriber                              | Whether or not the user has an active subscription with at least one completed subscription order. An active subscription is one that is not cancelled or paused.                                                                                                                                   |
| User Is Customer                                       | Whether or not the user is a customer.                                                                                                                                                                                                                                                              |
| User Is New Customer                                   | Whether or not the user is a new customer.                                                                                                                                                                                                                                                          |
| User Is Not Customer                                   | Whether or not the user is not a customer.                                                                                                                                                                                                                                                          |
| User Is Returning Customer                             | Whether or not the user is a returning customer.                                                                                                                                                                                                                                                    |
| User Is Subscriber                                     | Whether or not the user has completed at least one subscription order.                                                                                                                                                                                                                              |
| User Login                                             | The login email address of the user.                                                                                                                                                                                                                                                                |
| User Name                                              | Full name of the user.                                                                                                                                                                                                                                                                              |
| User Number Of Completed A La Carte Orders             | Total amount of orders completed by a user that are a la carte.                                                                                                                                                                                                                                     |
| User Number Of Completed Subscription Orders           | Total amount of orders completed by a user that was part of a subscription.                                                                                                                                                                                                                         |
| User Number Of Orders With Promos                      | The count of completed orders with a promo applied.                                                                                                                                                                                                                                                 |
| User Number Of Subscriptions                           | Total amount of subscriptions linked to a user.                                                                                                                                                                                                                                                     |
| User Oms User Id                                       | Unique key generated by Solidus that identifies a user.                                                                                                                                                                                                                                             |
| User Phone                                             | Phone number of the user.                                                                                                                                                                                                                                                                           |
| User Total Completed Order Count                       | Total amount of orders completed by a user.                                                                                                                                                                                                                                                         |
| User Unique Ordered Products                           | Unique products ordered by the user across all orders.                                                                                                                                                                                                                                              |
| User Unique Ordered Skus                               | Unique SKUs ordered by the user across all orders.                                                                                                                                                                                                                                                  |
| Variant Cost Price                                     | The manufacturing cost of the variant.                                                                                                                                                                                                                                                              |
| Variant Depth                                          | The depth of the variant.                                                                                                                                                                                                                                                                           |
| Variant Height                                         | The height of the variant.                                                                                                                                                                                                                                                                          |
| Variant Id                                             | Unique key generated by Chord to identify a unique product variant.                                                                                                                                                                                                                                 |
| Variant Is Backorderable                               | Whether the stock item has at least one location where it is back-orderable or not.                                                                                                                                                                                                                 |
| Variant Is Inventory Tracked                           | Whether the inventory should or should not be tracked for this variant.                                                                                                                                                                                                                             |
| Variant Is Master                                      | Whether this represents the master SKU or not.                                                                                                                                                                                                                                                      |
| Variant Is Subscribable                                | Whether or not a customer can ask to subscribe to this product.                                                                                                                                                                                                                                     |
| Variant Oms Variant Id                                 | Unique key generated by Solidus that identifies a variant.                                                                                                                                                                                                                                          |
| Variant Option Color                                   | Color of the variant.                                                                                                                                                                                                                                                                               |
| Variant Option Format                                  | Format of the variant.                                                                                                                                                                                                                                                                              |
| Variant Option Quantity                                | Quantity of item for the variant.                                                                                                                                                                                                                                                                   |
| Variant Option Size                                    | Size of the variant.                                                                                                                                                                                                                                                                                |
| Variant Position                                       | The position of the variant in the list of variants.                                                                                                                                                                                                                                                |
| Variant Sku                                            | The SKU of the variant.                                                                                                                                                                                                                                                                             |
| Variant Weight                                         | The weight of the variant.                                                                                                                                                                                                                                                                          |
| Variant Width                                          | The weight of the variant.                                                                                                                                                                                                                                                                          |
| Billing Address Created At (Universal)                 | Timestamp at which the address row was created - Universal Time Zone.                                                                                                                                                                                                                               |
| Billing Address Updated At (Universal)                 | Timestamp at which the address row was last updated - Universal Time Zone.                                                                                                                                                                                                                          |
| Line Item Last Adjustment Refund At (Universal)        | Timestamp of the last return adjustment for an order line item - Universal Time Zone.                                                                                                                                                                                                               |
| Line Item Last Adjustment Replacement At (Universal)   | Timestamp of the last replacement adjustment for an order line item - Universal Time Zone.                                                                                                                                                                                                          |
| Order Approved At (Universal)                          | Reflects when the entity was approved in Solidus - Universal Time Zone.                                                                                                                                                                                                                             |
| Order Canceled At (Universal)                          | Reflects when the order was cancelled - Universal Time Zone.                                                                                                                                                                                                                                        |
| Order Completed At (Central)                           | Reflects when the entity was moved to the 'completed' state - Cental Time Zone.                                                                                                                                                                                                                     |
| Order Completed At (Eastern)                           | Reflects when the entity was moved to the 'completed' state - Eastern Time Zone.                                                                                                                                                                                                                    |
| Order Completed At (Mountain)                          | Reflects when the entity was moved to the 'completed' state - Mountain Time Zone.                                                                                                                                                                                                                   |
| Order Completed At (Pacific)                           | Reflects when the entity was moved to the 'completed' state - Pacific Time Zone.                                                                                                                                                                                                                    |
| Order Completed At (Universal)                         | Reflects when the entity was moved to the 'completed' state - Universal Time Zone.                                                                                                                                                                                                                  |
| Order Created At (Central)                             | Reflects when the entity was first created in Solidus - Cental Time Zone.                                                                                                                                                                                                                           |
| Order Created At (Eastern)                             | Reflects when the entity was first created in Solidus - Eastern Time Zone.                                                                                                                                                                                                                          |
| Order Created At (Mountain)                            | Reflects when the entity was first created in Solidus - Mountain Time Zone.                                                                                                                                                                                                                         |
| Order Created At (Pacific)                             | Reflects when the entity was first created in Solidus - Pacific Time Zone.                                                                                                                                                                                                                          |
| Order Created At (Universal)                           | Reflects when the entity was first created in Solidus - Universal Time Zone.                                                                                                                                                                                                                        |
| Order First Fulfillment Fulfilled At (Universal)       | Timestamp at which the first shipment for that order was shipped - Universal Time Zone.                                                                                                                                                                                                             |
| Order Last Adjustment Refund At (Universal)            | Timestamp of the last return adjustment for an order - Universal Time Zone.                                                                                                                                                                                                                         |
| Order Last Adjustment Replacement At (Universal)       | Timestamp of the last replacement adjustment for an order - Universal Time Zone.                                                                                                                                                                                                                    |
| Order Last Fulfillment Fulfilled At (Universal)        | Timestamp at which the last shipment for that order was shipped - Universal Time Zone.                                                                                                                                                                                                              |
| Order Updated At (Universal)                           | Reflects when the entity was last updated in Solidus - Universal Time Zone.                                                                                                                                                                                                                         |
| Product Created At (Universal)                         | Reflects when the entity was first created in Solidus - Universal Time Zone.                                                                                                                                                                                                                        |
| Product Deleted At (Universal)                         | Reflects when the entity was deleted - Universal Time Zone.                                                                                                                                                                                                                                         |
| Product Discontinued At (Universal)                    | Reflects when the entity was discontinued - Universal Time Zone.                                                                                                                                                                                                                                    |
| Product Updated At (Universal)                         | Reflects when the entity was last updated in Solidus - Universal Time Zone.                                                                                                                                                                                                                         |
| Shipping Address Created At (Universal)                | Timestamp at which the address row was created - Universal Time Zone.                                                                                                                                                                                                                               |
| Shipping Address Updated At (Universal)                | Timestamp at which the address row was last updated - Universal Time Zone.                                                                                                                                                                                                                          |
| Subscription Actionable Date (Universal)               | The date of the next subscription installment. This date is updated after each successful installment. Subscriptions in an inactive state will be null - Universal Time Zone.                                                                                                                       |
| Subscription Created At (Universal)                    | Reflects when the entity was first created in Solidus - Universal Time Zone.                                                                                                                                                                                                                        |
| Subscription First Order Completed At (Universal)      | The timestamp of the subscription's first completed order - Universal Time Zone.                                                                                                                                                                                                                    |
| Subscription Last Order Completed At (Universal)       | The timestamp of the subscription's last completed order - Universal Time Zone.                                                                                                                                                                                                                     |
| Subscription Updated At (Universal)                    | Reflects when the entity was last updated in Solidus - Universal Time Zone.                                                                                                                                                                                                                         |
| User Created At (Universal)                            | Timestamp at which the users row was created - Universal Time Zone.                                                                                                                                                                                                                                 |
| User Date Of Birth (Universal)                         | Date of birth of the user - Universal Time Zone.                                                                                                                                                                                                                                                    |
| User Deleted At (Universal)                            | Timestamp at which the user's account was deleted - Universal Time Zone.                                                                                                                                                                                                                            |
| User First Order Completed At (Universal)              | The timestamp of the user's first completed order - Universal Time Zone.                                                                                                                                                                                                                            |
| User First Subscription Order Completed At (Universal) | The timestamp of the user's first completed subscription order, regardless of subsequent subscriptions - Universal Time Zone.                                                                                                                                                                       |
| User Last Order Completed At (Universal)               | The timestamp of the user's last completed order - Universal Time Zone.                                                                                                                                                                                                                             |
| User Last Sign In At (Universal)                       | The last sign in timestamp for the user - Universal Time Zone.                                                                                                                                                                                                                                      |
| User Updated At (Universal)                            | Timestamp at which the users row was last updated - Universal Time Zone.                                                                                                                                                                                                                            |
| Variant Created At (Universal)                         | Reflects when the entity was first created in Solidus - Universal Time Zone.                                                                                                                                                                                                                        |
| Variant Deleted At (Universal)                         | Reflects when the entity was deleted - Universal Time Zone.                                                                                                                                                                                                                                         |
| Variant Updated At (Universal)                         | Reflects when the entity was last updated in Solidus - Universal Time Zone.                                                                                                                                                                                                                         |
| Average Adjusted Total Price                           | Total price for the line item after adjustments.                                                                                                                                                                                                                                                    |
| Average Adjustment Fulfillment Tax Total               | Total of adjustment shipment taxes paid for the line item.                                                                                                                                                                                                                                          |
| Average Adjustment Tax Total                           | Total of included adjustment taxes paid for the line item.                                                                                                                                                                                                                                          |
| Average Adjustment Total                               | The sum of all adjustment for this line item.                                                                                                                                                                                                                                                       |
| Average Order Additional Tax Total                     | Total additional taxes for an order.                                                                                                                                                                                                                                                                |
| Average Order Adjustment Fulfillment Tax Total         | Total adjustment shipment taxes for an order.                                                                                                                                                                                                                                                       |
| Average Order Adjustment Fulfillment Total             | Total shipment adjustments applied to an order.                                                                                                                                                                                                                                                     |
| Average Order Adjustment Other Charges Total           | Total of included additional adjustment charges paid for an order.                                                                                                                                                                                                                                  |
| Average Order Adjustment Other Credits Total           | Total of credits issued for an order.                                                                                                                                                                                                                                                               |
| Average Order Adjustment Refund Total                  | Total of return dollars for an order.                                                                                                                                                                                                                                                               |
| Average Order Adjustment Replacement Total             | Total of replacement dollars for an order.                                                                                                                                                                                                                                                          |
| Average Order Adjustment Rma Refund Total              | Total of refund dollards associated to an order that was returned via the RMA functionality of the Chord OMS.                                                                                                                                                                                       |
| Average Order Adjustment Tax Total                     | Total adjustment taxes an order.                                                                                                                                                                                                                                                                    |
| Average Order Adjustment Total                         | Total of adjustment applied for an order as on the order.                                                                                                                                                                                                                                           |
| Average Order Applied Gift Card Total                  | Total of gift card dollars that were used as a payment method in the order                                                                                                                                                                                                                          |
| Average Order Commission Total                         | Commission for an order.                                                                                                                                                                                                                                                                            |
| Average Order Fulfillment Total                        | Total shipment for an order.                                                                                                                                                                                                                                                                        |
| Average Order Gross Revenue                            | Gross amount of revenue generated by the order including items and shipments totals. Gross revenue = total - included\_tax\_total + shipment\_total - purchased\_gift\_card\_total - pre-payment subscription purchase amount                                                                       |
| Average Order Included Tax Total                       | Total included taxes for an order.                                                                                                                                                                                                                                                                  |
| Average Order Item Total                               | Total price for the order before adjustments.                                                                                                                                                                                                                                                       |
| Average Order Net Revenue                              | Net revenue generated by the order's items after promotions. Net revenue = total - included\_tax\_total + shipment\_total + adjustment\_total - additional\_tax\_total - purchased\_gift\_card\_total - pre-payment subscription purchase amount                                                    |
| Average Order Pre Paid Purchase Total                  |                                                                                                                                                                                                                                                                                                     |
| Average Order Pre Paid Redemption Total                |                                                                                                                                                                                                                                                                                                     |
| Average Order Promo Total                              | Promotions applied to an order.                                                                                                                                                                                                                                                                     |
| Average Order Purchased Gift Card Total                | Total of gift card dollars that were purchased in the order.                                                                                                                                                                                                                                        |
| Average Order Reimbursement Credit Total               |                                                                                                                                                                                                                                                                                                     |
| Average Order Tax Total                                | Total taxes for an order.                                                                                                                                                                                                                                                                           |
| Average Order Total Price                              | Total to be paid by the customer for an order.                                                                                                                                                                                                                                                      |
| Average Order Transaction Total                        | Total paid by the customer for a completed order.                                                                                                                                                                                                                                                   |
| Average Promo Total                                    | The sum of all of the promo totals from this line items and promotions.                                                                                                                                                                                                                             |
| Average Quantity                                       | The quantity of how many of said variant was purchased.                                                                                                                                                                                                                                             |
| Average Tax Total                                      | Total of total taxes paid for the line item.                                                                                                                                                                                                                                                        |
| Average Total Price                                    | Total price for the line item before adjustments.                                                                                                                                                                                                                                                   |
| Adjusted Total Price                                   | Total price for the line item after adjustments.                                                                                                                                                                                                                                                    |
| Adjustment Fulfillment Tax Total                       | Total of adjustment shipment taxes paid for the line item.                                                                                                                                                                                                                                          |
| Adjustment Tax Total                                   | Total of included adjustment taxes paid for the line item.                                                                                                                                                                                                                                          |
| Adjustment Total                                       | The sum of all adjustment for this line item.                                                                                                                                                                                                                                                       |
| Order Additional Tax Total                             | Total additional taxes for an order.                                                                                                                                                                                                                                                                |
| Order Adjustment Fulfillment Tax Total                 | Total adjustment shipment taxes for an order.                                                                                                                                                                                                                                                       |
| Order Adjustment Fulfillment Total                     | Total shipment adjustments applied to an order.                                                                                                                                                                                                                                                     |
| Order Adjustment Other Charges Total                   | Total of included additional adjustment charges paid for an order.                                                                                                                                                                                                                                  |
| Order Adjustment Other Credits Total                   | Total of credits issued for an order.                                                                                                                                                                                                                                                               |
| Order Adjustment Refund Total                          | Total of return dollars for an order.                                                                                                                                                                                                                                                               |
| Order Adjustment Replacement Total                     | Total of replacement dollars for an order.                                                                                                                                                                                                                                                          |
| Order Adjustment Rma Refund Total                      | Total of refund dollards associated to an order that was returned via the RMA functionality of the Chord OMS.                                                                                                                                                                                       |
| Order Adjustment Tax Total                             | Total adjustment taxes an order.                                                                                                                                                                                                                                                                    |
| Order Adjustment Total                                 | Total of adjustment applied for an order as on the order.                                                                                                                                                                                                                                           |
| Order Applied Gift Card Total                          | Total of gift card dollars that were used as a payment method in the order                                                                                                                                                                                                                          |
| Order Commission Total                                 | Commission for an order.                                                                                                                                                                                                                                                                            |
| Order Fulfillment Total                                | Total shipment for an order.                                                                                                                                                                                                                                                                        |
| Order Gross Revenue                                    | Gross amount of revenue generated by the order including items and shipments totals. Gross revenue = total - included\_tax\_total + shipment\_total - purchased\_gift\_card\_total - pre-payment subscription purchase amount                                                                       |
| Order Included Tax Total                               | Total included taxes for an order.                                                                                                                                                                                                                                                                  |
| Order Item Total                                       | Total price for the order before adjustments.                                                                                                                                                                                                                                                       |
| Order Net Revenue                                      | Net revenue generated by the order's items after promotions. Net revenue = total - included\_tax\_total + shipment\_total + adjustment\_total - additional\_tax\_total - purchased\_gift\_card\_total - pre-payment subscription purchase amount                                                    |
| Order Pre Paid Purchase Total                          |                                                                                                                                                                                                                                                                                                     |
| Order Pre Paid Redemption Total                        |                                                                                                                                                                                                                                                                                                     |
| Order Promo Total                                      | Promotions applied to an order.                                                                                                                                                                                                                                                                     |
| Order Purchased Gift Card Total                        | Total of gift card dollars that were purchased in the order.                                                                                                                                                                                                                                        |
| Order Reimbursement Credit Total                       |                                                                                                                                                                                                                                                                                                     |
| Order Tax Total                                        | Total taxes for an order.                                                                                                                                                                                                                                                                           |
| Order Total Price                                      | Total to be paid by the customer for an order.                                                                                                                                                                                                                                                      |
| Order Transaction Total                                | Total paid by the customer for a completed order.                                                                                                                                                                                                                                                   |
| Total Price                                            | Total price for the line item before adjustments.                                                                                                                                                                                                                                                   |
| Promo Total                                            | The sum of all of the promo totals from this line items and promotions.                                                                                                                                                                                                                             |
| Quantity                                               | The quantity of how many of said variant was purchased.                                                                                                                                                                                                                                             |
| Tax Total                                              | Total of total taxes paid for the line item.                                                                                                                                                                                                                                                        |

### **order\_discount\_codes**

| Name                         | Description                            |
| ---------------------------- | -------------------------------------- |
| Order Applied Discount Codes | Discount code(s) applied to the order. |

### **order\_discount\_names**

| Name                         | Description                            |
| ---------------------------- | -------------------------------------- |
| Order Applied Discount Names | Discount name(s) applied to the order. |

### **order\_tags**

| Name       | Description                        |
| ---------- | ---------------------------------- |
| Order Tags | Order tag(s) applied to the order. |

### **subscription\_tags**

| Name              | Description                               |
| ----------------- | ----------------------------------------- |
| Subscription Tags | Subscription tag(s) applied to the order. |


[title] Users
[path] Chord Data Platform/Data Models/

### New vs. Repeat Users

In purchasing, we have the concept of new vs. returning users or customers:

**New Users:&#x20;**&#x57;hether or not the user is a new user, as defined by if the user has completed a first order.

**Repeat Users:&#x20;**&#x57;hether or not the user is a returning user, as defined by the user has purchased again following a first order.

If analyzing new unique users and repeat unique users in a given period, they can be counted more than once since a user can be both new and repeat in the period when there's more than one purchase. As a result, the count of new users plus the count of repeat users may be greater than the count of total unique users. For example, this user is shown as a new and repeat user in this period and only counted once as a unique customer:

| User OMS User ID | Unique New Customer Count | Unique Repeat Customer Count | Unique Customer Count |
| ---------------- | ------------------------- | ---------------------------- | --------------------- |
| 12345678         | 1                         | 1                            | 1                     |

If we add the purchase dates, we'll see that this user purchased twice over the period analyzed, which is why this user shows as both new and repeat in this period:

| User OMS User ID | Order Completed Date | Unique New Customer Count | Unique Repeat Customer Count | Unique Customer Count |
| ---------------- | -------------------- | ------------------------- | ---------------------------- | --------------------- |
| 12345678         | 1/1/2024             | 1                         | 0                            | 1                     |
| 12345678         | 2/5/2024             | 0                         | 1                            | 1                     |



:::hint{type="success"}
if you have any questions or need help, please reach out to us at [help@chord.co](mailto\:help@chord.co)
:::


[title] Google Ads
[path] Chord Data Platform/Data Activations/Data Activations/Destination Set-up Notes/

*This page describes how to connect Google Ads as a Data Activation*

## Getting Started

Connecting to your Google Ads account is straightforward.

- From the Destinations page, click **New Destination** and select Google Ads from the menu.
- Complete the OAuth flow. Make sure your are signed into a user account that has permissions to both view all of your accounts, as well as submit data to them (readonly accounts will not work).
- Select the Ads account you wish to use with Chord Data Activations. If you'd like to sync to multiple accounts, you will need to add each as its own destination.

![](https://docs.getcensus.com/~gitbook/image?url=https%3A%2F%2F217220813-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MV3poo0VqVau1o8I79_%252Fuploads%252Fh9zq593WC6OFOBLkL0JU%252FGoogle%2520Ads.png%3Falt%3Dmedia%26token%3Ddcc96d7c-45bd-4eb8-8aef-72aa0a461148\&width=768\&dpr=4\&quality=100\&sign=f2b6417e\&sv=2)

| **Object Name**                  | **Supported?** | **Sync Keys**                                                 | **Behaviors**    |
| -------------------------------- | -------------- | ------------------------------------------------------------- | ---------------- |
| Call Conversion                  | ✅              | Caller ID                                                     | Update or Create |
| Click Conversion                 | ✅              | Google Click ID, Google wBraid, Google gBraid,                | Update or Create |
| Conversion Adjustment            | ✅              | Any unique identifier                                         | Send             |
| Customer Match Lists (Audiences) | ✅              | External ID, MAID, Email, First Name, Last Name, Phone Number | Upsert           |
| Enhanced Conversion              | ✅              | N/A                                                           | Update or Create |

# Contact Support

Need help? Contact Chord support at [help@chord.co](mailto\:help@chord.co)!

[title] Line Items
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Chord OMS/

### **x\_fct\_trans\_line\_items**

| Name                                                   | Description                                                                                                                                                                                                                                                                                         |
| ------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Affiliate Email                                        | Email address of the affiliate.                                                                                                                                                                                                                                                                     |
| Affiliate Id                                           | Unique key generated by Chord to identify a unique affiliate.                                                                                                                                                                                                                                       |
| Affiliate Name                                         | Full name of the user.                                                                                                                                                                                                                                                                              |
| Affiliate Seen Emails                                  | List of email addresses seen.                                                                                                                                                                                                                                                                       |
| Affiliate User Id                                      | Unique key generated by Chord to identify a unique user.                                                                                                                                                                                                                                            |
| Billing Address Address1                               | The street address of the customer.                                                                                                                                                                                                                                                                 |
| Billing Address Address2                               | The optional second address of the customer.                                                                                                                                                                                                                                                        |
| Billing Address Alternative Phone                      | The customer's alternative phone number.                                                                                                                                                                                                                                                            |
| Billing Address City                                   | The city where the address is.                                                                                                                                                                                                                                                                      |
| Billing Address Company                                | A company name.                                                                                                                                                                                                                                                                                     |
| Billing Address Country Abbr                           |                                                                                                                                                                                                                                                                                                     |
| Billing Address Country Name                           | Full name of the country.                                                                                                                                                                                                                                                                           |
| Billing Address Firstname                              | First name of the customer.                                                                                                                                                                                                                                                                         |
| Billing Address Id                                     | Unique key generated by Chord to identify a unique address.                                                                                                                                                                                                                                         |
| Billing Address Lastname                               | Last name of the customer.                                                                                                                                                                                                                                                                          |
| Billing Address Oms Address Id                         | Unique key generated by Solidus that identifies an address.                                                                                                                                                                                                                                         |
| Billing Address Phone                                  | The customer's phone number.                                                                                                                                                                                                                                                                        |
| Billing Address State Abbr                             |                                                                                                                                                                                                                                                                                                     |
| Billing Address State Name                             | Full name of the state.                                                                                                                                                                                                                                                                             |
| Billing Address Zipcode                                | The postal code.                                                                                                                                                                                                                                                                                    |
| Bundle All Parts                                       | List that contains all of the parts skus for a specific bundle.                                                                                                                                                                                                                                     |
| Bundle Id                                              | Unique key of line item variant if it is a bundle or kit, coalesce of bundles from line\_item\_part\_bundles and parts\_and\_bundles.                                                                                                                                                               |
| Bundle Is Bundle                                       | Whether or not the bundle is an actual bundle.                                                                                                                                                                                                                                                      |
| Bundle Is Oms Bundle                                   | Whether or not the bundle is an actual Chord OMS bundle.                                                                                                                                                                                                                                            |
| Bundle Name                                            | The name of the bundle.                                                                                                                                                                                                                                                                             |
| Bundle Variant Sku                                     | Variant sku associated with the bundle variant id.                                                                                                                                                                                                                                                  |
| Line Item Adjustment Types                             | List of distinct adjustment reasons for adjustments made to the order line item.                                                                                                                                                                                                                    |
| Line Item Contains Refund                              | Whether or not the line item contains a partial or full refund. Refunds can be done via adjustments, RMAs or order cancellations.                                                                                                                                                                   |
| Line Item Contains Replacement                         | Whether or not the line item contains a replacement adjustment or has been partially or fully replaced via the Chord OMS RMA functionality.                                                                                                                                                         |
| Line Item Contains Return                              | Whether or not the line item has been partially or fully returned via the Chord OMS RMA functionality.                                                                                                                                                                                              |
| Line Item Fulfillment State                            | Status of the shipment.                                                                                                                                                                                                                                                                             |
| Line Item Id                                           | Unique key generated by Chord to identify a unique line item.                                                                                                                                                                                                                                       |
| Line Item Is Subscription Item                         | Whether or not the line item is part of a subscription.                                                                                                                                                                                                                                             |
| Line Item Oms Line Item Id                             | Unique key generated by Solidus that identifies a line item.                                                                                                                                                                                                                                        |
| Line Item Price                                        | The price of the variant.                                                                                                                                                                                                                                                                           |
| Line Item Quantity                                     | The quantity of how many of said variant was purchased.                                                                                                                                                                                                                                             |
| Line Item Unique Line Item Count Per Order             | Count of unique line items per order.                                                                                                                                                                                                                                                               |
| Order Adjustment Types                                 | List of distinct adjustment reasons for adjustments made to the order.                                                                                                                                                                                                                              |
| Order Admin Url                                        | The Admin URL of pointing to the order.                                                                                                                                                                                                                                                             |
| Order Applied Discount Codes                           | List of promotion codes applied to the order.                                                                                                                                                                                                                                                       |
| Order Applied Discount Codes Count                     | Count of promotion codes applied to the order.                                                                                                                                                                                                                                                      |
| Order Applied Discount Ids                             | List of promotion ids applied to the order.                                                                                                                                                                                                                                                         |
| Order Applied Discount Names                           | List of promotion names applied to the order.                                                                                                                                                                                                                                                       |
| Order Applied Discount Names Count                     | Count of promotion names applied to the order.                                                                                                                                                                                                                                                      |
| Order Cart Url                                         | Url of the cart which contains the order.                                                                                                                                                                                                                                                           |
| Order Channel                                          | The channel from which the order is created.                                                                                                                                                                                                                                                        |
| Order Completed Order Rank By Subscription             | Allows to rank completed orders by completion date for a subscription.                                                                                                                                                                                                                              |
| Order Completed Order Rank By User                     | Allows to rank completed orders by completion date for a user.                                                                                                                                                                                                                                      |
| Order Contains Refund                                  | Whether or not the order contains refund adjustments or refunds that are processed outside of the Chord OMS adjustment systems (for example via RMAs or cancellations).                                                                                                                             |
| Order Contains Replacement                             | Whether or not the order contains replacement adjustments or shipped replacement items (following an RMA authorization).                                                                                                                                                                            |
| Order Contains Return                                  | Whether or not the order contains returns (authorized RMAs).                                                                                                                                                                                                                                        |
| Order Contains Rma Refund                              | Whether or not the order contains RMA refunds (refunds issued after an RMA was requested and authorized).                                                                                                                                                                                           |
| Order Contains Rma Store Credits                       | This column is not documented.                                                                                                                                                                                                                                                                      |
| Order Currency                                         | The currency for this order.                                                                                                                                                                                                                                                                        |
| Order Customer Lifetime Month                          | Number of months between the current order's completion date and the user's first order completion date. First orders have a value of 1.                                                                                                                                                            |
| Order Customer Lifetime Week                           | Number of weeks between the current order's completion date and the user's first order completion date. First orders always have a value of 1.                                                                                                                                                      |
| Order Email                                            | The email address of the customer that made the order.                                                                                                                                                                                                                                              |
| Order Financial State                                  | The current payment state of the order.                                                                                                                                                                                                                                                             |
| Order Fulfillment Ids                                  | Array of unique keys generated by Chord to identify the unique shipments for an order.                                                                                                                                                                                                              |
| Order Fulfillment Numbers                              | The unique identifier for this shipment.                                                                                                                                                                                                                                                            |
| Order Fulfillment State                                | The current shipment state of the order.                                                                                                                                                                                                                                                            |
| Order Has Discount                                     | Whether or not the order has promotions applied to it.                                                                                                                                                                                                                                              |
| Order Has Order Tags                                   | Whether or not that order has tags.                                                                                                                                                                                                                                                                 |
| Order Hours From Order To First Fulfillment            | Number of hours between order completion and first order shipment; how long it takes a company to get the initial product out to a customer.                                                                                                                                                        |
| Order Hours From Order To Last Fulfillment             | Number of hours between order completion and last order shipment.                                                                                                                                                                                                                                   |
| Order Id                                               | Unique key generated by Chord to identify a unique order.                                                                                                                                                                                                                                           |
| Order Is Canceled                                      | Whether or not the order is canceled. The order is considered canceled when the canceled\_at date is not null.                                                                                                                                                                                      |
| Order Is Completed                                     | Whether or not that order is completed. The order is considered completed when the completed\_at date is not null. This means that the order does not necessarily have a state = 'complete', since states can change after the order completion (for example in the case of a refund).              |
| Order Is First Completed Order                         | Whether or not that order was the first completed order for a user.                                                                                                                                                                                                                                 |
| Order Is First Order                                   | Whether or not that order was the first order for a user.                                                                                                                                                                                                                                           |
| Order Is First Subscription Completed Order            | Whether or not that order was the first completed order for a subscription.                                                                                                                                                                                                                         |
| Order Is First Subscription Order                      | Whether or not that order was the first order for a subscription.                                                                                                                                                                                                                                   |
| Order Is Fulfilled                                     | Whether or not that order has shipped.                                                                                                                                                                                                                                                              |
| Order Is Part Of Subscription                          | Whether or not that order is part of a subscription.                                                                                                                                                                                                                                                |
| Order Is Pre Paid Purchase                             | Whether the order the orderincludes the purchase of a pre-payment; this could be a gift subscription, pre-pay subscription, or gift card.                                                                                                                                                           |
| Order Is Pre Paid Redemption                           | Whether the order included the redemption of a pre-payment; this could be the redemption of a gift subscription, pre-pay subscription, or gift card.                                                                                                                                                |
| Order Is Referred By Affiliate                         | Whether or not the user is referred by an affiliate.                                                                                                                                                                                                                                                |
| Order Is Referred By Referrer                          | Whether or not the user is referred by a referrer.                                                                                                                                                                                                                                                  |
| Order Is Replacement                                   | True when the order is a replacement order.                                                                                                                                                                                                                                                         |
| Order Is Suspicious Referral Conversion                | Wether this represents a suspicous referral conversions or not.                                                                                                                                                                                                                                     |
| Order Item Id                                          | Unique key generated by Chord to identify a unique order.                                                                                                                                                                                                                                           |
| Order Item Line Items Quantity                         | Sum of line items quantities per order.                                                                                                                                                                                                                                                             |
| Order Item Product Basket                              | List of product names per in the order.                                                                                                                                                                                                                                                             |
| Order Item Product Basket Count                        | Number of products in the order.                                                                                                                                                                                                                                                                    |
| Order Product Basket                                   | The titles of products for a given order array converted to a string.                                                                                                                                                                                                                               |
| Order Item Total Line Item Unit Quantity               | Sum of line item units in the order.                                                                                                                                                                                                                                                                |
| Order Item Total Line Items Quantity                   | Sum of line items quantities per order.                                                                                                                                                                                                                                                             |
| Order Item Unique Product Basket                       | List of unique product names per in the order.                                                                                                                                                                                                                                                      |
| Order Item Unique Product Basket Count                 | Number of unique products in the order.                                                                                                                                                                                                                                                             |
| Order Unique Product Basket                            | The list of unique products for a given order array converted to a string.                                                                                                                                                                                                                          |
| Order Item Unique Unit Basket                          | List of unique units in the order.                                                                                                                                                                                                                                                                  |
| Order Item Unique Unit Basket Count                    | Count of unique units in the order.                                                                                                                                                                                                                                                                 |
| Order Unit Basket                                      | The list of units for a given order array converted to a string.                                                                                                                                                                                                                                    |
| Order Item Unique Variant Basket                       | List of unique variant names per in the order.                                                                                                                                                                                                                                                      |
| Order Item Unique Variant Basket Count                 | Number of unique variants in the order.                                                                                                                                                                                                                                                             |
| Order Unique Variant Basket                            | The list of unique variants for a given order array converted to a string.                                                                                                                                                                                                                          |
| Order Item Unit Basket                                 | List of all units in the order.                                                                                                                                                                                                                                                                     |
| Order Item Unit Basket Count                           | Count of all units in the order.                                                                                                                                                                                                                                                                    |
| Order Unique Unit Basket                               | The list of unique units for a given order array converted to a string.                                                                                                                                                                                                                             |
| Order Item Variant Basket                              | List of variant names per in the order.                                                                                                                                                                                                                                                             |
| Order Item Variant Basket Count                        | Number of variants in the order.                                                                                                                                                                                                                                                                    |
| Order Variant Basket                                   | The titles of variants for a given order array converted to a string.                                                                                                                                                                                                                               |
| Order Number                                           | Human-readable unique key generated by Solidus that identifies an order. It begins with a set of Tenant-Store defined letters and ends in a nine-digit number (for example, CHORD-123456789). This number is shown to the users in various places. These combinations are unique for a given Store. |
| Order Oms Order Id                                     | Unique key generated by Solidus that identifies an order.                                                                                                                                                                                                                                           |
| Order Rank By User                                     | Allows to rank completed orders by completion date for a user.                                                                                                                                                                                                                                      |
| Order Tags                                             | List of tags associated to the order.                                                                                                                                                                                                                                                               |
| Order Tags Count                                       | Number of tags associated to the order.                                                                                                                                                                                                                                                             |
| Order Referral Conversion Suspicious Reasons           | A list of reasons explaining why the referral conversion is suspicious.                                                                                                                                                                                                                             |
| Order Referrer User Email                              | The email address of the customer identified with the referral.                                                                                                                                                                                                                                     |
| Order Special Instructions                             | Any special shipping instructions that have been specified by the customer during checkout.                                                                                                                                                                                                         |
| Order State                                            | The current state of the order.                                                                                                                                                                                                                                                                     |
| Order Store Id                                         | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                         |
| Order Store Name                                       | The name of the store.                                                                                                                                                                                                                                                                              |
| Order Store Oms Admin Url                              | The Admin URL of that OMS.                                                                                                                                                                                                                                                                          |
| Order Store Oms Id                                     | Unique key generated by Chord that uniquifies an OMS.                                                                                                                                                                                                                                               |
| Order Store Oms Store Id                               | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                         |
| Order Store Oms Type                                   | The type of the OMS.                                                                                                                                                                                                                                                                                |
| Order Store Id                                         | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                         |
| Order Store Tenant Id                                  | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                             |
| Order Store Url                                        | The Storefront URL of of the store.                                                                                                                                                                                                                                                                 |
| Order Subscription Customer Lifetime Month             | Number of months between the current order's completion date and the user's first subscription order completion date. First orders have a value of 1.                                                                                                                                               |
| Order Subscription Customer Lifetime Week              | Number of weeks between the current order's completion date and the user's first subscription order completion date. First orders always have a value of 1.                                                                                                                                         |
| Order User Referral Code                               | Unique key generated by Solidus that represents the user's referral code.                                                                                                                                                                                                                           |
| Order Website Locale                                   | Locale of website. This will either be collected from the url or from the drop-down link on the store.                                                                                                                                                                                              |
| Product Description                                    | The description of the product.                                                                                                                                                                                                                                                                     |
| Product Id                                             | Unique key generated by Chord to identify a unique product.                                                                                                                                                                                                                                         |
| Product Is Adult Signature Required                    | If an adult's signature is required.                                                                                                                                                                                                                                                                |
| Product Is Promotionable                               | Whether promotions can apply to the product.                                                                                                                                                                                                                                                        |
| Product Name                                           | The name of the product.                                                                                                                                                                                                                                                                            |
| Product Oms Product Id                                 | Unique key generated by Solidus that identifies a product.                                                                                                                                                                                                                                          |
| Product Property Gender                                | Product property gender.                                                                                                                                                                                                                                                                            |
| Product Slug                                           | The slug of the product.                                                                                                                                                                                                                                                                            |
| Product Store Id                                       | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                         |
| Product Store Name                                     | The name of the store.                                                                                                                                                                                                                                                                              |
| Product Store Oms Admin Url                            | The Admin URL of that OMS.                                                                                                                                                                                                                                                                          |
| Product Store Oms Id                                   | Unique key generated by Chord that uniquifies an OMS.                                                                                                                                                                                                                                               |
| Product Store Oms Store Id                             | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                         |
| Product Store Oms Type                                 | The type of the OMS.                                                                                                                                                                                                                                                                                |
| Product Store Id                                       | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                         |
| Product Store Tenant Id                                | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                             |
| Product Store Url                                      | The Storefront URL of of the store.                                                                                                                                                                                                                                                                 |
| Shipping Address Address1                              | The street address of the customer.                                                                                                                                                                                                                                                                 |
| Shipping Address Address2                              | The optional second address of the customer.                                                                                                                                                                                                                                                        |
| Shipping Address Alternative Phone                     | The customer's alternative phone number.                                                                                                                                                                                                                                                            |
| Shipping Address City                                  | The city where the address is.                                                                                                                                                                                                                                                                      |
| Shipping Address Company                               | A company name.                                                                                                                                                                                                                                                                                     |
| Shipping Address Country Abbr                          |                                                                                                                                                                                                                                                                                                     |
| Shipping Address Country Name                          | Full name of the country.                                                                                                                                                                                                                                                                           |
| Shipping Address Firstname                             | First name of the customer.                                                                                                                                                                                                                                                                         |
| Shipping Address Id                                    | Unique key generated by Chord to identify a unique address.                                                                                                                                                                                                                                         |
| Shipping Address Lastname                              | Last name of the customer.                                                                                                                                                                                                                                                                          |
| Shipping Address Oms Address Id                        | Unique key generated by Solidus that identifies an address.                                                                                                                                                                                                                                         |
| Shipping Address Phone                                 | The customer's phone number.                                                                                                                                                                                                                                                                        |
| Shipping Address State Abbr                            |                                                                                                                                                                                                                                                                                                     |
| Shipping Address State Name                            | Full name of the state.                                                                                                                                                                                                                                                                             |
| Shipping Address Zipcode                               | The postal code.                                                                                                                                                                                                                                                                                    |
| Subscription Completed Oms Order Ids                   | List of completed OMS order ids by a subscription.                                                                                                                                                                                                                                                  |
| Subscription Completed Order Count                     | Total amount of orders completed by a subscription.                                                                                                                                                                                                                                                 |
| Subscription Completed Order Ids                       | List of completed order ids by a subscription.                                                                                                                                                                                                                                                      |
| Subscription First Order Unique Product Basket         | Array of unique product names ordered in the first order per subscription.                                                                                                                                                                                                                          |
| Subscription First Order Unique Variant Basket         | Array of unique SKUs ordered in the first order per subscription.                                                                                                                                                                                                                                   |
| Subscription Has Subscription Tags                     | Whether or not the subscription has tags.                                                                                                                                                                                                                                                           |
| Subscription Id                                        | Unique key generated by Solidus that identifies a subscription.                                                                                                                                                                                                                                     |
| Subscription Interval In Days                          | The number of days in the subscription interval.                                                                                                                                                                                                                                                    |
| Subscription Is Auto Redeemed                          | Whether the pre-paid subscription will be auto-redeemed or if an action is required by the recepient.                                                                                                                                                                                               |
| Subscription Is Gift                                   | Whether or not the pre-paid subscription is a gift.                                                                                                                                                                                                                                                 |
| Subscription Is Recurring                              | Whether the pre-paid subscription is recurring.                                                                                                                                                                                                                                                     |
| Subscription Last Order Unique Product Basket          | Array of unique product names ordered in the latest order per subscription.                                                                                                                                                                                                                         |
| Subscription Last Order Unique Variant Basket          | Array of unique SKUs ordered in the latest order per subscription.                                                                                                                                                                                                                                  |
| Subscription Oms Pre Paid Subscription Id              | ID generated by ChordOMS to identify a unique pre-paid subscription.                                                                                                                                                                                                                                |
| Subscription Oms Subscription Id                       | Unique key generated by Solidus that identifies a subscription.                                                                                                                                                                                                                                     |
| Subscription Pre Paid Subscription Id                  | Chord generated unique id for the pre-pay subscription.                                                                                                                                                                                                                                             |
| Subscription State                                     | The current state of the subscription, enhanced with values for \`paused\` if the subscription is active and paused.                                                                                                                                                                                |
| Subscription Tags                                      | The list of tags associated with a subscription.                                                                                                                                                                                                                                                    |
| Subscription Tags Count                                | The number of tags associated with a subscription.                                                                                                                                                                                                                                                  |
| Subscription Unique Product Basket                     | Array of unique product names ever ordered per subscription.                                                                                                                                                                                                                                        |
| Subscription Unique Variant Basket                     | Array of unique SKUs ever ordered per subscription.                                                                                                                                                                                                                                                 |
| User Completed Oms Order Ids                           | List of completed OMS order ids by a user.                                                                                                                                                                                                                                                          |
| User Completed Order Ids                               | List of completed order ids by a user.                                                                                                                                                                                                                                                              |
| User Credit Category Basket                            | Array of credit categories (Gift Card, Reimbursement, Referral Credits, Prepaid Subscription, GMA) issued per user.                                                                                                                                                                                 |
| User Email                                             | Email address of the user.                                                                                                                                                                                                                                                                          |
| User First Completed Oms Order Id                      | OMS order id of the first order completed by a user.                                                                                                                                                                                                                                                |
| User First Completed Order Id                          | Unique order id of the first order completed by a user.                                                                                                                                                                                                                                             |
| User First Order Unique Ordered Products               | Unique products ordered by the user in their first completed order.                                                                                                                                                                                                                                 |
| User First Order Unique Ordered Skus                   | Unique SKUs ordered by the user in their first completed order.                                                                                                                                                                                                                                     |
| User Has Ordered A La Carte                            | Whether or not the user has had at least one order that is not part of a subscription.                                                                                                                                                                                                              |
| User Has Promo Applied In First Order                  | Whether or not the user has a promo applied to their first completed order.                                                                                                                                                                                                                         |
| User Has Subscription In First Order                   | Whether or not the user's first order is linked to a subscription.                                                                                                                                                                                                                                  |
| User Id                                                | Unique key generated by Chord to identify a unique user.                                                                                                                                                                                                                                            |
| User Is Active Subscriber                              | Whether or not the user has an active subscription with at least one completed subscription order. An active subscription is one that is not cancelled or paused.                                                                                                                                   |
| User Is Customer                                       | Whether or not the user is a customer.                                                                                                                                                                                                                                                              |
| User Is New Customer                                   | Whether or not the user is a new customer.                                                                                                                                                                                                                                                          |
| User Is Not Customer                                   | Whether or not the user is not a customer.                                                                                                                                                                                                                                                          |
| User Is Returning Customer                             | Whether or not the user is a returning customer.                                                                                                                                                                                                                                                    |
| User Is Subscriber                                     | Whether or not the user has completed at least one subscription order.                                                                                                                                                                                                                              |
| User Login                                             | The login email address of the user.                                                                                                                                                                                                                                                                |
| User Name                                              | Full name of the user.                                                                                                                                                                                                                                                                              |
| User Number Of Completed A La Carte Orders             | Total amount of orders completed by a user that are a la carte.                                                                                                                                                                                                                                     |
| User Number Of Completed Subscription Orders           | Total amount of orders completed by a user that was part of a subscription.                                                                                                                                                                                                                         |
| User Number Of Orders With Promos                      | The count of completed orders with a promo applied.                                                                                                                                                                                                                                                 |
| User Number Of Subscriptions                           | Total amount of subscriptions linked to a user.                                                                                                                                                                                                                                                     |
| User Oms User Id                                       | Unique key generated by Solidus that identifies a user.                                                                                                                                                                                                                                             |
| User Phone                                             | Phone number of the user.                                                                                                                                                                                                                                                                           |
| User Total Completed Order Count                       | Total amount of orders completed by a user.                                                                                                                                                                                                                                                         |
| User Unique Ordered Products                           | Unique products ordered by the user across all orders.                                                                                                                                                                                                                                              |
| User Unique Ordered Skus                               | Unique SKUs ordered by the user across all orders.                                                                                                                                                                                                                                                  |
| Variant Cost Price                                     | The manufacturing cost of the variant.                                                                                                                                                                                                                                                              |
| Variant Depth                                          | The depth of the variant.                                                                                                                                                                                                                                                                           |
| Variant Height                                         | The height of the variant.                                                                                                                                                                                                                                                                          |
| Variant Id                                             | Unique key generated by Chord to identify a unique product variant.                                                                                                                                                                                                                                 |
| Variant Is Backorderable                               | Whether the stock item has at least one location where it is back-orderable or not.                                                                                                                                                                                                                 |
| Variant Is Inventory Tracked                           | Whether the inventory should or should not be tracked for this variant.                                                                                                                                                                                                                             |
| Variant Is Master                                      | Whether this represents the master SKU or not.                                                                                                                                                                                                                                                      |
| Variant Is Subscribable                                | Whether or not a customer can ask to subscribe to this product.                                                                                                                                                                                                                                     |
| Variant Oms Variant Id                                 | Unique key generated by Solidus that identifies a variant.                                                                                                                                                                                                                                          |
| Variant Option Color                                   | Color of the variant.                                                                                                                                                                                                                                                                               |
| Variant Option Format                                  | Format of the variant.                                                                                                                                                                                                                                                                              |
| Variant Option Quantity                                | Quantity of item for the variant.                                                                                                                                                                                                                                                                   |
| Variant Option Size                                    | Size of the variant.                                                                                                                                                                                                                                                                                |
| Variant Position                                       | The position of the variant in the list of variants.                                                                                                                                                                                                                                                |
| Variant Sku                                            | The SKU of the variant.                                                                                                                                                                                                                                                                             |
| Variant Weight                                         | The weight of the variant.                                                                                                                                                                                                                                                                          |
| Variant Width                                          | The weight of the variant.                                                                                                                                                                                                                                                                          |
| Billing Address Created At (Universal)                 | Timestamp at which the address row was created - Universal Time Zone.                                                                                                                                                                                                                               |
| Billing Address Updated At (Universal)                 | Timestamp at which the address row was last updated - Universal Time Zone.                                                                                                                                                                                                                          |
| Line Item Last Adjustment Refund At (Universal)        | Timestamp of the last return adjustment for an order line item - Universal Time Zone.                                                                                                                                                                                                               |
| Line Item Last Adjustment Replacement At (Universal)   | Timestamp of the last replacement adjustment for an order line item - Universal Time Zone.                                                                                                                                                                                                          |
| Order Approved At (Universal)                          | Reflects when the entity was approved in Solidus - Universal Time Zone.                                                                                                                                                                                                                             |
| Order Canceled At (Universal)                          | Reflects when the order was cancelled - Universal Time Zone.                                                                                                                                                                                                                                        |
| Order Completed At (Central)                           | Reflects when the entity was moved to the 'completed' state - Cental Time Zone.                                                                                                                                                                                                                     |
| Order Completed At (Eastern)                           | Reflects when the entity was moved to the 'completed' state - Eastern Time Zone.                                                                                                                                                                                                                    |
| Order Completed At (Mountain)                          | Reflects when the entity was moved to the 'completed' state - Mountain Time Zone.                                                                                                                                                                                                                   |
| Order Completed At (Pacific)                           | Reflects when the entity was moved to the 'completed' state - Pacific Time Zone.                                                                                                                                                                                                                    |
| Order Completed At (Universal)                         | Reflects when the entity was moved to the 'completed' state - Universal Time Zone.                                                                                                                                                                                                                  |
| Order Created At (Central)                             | Reflects when the entity was first created in Solidus - Cental Time Zone.                                                                                                                                                                                                                           |
| Order Created At (Eastern)                             | Reflects when the entity was first created in Solidus - Eastern Time Zone.                                                                                                                                                                                                                          |
| Order Created At (Mountain)                            | Reflects when the entity was first created in Solidus - Mountain Time Zone.                                                                                                                                                                                                                         |
| Order Created At (Pacific)                             | Reflects when the entity was first created in Solidus - Pacific Time Zone.                                                                                                                                                                                                                          |
| Order Created At (Universal)                           | Reflects when the entity was first created in Solidus - Universal Time Zone.                                                                                                                                                                                                                        |
| Order First Fulfillment Fulfilled At (Universal)       | Timestamp at which the first shipment for that order was shipped - Universal Time Zone.                                                                                                                                                                                                             |
| Order Last Adjustment Refund At (Universal)            | Timestamp of the last return adjustment for an order - Universal Time Zone.                                                                                                                                                                                                                         |
| Order Last Adjustment Replacement At (Universal)       | Timestamp of the last replacement adjustment for an order - Universal Time Zone.                                                                                                                                                                                                                    |
| Order Last Fulfillment Fulfilled At (Universal)        | Timestamp at which the last shipment for that order was shipped - Universal Time Zone.                                                                                                                                                                                                              |
| Order Updated At (Universal)                           | Reflects when the entity was last updated in Solidus - Universal Time Zone.                                                                                                                                                                                                                         |
| Product Created At (Universal)                         | Reflects when the entity was first created in Solidus - Universal Time Zone.                                                                                                                                                                                                                        |
| Product Deleted At (Universal)                         | Reflects when the entity was deleted - Universal Time Zone.                                                                                                                                                                                                                                         |
| Product Discontinued At (Universal)                    | Reflects when the entity was discontinued - Universal Time Zone.                                                                                                                                                                                                                                    |
| Product Updated At (Universal)                         | Reflects when the entity was last updated in Solidus - Universal Time Zone.                                                                                                                                                                                                                         |
| Shipping Address Created At (Universal)                | Timestamp at which the address row was created - Universal Time Zone.                                                                                                                                                                                                                               |
| Shipping Address Updated At (Universal)                | Timestamp at which the address row was last updated - Universal Time Zone.                                                                                                                                                                                                                          |
| Subscription Actionable Date (Universal)               | The date of the next subscription installment. This date is updated after each successful installment. Subscriptions in an inactive state will be null - Universal Time Zone.                                                                                                                       |
| Subscription Created At (Universal)                    | Reflects when the entity was first created in Solidus - Universal Time Zone.                                                                                                                                                                                                                        |
| Subscription First Order Completed At (Universal)      | The timestamp of the subscription's first completed order - Universal Time Zone.                                                                                                                                                                                                                    |
| Subscription Last Order Completed At (Universal)       | The timestamp of the subscription's last completed order - Universal Time Zone.                                                                                                                                                                                                                     |
| Subscription Updated At (Universal)                    | Reflects when the entity was last updated in Solidus - Universal Time Zone.                                                                                                                                                                                                                         |
| User Created At (Universal)                            | Timestamp at which the users row was created - Universal Time Zone.                                                                                                                                                                                                                                 |
| User Date Of Birth (Universal)                         | Date of birth of the user - Universal Time Zone.                                                                                                                                                                                                                                                    |
| User Deleted At (Universal)                            | Timestamp at which the user's account was deleted - Universal Time Zone.                                                                                                                                                                                                                            |
| User First Order Completed At (Universal)              | The timestamp of the user's first completed order - Universal Time Zone.                                                                                                                                                                                                                            |
| User First Subscription Order Completed At (Universal) | The timestamp of the user's first completed subscription order, regardless of subsequent subscriptions - Universal Time Zone.                                                                                                                                                                       |
| User Last Order Completed At (Universal)               | The timestamp of the user's last completed order - Universal Time Zone.                                                                                                                                                                                                                             |
| User Last Sign In At (Universal)                       | The last sign in timestamp for the user - Universal Time Zone.                                                                                                                                                                                                                                      |
| User Updated At (Universal)                            | Timestamp at which the users row was last updated - Universal Time Zone.                                                                                                                                                                                                                            |
| Variant Created At (Universal)                         | Reflects when the entity was first created in Solidus - Universal Time Zone.                                                                                                                                                                                                                        |
| Variant Deleted At (Universal)                         | Reflects when the entity was deleted - Universal Time Zone.                                                                                                                                                                                                                                         |
| Variant Updated At (Universal)                         | Reflects when the entity was last updated in Solidus - Universal Time Zone.                                                                                                                                                                                                                         |
| Average Adjusted Total Price                           | Total price for the line item after adjustments.                                                                                                                                                                                                                                                    |
| Average Adjustment Fulfillment Tax Total               | Total of adjustment shipment taxes paid for the line item.                                                                                                                                                                                                                                          |
| Average Adjustment Tax Total                           | Total of included adjustment taxes paid for the line item.                                                                                                                                                                                                                                          |
| Average Adjustment Total                               | The sum of all adjustment for this line item.                                                                                                                                                                                                                                                       |
| Average Order Additional Tax Total                     | Total additional taxes for an order.                                                                                                                                                                                                                                                                |
| Average Order Adjustment Fulfillment Tax Total         | Total adjustment shipment taxes for an order.                                                                                                                                                                                                                                                       |
| Average Order Adjustment Fulfillment Total             | Total shipment adjustments applied to an order.                                                                                                                                                                                                                                                     |
| Average Order Adjustment Other Charges Total           | Total of included additional adjustment charges paid for an order.                                                                                                                                                                                                                                  |
| Average Order Adjustment Other Credits Total           | Total of credits issued for an order.                                                                                                                                                                                                                                                               |
| Average Order Adjustment Refund Total                  | Total of return dollars for an order.                                                                                                                                                                                                                                                               |
| Average Order Adjustment Replacement Total             | Total of replacement dollars for an order.                                                                                                                                                                                                                                                          |
| Average Order Adjustment Rma Refund Total              | Total of refund dollards associated to an order that was returned via the RMA functionality of the Chord OMS.                                                                                                                                                                                       |
| Average Order Adjustment Tax Total                     | Total adjustment taxes an order.                                                                                                                                                                                                                                                                    |
| Average Order Adjustment Total                         | Total of adjustment applied for an order as on the order.                                                                                                                                                                                                                                           |
| Average Order Applied Gift Card Total                  | Total of gift card dollars that were used as a payment method in the order                                                                                                                                                                                                                          |
| Average Order Commission Total                         | Commission for an order.                                                                                                                                                                                                                                                                            |
| Average Order Fulfillment Total                        | Total shipment for an order.                                                                                                                                                                                                                                                                        |
| Average Order Gross Revenue                            | Gross amount of revenue generated by the order including items and shipments totals. Gross revenue = total - included\_tax\_total + shipment\_total - purchased\_gift\_card\_total - pre-payment subscription purchase amount                                                                       |
| Average Order Included Tax Total                       | Total included taxes for an order.                                                                                                                                                                                                                                                                  |
| Average Order Item Total                               | Total price for the order before adjustments.                                                                                                                                                                                                                                                       |
| Average Order Net Revenue                              | Net revenue generated by the order's items after promotions. Net revenue = total - included\_tax\_total + shipment\_total + adjustment\_total - additional\_tax\_total - purchased\_gift\_card\_total - pre-payment subscription purchase amount                                                    |
| Average Order Pre Paid Purchase Total                  |                                                                                                                                                                                                                                                                                                     |
| Average Order Pre Paid Redemption Total                |                                                                                                                                                                                                                                                                                                     |
| Average Order Promo Total                              | Promotions applied to an order.                                                                                                                                                                                                                                                                     |
| Average Order Purchased Gift Card Total                | Total of gift card dollars that were purchased in the order.                                                                                                                                                                                                                                        |
| Average Order Reimbursement Credit Total               |                                                                                                                                                                                                                                                                                                     |
| Average Order Tax Total                                | Total taxes for an order.                                                                                                                                                                                                                                                                           |
| Average Order Total Price                              | Total to be paid by the customer for an order.                                                                                                                                                                                                                                                      |
| Average Order Transaction Total                        | Total paid by the customer for a completed order.                                                                                                                                                                                                                                                   |
| Average Promo Total                                    | The sum of all of the promo totals from this line items and promotions.                                                                                                                                                                                                                             |
| Average Quantity                                       | The quantity of how many of said variant was purchased.                                                                                                                                                                                                                                             |
| Average Tax Total                                      | Total of total taxes paid for the line item.                                                                                                                                                                                                                                                        |
| Average Total Price                                    | Total price for the line item before adjustments.                                                                                                                                                                                                                                                   |
| Adjusted Total Price                                   | Total price for the line item after adjustments.                                                                                                                                                                                                                                                    |
| Adjustment Fulfillment Tax Total                       | Total of adjustment shipment taxes paid for the line item.                                                                                                                                                                                                                                          |
| Adjustment Tax Total                                   | Total of included adjustment taxes paid for the line item.                                                                                                                                                                                                                                          |
| Adjustment Total                                       | The sum of all adjustment for this line item.                                                                                                                                                                                                                                                       |
| Order Additional Tax Total                             | Total additional taxes for an order.                                                                                                                                                                                                                                                                |
| Order Adjustment Fulfillment Tax Total                 | Total adjustment shipment taxes for an order.                                                                                                                                                                                                                                                       |
| Order Adjustment Fulfillment Total                     | Total shipment adjustments applied to an order.                                                                                                                                                                                                                                                     |
| Order Adjustment Other Charges Total                   | Total of included additional adjustment charges paid for an order.                                                                                                                                                                                                                                  |
| Order Adjustment Other Credits Total                   | Total of credits issued for an order.                                                                                                                                                                                                                                                               |
| Order Adjustment Refund Total                          | Total of return dollars for an order.                                                                                                                                                                                                                                                               |
| Order Adjustment Replacement Total                     | Total of replacement dollars for an order.                                                                                                                                                                                                                                                          |
| Order Adjustment Rma Refund Total                      | Total of refund dollards associated to an order that was returned via the RMA functionality of the Chord OMS.                                                                                                                                                                                       |
| Order Adjustment Tax Total                             | Total adjustment taxes an order.                                                                                                                                                                                                                                                                    |
| Order Adjustment Total                                 | Total of adjustment applied for an order as on the order.                                                                                                                                                                                                                                           |
| Order Applied Gift Card Total                          | Total of gift card dollars that were used as a payment method in the order                                                                                                                                                                                                                          |
| Order Commission Total                                 | Commission for an order.                                                                                                                                                                                                                                                                            |
| Order Fulfillment Total                                | Total shipment for an order.                                                                                                                                                                                                                                                                        |
| Order Gross Revenue                                    | Gross amount of revenue generated by the order including items and shipments totals. Gross revenue = total - included\_tax\_total + shipment\_total - purchased\_gift\_card\_total - pre-payment subscription purchase amount                                                                       |
| Order Included Tax Total                               | Total included taxes for an order.                                                                                                                                                                                                                                                                  |
| Order Item Total                                       | Total price for the order before adjustments.                                                                                                                                                                                                                                                       |
| Order Net Revenue                                      | Net revenue generated by the order's items after promotions. Net revenue = total - included\_tax\_total + shipment\_total + adjustment\_total - additional\_tax\_total - purchased\_gift\_card\_total - pre-payment subscription purchase amount                                                    |
| Order Pre Paid Purchase Total                          |                                                                                                                                                                                                                                                                                                     |
| Order Pre Paid Redemption Total                        |                                                                                                                                                                                                                                                                                                     |
| Order Promo Total                                      | Promotions applied to an order.                                                                                                                                                                                                                                                                     |
| Order Purchased Gift Card Total                        | Total of gift card dollars that were purchased in the order.                                                                                                                                                                                                                                        |
| Order Reimbursement Credit Total                       |                                                                                                                                                                                                                                                                                                     |
| Order Tax Total                                        | Total taxes for an order.                                                                                                                                                                                                                                                                           |
| Order Total Price                                      | Total to be paid by the customer for an order.                                                                                                                                                                                                                                                      |
| Order Transaction Total                                | Total paid by the customer for a completed order.                                                                                                                                                                                                                                                   |
| Total Price                                            | Total price for the line item before adjustments.                                                                                                                                                                                                                                                   |
| Promo Total                                            | The sum of all of the promo totals from this line items and promotions.                                                                                                                                                                                                                             |
| Quantity                                               | The quantity of how many of said variant was purchased.                                                                                                                                                                                                                                             |
| Tax Total                                              | Total of total taxes paid for the line item.                                                                                                                                                                                                                                                        |

### **order\_discount\_codes**

| Name                         | Description                            |
| ---------------------------- | -------------------------------------- |
| Order Applied Discount Codes | Discount code(s) applied to the order. |

### **order\_discount\_names**

| Name                         | Description                            |
| ---------------------------- | -------------------------------------- |
| Order Applied Discount Names | Discount name(s) applied to the order. |

### **order\_tags**

| Name       | Description                        |
| ---------- | ---------------------------------- |
| Order Tags | Order tag(s) applied to the order. |

### **subscription\_tags**

| Name              | Description                               |
| ----------------- | ----------------------------------------- |
| Subscription Tags | Subscription tag(s) applied to the order. |


[title] Available Expressions
[path] Chord AI/Chord AI Modeling/

### Aggregations

- **Average**
  Returns the average of the values in the column.
  Syntax: `avg(column)` -> double
- **Count**
  Returns the count of non-null rows (also known as records) in the selected data.
  Syntax: `count(column)` -> bigint
- **Max**
  Returns the largest value found in the column.
  Syntax: `max(column)`-> \[same as input]
- **Min**
  Returns the smallest value found in the column.
  Syntax: `min(column)` -> \[same as input]
- **Sum** Adds up all the values of the column.
  Syntax: `sum(column)` -> \[same as input]

### Math functions

- **Absolute**
  Returns the absolute (positive) value of the specified column.
  Syntax: `abs(column)` -> \[same as input]
- **Cube root**
  Returns the cube root ofthe number.
  Syntax: `cbrt(column)` -> double
- **Ceil**
  Rounds a decimal up (ceil as in ceiling).
  Syntax: `ceil(column)` -> \[same as input]
- **Exponential**
  Returns Euler's number, e, raised to the power of the supplied number.
  Syntax: `exp(column)`-> double
- **Floor**
  Rounds a decimal number down.
  Syntax:`floor(column)` -> \[same as input]
- **Ln**
  Returns the natural logarithm of?the number.
  Syntax: `ln(column)` -> double
- **Log10**
  Returns the base 10 log of the number.
  Syntax: `log10(column)` -> double
- **Round**
  Rounds a decimal number either up or down to the nearest integer value.
  Syntax: `round(column)` -> \[same as input]
- **Signum**
  Returns the signum function of the number.
  Syntax: `sign(column)` -> \[same as input]

### String functions

- **Length**
  Returns the number of characters in string.
  Syntax: `length(column)` -> bigint
- **Reverse**
  Returns string with the characters in reverse order.
  Syntax: `reverse(column)` -> varbinary


[title] Analytics Homepage Overview
[path] Chord Data Platform/Overview/

# Introduction

Chord's analytics platform is a powerful tool that helps businesses collect, organize, and interpret data, transforming raw information into actionable insights. With customizable dashboards and reports, brand operators, analysts, and marketers can visualize trends, measure key metrics, and optimize strategies across various channels, empowering teams to drive growth and efficiency with confidence.

Below is a tour of the **Analytics Homepage** and its key features.&#x20;

# Page overview

The **Analytics Homepage** consists of the following features:&#x20;

- **Pinned Reports**
- **My Reports**
- **Shared Reports**
- **Explores**
- **Quickstarts**

More information on each of the above features is provided below.&#x20;

:::hint{type="info"}
**A note on terminology:**

&#x41;**&#x20;report&#x20;**&#x6F;n the Chord platform can refer to either a **dashboard** or a **Look** (which also known as an **explore**). A **dashboard** is made up of a collection of **Looks** (**explores**).&#x20;
:::

## Pinned Reports

This is the first page you will land on under the **Analytics Homepage**. The **Pinned Reports&#x20;**&#x74;ab will display pinned dashboards and Looks. **Pinned Reports&#x20;**&#x61;llows users to view key reports as designated by admin users, making it easy for all stakeholders to access vital company reports in one central location.&#x20;

## My Reports

You'll be able to see all of the dashboards and Looks in your personal folder via the dropdown menu on the top left of the **My Reports&#x20;**&#x70;age.

You will also be able to create new dashboards and Looks from this page, as well as share and import dashboard links with your team. You can also share a report to your organization's shared reports folder from your personal reports folder as well.&#x20;

## Shared Reports

By default, the **Shared Reports** page will display all of the shared reports in your organization. Use the dropdown menu on the left to view the list of all shared dashboards and Looks.&#x20;

Additionally, any custom, personal reports that are created ***and shared*** to your organization via the **My Reports&#x20;**&#x70;age will also appear here.&#x20;

## Explores

The **Explores** page is where you can dive into your data a bit deeper and use different data dimensions to create individual measures to build visualizations and reports. You can use the dropdown menu on the top left to explore different categories of data that Chord collects on behalf of your store.

## **Quickstarts**

Chord Commerce's **Quickstarts** is where you will find a collection of Looks and dashboards created by the Chord team that you can use to build reports that suit your business needs. You can search and filter different quickstart templates in our library to find what you are looking for in no time.&#x20;

For additional information about quickstarts, visit our guide [here](https://docs.chord.co/using-quickstarts).

[title] Chord Copilot Chat
[path] Chord AI/

Chord Copilot is your on-demand data teammate. Ask questions about your store in plain language — revenue, customers, orders, products — and get accurate answers instantly, no SQL knowledge required. You can also export results directly to CSV, Excel, or Google Sheets.

## Getting started

1. Log into Chord.
2. Navigate to **Chord Copilot** from the left navigation menu.
3. Ask a question about your store's data, or browse suggested questions using the **Suggested Questions** dropdown below the chat box.
4. Wait momentarily for Copilot to respond.

Once Copilot answers, you can ask follow-up questions, export results, or take additional actions from the answer window.

## Answer actions

After Copilot responds, the following actions are available:

**Preview results** — view the answer in a table format. From here you can:

- Show/hide the search bar
- Show/hide column filters
- Show/hide specific columns
- Toggle row density
- Toggle full screen

**Export data** — download results as a CSV, Excel file, or export directly to Google Sheets.

**View chart** — view the answer as a visualization. Chord Copilot automatically selects the chart type (line, bar, etc.). You can pin any visualization to your Charts dashboard.

**View SQL** — see the exact query Copilot ran against your data.

**See reasoning** — view the step-by-step thought process and data tables Copilot used to arrive at your answer. This reflects Copilot's intent interpretation and routing — how it understood your question and which data it pulled before generating a response.

**Monitor** — set up an ongoing monitor for the metric in your question using the monitoring AI agent.

## Conversation history

Chord Copilot retains your conversation history across sessions. You can return to any previous thread and pick up where you left off — no need to re-ask or re-establish context.

To access past conversations, click **View History** in the top right corner of the Copilot page. History is scoped to your account — you'll only see threads you've started.

To start fresh, click **New Conversation** in the top right corner.

## Enriched context

Copilot uses enriched context to deliver more accurate, relevant answers. Three capabilities work together behind the scenes:

**Persistent conversation history** — Copilot remembers what you've discussed across sessions. When you return to a thread, it understands prior context without you having to repeat yourself.

**Intent interpretation and routing** — before generating a response, Copilot interprets the intent behind your question and routes it to the right data and logic. You can see this in action via **See reasoning** in the answer window.

**Real-time data warehouse enrichment** — Copilot pulls live data from your warehouse at query time, ensuring answers reflect your most current data rather than a cached snapshot.

These improvements are on by default. No configuration is required.

## Clarifier

Copilot includes a built-in clarifier that asks smart follow-up questions when your query is complex or ambiguous — gathering enough context before it responds.

The clarifier is **enabled by default**. You can turn it off using the **Use Clarifier** toggle in the chat input at any time.

*Questions or feedback? Reach out to help\@chord.co.*

[title] Sharing Data with Chord via Snowflake
[path] Chord Data Platform/Overview/

# Introduction

This guide provides step-by-step instructions for sharing data with Chord via Snowflake.&#x20;

Snowflake's secure data sharing capabilities lets you share specific database objects in your Snowflake account with other Snowflake accounts. There are two primary mechanisms by which Snowflake enables sharing data across accounts.&#x20;

1. ***A direct share***. Use a direct share to share data with one or more accounts in the same Snowflake region. You do not need to copy or move data shared with a direct share.
2. ***A private listing***. Use a private listing to share data directly with other Snowflake accounts in any Snowflake region. A private listing is a managed service that will automatically handle cross-region and cross-cloud replication. See [auto-fulfillment costs](https://docs.snowflake.com/en/collaboration/provider-understand-cost-auto-fulfillment) for pricing details.

# Creating a direct share

A **direct share** is appropriate when your Snowflake account resides in the same cloud / region as Chord's Snowflake account (AWS - US East Ohio). If your Snowflake account resides in a different cloud / region, please refer to "Creating a private listing" below.

:::hint{type="info"}
You must use the `ACCOUNTADMIN` role or a role that has been granted the `CREATE SHARE` global privilege to create shares.
:::

To create a direct share in the Snowflake UI:

1. Sign in to Snowsight.
2. In the navigation menu, select **Data sharing** » **External sharing**.
3. Select the **Shared by your account** tab.
4. Select **Share** » **Create a Direct Share**.
5. In the Share Data dialog, select **+ Select Data** and then:
   - Select a source database.
   - Select a target object or objects from the source database.
   - Optionally, update the **Secure Share Identifier** created for your share.
   - Optionally, enter a **Description**.
   - In the remaining text box, enter an account locator. Chord's account locator is: `CZA77372.RK46674`. Entering a partial account locator lists all accounts that match the entered text. Repeat as required to add additional accounts. You can only add accounts within the same region to the share.
   - Select **Create Share**.

# Creating a private listing

A **private listing** is used to share data directly with other Snowflake accounts in any Snowflake region. A private listing is a managed service that will automatically handle cross-region and cross-cloud replication. See [auto-fulfillment costs](https://docs.snowflake.com/en/collaboration/provider-understand-cost-auto-fulfillment) for pricing details.

## Accept the terms and conditions

In order to create a listing, you first need to accept the terms and conditions via [Snowflake Provider and Consumer Terms](https://docs.snowflake.com/collaboration/provider-becoming#review-and-accept-the-snowflake-provider-and-consumer-terms). We also recommend that you review the [Provider Policies](https://www.snowflake.com/provider-policies/).

:::hint{type="info"}
In order to provide a free private listing, you do not need to set up a Provider Profile.
:::

## Enable auto-fulfillment

When you share a private listing with Snowflake accounts in another region, you must enable auto-fulfillment. Auto-fulfillment is a Snowflake-managed service that handles the automatic replication of data across clouds / regions.

:::hint{type="warning"}
In order to enable auto-fulfillment, you need to assume the `ORGADMIN` and `ACCOUNTADMIN` roles.
:::

To enable auto-fulfillment open a Snowflake worksheet and run the following:

```pgsql
USE ROLE ORGADMIN;
SELECT SYSTEM$ENABLE_GLOBAL_DATA_SHARING_FOR_ACCOUNT('<account_name>');

USE ROLE ACCOUNTADMIN;
GRANT MANAGE LISTING AUTO FULFILLMENT ON ACCOUNT TO ROLE ACCOUNTADMIN;
SELECT SYSTEM$IS_GLOBAL_DATA_SHARING_ENABLED_FOR_ACCOUNT('<account_name>');

```

If you do not know your account name, you can use the following SQL:

`SELECT CURRENT_ACCOUNT_NAME();`

## Create a private listing

1. Sign in to Snowsight.
2. In the navigation menu, select **Marketplace** » **Provider Studio**.
3. Select **Create Listing** » **Specified Consumers**.
4. In the **Edit listing title** dialog, enter a name for your listing.
5. Select the **Add data product** button, then click **+ Select** to select the objects to attach to the listing.
   - If you select one or more database objects, Snowflake creates a secure share with those objects. You can change the name of the secure share.
   - If you select an existing secure share, the name of that share appears.
6. In the **Access type** dropdown, select **Free**.
7. In the **Who can access** section, add the organization and account names for the consumers that you want to share the listing with. Chord's account locator is: `CZA77372.RK46674`
   - If you add a consumer account in a region that isn’t your local region, Snowflake enables auto-fulfillment to replicate data to the remote region after a consumer gets your listing. Complete the following additional steps:
     - In the **Auto-fulfillment** section, enter a value and select an interval to specify how often to replicate your data product from your region to the remote region.
     - If you don’t have a default warehouse set, select a warehouse to use for auto-fulfillment.
8. Enter a description for your listing.
9. In the **Legal Terms** section, select "Terms of service will be provided offline". If you don’t see any legal terms, you must first accept the Snowflake Provider and Consumer Terms.
10. (Optional) In the **Attributes** section, add custom attributes to your listing.
11. (Optional) Click in the **Data dictionary** section to add featured objects from the listing’s data dictionary.
12. (Optional) Click in the **Business needs** section to add tags that describe the business needs that your data product addresses.
13. (Optional) Click in the **Quick Start Examples** section to add sample SQL queries or a notebook that demonstrate how to use the data product.
14. Select **Publish** to publish the listing to the selected consumers. Snowflake saves your listing if you don’t publish it immediately.

[title] Receiving data from Chord via Snowflake
[path] Chord Data Platform/Overview/

# Overview

If you use Snowflake, receiving data from Chord via a Snowflake listing is an easy and secure way to access your raw and transformed data. Chord will own all the costs of replication and transformation, and customers will be responsible for one yearly maintenance fee to Chord.

# Provide your Snowflake account identifier

To utilize the Snowflake share, you'll need to provide Chord your *data sharing account identifier.&#x20;*&#x54;o generate your data sharing account identifier run the following in Snowflake:

```pgsql
SELECT CURRENT_ORGANIZATION_NAME() || '.' || CURRENT_ACCOUNT_NAME();
```

Please alert your account manager if this is of interest to you or email [help@chord.co](mailto\:help@chord.co) to get started!

# Accepting a Snowflake listing

Once Chord has established a listing with your Snowflake account, you will need to accept the listing in the Snowflake UI. To access a private listing that was shared with you, do the following:

1. Sign in to Snowsight.
2. In the navigation menu, select **Data sharing** » **External sharing**.
3. On the **Shared with you** page under **Privately shared listings**, select the listing you want to access.
4. Select **Get**.

Note: You must use the `ACCOUNTADMIN` role or another role with the `CREATE DATABASE` and `IMPORT SHARE` privileges to access a listing.


[title] Pre-Built Audiences
[path] Chord Data Platform/Audiences/

# Overview

Want to learn more about the different pre-built audience segments Chord has to offer? Check out the information below!

# Pre-built audience segments

The following audience segments are ready for activation:

| **Audience Segment**    | **Description**                                                                                                    | **Audience Category** |
| ----------------------- | ------------------------------------------------------------------------------------------------------------------ | --------------------- |
| Brand Champions         | Customers who purchase frequently, have purchased recently, and have purchases with average or better order value. | Repeat Customers      |
| Product Loyalists       | Customers loyal to a single product.                                                                               | Repeat Customers      |
| New Customers (90 days) | Customers who completed their first purchase in the last 90 days.                                                  | First Time Customers  |
| New Customers (30 days) | Customers who completed their first purchase in the last 30 days.                                                  | First Time Customers  |
| Customers-to-Be         | Customers who have added an item to cart at least once but not checked out.                                        | Prospective Buyers    |
| Coupon Entrants         | Customers who applied a promo to their first order and have used a promo in at least one additional order.         | Customers             |

## Predictive audiences

The following predictive audiences are also available:

| **Predictive Audience Segment** | **Description**                                                                                                                                               | **Audience Category** |
| ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- |
| At-Risk Customers               | Customers who are at the highest risk of not purchasing again.                                                                                                | Repeat Customers      |
| Almost-Purchasers               | Shoppers with browsing behaviors indicating they are likely to complete a purchase soon and might purchase sooner with some incentive or confidence-building. | Prospective Buyers    |
| Motivated Customers             | Customers who don’t need a promotion, discount, or additional incentive to make another purchase.                                                             | Motivated Customers   |


[title] Sessions
[path] Chord Data Platform/Data Models/

# Sessions

A **session** at Chord is a continuous window of activity by a single visitor on your storefront. Sessions are the atomic unit we use for analytics like traffic, attribution, conversion rate, and bounce rate. One row per session is exposed through the analytics layer, ready to be joined to orders, users, landing pages, and marketing channels.

This page describes how Chord defines, builds, and enriches sessions.

## What a session represents

A session captures **everything one visitor did in one sitting** on a single storefront. It begins with their first event, continues as long as they stay active, and closes after they go quiet. Every page view, product view, add-to-cart, checkout step, and order placed during that window is rolled up under a single **Session ID**.

A session is always scoped to a single **OMS** and **store,** a visitor browsing two of your storefronts at the same time produces two distinct sessions, one per store.

## How a session begins and ends

Chord uses a **30-minute inactivity timeout**.

- A new session starts on a visitor's very first event.
- The session continues as long as the gap between two consecutive events is **30 minutes or less**.
- A new session begins the moment a gap **exceeds 30 minutes**.

There is no fixed maximum session length. A visitor who keeps interacting can stay in the same session for hours. **There is also no calendar-day cutoff: a session that begins at 11:50 PM and continues at 12:05 AM is one session, not two.**

:::BlockQuote
**Example:** A visitor lands on your homepage at 10:00, views a product at 10:08, adds to cart at 10:15, walks away, and returns to view another product at 10:40. The 10:40 view is **25 minutes** after the previous event, so it stays in the same session. If they had instead returned at 10:46 (**31 minutes later)** that view would start a brand-new session.
:::

The session's **Start Time** is the timestamp of its first event; the **End Time** is the timestamp of its last event; the **Duration** is the difference. A session with only one event has a duration of zero.

## How visitors are stitched across sessions

Every event arriving from your storefront carries an **anonymous ID** (a browser/device cookie) and, once the visitor logs in or places an order, a **user ID** from your OMS.

Chord builds a single, stable identity per visitor (internally called the **blended user ID)** using the following rule:

- If we have **ever** seen a user ID associated with this anonymous ID, that user ID becomes the visitor's identity for **every session**, including sessions that happened before they logged in.
- If we have never seen a user ID, the anonymous ID itself is the identity.

The practical effect: when someone browses anonymously for a week, then signs up, all of their earlier sessions are **retroactively re-attributed** to the same person. They show up as a single user in the user dimension, with their full session history attached.

**Cross-subdomain stitching is automatic.** The Chord CDP SDK persists the anonymous ID across subdomains, so a visitor who browses on shop.example.com and checks out on checkout.example.com is treated as a single visitor across both. No special reconciliation is required.

## What is attached at the session level

Every session row carries:

**Identity & scope**

- **Session ID**: a unique identifier for this session
- **Blended User ID**: the stitched visitor identity (see *How visitors are stitched* above)
- **Anonymous ID**: the visitor's browser/device cookie
- **OMS**, **Store**: the storefront the session belongs to
- **Session Number**: the visitor's 1st, 2nd, 3rd… session
- **Visitor Type:** New Visitor if it is the visitor's first session, otherwise Returning Visitor

**Timing**

- **Start Time**, **End Time**, **Duration in Seconds**
- **Duration Tier:** a bucketed view of the session length: 0–9s, 10–29s, 30–59s, or 60s+
- **Activity Count:** the number of page views plus tracked events in the session
- **Days Since Last Session**: how long it has been since this visitor's previous session ended

**Landing & device**

- **Landing Page:** the **first page view** of the session (or, if the session has only non-page events, the first event)
- **Last Seen Page**: the **most recent page view** in the session
- **Device** and **Device Category** (desktop / mobile / tablet), inferred from the user agent

**Marketing attribution**: derived from the **landing page** of the session

- UTM source, medium, campaign, term, content
- Google / Meta / Microsoft click IDs
- Page referrer
- Channel and sub-channel mapped from the UTM/referrer combination through Chord's marketing channel mapping (e.g., Paid Search, Paid Social, Email, SMS, Affiliate, Direct, Other). [See more on channel definition.](https://docs.chord.co/attribution-channel-mapping)
- A paid-vs-organic flag derived from the channel
- *(Optional)* a Post-purchase survey override: when the UTM-derived channel is Direct or Unknown and the visitor answered a post-purchase survey on the resulting order, Chord uses the survey answer as the channel.

**Conversion milestones**

For each session, Chord exposes a flag for whether the visitor reached each step of the funnel:

- **Has Product Viewed**: the visitor opened at least one product detail page
- **Has Product Added:** at least one product was added to the cart
- **Has Cart Viewed**: the visitor opened the cart
- **Has Checkout Started**: the visitor entered the checkout flow
- **Has Checkout Completed**: the visitor finished the checkout flow
- **Has Order Completion:** at least one order was placed during the session

Alongside these flags, the session also carries:

- **Completed Order IDs / Numbers**: the orders that were placed during the session
- **Order Revenue Totals**: gross, net, tax, fulfillment, and refunds, summed across all orders completed in the session

**Customer state at the time of the session**

- **Customer Type**: Prospective customer (no prior orders), New customer (first order is in or before this session), or Repeat customer (had a prior order before this session)
- **Is Bounced Session**: see *Bounce definition* below

## How orders attach to sessions

An order is attached to a session when a corresponding Order Completed or Checkout Completed event lands inside that session's window. The order then contributes its revenue, basket, discount codes, and tags to the session's totals.

A session can contain more than one order; revenue fields are summed across them. Conversely, an order can only attach to one session (the one in which the completion event fired).

For [multi-touch attribution](https://docs.chord.co/rxEl-marketing-attribution), Chord computes four standard models per session toward the visitor's next conversion:

- **First touch:** full credit to the visitor's first session
- **Last touch:** full credit to the converting session
- **Linear:** equal credit across all sessions up to and including the conversion
- **40 / 20 / 40**: 40% first session, 40% converting session, the remaining 20% spread evenly across the middle

These points are exposed at the session grain and are also rolled up to orders.

## What is **excluded** from sessions

**Bot and synthetic traffic.** Sessions are built only from real visitor activity. Before any session is constructed, Chord filters out events that look automated — that is, events whose browser user agent matches a known bot or automation tool. The filter is grouped into four categories:

- **Search-engine and social crawlers:** e.g. Googlebot variants, Baidu, ByteDance, Yahoo Slurp, Facebook's link-preview crawler, Meta's external agent.
- **SEO and analytics crawlers**: e.g. Screaming Frog, HubSpot Crawler, SEOMonitor.
- **Uptime and synthetic-monitoring tools**: e.g. Datadog Synthetics, Shopify's checkout-observation probes.
- **Generic automation patterns and headless browsers**: any user agent containing bot, crawler, or spider, plus headless tools like Headless Chrome, PhantomJS, Selenium, Puppeteer, and Playwright.

In addition, one known synthetic ad-feed combination of UTM parameters (utm\_campaign=sag\_organic + utm\_source=google + utm\_medium=product\_sync) is stripped, since it is generated by automated product syncing rather than by a real shopper.

Filtered events never produce sessions and never inflate visit, conversion, or attribution counts.

:::BlockQuote
This filter relies on the browser's self-reported user agent. Sophisticated automation that deliberately impersonates a real browser will not be caught at this layer.
:::

**Server-side events.** Sessionization runs on **client-side** events only, events that actually represent something a real visitor did in a browser. Server-side events are kept elsewhere in the warehouse but are not eligible to start, extend, or end a session.

### Bounce definition

A session is marked **bounced** when **all** of the following hold:

- The session has only one page view
- Only one distinct page (URL + query) was visited
- The visitor did not start checkout and did not place an order
- The duration was under 2 seconds

If any one of those conditions fails, the session is non-bounced.

## Edge cases and caveats

- **Late-arriving events.** When a delayed event lands for a visitor, Chord re-evaluates that visitor's full activity history so the session boundaries remain correct. This means historical session counts can shift slightly between runs as late events arrive.
- **Identity discovered later.** As described above, a visitor's earlier anonymous sessions are retroactively re-attributed to their user ID once they identify. Counts of "anonymous sessions" can therefore decrease over time as visitors sign in or check out.
- **Multi-storefront visitors.** A visitor browsing two of your stores simultaneously produces two distinct sessions — one per store — even if they share an anonymous ID.
- **Cross-device.** Not modeled. Sessions on different devices are independent unless the same identifier is asserted on both.
- **Bot filtering is user-agent based.** Sophisticated automation that spoofs a real user agent will not be caught by these filters.
- **Empty sessions.** A session must have at least one client-side event by construction. There is no concept of a "page view that didn't fire."



:::hint{type="success"}
if you have any questions or need help, please reach out to us at [help@chord.co](mailto\:help@chord.co)
:::


[title] Chord AI Charts
[path] Chord AI/

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-cq8k0muxpYpl5ZIFOzSvm-20250910-152038.png)

Skip the digging and go straight to saved insights. Our AI Charts surface the most relevant metrics that have been saved by your teammates so you can quickly understand what metrics have been searched and saved by your team.

- **Pin a Chart:&#x20;**&#x54;o pin a chart, ask a question to our AI chat feature. If your answer can be visualized, you can pin the visualization to your charts via the **Pin&#x20;**&#x62;utton as shown above.

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-QitZkphitEBP6jTD0Ry63-20250815-200308.png)

- **Remove a Pinned Chart:** To remove a pinned chart from a dashboard, go to a pinned chart and click the trash icon.
- **Refresh a Pinned Chart:** To refresh a pinned chart, click the refresh icon on a pinned chart.
- **Download a Pinned Chart:&#x20;**&#x54;o download and save a pinned chart as an SVG or PNG, click on the download icon.
- **Reorder a Pinned Chart:** To change the position of a given chart and reorder them on the page, simply drag and drop them to your desired location.

:::hint{type="info"}
Note: At this time, the AI dashboards displays ALL pinned charts in your organization.
:::




[title] Chord AI Monitors
[path] Chord AI/

Confidence starts with consistency. Chord’s AI Monitors continuously check the health and accuracy of your data queries, alerting you when something’s off—before it impacts decisions.

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-SFdKb7h2sDIiPhayl59Jv-20250910-152122.png)

# Getting started

To set up a monitor, follow the instructions below:&#x20;

1. Log into Chord.
2. Navigate to **Copilot** from the left navigation menu.
3. Ask a question about your store’s data, or choose a question from our most-asked questions list from the question tiles below the conversation box.
4. Once you receive an answer, click on the **Monitor&#x20;**&#x62;utton to generate an AI monitor for your question.
5. After your monitor is generated, you'll be able to review the SQL created to build the monitor as well as refine the monitor as-needed. See below video for a quick look at what this looks like.

# Managing monitors

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-2hua0mUNe-GuB4xd-RuTs-20250829-191328.png)

Once you create a monitor, it will appear on the **Monitors** page.&#x20;

This page has the following features:

- **Create a new monitor:** Create a new monitor by clicking on the “Create New Monitor” button on the top right corner of the Monitors page and following the instructions in the modal to ask a question in the Chat.
- **Alert summary tiles:** Click on any of these tiles to filter out the monitors in the table below to quickly see active or paused alerts and alerts with errors. Clicking on **Total Alerts** will display all available alerts
- **Monitors filters:** You can search for a specific monitor and also use the status filter to find alerts that are active, inactive, paused, or erroring.
- **Monitors list and actions:** The table lists each of the available monitors for your organization. You will see the alert name, who created the alert, monitoring frequency, whether the monitor is active or inactive, when the monitor was last run, and additional actions. The available actions are:&#x20;
  - Run Test Now
  - Pause
  - View History
  - Edit


[title] Chord AI Implementation Guide
[path] Chord AI/

Getting started with Chord AI is designed to be effortless. You don’t need a team of engineers or weeks of setup — simply connect your data source and Chord takes care of the rest.

From standardizing your data to powering retrieval and generating safe, AI-driven queries, everything is built to work seamlessly out of the box.

The result: You can start asking questions and uncover insights with confidence — right from day one.

## **Set-up requirements**

- [ ] Define and familiarize yourself with your store’s data warehouse models.
- [ ] Prepare a shortlist of key custom metrics, definitions, and specific questions and SQL queries important to your organization.
- [ ] Connect your store’s data source to the Chord AI platform.
- [ ] Configure and set your store’s data warehouse models on Chord AI to help Chord AI understand your store’s data structure.
- [ ] Configure and set key Instructions and SQL Pairs (custom metrics, definitions, and specific questions and SQL queries) through the Context Studio.

:::hint{type="info"}
Contact [help@chord.co](mailto\:help@chord.co) for additional guidance and troubleshooting!
:::


[title] Chord AI Technical Overview
[path] Chord AI/

This guide explains how Chord AI works under the hood — from data connection through to generating answers. It's designed for both brand users and technical teams who want to understand what's happening at each step.

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/M1zFgnK7FZKPYf6Y4qdOr-20250925-182426.png)

# How Chord AI works

Chord AI processes every question through five stages. Here's what happens at each one.

## 1. Connect data source

**What happens:** Chord securely connects to your commerce data warehouse.

**Why it matters:** Chord AI works directly with your data — not a copy of it. This ensures answers are always based on your actual store data.

**Behind the scenes:** The connection uses warehouse share with validation checks for schema, freshness, and permissions. Note that connecting multiple data sources is not supported at this time.

## 2. Data source modeling

**What happens:** Your data schema is indexed and transformed into structured, analytics-ready models. You can enrich this layer with business-specific logic via Chord AI Context — adding instructions and SQL pairs to define how key metrics are calculated.

**Why it matters:** This is the abstraction layer between your warehouse and Chord's AI models. It ensures terms like "revenue" or "customer" mean the same thing every time, across every query.

**Behind the scenes:** Chord AI indexes your schema and stores it in a vector database. We only work with the schema — not the underlying data itself — keeping your models decoupled from the warehouse.

## 3. Intent interpretation and routing

**What happens:** When a question is submitted via Copilot Chat, Chord AI interprets the intent behind it before retrieving any data. It determines what the question is really asking, identifies any ambiguity, and routes the request to the appropriate data and logic.

**Why it matters:** This step is what allows Copilot to handle complex or loosely worded questions accurately. Rather than treating every input as a literal string, Chord AI reasons about what you're trying to understand before it acts.

**Behind the scenes:** The clarifier agent may activate at this stage to ask follow-up questions if the query needs more context. Once intent is confirmed, the request is passed to the retrieval layer.

## 4. Data retrieval

**What happens:** Chord AI retrieves the relevant data tables from the modeling layer and pulls live data from your warehouse at query time.

**Why it matters:** Real-time retrieval means answers reflect your most current data — not a cached snapshot from a prior sync.

**Behind the scenes:** Chord AI queries the vector database to identify which schema elements are relevant, pulls the top results, then enriches the query with live warehouse data before passing it to the LLM.

## 5. Generating outputs via LLM

**What happens:** Chord AI builds an optimized SQL query, validates it, runs it against your data source, and returns the result through Copilot.

**Why it matters:** This step automates complex analysis — giving you accurate answers without writing SQL manually.

**Behind the scenes:** Chord AI uses two Anthropic Claude models for this stage — Claude Opus for SQL generation, where reasoning depth matters most, and Claude Haiku for response generation and classification, optimized for speed and consistency. For more detail, see Chord AI Models: Powered by Anthropic.

## Data privacy

Chord AI does not store your data. We work with your schema only — the structure and definitions of your data, not the records themselves. Your data never leaves your warehouse without your explicit configuration.

For more detail on data security, see the [Chord AI FAQ](docId\:ZPWngfj3CK6UWAM29TiO9).

*Questions or feedback? Reach out to help\@chord.co.*


[title] Chord Data Attribute Definitions
[path] Chord Data Platform/Data Models/

As a commerce data platform, we empower brands to not only boost revenue and lower customer acquisition cost (CAC), but also deepen their understanding of customers through our infrastructure that exposes predictive insights, revenue forecasting, and customer lifetime value (LTV).&#x20;

With the always-expanding size of the ***Chord Data Attribute*** catalog, it is vital that users understand the fields getting used in your Chord reporting and the nuances that come with that.

The following documentation provides the definition(s) and methodology for all ***available Chord Data attributes***. &#x20;

These attributes and their definitions can be accessed via the *Explore* view of any report, by clicking on the "i" icon for any field.

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/BJD3bwQX1CdwlRvNAA_-v_image.png)

:::hint{type="info"}
💡 If you or your team have additional questions please reach out to **help\@chord.co.**
:::


[title] Predictive Marketing Attribution
[path] Chord Data Platform/Data Models/Marketing Attribution/

Chord now offers predictive attribution! Read more about it in [Predictive Marketing Attribution](docId\:Ks2RX6EIsS95edjK5G84i) .

[title] Destination Set-up Notes
[path] Chord Data Platform/Data Activations/Data Activations/

Listed ahead are detailed set-up steps for some of the most commonly used Chord Data Activation Destinations.

##


[title] Messaging Module
[path] Chord Data Platform/Data Sources/

# Overview

Chord's Messaging Module unlocks connections for various sources of messaging data, including sources like email and SMS platforms, and enables a robust Messaging Explore, a wide dataset populated with enriched data fields.&#x20;

The Messaging Explore allows the creation of custom reports and audiences or customer segments with granularity down to the campaign level.&#x20;

Sample fields available in the Messaging explore:

- Number of sends
- Number of opens
- Number of clicks

The module enables direct connections to the following sources:

- Klaviyo&#x20;
- Iterable
- Attentive (Coming Soon)

# Use Cases

- Brands create reports to track sends, opens, and clicks for various campaigns
- Brands create reports to analyze subscribe and unsubscribe rates

Please reach out to help\@chord.co or your account executive for more information about or access to this feature.


[title] User Management on the Chord Platform
[path] Chord Data Platform/Overview/

# User roles and permissions

Collaborating with your colleagues is essential when it comes to store operations and analyzing your store performance metrics. The Chord Commerce Data Platform has four core permission levels that enable collaboration. These roles and permissions are outlined below.

| **Activity**                                                                     | **Member (Regular User)** | **Developer** | **Order Manager\*** | **Data Analyst\*&#x20;** | **Team Admin&#x20;** |
| -------------------------------------------------------------------------------- | ------------------------- | ------------- | ------------------- | ------------------------ | -------------------- |
| Can view data & analytics dashboards                                             | ✅                         | ✅             | -                   | ✅                        | ✅                    |
| Can use Quickstarts                                                              | ✅                         | ✅             | -                   | ✅                        | ✅                    |
| Can create new custom reports using Explores functionality                       | ✅                         | ✅             | -                   | ✅                        | ✅                    |
| Can pin custom analytics reports                                                 | -                         | -             | -                   | ✅                        | ✅                    |
| Can view and manage Chord OMS orders &#xA;(Applies to Chord Autonomy customers)	 | ✅                         | -             | ✅                   | -                        | ✅                    |
| Can manage data activations and activation syncs                                 | -                         | ✅             | -                   | ✅                        | ✅                    |
| Can manage audiences                                                             | -                         | -             | -                   | ✅                        | ✅                    |
| Can manage data sources                                                          | -                         | ✅             | -                   | ✅                        | ✅                    |
| Can manage model amplifications                                                  | -                         | -             | -                   | ✅                        | ✅                    |
| Can manage CDP destinations                                                      | -                         | ✅             | -                   | ✅                        | ✅                    |
| Can add CDP connectors, sources, destinations                                    | -                         | ✅             | -                   | ✅                        | ✅                    |
| Can update or edit model amplifications                                          | -                         | -             | -                   | ✅                        | ✅                    |
| Can add activations destinations                                                 | -                         | -             | -                   | ✅                        | ✅                    |
| Can create consent categories                                                    | -                         | ✅             | -                   | -                        | ✅                    |
| Can manage (set, edit, delete) consent category mappings                         | -                         | ✅             | -                   | -                        | ✅                    |
| Can manage dynamic data settings                                                 | -                         | ✅             | -                   | ✅                        | ✅                    |
| Can add data sources                                                             | -                         | ✅             | -                   | ✅                        | ✅                    |
| Can view team members                                                            | ✅                         | ✅             | ✅                   | ✅                        | ✅                    |
| Can invite new users                                                             | -                         | -             | -                   | -                        | ✅                    |
| Can upgrade or downgrade user permissions                                        | -                         | -             | -                   | -                        | ✅                    |
| Can remove users                                                                 | -                         | -             | -                   | -                        | ✅                    |

:::hint{type="info"}
**\*Note:** **The Order Manager and Data Analyst roles are only applicable for Chord Autonomy customers that use Chord OMS to manage orders.&#x20;**&#xA;
Additionally, Chord Commerce team members are **Super Admins&#x20;**&#x6F;n the platform and won't be visible on your team page or count toward your total platform user count.
:::

# Inviting a user

You need to have **Team Admin** level permissions to invite a user on the Chord platform.

A **Team Admin** level user should follow the steps below to invite a new user:

1. Log in to Chord and click **Team** on the left navigation panel.
2. Click **Invite User.**
3. Select the appropriate role and related permissions for the user: **Member**,**&#x20;Order Manager**, **Data Analyst**, or **Team Admin.**
4. Provide the user’s email address and click **Invite to join.**
5. Once the newly invited user receives the invitation email, they will be prompted to provide their full name before their first sign-on.
6. You can check whether or not the newly invited user established their account by viewing the status of their invitation on the **Team** page.

## Inviting a user via SSO

:::hint{type="info"}
💡 Developer documentation on SSO via Okta can be found here: [Chord Platform and Okta SSO Integration](docId\:aILd8lOFx9eCbBSKjCsgX).
:::

1. The user logs into the IdP dashboard (e.g. Okta) and selects the Chord Hub application.
2. Okta servers request that the user authenticate the login.
3. On success, the user is redirected to the Chord platform.
4. The user will automatically be granted **Member (Regular User)** level access to the Chord platform.
5. The Chord platform validates the session information from the IdP and logs the user in.

# Upgrading user permissions

:::hint{type="info"}
**Note:** **The Order Manager and Data Analyst roles are only applicable for Chord Autonomy customers that use Chord OMS to manage orders.&#x20;**
:::

You need to have **Team Admin** level permissions to upgrade roles and permissions on the Chord platform. On Chord, the **Team Admin** role is the role with the most permissions on the platform.

A **Team Admin** should follow the steps below to upgrade a team member’s permission level:

1. Log in to Chord and click **Team** on the left navigation panel.
2. Click on an existing team member that is currently a **Member, Order Admin,&#x20;**&#x6F;&#x72;**&#x20;Data Analyst**.
3. Select whether or not the existing team member should have **Admin** level privileges by selecting **Team Admin** in the dropdown selector.
4. Click **Save Changes**.

# Downgrading user permissions

:::hint{type="info"}
**Note:** **The Order Manager and Data Analyst roles are only applicable for Chord Autonomy customers that use Chord OMS to manage orders.&#x20;**
:::

You need to have **Team Admin** level permissions to downgrade another user’s permissions on the Chord platform.

A **Team Admin&#x20;**&#x75;ser should follow the steps below to downgrade a team member’s permission level:

1. Log in to Chord and click **Team** on the left navigation panel.
2. Click on an existing team member wit&#x68;**&#x20;Team Admin** level permissions.
3. Select either th&#x65;**&#x20;Member, Order Admin,&#x20;**&#x6F;&#x72;**&#x20;Data Analyst&#x20;**&#x72;ole option, as applicable to the individual's role, via the dropdown selector.
4. Click **Save Changes**.

# Removing a user

To remove an existing user on the Chord platform, you need to have **Team Admin** level permissions.

A **Team Admin** user should follow the steps below to remove a collaborator:

1. Log in to Chord and click **Team** on the left navigation panel.
2. Click on the user you wish to remove from the platform.
3. Click the **Delete** button.
4. You can verify that the user has been removed by clicking back into the **Team** link.

## Removing a user via SSO

:::hint{type="info"}
&#x20;Note that if a user’s SSO access is revoked, there is no way for that same user to log into Chord. Chord does not currently support automatic user removal in the platform if a user has been revoked access via SSO.
:::

To remove an SSO user from the Chord platform, an existing **Admin** level user should log into Chord and delete the user following the steps outlined above in the “**Removing a User**” section. ***Note that this step should be completed&#x20;*******after*******&#x20;the user’s access to the Chord platform via SSO has been removed.***

Please contact [help@chord.co](mailto\:help@chord.co) if you need help removing a user or have any questions about this process.

&#x20;

[title] Overview
[path] Chord Data Platform/

## Data on Chord

![A diagram of Chord's data infrastructure](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/ZIveIJqNfTYaB6D7yEWKK_data-infrastructure-2.png "Chord's Data Infrastructure")

### Actionable data

Get a 360˚ view of your customer with powerfully rich data housed in a single source of truth. Easily manage cross-channel data with curated dashboards and customizable explores, and gain deeper insight into customer interactions with rich behavioral event data to complement complete transactional data.

### Data integrations

Chord's integration platform provides you the capability to get your OMS and customer data to the third party vendors you need to get them to, when you need to, while providing you vibrant and thorough events data for Chord's analytics engine.&#x20;


[title] Sales Channel Module
[path] Chord Data Platform/Data Sources/

# Overview

The Sales Channel Module helps you understand where your revenue is coming from—across every channel that contributes to your business. Whether your brand sells through DTC storefronts, third-party marketplaces, or retail partnerships, this module organizes and exposes the data you need to attribute orders, optimize performance, and evaluate new growth opportunities.&#x20;

With sales channel data modeled consistently and made accessible in Chord’s platform, you can track, analyze, and activate on channel-specific insights with confidence.

[title] Order Attribution on Chord
[path] Chord Data Platform/Data Models/Marketing Attribution/

:::hint{type="info"}
This is a **NEW** Explore introduced in May 2025.
:::

# Introduction

Since a customer can purchase from a brand more than once, it follows that brands will want to analyze different purchase paths than rolling them all up to the first order’s attribution. Instead of centering analysis at the user-level, this new Explore is centered around orders, or when a customer makes a purchase.

On Chord, we identify the session when a customer makes their first purchase and then we repeat the attribution exercise with every following session as part of Order Attribution. Thus, we apply a brand’s chosen specific attribution methodology based on orders. **Essentially, order attribution allows brands to analyze sessions and revenue for all purchase data.** It’s useful for understanding both marketing attribution and connecting sessions to specific orders.

You can use Chord’s Order Attribution Explore when:

- You want to measure the performance of marketing efforts tied to multiple purchases.
- You're evaluating campaign ROI, revenue by channel, or purchase funnel effectiveness.
- You're reporting on conversion events, like how many orders were driven by a campaign.

# Getting Started

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-_ctAlSnwxZL8JlFmcDPm4-20250625-194943.png)

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-q_mNgK75709uYYBRLSmrW-20250625-195051.png)

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-yb7hcdwK9G3InrRr4dVmr-20250625-195110.png)

1. Log into the Chord Commerce Data Platform.
2. Navigate to your **Analytics** page.
3. Click the **Explores** tab.
4. Select the **Marketing Attribution - Order Attribution** item in the dropdown menu (see first image).
5. Navigate to the **Order Attribution** Field list on the lefthand side to access the new **attribution point** dimensions (see second image).
6. Select an attribution point dimension applicable to your analysis.
7. Additionally, if you’d like to use different attribution measures, you can select attribution measures under the measures list on the lefthand navigation pane (see third image).

:::hint{type="info"}
For more information on the differences between **Dimensions** and **Measures**, click [here](https://docs.chord.co/glossary#CiE5u).
:::






[title] Recharge
[path] Chord Data Platform/Data Sources/Connect Data Sources/

Connect your Recharge subscription data to Chord

Recharge is the subscription management platform that powers recurring billing, customer portals, and lifecycle events for many subscription brands on Shopify. Chord ingests subscription, order, charge, customer, and product data from Recharge so you can model retention, churn, and lifetime value alongside the rest of your stack.

## What Chord ingests from Recharge

Chord pulls 12 datasets from your Recharge account. Each dataset becomes its own table in your Chord Snowflake schema:

:::Paragraph{indent="1"}
**Subscriptions:&#x20;**&#x41;ctive and historical subscription records: frequency, status, line items, next billing date
:::

:::Paragraph{indent="1"}
**Orders**: Subscription-driven orders, including cart and shipping details
:::

:::Paragraph{indent="1"}
**Charges**:Individual charge attempts and outcomes: successes, failures, retries
:::

:::Paragraph{indent="1"}
**Customers:&#x20;**&#x43;ustomer profiles linked to subscriptions
:::

:::Paragraph{indent="1"}
**Addresses**: Shipping and billing addresses on customer accounts
:::

:::Paragraph{indent="1"}
**Discounts**: Discount codes and their usage on subscriptions
:::

:::Paragraph{indent="1"}
**Events**: Subscription lifecycle events: cancellations, pauses, reactivations, swaps, skipped charges
:::

:::Paragraph{indent="1"}
**Collections**: Product collections and their merchandising structure
:::

:::Paragraph{indent="1"}
**Plans**: Selling plans (frequency × price tiers) attached to products
:::

:::Paragraph{indent="1"}
**One-time products**: One-time products purchased alongside subscriptions
:::

:::Paragraph{indent="1"}
**Bundle** selections: Choices made within bundle subscriptions
:::

## Generate a Recharge API token

You'll need a Recharge API token with the seven read scopes listed below. The token is created in the Recharge merchant admin and pasted into Chord Hub.

***Heads up:****&#x20;Only store owners can access the API tokens page by default. If you're a staff user, ask your store owner to either generate the token for you or grant your account API token permissions first.*

  1. Log in to the **Recharge merchant portal**.

  2. In the left sidebar, click **Tools & apps**, then click **API tokens**.

  3. Click **Create an API Token**, then choose **Admin API token**.

  4. Fill in the **Details** section:

    - **Token name** — something recognizable, e.g. Chord data sync.

    - **Contact email** — an inbox at your company that Recharge can reach about this token.

  5. Under **Permissions**, set the following required scopes below as **Read access** (leave everything else as **No access**):

## Required scopes

Chord needs all seven of these read scopes for the connector to pull every dataset cleanly. Make sure each one is enabled before saving the token.

:::Paragraph{indent="1"}
**Read subscriptions:** Subscriptions, One-time products, Bundle selections
**Read orders:&#x20;**&#x4F;rders, Charges
**Read customers:** Customers, Addresses
**Read discounts:&#x20;**&#x44;iscounts
**Read events:** Events
**Read plans:&#x20;**&#x50;lans&#x20;
:::

:::Paragraph{indent="1"}
**Read products:&#x20;**&#x50;roducts
:::

# Connect the token in Chord 

  1. Open **Chord Hub** and go to **Data Sources → Add Source.**

  2. Pick **Recharge** from the data source list.

  3. Paste the token you just copied into the **API token** field.

  4. Click **Save** — Chord makes a test call against your Recharge account to confirm the token works and has all seven read scopes.

  5. The first sync kicks off automatically; subsequent syncs run on your tenant's standard ingestion schedule.

## Troubleshooting****

**What does the validate step actually check?**

Chord makes a small read against scoped endpoints and confirms the token returns data without a permission error. It does not pull or store any records, that happens on the first scheduled sync after you save the credential.

**The validate step failed with a scope error. What now?**

Recharge tokens are editable after created, you can add scopes to an existing token. Go back to **Tools & apps → API tokens** in Recharge, edit the existing token with all seven read scopes enabled, and then, go back to Chord and test the connection once again.

**Do Recharge API tokens expire?**

No. Tokens stay valid until a store owner manually revokes them in **Tools & apps → API tokens**. If a previously working token suddenly fails, check that page first to confirm it's still listed and active.

**How do I rotate the token?**

Generate a new token in Recharge with the same seven read scopes, paste it into the same Chord credential entry, and save. Chord uses the new token on the next scheduled sync. Once you've confirmed the new token validates and the next sync runs cleanly, delete the old token from Recharge.

**Who can see the token after it's saved in Chord?**

The token value is encrypted at rest in Chord Hub and is never displayed back in the UI. You can rotate or delete it any time, but you can't view the original value once it's saved.

## Need help?

If you hit a scope or permission issue you can't resolve, reach out to [help@chord.co](mailto\:help@chord.co) with the exact error message. We'll trace the request and tell you which scope is missing.

[title] Audiences
[path] Chord Data Platform/

# Introduction

::loom[]{url="https://www.loom.com/embed/7fd9b8d5498347b9be830611ada97195?sid=459330a8-4e97-4ff9-b759-d7f13eea1dd0"}

Chord Audiences is a comprehensive home base that enables brands to better connect with and retain customers using the data gathered and enriched by the Chord Commerce platform.&#x20;

**Using Audiences, Chord brands will be able to:**

- Personalize content and marketing campaigns for specific sets of customers to increase brand awareness and engagement.
- Leverage customer data to help with product planning and sales optimization.
- Unlock the potential of customer data by utilizing the data activation suite - and more!

# Features

- Ability to access and sync audiences across your organization
- [Nine (9) pre-built audience segments](https://docs.chord.co/pre-built-audiences), including predictive audiences.
- Simple data activation capability via [Chord Data Activations](https://docs.chord.co/pre-built-audiences) (if enabled on your account)

# Getting started

## Request early access to audiences

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-UPMPV-mOwhMwKKz5YkYJX-20240828-222450.png "Audiences - Request Access screen")

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-Ud88_XLUzAXv9OYh63_BQ-20240828-222526.png "Audiences - Request Received screen")

If your organization does not yet have access to Audiences, you can easily request this feature following the steps below.

1. Log into the Chord Commerce data platform.
2. Click on Audiences in the side navigation pane.
3. Click the "Request Early Access" button.
4. Once submitted, you will see that the request was received by our team. A Chord team member will review your request and enable Audiences for you and your organization.

Once access is granted, you are now one step closer to activating key customer segments!

:::hint{type="info"}
Once Audiences is activated for your organization, you will receive an e-mail from [help@chord.co ](mailto\:help@chord.co)or another team member.
:::

# Using Shared Audiences

The Shared Audiences tab displays all custom audience segments that exist for your organization. These audiences can be synced and activated downstream via audience destinations.

Simply search for your desired audience segment in the dropdown and then click **Sync Audience** to be taken to audience destinations to set up your sync.

:::hint{type="info"}
We are working on the ability to create a custom audience segment from scratch. In the meantime, you can browse existing audience templates ([prebuilt audiences](https://docs.chord.co/pre-built-audiences)) and build your custom audience from these templates. You can also check our documentation on how to [create custom audiences via LookML](https://docs.chord.co/custom-audiences).

If you need assistance, please reach out to [help@chord.co](mailto\:help@chord.co).
:::

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-2qq8arKpgcM3xATvwenje-20250305-165002.png)

# Using Chord Prebuilt Audiences&#x20;

Chord has created a number of audiences for you to be able to use and activate instantly. You can activate these audience segments immediately, or use them as templates to build custom audiences. To use prebuilt audiences, follow the instructions below.

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-lYmzow7K6PUjGCupwlJIr-20250305-165109.png)

1. Log into the Chord Commerce data platform.
2. Click on the Audiences link in the lefthand navigation page.
3. Select “**Prebuilt Audiences**”.
4. View and use a pre-built audience of your choice.
5. Once you select a prebuilt audience, you will have a couple of different options for your chosen audience segment:

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-MNaB013a-k40xzTy0BR0m-20250305-165159.png)

1. **If you would like to use the prebuilt audience segment as-is**, you can easily send your prebuilt audience of choice to a third-party destination of your choice by clicking "**Sync Audience**" (Requires access to Chord's Data Activation suite).
2. **If you would like to add further customizations or dimensions to a prebuilt audience**, click “**Use as Template**” to use the prebuilt audience as a starter template.

:::hint{type="info"}
Read more about Chord’s pre-built audiences [here](https://docs.chord.co/pre-built-audiences)!
:::

# Using audience destinations

:::hint{type="warning"}
This section is gated on the Chord platform since it requires access to Chord’s Data Activations feature. Please reach out to your account manager for additional information and to request access if you do not see our audience destinations.

Alternatively, you can also request access through the platform directly on this tab.
:::

With the Chord Activations Suite, you can use your audience data in useful ways to drive marketing campaigns and analytical insights downstream.

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-gr_HryWrsD_M9ii8q7P9S-20250305-165353.png)

1. If you want to activate a custom audience segment in a pre-existing destination that has already been set up, click on **Manage Syncs**.
   1. Note: If you have not yet set up destinations or your desired destination has not been created yet, follow the destination creation instructions [here](https://docs.chord.co/data-activations#xcfzl).
2. From here, click **Add New Sync** to add a new sync to an existing destination.
3. Using the Sync UI, select the following options to locate the custom audience you’d like to use:

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-xnkPXESY1UUplI2n4I2m9-20250305-165431.png)

Follow the rest of the Sync UI flow as normal. For more information, check out our activations documentation [here](https://docs.chord.co/data-activations).

# Troubleshooting and FAQs

- **Issue: I don't see the pre-built audiences segments. What am I doing wrong?**
  - Solution: Your organization may not have Audiences enabled. Check to see if you need to request access. If an access request has already been submitted, we're already working on your request and will grant you access shortly!
- **Issue: How do I get Chord's Data Activations feature?**
  - Solution: Requesting access to Chord's Data Activations for your organization can be done instantly and within the product. Follow the steps below:
    - After you've logged into Chord, click on "**Data Activations**" in the sidebar menu pane.&#x20;
    - On the **Data Activations** page, click the pink "**Request Access**" button.
    - Your request will be reviewed by our Accounts team. We will be reaching out shortly. In the meantime, feel free to familiarize yourself with Activations with our [feature documentation](https://app.archbee.com/docs/8bOVl7vg1M-0GKcUIBnmZ/gFnFGu_57zya0cO8Wc0tK)!
- **Question: Can I edit or customize these pre-built audiences?**
  - Yes, you can edit or customize these pre-built audiences. You can do so by following the steps below:&#x20;
    - Click on a pre-built audience you'd like to edit.
    - On the audience list page, find and click the gear icon near the top right corner of the page.
    - Click "Save As..."&#x20;
    - Edit the audience list to your preferences.
  - **Note:** The audience that you edit or otherwise customize on top of the existing pre-built audience template will not appear in Data Activations quite yet. We are working on supporting this flow - coming soon!

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-2UR4gILD2aRiANDbYZwj8-20240829-144310.png "Gear button location")

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-qSUCsUSCDpyLFRcJD3_CQ-20240829-144336.png "Save As location")

# Contact Support

Need help? Contact Chord support at [help@chord.co](mailto\:help@chord.co)!


[title] Facebook Ads (Meta)
[path] Chord Data Platform/Data Activations/Data Activations/Destination Set-up Notes/

*This page describes how to connect Facebook Ads (Meta) as a Data Activation*

## Getting Started

Facebook Ads support two separate authentication mechanisms: OAuth and System User. Chord recommends using `System User` for the most reliable connection long term as it does not require re-authentication every 60 days.

### Using a System User (Recommended)

The steps to create a [Facebook System User](https://www.facebook.com/business/help/327596604689624?id=2190812977867143) are more complex than using OAuth, but it's the most reliable way to connect to Facebook Ads, especially if you intend to use the connection long term.

A regular system user is recommended over an admin system user. You can use an existing system user or create a new one with the following steps:

- To generate a system user token, you'll first need an application. If you don't have one already, you can create one with the following steps:
  - Open your Business Manager
  - Navigate to **Business Settings > Accounts > Apps**
  - Click **Add** and then **Create New App ID**
  - For use case select **Other**

![](https://docs.getcensus.com/~gitbook/image?url=https%3A%2F%2F217220813-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MV3poo0VqVau1o8I79_%252Fuploads%252FHBcW1Tq1Avte0w1avsMS%252FScreenshot%25202024-03-06%2520at%25204.04.42%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3Dd90693f7-33cc-4d95-a27f-3842231f27ad\&width=768\&dpr=4\&quality=100\&sign=6d872703\&sv=2)

- Then for Type select **Business**

![](https://docs.getcensus.com/~gitbook/image?url=https%3A%2F%2F217220813-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MV3poo0VqVau1o8I79_%252Fuploads%252FMWLpq9TJJiOJNpjtlOrf%252FScreenshot%25202024-03-06%2520at%25204.05.04%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3D22bfe544-0f89-4173-ac27-43d8c2710928\&width=768\&dpr=4\&quality=100\&sign=5f592edb\&sv=2)

- Then fill out the relevant details and press **Create App**



![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/97f2EyNgOgrMTec2imc5O_image.png)

- Now you can generate a system user for the app. Go to your Business Manager and navigate to **Business Settings > Users > System Users**

Above your list of system users click **Add&#x20;**&#x74;o create a new System User

1. Provide a name and role. Chord does **not** need an Admin role, Employee is sufficient.
2. Once the system user is created click on **Add Assets** and add the Application you created in step one. Make sure to assign *full control* of the app to the system user.



![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/eIkIE1bUcEHojUtGQ44S0_image.png)

- You'll also need to assign your System User *full control&#x20;*&#x6F;ver any Ad Accounts that own any Custom Audiences you'd like to sync data to.

![](https://docs.getcensus.com/~gitbook/image?url=https%3A%2F%2F217220813-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MV3poo0VqVau1o8I79_%252Fuploads%252FR8NTtVsw6pdyuGcHLWfL%252FScreenshot%25202024-05-01%2520at%25203.06.32%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3Dd3805d50-9877-41b8-9a75-8ef6631849c3\&width=768\&dpr=4\&quality=100\&sign=a0b2b0ba\&sv=2)

- Now generate a token for the System User by pressing **Generate New Token.**
  - You will need to provide the following scope for Chord to sync to your Facebook Conversions and Custom Audiences: *ads\_management*
  - Make sure to select `Never` for token expiration so you do not need to manually reauthorize your Chord connection every 60 days.

![](https://docs.getcensus.com/~gitbook/image?url=https%3A%2F%2F217220813-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MV3poo0VqVau1o8I79_%252Fuploads%252F4xoIcQ3VfDJ3LnGQCRSa%252FScreenshot%25202024-03-06%2520at%25204.08.58%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3Dbe39fa2e-b2d0-47d4-b729-55896b180ab6\&width=768\&dpr=4\&quality=100\&sign=4bf141bc\&sv=2)



- Once your token is generated be sure to save it in a safe place. This is the token you must provide to Chord Data Activations as a credential for your connection.

:::hint{type="info"}
To validate that your System User Token is set up correctly and has the necessary scopes you can input your access token in the link below.

[https://developers.facebook.com/tools/debug/accesstoken](https://developers.facebook.com/tools/debug/accesstoken)
:::

![](https://docs.getcensus.com/~gitbook/image?url=https%3A%2F%2F217220813-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MV3poo0VqVau1o8I79_%252Fuploads%252FMzNeaBe6O3CxzpD5rQzB%252FScreenshot%25202024-03-08%2520at%25202.54.09%25E2%2580%25AFPM.png%3Falt%3Dmedia%26token%3Ddd00259f-0fef-464e-bc73-0add781542fe\&width=768\&dpr=4\&quality=100\&sign=b285da4e\&sv=2)

### Using an Existing System User

If you already have a system user you can use it by simply generating a new token with the correct permissions. Be sure to assign the asset for your Application to your System User with full control. Chord Data Activations needs the *ads\_management* scope.

### Using OAuth

If you'd like to use OAuth, connecting to Facebook Ads is as simple as clicking the "Connect" button and following the prompts. Chord will guide you through the process of authenticating with Facebook and selecting the ad accounts you'd like to sync data from.

The downside of this method is that authentication will expire every 60 days and require re-authentication. We recommend using a System User for the most reliable connection long term.

[title] Sharing Data with Chord from Cloud Storage (cloned)
[path] Chord Data Platform/Overview/

# Introduction

This guide provides step-by-step instructions for integrating external cloud storage services to Chord's data warehouse (Snowflake). We delegate authentication to Snowflake-managed identities, eliminating the need to manage credentials directly.

Below you'll find instructions for connecting either AWS S3, Google Cloud Storage or Azure Blob Storage services to Chord's data warehouse (Snowflake).

# Configuring an integration for AWS S3

This sections describes how to configure secure access to data files stored in an AWS S3 bucket.

1. Create an IAM Policy that has the permissions required to access the bucket and get objects:

:::Paragraph{indent="3"}
a. Log into the AWS Management Console.
:::

:::Paragraph{indent="3"}
b. From the home dashboard, search for and select **IAM.**
:::

:::Paragraph{indent="3"}
c. From the left-hand navigation pane, select **Account settings.**
:::

:::Paragraph{indent="3"}
d. Under **Security Token Service (STS)** in the Endpoints list, find the **United States (N. Virginia)** (i.e., `us-east-1`) region. If the **STS status** is inactive, move the toggle to **Active**.
:::

:::Paragraph{indent="3"}
e. Select **Create Policy.**
:::

:::Paragraph{indent="3"}
f. For **Policy editor**, select **JSON.**
:::

:::Paragraph{indent="3"}
g. Add a policy document that will allow Chord to access the S3 bucket and folder. The following policy (in JSON format) provides Chord with the required permissions to read data using a single bucket and folder path. Copy and paste the text into the policy editor:
:::

:::CodeblockTabs{indent="3"}
```javascript
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
              "s3:GetObject",
              "s3:GetObjectVersion"
            ],
            "Resource": "arn:aws:s3:::<bucket>/<prefix>/*"
        },
        {
            "Effect": "Allow",
            "Action": [
                "s3:ListBucket",
                "s3:GetBucketLocation"
            ],
            "Resource": "arn:aws:s3:::<bucket>",
            "Condition": {
                "StringLike": {
                    "s3:prefix": [
                        "<prefix>/*"
                    ]
                }
            }
        }
    ]
}
```
:::

:::Paragraph{indent="3"}
h. Select **Next.**
:::

:::Paragraph{indent="3"}
i. Enter a **Policy name** and an optional Description.
:::

:::Paragraph{indent="3"}
j. Select **Create policy.**
:::

2. Create an IAM Role and attach the custom IAM role:

:::Paragraph{indent="3"}
a. From the left-hand navigation pane in the Identity and Access Management (IAM) Dashboard, select **Roles.**
:::

:::Paragraph{indent="3"}
b. Select **Create role.**
:::

:::Paragraph{indent="3"}
c. Select **AWS account** as the trusted entity type.
:::

:::Paragraph{indent="3"}
d. Select **Another AWS account.**
:::

:::Paragraph{indent="3"}
e. In the **Account ID** field, enter your own AWS account ID temporarily. Later, you will modify the trust relationship and grant access to Snowflake.
:::

:::Paragraph{indent="3"}
f. Select the **Require external ID&#x20;**&#x6F;ption. An external ID is used to grant access to your AWS resources (such as S3 buckets) to a third party like Snowflake. Enter a placeholder ID such as `0000`. In a later step, you will modify the trust relationship for your IAM role and specify the external ID that Chord will provide.
:::

:::Paragraph{indent="3"}
g. Select **Next.**
:::

:::Paragraph{indent="3"}
h. Select the IAM Policy you created in the previous step.
:::

:::Paragraph{indent="3"}
i. Select **Next.**
:::

:::Paragraph{indent="3"}
j. Enter a name and description for the role, then select **Create role**.You have now created an IAM policy, IAM role and attached the policy to the role.
:::

:::Paragraph{indent="3"}
k. On the role summary page, locate and record the **Role ARN** value. You will need to provide Chord this ARN to complete the next steps.
:::

3. Provide Chord the IAM Role ARN and bucket name. The full bucket name is a URL that will look like the following: `s3://my-cool-bucket/`.
4. Once your bucket name and IAM Role ARN is confirmed, Chord will provide an IAM User ARN and an AWS External ID
5. Grant the IAM User permissions to access bucket objects:

:::Paragraph{indent="3"}
a. Sign in to the AWS Management Console
:::

:::Paragraph{indent="3"}
b. Select **IAM**
:::

:::Paragraph{indent="3"}
c. From the left-hand navigation pane, select **Roles**
:::

:::Paragraph{indent="3"}
d. Select the IAM Role you created in the previous step
:::

:::Paragraph{indent="3"}
e. Select the **Trust relationships** tab
:::

:::Paragraph{indent="3"}
f. Select **Edit trust policy**
:::

:::Paragraph{indent="3"}
g. Modify the policy document with the values provided by Chord. This includes IAM User ARN and External ID.
:::

:::CodeblockTabs{indent="3"}
```javascript
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "",
      "Effect": "Allow",
      "Principal": {
        "AWS": "<user_arn>"
      },
      "Action": "sts:AssumeRole",
      "Condition": {
        "StringEquals": {
          "sts:ExternalId": "<external_id>"
        }
      }
    }
  ]
}
```
:::

:::Paragraph{indent="3"}
h. Select **Update policy** to save your changes.
:::

# Configuring an integration for Google Cloud Storage

This sections describes how to configure secure access to data files stored in a Google Cloud Storage bucket.

1. Provide Chord with your GCS `bucket` name. The bucket name is the name of the Cloud Storage bucket that stores your data files. The full bucket name is a URL that will look like the following: `gcs://my-cool-bucket/`.
2. Once your `bucket` name is confirmed, Chord will provide you a Cloud Storage service account name to be used in the following steps.
3. Create a custom role that has the permissions required to access the bucket and get objects:

:::Paragraph{indent="3"}
a. Sign in to the Google Cloud console as a project editor.
:::

:::Paragraph{indent="3"}
b. From the home dashboard, select **IAM & Admin** » **Roles**
:::

:::Paragraph{indent="3"}
c. Select **Create Role.**
:::

:::Paragraph{indent="3"}
d. Enter a **Title** and optional **Description** for the custom role.
:::

:::Paragraph{indent="3"}
e. Select **Add Permissions.**
:::

:::Paragraph{indent="3"}
f. Filter the list of permissions, and add the following from the list: `storage.buckets.get`, `storage.objects.get` and `storage.objects.list`
:::

:::Paragraph{indent="3"}
g. Select **Add.**
:::

:::Paragraph{indent="3"}
h. Select **Create.**
:::

4. Assign the custom role to the Cloud Storage Service Account:

:::Paragraph{indent="3"}
a. Sign in to the Google Cloud console as a project editor.
:::

:::Paragraph{indent="3"}
b. From the home dashboard, select **Cloud Storage** » **Buckets**
:::

:::Paragraph{indent="3"}
c. Filter the list of buckets, and select the in-scope bucket.
:::

:::Paragraph{indent="3"}
d. Select **Permissions** » **View by principals**, then select **Grant access.**
:::

:::Paragraph{indent="3"}
e. Under **Add principals**, paste the name of the service account name provided by Chord.
:::

:::Paragraph{indent="3"}
f. Under **Assign roles**, select the custom IAM role that you created previously, then select **Save.**
:::

5. (Optional) Grant the Cloud Storage service account permissions on the Cloud Key Management Service cryptographic keys:

:::hint{type="info" indent="2"}
This step is required ***only if&#x20;*** your GCS bucket is encrypted using a key stored in the Google Cloud Key Management Service (Cloud KMS).
:::

:::Paragraph{indent="3"}
a. Sign in to the Google Cloud console as a project editor.
:::

:::Paragraph{indent="3"}
b. From the home dashboard, search for and select **Security** » **Key Management.**
:::

:::Paragraph{indent="3"}
c. Select the key ring that is assigned to your GCS bucket.
:::

:::Paragraph{indent="3"}
d. Click **SHOW INFO PANEL** in the upper-right corner. The information panel for the key ring slides out.
:::

:::Paragraph{indent="3"}
e. Click the **ADD PRINCIPAL** button.
:::

:::Paragraph{indent="3"}
f. In the **New principals** field, search for the service account name provided by Chord.
:::

:::Paragraph{indent="3"}
g. From the **Select a role** dropdown, select the "Cloud KMS CrytoKey Encryptor/Decryptor role".
:::

:::Paragraph{indent="3"}
h. Click the **Save** button. The service account name is added to the **Cloud KMS CrytoKey Encryptor/Decryptor role** dropdown in the information panel.
:::

# Configuring an integration for Microsoft Azure Blob Storage

This sections describes how to configure secure access to data files stored in Microsoft Azure Blob Storage.

1. Provide Chord with your `tenant_id` and `container name`.
2. Once your `tenant_id` and `container name` are confirmed, Chord will provide a consent URL and app name.
3. In a web browser, navigate to the consent URL. The page displays a Microsoft permissions request page.
4. Click the **Accept** button. This action allows the Azure service principal created for Chord’s Snowflake account to be granted an access token on specified resources inside your tenant. Obtaining an access token succeeds only if you grant the service principal the appropriate permissions on the container (see the next step). The Microsoft permissions request page redirects to the Snowflake corporate site (snowflake.com).
5. Sign in to the Microsoft Azure portal.
6. Navigate to **Azure Services** » **Storage Accounts**. Click the name of the storage account you are granting the Snowflake service principal access to.
7. Click **Access Control (IAM)** » **Add role assignment**.
8. Select the desired role to grant to the Snowflake service principal: **Storage Blob Data Reader grants read access only.** This allows loading data from files staged in the storage account.
9. Search for the Snowflake service principal. This is the identity in the app name property that we will provide.
10. Click the **Review + assign** button.

# Troubleshooting

:::hint{type="info"}
This document has been created for customer reference purposes. For the most up-to-date information, you may consult official Snowflake documentation:

- [AWS S3](https://docs.snowflake.com/en/user-guide/data-load-s3-config-storage-integration#configuring-secure-access-to-cloud-storage)
- [Google Cloud Storage](https://docs.snowflake.com/en/user-guide/data-load-gcs-config#step-3-grant-the-service-account-permissions-to-access-bucket-objects)
- [Microsoft Azure Blob Storage](https://docs.snowflake.com/en/user-guide/data-load-azure-config#step-2-grant-snowflake-access-to-the-storage-locations)
:::

# Recommended next steps

If you plan to use cloud storage integration to share data with Chord, we have some helpful recommendations for structuing data to faciliitate seemless data ingestion. See [Chord Data Source Ingestion Guidelines](docId\:XkTAjRAIlw5UnrQRmPAn9).


[title] Subscription Events Enriched Explore
[path] Chord Data Platform/Data Models/Subscriptions/

## Overview

Event-level lifecycle analysis.

- Grain: **1 row per event**
- Purpose: analyze **event sequences and churn drivers**

## When to use

- Identify events leading to churn
- Analyze time between events
- Study lifecycle journeys
- Understand post-event outcomes

## Key dimensions & metrics

| Field                                | Description                     |
| ------------------------------------ | ------------------------------- |
| Event Type                           | created, paused, canceled, etc. |
| Event Date                           | Timestamp                       |
| Event Sequence Number                | Order in lifecycle              |
| Previous Event Type                  | Prior event                     |
| Days Since Previous Event            | Time gap                        |
| Status Before                        | Status before event             |
| Next Event Type                      | Next event                      |
| Days Until Next Event                | Time gap                        |
| Is Terminal Event                    | Last event                      |
| Will Churn 30d / 90d                 | Forward-looking flags           |
| Days Until Churn                     | Time to cancellation            |
| Subscription Status Final            | Final state                     |
| Customer Event Sequence              | Across all subs                 |
| Is First Subscription Event          | First-ever event                |
| Customer Subscription Count At Event | Active subs count               |

## Example business questions

- Events preceding cancellation
- Time from creation → churn
- Pause → resume vs cancel
- Churn probability after creation
- Event journey depth before churn

## Notes & caveats

- Churn flags look **forward from event**
- Churn = **cancellation only**
- Event richness varies by provider

## Glossary

| Term                     | What it Means                                                                                                   | How to Interpret / Use                                                                                         | Where You’ll See It in Looker                                                                                                                                                                                                    |
| ------------------------ | --------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Active Subscription**  | A subscription that is currently ongoing. Includes both fully active and paused subscriptions.                  | Use this to understand the **current size of your subscriber base**. Note that paused users are still counted. | Subscription Metrics Daily (Active Count), Subscriber Journey (Is Active Subscriber), Subscriber Journey Monthly (Is Active Subscriber EOM), Product & Bundle Explores (Active Subscription Count)                               |
| **Churn / Churned**      | A subscription that has been cancelled. Does not include pauses.                                                | Represents **true customer loss**. Track this to understand retention issues.                                  | Subscription Metrics Daily (Churned Count, Churn Rate), Subscriber Journey (Is Churned, Churn Count), Monthly (Is Churned EOM, Cancellations This Month), Events Enriched (Event Type = canceled), Movements (status\_cancelled) |
| **Winback**              | A subscriber who cancelled all subscriptions and later returned by subscribing again.                           | Indicates **successful re-engagement** after churn.                                                            | Subscriber Journey (Is Winback), Subscriber Journey Monthly (Has Reactivated By EOM)                                                                                                                                             |
| **Reactivation**         | A previously cancelled subscription that becomes active again (subscription-level).                             | Measures **recovery of churned subscriptions**.                                                                | Subscription Metrics Daily (Reactivated Count), Movements (status\_reactivated), Events Enriched (Event Type = reactivated)                                                                                                      |
| **Net New**              | Net change in subscriptions: New + Reactivated − Cancelled.                                                     | Indicates **overall growth vs decline**.                                                                       | Subscription Metrics Daily (Net New Count)                                                                                                                                                                                       |
| **LTV (Lifetime Value)** | Total revenue generated by a subscriber across all subscription orders.                                         | Use to understand **customer value over time** and compare cohorts or segments.                                | Subscriber Journey (LTV Gross / Net Revenue), Subscriber Journey Monthly (LTV Gross Revenue EOM)                                                                                                                                 |
| **EOM (End of Month)**   | Metrics calculated as of the last day of a month.                                                               | Used for **consistent month-over-month comparisons** (retention, LTV growth).                                  | Subscriber Journey Monthly (all EOM fields like Active EOM, LTV EOM)                                                                                                                                                             |
| **Solo Subscription**    | A subscription that contains only one product.                                                                  | Helps identify products that perform well **individually**.                                                    | Subscription Product Metrics Daily (Solo Subscription Count)                                                                                                                                                                     |
| **Bundle**               | A subscription that contains two or more products.                                                              | Useful for analyzing **product combinations and cross-sell behavior**.                                         | Product Metrics (Bundle Subscription Count), Bundle Metrics Daily (all bundle fields)                                                                                                                                            |
| **Movement**             | Any change in a subscription’s state (created, cancelled, paused, resumed, reactivated, quantity/price change). | Use to understand **operational changes and trends** in subscriptions.                                         | Subscription Movements Daily (Movement Type, Category), Events Enriched (Event Type)                                                                                                                                             |
| **Provider**             | The system managing subscriptions (Recharge, ChordOMS, CustomOMS).                                              | Important context — **data availability and detail vary by provider**, which affects analysis.                 | All Explores (Provider filter present everywhere)                                                                                                                                                                                |


[title] Chord Data Source Ingestion Guidelines
[path] Chord Data Platform/Overview/

**Your Data Warehouse → Chord**

Getting started with Chord is designed to be frictionless. We meet your data where it is, allowing you to unlock AI-driven insights, leverage the Chord Copilot, and activate your data downstream, all while leveraging your existing infrastructure investments. All we need is for your data to land in cloud storage as files. We take it from there.

For Snowflake users, please refer to [Sharing Data with Chord via Snowflake](docId\:o_LFN3Hs3wslRifj_ykKi). If you are not using Snowflake, we can still ingest data from your warehouse (Athena, BigQuery, Redshift, Postgres, Databricks, and others) using Parquet with Cloud Storage (S3, etc.).  For step-by-step instructions for integrating external cloud storage services to Chord's data warehouse (Snowflake), see [Receiving Data from Chord via Cloud Storage](docId\:bL5Mzd2XGYPARsF-6_YnG).

*Note that Chord's schema expectations and IAM configurations can vary by cloud provider.&#x20;*

## **The approach**

Chord provides two options for sharing data with us.&#x20;

### **Option 1: Bring your own models**

Send us your data as is. Chord will simply handle the rest. Export your current tables (Orders, Customers, Products, etc.) exactly as they exist in your warehouse today. You do not need to rename columns, change data types, or map relationships. 

- **Your effort:** Low. Simple export.
- **How it works:** Chord ingests your raw data and will adapt to your schema to generate insights. Chord AI and Copilot understand your schema by reading table and column names, and you can query, analyze, segment, and activate immediately.
- **Best for:** Teams who want to test the platform quickly without engineering overhead and already have clean, modelled data in a data warehouse. 

:::hint{type="warning"}
**Note:&#x20;**&#x53;ome of Chord's data models will not be available if your brand chooses this option.
:::

### **Option 2: Bring your data and leverage Chord’s models**

Map your data to [Chord’s Unified Schema](https://docs.chord.co/oms-schema), and unlock access to Chord’s full Analytics suite. This option is for teams that want standardized reporting, attribution, and activation across tools.

- **Your effort:** Moderate. Requires writing SQL transformations.
- **How it works:** You ensure your data matches our specifications before it leaves your environment. Chord builds the unified tables. You still own the raw data. Chord owns the modelling layer.
- **Best for:** Teams that want standardized metrics across teams, plug-and-play attribution and lifecycle reporting, and activation-ready datasets.

## Required Entities

At a minimum, Chord recommends providing:

- Orders
- Customers
- Line Items
- Products
  - Variants
- Payments
- Returns
- Refunds
- Shipments
  - Orders
  - Order Line Items
- Subscriptions

## **Setup and automation**

When processing a high volume of files from object storage, it’s helpful to name files according to a hierarchy that can be easily queried. Using the following key format is advised:

`<source>/<collection>/<year>/<month>/<day>/<hh:mm:ss>/<partition>_<id>.parquet`

Here’s a specific example of what this might look like:

`example-oms/orders/2025/08/11/20:29:25/2025-08-10-14:00_e791c45e.parquet`

This means the file is the orders collection from your custom OMS platform. It was uploaded on `2025-08-11 at 20:29:25 UTC` and the data is for the hour of 2025-08-10 14:00. It’s also helpful to include a unique identifier for the file (in this case, shortened GUID `e791c45e`) corresponding to the compute process that produced this file.


[title] Klaviyo
[path] Chord Data Platform/Data Sources/Connect Data Sources/

Connect your Klaviyo marketing data to Chord. Klaviyo is the email, SMS, and push platform that powers segmentation, lifecycle flows, and campaign sends. Chord ingests campaign, flow, event, list, segment, and profile data from Klaviyo so you can model engagement, deliverability, and attribution alongside the rest of your stack.

## What Chord ingests from Klaviyo

Chord pulls 11 datasets from your Klaviyo account. Each dataset becomes its own table in your Chord Snowflake schema.

- **Flows**: email and SMS automation flows: name, status, trigger type, creation date.
- **Metrics:** every metric tracked in Klaviyo (native and integration-sourced): name, integration source, creation date.
- **Email campaigns**: one-off email sends: send options, tracking config, schedule, audience.
- **SMS campaigns:** one-off SMS sends: send options, tracking config, schedule, audience.
- **Mobile push campaigns**: push notification sends: send options, tracking config, schedule.
- **Lists**: static contact lists: name, opt-in process, profile count, creation date.
- **Segments**: dynamic audience segments: name, profile count, creation and update timestamps.
- **Events**: every customer event landed in Klaviyo (native and integration-sourced): event properties, metric, profile, timestamp.
- **Profiles**: customer profile records: email, phone, identifiers, properties, timestamps.
- **List profiles:**&#x62;ridge table mapping profiles to lists with joined-at timestamps.
- **Segment profiles**: bridge table mapping profiles to segments.

:::hint{type="info"}
**Heads up:** the three profile datasets (profiles, list profiles, segment profiles) are off by default. On accounts with millions of profiles they fan out heavily and can slow your tenant's overall ingestion. If you need any of them, ask your Chord contact to enable them per resource.
:::

## Generate a Klaviyo private API key

You'll need a Klaviyo private API key with the seven read scopes listed below. The key is created in Klaviyo account settings and pasted into Chord Hub.

:::hint{type="warning"}
**Heads up:** only Klaviyo account owners and users with the "manage API keys" permission can create private API keys. If your role doesn't include it, ask an admin on the account to either generate the key for you or grant your user the permission first.
:::

1. Log in to your Klaviyo account.
2. Click your account name in the **bottom-left** corner of the navigation, then click **Settings**.
3. Click **API Keys**.
4. Click **Create Private API Key**. Name the key something recognizable, e.g. `chord data sync`.
5. &#x20;Choose **Custom&#x20;**&#x66;or the scopes panel and set each of the seven required scopes below to **Read** (leave everything else as **No Access**).
6. Click **Create**. Copy the key value, Klaviyo only shows it once and there is no way to reveal it later.

**Required scopes:** Chord needs all seven of these read scopes for the connector to pull every dataset cleanly. Make sure each one is set to **Read** in the Custom scopes panel before saving the key.

- Flows (read-only)
- Metrics (read-only)
- Campaigns (read-only)
- Lists (read-only)
- Segments (read-only)
- Profiles (read-only)
- Events (read-only)

## Connect the key in Chord

1. Open Chord Hub and go to **Data Sources → Add Source**.
2. Pick **Klaviyo** from the data source list.
3. Paste the private API key you just copied into the **API Key** field.
4. Click **Save** — Chord makes a test call against the Klaviyo profiles endpoint to confirm the key works.
5. The first sync kicks off automatically; subsequent syncs run on your tenant's standard ingestion schedule.

## Troubleshooting

**What does the validate step actually check?**
Chord makes a small read against `https://a.klaviyo.com/api/profiles/` and confirms the key returns a 200 response with no permission error. It does not pull or store any records — that happens on the first scheduled sync after you save the credential.

**The validate step failed with a scope error. What now?**
Klaviyo private keys are not editable after creation — to change scopes you have to make a new one. Go back to **Account → Settings → API Keys** in Klaviyo, click **Create Private API Key** with all seven read scopes enabled, paste the new key into the same Chord credential entry, and test the connection once again. Then delete the old key in Klaviyo.

**Do Klaviyo private API keys expire?**
No. Keys stay valid until someone with manage-API-keys permission manually revokes them in **Account → Settings → API Keys**. If a previously working key suddenly fails, check that page first to confirm it's still listed and active.

**How do I rotate the key?**
Generate a new private API key in Klaviyo with the same seven read scopes, paste it into the same Chord credential entry, and save. Chord uses the new key on the next scheduled sync. Once you've confirmed the new key validates and the next sync runs cleanly, delete the old key from Klaviyo.

**Why don't I see profiles or membership data in Copilot?**
The profiles, list profiles, and segment profiles datasets are disabled by default on Chord-managed Klaviyo connectors. If your use case needs any of them (cohort modeling, list-level reporting, segment membership joins), ask your Chord contact to enable them and the next sync will start populating those tables.

***

**Need help?** If you hit a scope or permission issue you can't resolve, reach out to [help@chord.co](mailto\:help@chord.co) with the exact error message. We'll trace the request and tell you which scope is missing.

[title] Stay AI
[path] Chord Data Platform/Data Sources/Connect Data Sources/

Connect your Stay AI subscription data to Chord. Stay AI (formerly Retextion) is the subscription management platform powering recurring billing, customer portals, and lifecycle automations for Shopify subscription brands. Chord ingests subscription, order, and selling plan data from Stay AI so you can model retention, churn, and lifetime value alongside the rest of your stack.

## What Chord ingests from Stay AI

Chord pulls 3 datasets from your Stay AI account.

- **Subscriptions:** active and historical subscription records: status, line items, cadence, next billing date, customer link.
- **Orders:** subscription-driven orders linked back to the originating subscription contract.
- **Selling plan groups:** selling plan group definitions: cadences, bundle configuration, product mappings.

## Generate a Stay AI API key

You'll need a Stay AI API key from the merchant portal. There are no scopes or permissions to configure, it's a single token that grants read access to the Stay AI REST API.

:::hint{type="warning"}
**Heads up:** only users with admin access to the Stay AI merchant portal can generate API keys. If your role doesn't include it, ask an admin on the account to either generate the key for you or grant your user the permission first.
:::

1. Log in to the Stay AI merchant portal.
2. In the left sidebar, go to **Settings → API Keys**.
3. Click **New API Key**. Name the key something recognizable, e.g. `chord data sync`.
4. In the API Keys table, find the new row and click **Show** in the Private Key column to reveal the key.
5. Copy the key value.

:::hint{type="info"}
**Heads up:** unlike most platforms, Stay AI keeps the private key viewable after creation, you can return to **Settings → API Keys** and click **Show** any time to see it again. There's no "you only get one chance to copy it" moment.
:::

## Connect the key in Chord

1. Open Chord Hub and go to **Data Sources → Add Source**.
2. Pick **Stay AI** from the data source list.
3. Paste the API key you just copied into the **API Key** field.
4. Click **Save.** Chord makes a test call against the Stay AI subscriptions endpoint to confirm the key works.
5. The first sync kicks off automatically; subsequent syncs run on your tenant's standard ingestion schedule.

## Troubleshooting

**What does the validate step actually check?**
Chord makes a small read against `https://api.retextion.com/api/v2/subscriptions` and confirms the key returns a 200 response with no authorization error. It does not pull or store any records, that happens on the first scheduled sync after you save the credential.

**The validate step failed. What now?**
Stay AI API keys don't have scopes, so a 401 means the key value itself is wrong, was revoked, or was copied with extra whitespace. Go back to **Settings → API Keys** in the Stay AI portal, confirm the key is still listed and active, and either copy it again carefully or generate a new one. Paste the value into the same Chord credential entry and test again.

**Do Stay AI API keys expire?**
No. Keys stay valid until someone with portal admin access manually revokes them in **Settings → API Keys**. If a previously working key suddenly fails, check that page first to confirm it's still listed and active.

**How do I rotate the key?**
Generate a new API key in Stay AI, paste it into the same Chord credential entry, and save. Chord uses the new key on the next scheduled sync. Once you've confirmed the new key validates and the next sync runs cleanly, delete the old key from Stay AI.

**Who can see the key after it's saved in Chord?**
The key value is encrypted at rest in Chord Hub and is never displayed back in the UI. You can rotate or delete it any time, but you can't view the original value once it's saved.

**Why does the API host say&#x20;**`retextion.com`**?**
Stay AI was previously called Retextion. The product was rebranded but the underlying API host and authentication header (`X-RETEXTION-ACCESS-TOKEN`) still use the legacy name. This is expected. Chord's connector handles the naming difference internally; you only ever interact with "Stay AI" in the Chord Hub UI.

***

**Need help?** If you hit a credential or connectivity issue you can't resolve, reach out to [help@chord.co](mailto\:help@chord.co) with the exact error message. We'll trace the request and tell you what's failing.

[title] Iterable
[path] Chord Data Platform/Data Sources/Connect Data Sources/

Connect your Iterable marketing data to Chord. Iterable is the cross-channel marketing platform that powers email, SMS, push, web push, and in-app messaging for many Chord brands. Chord ingests campaigns, templates, message metadata, user history, and full event streams from Iterable so you can model engagement, deliverability, and channel attribution alongside the rest of your stack.

## What Chord ingests from Iterable

Chord pulls 10 dataset groups from your Iterable account.

- **Campaign history:** every campaign sent: name, type, status, schedule, audience, channel.
- **Templates**: base, blast, triggered, and workflow templates referenced by campaigns.
- **Channels, lists, message types**: channel definitions (email, SMS, push, etc.), all lists, and message type configurations.
- **User history**: user profile snapshots and attribute changes over time.
- **Email events**: sends, opens, clicks, bounces, complaints, subscribes, unsubscribes.
- **SMS events**: sends, clicks, bounces.
- **Push events**: sends, opens, bounces.
- **Web push events**: sends, clicks.
- **In-app message events**: sends, opens, clicks.
- **Purchase events**: commerce events sent to Iterable from your store.
- **Custom events:** any custom event types you've defined in Iterable.

## Generate an Iterable API key

You'll need a **Server-side** Iterable API key. The Chord connector reads from Iterable's REST and export APIs from a backend service, so client-side, mobile, or JWT-enabled key types are not the right fit.

:::hint{type="warning"}
**Heads up:** only Iterable users with the **Project Admin** permission can create API keys. If your role doesn't include it, ask an admin on the project to either generate the key for you or grant your user the permission first.
:::

1. Log in to your Iterable account.
2. In the top navigation, click your account name, then click **Settings** (some accounts go directly to **Integrations**).
3. Click **Integrations → API Keys**.
4. Click **New API Key**. Name the key something recognizable, e.g. `chord data sync`.
5. Select **Server-side** as the key type.
6. Leave **JWT Authentication** off (it's only required for client-side key types).
7. Click **Create**. Copy the key value immediately. Iterable shows the key only once and there is no way to reveal it later.

## Connect the key in Chord

1. Open Chord Hub and go to **Data Sources → Add Source**.
2. Pick **Iterable** from the data source list.
3. Paste the API key you just copied into the **API Key** field.
4. Click **Save,** Chord makes a test call against the Iterable channels endpoint to confirm the key works.
5. The first sync kicks off automatically; subsequent syncs run on your tenant's standard ingestion schedule. The first run can take significantly longer than steady-state syncs because Iterable's export API has to materialize historical events.

## Troubleshooting

**What does the validate step actually check?**
Chord makes a small read against `https://api.iterable.com/api/channels` with the `Api-Key` header set to your key, and confirms a 200 response. It does not pull or store any records — that happens on the first scheduled sync after you save the credential.

**The validate step failed. What now?**
A 401 means the key value is wrong, was rotated, or was copied with extra whitespace. A 200 from a different endpoint but a failure here usually means the key type isn't Server-side. Go back to **Integrations → API Keys** in Iterable, confirm the key is listed as a Server-side key and is still active, then regenerate it if needed and paste the new value into the same Chord credential entry.

**Do Iterable API keys expire?**
No. Keys stay valid until a Project Admin manually revokes them in **Integrations → API Keys**. If a previously working key suddenly fails, check that page first to confirm it's still listed and active.

**How do I rotate the key?**
Generate a new Server-side API key in Iterable, paste it into the same Chord credential entry, and save. Chord uses the new key on the next scheduled sync. Once you've confirmed the new key validates and the next sync runs cleanly, delete the old key from Iterable.

**Why are my recent events not showing up yet?**
Iterable's bulk export API materializes events on a daily partition. A purchase that happened five minutes ago will not appear in Chord until the next scheduled sync (and its export job for today's partition) completes.

**Why don't I see in-app or web push event tables?**
Those channels only generate events if they're enabled and configured in your Iterable project. If your team doesn't run in-app or web push campaigns, those tables will be empty or missing, this is expected, not a connector bug.

***

**Need help?** If you hit a credential or connectivity issue you can't resolve, reach out to [help@chord.co](mailto\:help@chord.co) with the exact error message. We'll trace the request and tell you what's failing.

[title] Data Activations
[path] Chord Data Platform/

Chord unlocks a rich landscape of unified commerce data on behalf of modern brands. This data empowers brands to drive radical decisions and maximize growth.&#x20;

Our platform empowers brands to not only boost revenue and lower customer acqusition cost (CAC), but also deepens their understanding of customers through our infrastructure that exposes predictive insights, revenue forecasting, and customer lifetime value (LTV).&#x20;

Read on for more information about the data insights that power the brands using Chord.&#x20;




[title] Subscription Product Metrics Daily Explore
[path] Chord Data Platform/Data Models/Subscriptions/

## Overview

Product-level subscription performance.

- Grain: **product per day**

## When to use

- Identify high-churn products
- Track product growth/decline
- Analyze bundle vs solo usage

## Key dimensions & metrics

| Field                         | Description         |
| ----------------------------- | ------------------- |
| Report Date                   | Date                |
| Product Title                 | Name                |
| SKU                           | Identifier          |
| Active Subscription Count     | Active subs         |
| New Subscription Count        | New subs            |
| Churned Subscription Count    | Cancelled subs      |
| Product Churn Rate            | Product-level churn |
| Solo Subscription Count       | Single-product subs |
| Bundle Subscription Count     | Multi-product subs  |
| Total Quantity                | Total units         |
| Active Count Change 7d / 30d  | Trend               |
| Avg Products Per Subscription | Avg bundle size     |

## Notes & caveats

- Bundle = **multi-product subscription**
- Solo vs bundle = **consumption behavior insight**

## Glossary

| Term                     | What it Means                                                                                                   | How to Interpret / Use                                                                                         | Where You’ll See It in Looker                                                                                                                                                                                                    |
| ------------------------ | --------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Active Subscription**  | A subscription that is currently ongoing. Includes both fully active and paused subscriptions.                  | Use this to understand the **current size of your subscriber base**. Note that paused users are still counted. | Subscription Metrics Daily (Active Count), Subscriber Journey (Is Active Subscriber), Subscriber Journey Monthly (Is Active Subscriber EOM), Product & Bundle Explores (Active Subscription Count)                               |
| **Churn / Churned**      | A subscription that has been cancelled. Does not include pauses.                                                | Represents **true customer loss**. Track this to understand retention issues.                                  | Subscription Metrics Daily (Churned Count, Churn Rate), Subscriber Journey (Is Churned, Churn Count), Monthly (Is Churned EOM, Cancellations This Month), Events Enriched (Event Type = canceled), Movements (status\_cancelled) |
| **Winback**              | A subscriber who cancelled all subscriptions and later returned by subscribing again.                           | Indicates **successful re-engagement** after churn.                                                            | Subscriber Journey (Is Winback), Subscriber Journey Monthly (Has Reactivated By EOM)                                                                                                                                             |
| **Reactivation**         | A previously cancelled subscription that becomes active again (subscription-level).                             | Measures **recovery of churned subscriptions**.                                                                | Subscription Metrics Daily (Reactivated Count), Movements (status\_reactivated), Events Enriched (Event Type = reactivated)                                                                                                      |
| **Net New**              | Net change in subscriptions: New + Reactivated − Cancelled.                                                     | Indicates **overall growth vs decline**.                                                                       | Subscription Metrics Daily (Net New Count)                                                                                                                                                                                       |
| **LTV (Lifetime Value)** | Total revenue generated by a subscriber across all subscription orders.                                         | Use to understand **customer value over time** and compare cohorts or segments.                                | Subscriber Journey (LTV Gross / Net Revenue), Subscriber Journey Monthly (LTV Gross Revenue EOM)                                                                                                                                 |
| **EOM (End of Month)**   | Metrics calculated as of the last day of a month.                                                               | Used for **consistent month-over-month comparisons** (retention, LTV growth).                                  | Subscriber Journey Monthly (all EOM fields like Active EOM, LTV EOM)                                                                                                                                                             |
| **Solo Subscription**    | A subscription that contains only one product.                                                                  | Helps identify products that perform well **individually**.                                                    | Subscription Product Metrics Daily (Solo Subscription Count)                                                                                                                                                                     |
| **Bundle**               | A subscription that contains two or more products.                                                              | Useful for analyzing **product combinations and cross-sell behavior**.                                         | Product Metrics (Bundle Subscription Count), Bundle Metrics Daily (all bundle fields)                                                                                                                                            |
| **Movement**             | Any change in a subscription’s state (created, cancelled, paused, resumed, reactivated, quantity/price change). | Use to understand **operational changes and trends** in subscriptions.                                         | Subscription Movements Daily (Movement Type, Category), Events Enriched (Event Type)                                                                                                                                             |
| **Provider**             | The system managing subscriptions (Recharge, ChordOMS, CustomOMS).                                              | Important context — **data availability and detail vary by provider**, which affects analysis.                 | All Explores (Provider filter present everywhere)                                                                                                                                                                                |


[title] Sessions
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Salesforce/

### x\_fct\_trans\_sessions

| Name                                         | Description                                                                                                                                                                                                                                                                                                                          |
| -------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Anonymous Completed Oms Order Ids            | Array of OMS Order IDs associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                           |
| Anonymous Completed Order Ids                | Array of order IDs associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                               |
| Anonymous Completed Order Numbers            | Array of order numbers associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                           |
| Anonymous Current Blended User Id            | Unique id derived from the user\_id and the anonymous\_id. Whenever a customer has a user\_id, the user\_anonymous\_id will be constant for                                                                                                                                                                                          |
| Anonymous Current User Id                    | The current user\_id associated with the anonymous\_id. This unique user\_id is created by Segment's Identify call. A user\_id can be associated to many anonymous\_ids.                                                                                                                                                             |
| Anonymous Id                                 | Unique id created by Chord for each anonymous visitor per store.                                                                                                                                                                                                                                                                     |
| Anonymous Segment Anonymous Id               | Id created by Segment for each anonymous visitor. This id gets created as soon as a customer's browser loads the analytics javascript widget. The anonymous\_id remains unchanged through the entire browsing session from a single device. Depending on configuration, two stores connected stores may have the same anonymous\_id. |
| Anonymous Unique User Ids                    | Array of user IDs mapped to an anonymous ID.                                                                                                                                                                                                                                                                                         |
| Attribution Point First Touch                | The first session associated with the user prior to conversion receives 100% of the attribution, all other sessions recieve 0 points. Reflected with a value of 0 or 1.                                                                                                                                                              |
| Attribution Point Forty Twenty Forty         | The first and last sessions associated with the user prior to conversion receive 40% of the attribution points each, the remaining middle-touch sessions receive an equal portion of the 20%; 0.4, 0.4, and 0.2/number of remaining sessions.                                                                                        |
| Attribution Point Id                         | Sessions for a user that occor prior to conversion, or first completed order.                                                                                                                                                                                                                                                        |
| Attribution Point Last Touch                 | The last session associated with the user prior to conversion receives 100% of the attribution, all other sessions recieve 0 points. Reflected with a value of 0 or 1.                                                                                                                                                               |
| Attribution Point Linear                     | All sessions for the user prior to conversion recieve an equal percentage of the attribution points; calculated as 1.0 / number of sessions                                                                                                                                                                                          |
| End Date Day Num Of Year                     | The number representing the day of the year.                                                                                                                                                                                                                                                                                         |
| End Date Id                                  | Unique key that uniquify a date.                                                                                                                                                                                                                                                                                                     |
| End Date Month Num Of Year                   | The month number of the year.                                                                                                                                                                                                                                                                                                        |
| Landing Page Browser Locale                  | Locale of browser.                                                                                                                                                                                                                                                                                                                   |
| Landing Page Device                          | The device on which the event was sent from.                                                                                                                                                                                                                                                                                         |
| Landing Page Device Category                 | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                            |
| Landing Page Event Table Name                | The properly formatted name of the table of the event.                                                                                                                                                                                                                                                                               |
| Landing Page Event Text                      | The name of the event.                                                                                                                                                                                                                                                                                                               |
| Landing Page Event Text Id                   | The slug of the event name, mapping to the page or track event table.                                                                                                                                                                                                                                                                |
| Landing Page Gclid                           | The Google Click ID. Google Click ID (GCLID) is a parameter passed in the URL with ad clicks, to identify the campaign and other attributes of the click associated with the ad for ad tracking and campaign attribution.                                                                                                            |
| Landing Page Id                              | Unique key generated by Segment for each tracking or page event.                                                                                                                                                                                                                                                                     |
| Landing Page Oms Id                          | Unique key generated by our models that uniquifies an OMS.                                                                                                                                                                                                                                                                           |
| Landing Page Host                            | The host of the event's URL. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                        |
| Landing Page Path                            | The page path part of the URL. A page path is the part of URL that comes after the hostname (domain) and before the query parameters, URL fragment, or port. (e.g. `/pages/contact-us/` for `https://chord.co/pages/contact-us/?ref=internal-banner`.)                                                                               |
| Landing Page Query                           | The query string portion of the URL of the page.                                                                                                                                                                                                                                                                                     |
| Landing Page Referrer                        | The referrer of the page. The referrer is the webpage that sends visitors to the site using a link. In                                                                                                                                                                                                                               |
| Landing Page Title                           | The title/name of the page.                                                                                                                                                                                                                                                                                                          |
| Landing Page Url                             | The URL of the page.                                                                                                                                                                                                                                                                                                                 |
| Landing Page Referrer Host                   | The host of the referrer. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                           |
| Landing Page Segment User Id                 | The unique ID of the user.                                                                                                                                                                                                                                                                                                           |
| Landing Page Store Id                        | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Landing Page Tenant Id                       | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                              |
| Landing Page User Agent                      | The User agent of the device making the request. A User agent request header is a characteristic string that lets servers and                                                                                                                                                                                                        |
| Landing Page User Id                         | Unique key generated by Chord to identify the user.                                                                                                                                                                                                                                                                                  |
| Landing Page Utm Campaign                    | The campaign name represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Landing Page Utm Content                     | The campaign content represented by the UTM tags.                                                                                                                                                                                                                                                                                    |
| Landing Page Utm Medium                      | The campaign medium represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Landing Page Utm Source                      | The campaign source represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Landing Page Utm Term                        | The campaign term represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Landing Page Website Locale                  | Locale of website. This will either be collected from the url or from the drop-down link on the store                                                                                                                                                                                                                                |
| Last Page Browser Locale                     | Locale of browser.                                                                                                                                                                                                                                                                                                                   |
| Last Page Device                             | The device on which the event was sent from.                                                                                                                                                                                                                                                                                         |
| Last Page Device Category                    | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                            |
| Last Page Event Table Name                   | The properly formatted name of the table of the event.                                                                                                                                                                                                                                                                               |
| Last Page Event Text                         | The name of the event.                                                                                                                                                                                                                                                                                                               |
| Last Page Event Text Id                      | The slug of the event name, mapping to the page or track event table.                                                                                                                                                                                                                                                                |
| Last Page Gclid                              | The Google Click ID. Google Click ID (GCLID) is a parameter passed in the URL with ad clicks, to identify the campaign and other attributes of the click associated with the ad for ad tracking and campaign attribution.                                                                                                            |
| Last Page Id                                 | Unique key generated by Segment for each tracking or page event.                                                                                                                                                                                                                                                                     |
| Last Page Oms Id                             | Unique key generated by our models that uniquifies an OMS.                                                                                                                                                                                                                                                                           |
| Last Page Host                               | The host of the event's URL. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                        |
| Last Page Path                               | The page path part of the URL. A page path is the part of URL that comes after the hostname (domain) and before the query parameters, URL fragment, or port. (e.g. `/pages/contact-us/` for `https://chord.co/pages/contact-us/?ref=internal-banner`.)                                                                               |
| Last Page Query                              | The query string portion of the URL of the page.                                                                                                                                                                                                                                                                                     |
| Last Page Referrer                           | The referrer of the page. The referrer is the webpage that sends visitors to the site using a link. In                                                                                                                                                                                                                               |
| Last Page Title                              | The title/name of the page.                                                                                                                                                                                                                                                                                                          |
| Last Page Url                                | The URL of the page.                                                                                                                                                                                                                                                                                                                 |
| Last Page Referrer Host                      | The host of the referrer. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev` . This facilitates grouping events by host.                                                                                                                                                          |
| Last Page Segment User Id                    | The unique ID of the user.                                                                                                                                                                                                                                                                                                           |
| Last Page Store Id                           | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Last Page Tenant Id                          | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                              |
| Last Page User Agent                         | The User agent of the device making the request. A User agent request header is a characteristic string that lets servers and                                                                                                                                                                                                        |
| Last Page User Id                            | Unique key generated by Chord to identify the user.                                                                                                                                                                                                                                                                                  |
| Last Page Utm Campaign                       | The campaign name represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Last Page Utm Content                        | The campaign content represented by the UTM tags.                                                                                                                                                                                                                                                                                    |
| Last Page Utm Medium                         | The campaign medium represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Last Page Utm Source                         | The campaign source represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Last Page Utm Term                           | The campaign term represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Last Page Website Locale                     | Locale of website. This will either be collected from the url or from the drop-down link on the store                                                                                                                                                                                                                                |
| Session Activity Count                       | Total count of activities, pave views and tracked events within the session.                                                                                                                                                                                                                                                         |
| Session Attribution Channel                  | The attribution channel for the first page event of the session. Sessions with an attribution of 'Unknown' indicates that there is no attributable data for that session.                                                                                                                                                            |
| Session Attribution Channel Paid Or Organic  | Indicates if the session's first page attribution is paid or organic. Attribution is considered Organic if the attribution channel is 'Direct', 'Other', 'Organic Search', 'Organic Social', 'Email', or 'SMS'.                                                                                                                      |
| Session Attribution First Page Url Has Gclid | Indicates if the first page event of the session has a Google Click ID.                                                                                                                                                                                                                                                              |
| Session Attribution First Page Url Has Utm   | Indicates if the first page event of the session has any utm information.                                                                                                                                                                                                                                                            |
| Session Attribution Has Referrer             | Indicates if the first page event of the session has a referrer host.                                                                                                                                                                                                                                                                |
| Session Attribution Medium                   | The campaign medium represented by the UTM tags for the first page event of the session.                                                                                                                                                                                                                                             |
| Session Attribution Source                   | The campaign source represented by the UTM tags for the first page event of the session.                                                                                                                                                                                                                                             |
| Session Attribution Sub Channel              | Sub-Channel is a granular level of attribution.                                                                                                                                                                                                                                                                                      |
| Session Completed Oms Order Ids              | Array of OMS Order IDs associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                        |
| Session Completed Order Ids                  | Array of order IDs associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                            |
| Session Completed Order Numbers              | Array of order numbers associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                        |
| Session Days Since Last Session End          | The days between the last session's end and the start of this session.                                                                                                                                                                                                                                                               |
| Session Device                               | The device on which the event was sent from.                                                                                                                                                                                                                                                                                         |
| Session Device Category                      | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                            |
| Session Duration In Seconds                  | Total seconds between start and end activities within the session.                                                                                                                                                                                                                                                                   |
| Session Duration In Seconds Tiers            | Total seconds between start and end activities within the session, aggregated into tiers: 0-9s, 10-29s, 30-59s, and 60s or more.                                                                                                                                                                                                     |
| Session Has Order Completion                 | Flag for sessions with an order completed or checkout completed front-end events                                                                                                                                                                                                                                                     |
| Session Id                                   | Unique ID for the session.                                                                                                                                                                                                                                                                                                           |
| Session Number                               | Session number per anonymous id.                                                                                                                                                                                                                                                                                                     |
| Session Unique Completed Order Count         | Count of unique order ids associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                     |
| Session Unique Completed Order Number Count  | Count of unique order numbers associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                 |
| Start Date Day Num Of Year                   | The number representing the day of the year.                                                                                                                                                                                                                                                                                         |
| Start Date Id                                | Unique key that uniquify a date.                                                                                                                                                                                                                                                                                                     |
| Start Date Month Num Of Year                 | The month number of the year.                                                                                                                                                                                                                                                                                                        |
| Store Id                                     | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Store Name                                   | The name of the store.                                                                                                                                                                                                                                                                                                               |
| Store Oms Admin Url                          | The Admin URL of that OMS.                                                                                                                                                                                                                                                                                                           |
| Store Oms Id                                 | Unique key generated by Chord that uniquifies an OMS.                                                                                                                                                                                                                                                                                |
| Store Oms Store Id                           | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Store Oms Type                               | The type of the OMS.                                                                                                                                                                                                                                                                                                                 |
| Store Id                                     | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Store Tenant Id                              | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                              |
| Store Url                                    | The Storefront URL of of the store.                                                                                                                                                                                                                                                                                                  |
| User Address 1                               | The first line of the street address.                                                                                                                                                                                                                                                                                                |
| User Address 2                               | The optional second line of the address.                                                                                                                                                                                                                                                                                             |
| User Address City                            | The city of the address.                                                                                                                                                                                                                                                                                                             |
| User Address Country                         | The country of the address.                                                                                                                                                                                                                                                                                                          |
| User Address Name                            | The full name of the customer, based on firstName and lastName.                                                                                                                                                                                                                                                                      |
| User Address State                           | The region of the address, such as the province, state, or district.                                                                                                                                                                                                                                                                 |
| User Address Zip                             | The postal code of the address.                                                                                                                                                                                                                                                                                                      |
| User Completed Oms Order Ids                 | Array of OMS Order IDs associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                |
| User Completed Order Ids                     | Array of order IDs associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                    |
| User Completed Order Numbers                 | Array of order numbers associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                |
| User Email                                   | The email associated with the user.                                                                                                                                                                                                                                                                                                  |
| User Id                                      | Unique ID per user. It is equal to either 1) a identified\_user\_id as identified by Segment in the Identify call, or 2) an anonynous\_id.                                                                                                                                                                                           |
| User Identified User Id                      | Unique ID per identified user. (See Segment's documentation on user\_id)\[ `https://segment.com/docs/connections/spec/identify/#user-id` ].                                                                                                                                                                                          |
| User Ip                                      | IP address associated with the user.                                                                                                                                                                                                                                                                                                 |
| User Last Anonymous Id                       | Last seen anonymous\_id per user. An anonymous\_id is a unique ID per anonymous visitor. (See Segment's documentation on anonymous\_id)\[ `https://segment.com/docs/connections/spec/identify/#anonymous-id` ].                                                                                                                      |
| User Last Segment Anonymous Id               | This column is not documented.                                                                                                                                                                                                                                                                                                       |
| User Segment User Id                         | The unique ID of the user.                                                                                                                                                                                                                                                                                                           |
| User Unique Anonymous Ids                    | Array of all seen anonymous\_ids per user. An anonymous\_id is a unique ID per anonymous visitor. (See Segment's documentation on anonymous\_id)\[ `https://segment.com/docs/connections/spec/identify/#anonymous-id` ].                                                                                                             |
| User Unique Completed Order Count            | Count of unique order ids associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                             |
| End Ts (Universal)                           | Last activity timestamp for a session - Universal Time Zone.                                                                                                                                                                                                                                                                         |
| Landing Page Ts (Universal)                  | The timestamp calculated by Segment correcting clock skew - Universal Time Zone.                                                                                                                                                                                                                                                     |
| Last Page Ts (Universal)                     | The timestamp calculated by Segment correcting clock skew - Universal Time Zone.                                                                                                                                                                                                                                                     |
| Session End Ts (Universal)                   | Last activity timestamp for a session - Universal Time Zone.                                                                                                                                                                                                                                                                         |
| Session Last Session End Ts (Universal)      | The timestamp of the previous session's end per blended user id, if this is not the user's first session - Universal Time Zone.                                                                                                                                                                                                      |
| Session Last Session Start Ts (Universal)    | The timestamp of the previous session's start per blended user id, if this is not the user's first session - Universal Time Zone.                                                                                                                                                                                                    |
| Session Start Ts (Central)                   | First activity timestamp for a session - Cental Time Zone.                                                                                                                                                                                                                                                                           |
| Session Start Ts (Eastern)                   | First activity timestamp for a session - Eastern Time Zone.                                                                                                                                                                                                                                                                          |
| Session Start Ts (Mountain)                  | First activity timestamp for a session - Mountain Time Zone.                                                                                                                                                                                                                                                                         |
| Session Start Ts (Pacific)                   | First activity timestamp for a session - Pacific Time Zone.                                                                                                                                                                                                                                                                          |
| Session Start Ts (Universal)                 | First activity timestamp for a session - Universal Time Zone.                                                                                                                                                                                                                                                                        |
| Start Ts (Central)                           | First activity timestamp for a session - Cental Time Zone.                                                                                                                                                                                                                                                                           |
| Start Ts (Eastern)                           | First activity timestamp for a session - Eastern Time Zone.                                                                                                                                                                                                                                                                          |
| Start Ts (Mountain)                          | First activity timestamp for a session - Mountain Time Zone.                                                                                                                                                                                                                                                                         |
| Start Ts (Pacific)                           | First activity timestamp for a session - Pacific Time Zone.                                                                                                                                                                                                                                                                          |
| Start Ts (Universal)                         | First activity timestamp for a session - Universal Time Zone.                                                                                                                                                                                                                                                                        |
| User Created At (Universal)                  | The timestamp when the user was created - Universal Time Zone.                                                                                                                                                                                                                                                                       |
| User First Seen At (Universal)               | The first time the user was seen on the site, identified as either anonymous ID or user ID - Universal Time Zone.                                                                                                                                                                                                                    |


[title] Shopify
[path] Chord Data Platform/Data Models/Chord's Methodology as Compared to Other Platforms/

### Overview

Chord ingests raw data directly from Shopify and then transforms this data through a data modeling layer to clean and enrich for more efficient, enriched, and meaningful analyses. Chord's data models can differ from what users see directly in the Shopify platform.&#x20;

### Variations Between Chord's Data Models and the Shopify Platform

**Order State**

Chord provides two views of orders:

- Orders placed regardless of fulfillment status or cancellation.
- Completed orders, a subset of all orders defined as an order that has a `closed_at` timestamp and has been fully fulfilled. The `closed_at` timestamp is generated for orders in Shopify that are automatically archived. If this feature is not enabled, the last updated closed fulfillment date is used as the completed date.

Shopify includes any orders placed regardless of fulfillment status or cancellation.&#x20;

The "Orders" dataset displays all orders, whereas the "Sales" dataset includes completed orders only. To get to a view closer to Shopify, use the “Orders” Explore to view all orders and use the "Order Created At" date field instead of "Order Completed At."



**Timestamps**

Chord's models provides options for both `Order Created At` and `Order Completed At`, or `Closed At`, timestamps.

Shopify uses the last `Edited At` timestamp in reporting if the order was edited, and if not edited, the `Order Created At` timestamp. For example, if an order were placed in January and edited in Shopify in February, it would show in February orders. Yet, unedited orders placed in January would show in January orders. Within Chord, these orders would show either when placed in January or when closed.



**Timezones**

Chord provides various timezones for both the "Order Created At" and "Order Completed At" fields so you can customize them to your timezone. Chord's default timezone is UTC and provides the following additional timezone options: Pacific, Mountain, Central, and Eastern.&#x20;

In Shopify, the timezone can be configured in settings, so you can check the timezone of your account to then use the same timezone within Chord.&#x20;



:::hint{type="success"}
if you have any questions or need help, please reach out to us at [help@chord.co](mailto\:help@chord.co)
:::


[title] Pinterest Tag
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

# **Pinterest Tag** is Pinterest's conversion tracking pixel. It loads the Pinterest Tag JavaScript SDK in the browser and forwards ecommerce events to Pinterest for campaign measurement, audience building, and automated bidding optimization. There is no server-side component.

# Getting Started

This is a device-mode destination. The Pinterest Tag SDK is loaded automatically — no manual script installation is required. You will need:

- **Tag ID** — your Pinterest Tag ID, found in your Pinterest Ads account under **Ads > Conversions**.

Optionally:

- **Use Enhanced Match Loading** — when enabled, passes the user's email to Pinterest during initialization for enhanced matching. Defaults to `false`.

# Connecting to the Pinterest Tag CDP Destination

:::BlockQuote
**Warning:** Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are **disabled**. Running external destinations alongside configured Chord CDP destinations **can result in duplicate events downstream.**
:::

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **Pinterest Tag** from the destination catalog.
5. Enter the destination name and your **Tag ID**.
6. Optionally enable **Use Enhanced Match Loading**.
7. Click **"Create"** to connect.

# Events

All Pinterest Tag events include an `event_id` parameter set to the Chord `messageId` for deduplication.

# Event Mapping

# Page Events

**Pinterest SDK call:** `pintrk("track", "PageVisit", pageProps)`

# Identify Events

Sets user identity for Pinterest enhanced matching.

**Pinterest SDK call:** `pintrk("set", { np, em })`

# Product List Viewed

**Pinterest SDK call:** `pintrk("track", "ViewCategory", categoryData)`

# Products Searched / Products List Filtered

Both map to the `Search` event.

**Pinterest SDK call:** `pintrk("track", "Search", searchData)`

# Product Added

**Pinterest SDK call:** `pintrk("track", "AddToCart", cartData)`

# Order Completed

Same attributes as **Product Added** above.

**Pinterest SDK call:** `pintrk("track", "Checkout", checkoutData)`

# Other Track Events

Any unrecognized track event is forwarded using the raw Chord event name.

**Pinterest SDK call:** `pintrk("track", eventName, properties)`

# Line Items

When products are present, each product is mapped to a Pinterest line item:

# Custom Property Forwarding

Configure destination mappings in Hub with `properties.*` destination paths to forward additional event properties into `pintrk("track", ...)` payloads. Only explicitly-configured non-schema fields are forwarded — nothing flows through automatically.

**How to configure:**

1. Open the destination's **Mappings** tab in Hub.
2. Add a mapping with source path `properties.loyalty_tier` and destination path `properties.loyalty_tier`.
3. On the next event, `loyalty_tier` will appear in the event properties payload sent to Pinterest.

**What is excluded:**

- Schema fields already handled by the destination transform (e.g. `currency`, `value`, `order_id`, `line_items`) — these flow through the structured transform
- PII fields (`email`) — handled separately during initialization via enhanced match loading

When a custom mapping targets a schema field (e.g. `properties.value → properties.value`), the customer-configured value overrides the destination's computed default. This allows schema fields to be sourced from a different event property — for example, mapping `properties.total → properties.value` to use your order total as the conversion value.

# Initialization

The plugin loads `https://s.pinimg.com/ct/core.js`, then calls `pintrk("load", tagId)` (optionally with `{ em: email }` if **Use Enhanced Match Loading** is enabled and an email is available on the triggering event), followed by `pintrk("page")` to fire the initial page view.

The plugin manages SDK loading state (`fresh` → `loading` → `loaded`/`failed`) to prevent duplicate script loads. If the script fails to load, subsequent events are silently dropped.

# CSP Requirements

If your site uses a Content Security Policy, allow the following domains:

***

**Updated 27 May 2026**


[title] Messaging Events
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Shopify/



| **Name                                       &#x20;** | **Description  &#x20;**&#x20;                                                                                                                                                                                                       |
| ----------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|  AOV                                                  |  Average Order Value                                                                                                                                                                                                                |
|  Active On Site                                       |  Count of all events of type Active on Site.                                                                                                                                                                                        |
|  Bounced Email                                        |  Count of all events of type Bounced Email.                                                                                                                                                                                         |
|  Bounced Push                                         |  Count of all events of type Bounced Push.                                                                                                                                                                                          |
|  Clicked Email                                        |  Count of all events of type Clicked Email.                                                                                                                                                                                         |
|  Clicked SMS                                          |  Count of all events of type Clicked SMS.                                                                                                                                                                                           |
|  Email Bounce‑to‑Send Rate                            |  Total bounce count / total send count.                                                                                                                                                                                             |
|  Email Click Rate                                     |  Total of click email count / total delivery email count.                                                                                                                                                                           |
|  Email Click‑to‑Open Rate                             |  Total of all emails clicked / total email open count.                                                                                                                                                                              |
|  Email Conversion‑to‑Delivery Rate                    |  Total conversion count / total delivery count.                                                                                                                                                                                     |
|  Email Delivery‑to‑Send Rate                          |  Total delivery count / total send count.                                                                                                                                                                                           |
|  Email Open‑to‑Delivery Rate                          |  Total of open email count / total email delivery count.                                                                                                                                                                            |
|  Email Sent                                           |  Sum of Bounced and Received Email.                                                                                                                                                                                                 |
|  Email Unique Click Rate                              |  Total of all unique emails clicked / total emails sent.                                                                                                                                                                            |
|  Email Unique Click Through Rate                      |  Total of unique click email count / total delivery email count.                                                                                                                                                                    |
|  Email Unique Click to Open Rate                      |  Total of unique email clicks / total unique email open count.                                                                                                                                                                      |
|  Email Unique Open Rate                               |  Total of unique open count / total delivery count.                                                                                                                                                                                 |
|  Email Unsubscribe Rate                               |  Total unsubscribe from email count / total delivery email count.                                                                                                                                                                   |
|  Failed to Delivery SMS                               |  Count of all events of type Failed to Delivery SMS.                                                                                                                                                                                |
|  Marked Email as Spam                                 |  Count of all events of type Marked Email as Spam.                                                                                                                                                                                  |
|  Opened Email                                         |  Count of all events of type Opened Email.                                                                                                                                                                                          |
|  Opened Push                                          |  Count of all events of type Opened Push.                                                                                                                                                                                           |
|  Ordered Product                                      |  Count of all events of type Ordered Product.                                                                                                                                                                                       |
|  Placed Order                                         |  Count of all events of type Placed Order.                                                                                                                                                                                          |
|  Push Bounce‑to‑Send Rate                             |  Total bounce count / total send count.                                                                                                                                                                                             |
|  Push Sent                                            |  Sum of Bounced and Received Mobile Push.                                                                                                                                                                                           |
|  Push Unique Open Rate                                |  Total of all unique pushes clicked / total pushes sent.                                                                                                                                                                            |
|  Received Email                                       |  Count of all events of type Received Email.                                                                                                                                                                                        |
|  Received Push                                        |  Count of all events of type Received Push.                                                                                                                                                                                         |
|  Received SMS                                         |  Count of all events of type Received SMS.                                                                                                                                                                                          |
|  Recipients                                           |  Count of all unique events of type Received Email based on person\_id as Last Touch ID.                                                                                                                                            |
|  Refunded Order                                       |  Count of all events of type Refunded Order.                                                                                                                                                                                        |
|  SMS Failed‑to‑delivery Rate                          |  Total of all failed SMS messages / total SMS sent.                                                                                                                                                                                 |
|  SMS Unique Click Rate                                |  Total of all unique SMS clicked / total SMS sent.                                                                                                                                                                                  |
|  Sent SMS                                             |  Count of all events of type Relayed SMS.                                                                                                                                                                                           |
|  Subscribed To Back In Stock                          |  Count of all events of type Subscribed to Back In Stock.                                                                                                                                                                           |
|  Subscribed To Email Marketing                        |  Count of all events of type Subscribed to Email Marketing.                                                                                                                                                                         |
|  Subscribed To List                                   |  Count of all events of type Subscribed to List.                                                                                                                                                                                    |
|  Subscribed to SMS Marketing                          |  Count of all events of type Subscribed to SMS Marketing.                                                                                                                                                                           |
|  Subscribed to SMS Transactional                      |  Count of all events of type Subscribed to SMS Transactional.                                                                                                                                                                       |
|  Total Cancelled Order                                |  From numeric\_value field, the sum of all events where the event type is Cancelled Order.                                                                                                                                          |
|  Total Checkout Started                               |  From numeric\_value field, the sum of all events where the event type is Checkout Started.                                                                                                                                         |
|  Total Ordered Product                                |  From numeric\_value field, the sum of all events where the event type is Ordered product.                                                                                                                                          |
|  Total Placed Order                                   |  From numeric\_value field, the sum of all events where the event type is Placed Order.                                                                                                                                             |
|  Total Refunded Order                                 |  From numeric\_value field, the sum of all events where the event type is Refunded Order.                                                                                                                                           |
|  Unique Active On Site                                |  Count of all unique events of type Active on Site based on person\_id as Last Touch ID.                                                                                                                                            |
|  Unique Bounced Push                                  |  Count of all unique events of type Bounced Push based on person\_id as Last Touch ID.                                                                                                                                              |
|  Unique Clicked Email                                 |  Count of all unique events of type Clicked Email based on person\_id as Last Touch ID.                                                                                                                                             |
|  Unique Clicked SMS                                   |  Count of all unique events of type Clicked SMS based on person\_id as Last Touch ID.                                                                                                                                               |
|  Unique Count Bounced Email                           |  Count of all unique events of type Bounced Email based on person\_id as Last Touch ID.                                                                                                                                             |
|  Unique Failed to Delivery SMS                        |  Count of all unique events of type Failed to Delivery SMS based on person\_id as Last Touch ID.                                                                                                                                    |
|  Unique Marked Email as Spam                          |  Count of all unique events of type Marked Email as Spam based on person\_id as Last Touch ID.                                                                                                                                      |
|  Unique Opened Email                                  |  Count of all unique events of type Opened Email based on person\_id as Last Touch ID.                                                                                                                                              |
|  Unique Opened Push                                   |  Count of all unique events of type Opened Push based on person\_id as Last Touch ID.                                                                                                                                               |
|  Unique Ordered Product                               |  Count of all unique events of type Ordered Product based on person\_id as Last Touch ID.                                                                                                                                           |
|  Unique Placed Order                                  |  Count of all unique events of type Placed Order based on person\_id as Last Touch ID.                                                                                                                                              |
|  Unique Received Push                                 |  Count of all unique events of type Received Push based on person\_id as Last Touch ID.                                                                                                                                             |
|  Unique Received SMS                                  |  Count of all unique events of type Received SMS based on person\_id as Last Touch ID.                                                                                                                                              |
|  Unique Refunded Order                                |  Count of all unique events of type Refunded Order based on person\_id as Last Touch ID.                                                                                                                                            |
|  Unique Relayed SMS                                   |  Count of all unique events of type Relayed SMS based on person\_id as Last Touch ID.                                                                                                                                               |
|  Unique Subscribed To Back In Stock                   |  Count of all unique events of type Subscribed to Back In Stock based on person\_id as Last Touch ID.                                                                                                                               |
|  Unique Subscribed To Email Marketing                 |  Count of all unique events of type Subscribed to Email Marketing based on person\_id as Last Touch ID.                                                                                                                             |
|  Unique Subscribed To List                            |  Count of all unique events of type Subscribed to List based on person\_id as Last Touch ID.                                                                                                                                        |
|  Unique Subscribed to SMS Marketing                   |  Count of all unique events of type Subscribed to SMS Marketing based on person\_id as Last Touch ID.                                                                                                                               |
|  Unique Subscribed to SMS Transactional               |  Count of all unique events of type Subscribed to SMS Transactional based on person\_id as Last Touch ID.                                                                                                                           |
|  Unique Unsubscribed                                  |  Count of all unique events of type Count Unsubscribed based on person\_id as Last Touch ID.                                                                                                                                        |
|  Unique Unsubscribed From Email Marketing             |  Count of all unique events of type Unsubscribed From Email Marketing based on person\_id as Last Touch ID.                                                                                                                         |
|  Unique Unsubscribed From List                        |  Count of all unique events of type Unsubscribed From List based on person\_id as Last Touch ID.                                                                                                                                    |
|  Unique Unsubscribed from SMS Marketing               |  Count of all unique events of type Unsubscribed to SMS Marketing based on person\_id as Last Touch ID.                                                                                                                             |
|  Unique Unsubscribed from SMS Transactional           |  Count of all unique events of type Unsubscribed to SMS Transactional based on person\_id as Last Touch ID.                                                                                                                         |
|  Unique Viewed Product                                |  Count of all unique events of type Viewed Product based on person\_id as Last Touch ID.                                                                                                                                            |
|  Unsubscribed                                         |  Count of all events of type Count Unsubscribed.                                                                                                                                                                                    |
|  Unsubscribed From Email Marketing                    |  Count of all events of type Unsubscribed From Email Marketing.                                                                                                                                                                     |
|  Unsubscribed From List                               |  Count of all events of type Unsubscribed to List.                                                                                                                                                                                  |
|  Unsubscribed from SMS Marketing                      |  Count of all events of type Unsubscribed to SMS Marketing.                                                                                                                                                                         |
|  Unsubscribed from SMS Transactional                  |  Count of all events of type Unsubscribed to SMS Transactional.                                                                                                                                                                     |
|  Viewed Product                                       |  Count of all events of type Viewed Product.                                                                                                                                                                                        |
|  Created At                                           |  Timestamp of when the campaign or flow was created.                                                                                                                                                                                |
|  Flow Status                                          |  Current status of the flow. Either 'manual', 'live', or 'draft'.                                                                                                                                                                   |
|  Is Archived (Yes / No)                               |  Boolean of whether the campaign has been archived or not.                                                                                                                                                                          |
|  Last Touch Campaign Brand                            |  The brand of the campaign set in the Hub amplification.                                                                                                                                                                            |
|  Last Touch Campaign Category                         |  Campaign Category is the highest level of the hierarchy. Ex: Fruit > Berries > Strawberries the Campaign Category is Fruit and covers all Campaigns that are Fruit.                                                                |
|  Last Touch Campaign Channel                          |  The Attribution Channel of the campaign set in the Hub amplification. Ex: Email, SMS                                                                                                                                               |
|  Last Touch Campaign Class                            |  Campaign Class is the third level of the hierarchy. Ex: Fruit > Berries > Strawberries the Campaign Class is Strawberries and includes only Berries that are Strawberries. There can be more than one Campaign within the class.   |
|  Last Touch Campaign Has Tracking Params (Yes / No)   |  Indicates if the campaign is configured to store tracking params in the URL.                                                                                                                                                       |
|  Last Touch Campaign Name Refined                     |  A refined, 'friendlier' name of the campaign set in the Hub amplification.                                                                                                                                                         |
|  Last Touch Campaign Objective                        |  Objective of the campaign set in the Hub amplification. Ex: Engagement, Retention, Acquisition                                                                                                                                     |
|  Last Touch Campaign Option                           |  Other attributes of the campaign not captured in the defined attribute fields. These should be comma separated and set in the Hub amplification.                                                                                   |
|  Last Touch Campaign Platform                         |  The Ad Source of the campaign set in the Hub amplification. Ex: Google Ads, TikTok Ads                                                                                                                                             |
|  Last Touch Campaign Region                           |  The region of the campaign set in the Hub amplification Ex: US, CA, EU                                                                                                                                                             |
|  Last Touch Campaign Subcategory                      |  Campaign Subcategory is the middle level of the hierarchy. Ex: Fruit > Berries > Strawberries the Campaign Subcategory is Berries and includes only Fruits that are Berries.                                                       |
|  Last Touch Campaign Subchannel                       |  Subchannel of the campaign set in the Hub amplification.                                                                                                                                                                           |
|  Last Touch Campaign Temporality                      |  The temporality of the campaign set in the Hub amplification Ex: September Sale, October EVG, 20230504, etc.                                                                                                                       |
|  Last Touch Campaign Type                             |  The type of the campaign set in the Hub amplification. Ex: Transactional, Batch, Automated.                                                                                                                                        |
|  Last Touch Flow Brand                                |  The brand of the flow set in the Hub amplification.                                                                                                                                                                                |
|  Last Touch Flow Category                             |  Category for the flow set in the Hub amplification.                                                                                                                                                                                |
|  Last Touch Flow Channel                              |  The Attribution Channel of the flow set in the Hub amplification. Ex: Email, SMS.                                                                                                                                                  |
|  Last Touch Flow Class                                |  Class for the flow set in the Hub amplification.                                                                                                                                                                                   |
|  Last Touch Flow Name Refined                         |  A refined, 'friendlier' name of the flow set in the Hub amplification.                                                                                                                                                             |
|  Last Touch Flow Objective                            |  Objective of the flow set in the Hub amplification.                                                                                                                                                                                |
|  Last Touch Flow Option                               |  Other attributes of the flow not captured in the defined attribute fields.                                                                                                                                                         |
|  Last Touch Flow Platform                             |  The Ad Source of the flow set in the Hub amplification.                                                                                                                                                                            |
|  Last Touch Flow Region                               |  The region of the flow set in the Hub amplification. Ex: US, CA, EU.                                                                                                                                                               |
|  Last Touch Flow Subcategory                          |  Subcategory of the flow set in the Hub amplification.                                                                                                                                                                              |
|  Last Touch Flow Subchannel                           |  Subchannel of the flow set in the Hub amplification.                                                                                                                                                                               |
|  Last Touch Flow Temporality                          |  The temporality of the flow set in the Hub amplification. Ex: September Sale, etc.                                                                                                                                                 |
|  Last Touch Flow Type                                 |  The type of the flow set in the Hub amplification. Ex: Transactional, Batch, Automated.                                                                                                                                            |
|  Name (Campaign)                                      |  A name for this campaign. If not specified, this will default to the subject of the campaign.                                                                                                                                      |
|  Occurred At                                          |  Date the event occurred.                                                                                                                                                                                                           |
|  Session Date                                         |  The date of the session this event is associated to.                                                                                                                                                                               |
|  Status                                               |  Current status of the campaign. Either 'draft', 'scheduled', 'sent', or 'cancelled'.                                                                                                                                               |
|  Touch Type                                           |  What kind of touch the event was attributed to -- 'campaign', 'flow', or null.                                                                                                                                                     |
|  Trigger Type                                         |  Corresponds to the object which triggered the flow.                                                                                                                                                                                |
|  UTM Campaign                                         |  When the campaign or flow is configured with tracking params, this is the UTM campaign configured.                                                                                                                                 |
|  UTM Content                                          |  When the campaign or flow is configured with tracking params, this is the UTM content configured.                                                                                                                                  |
|  UTM Medium                                           |  When the campaign or flow is configured with tracking params, this is the UTM medium configured.                                                                                                                                   |
|  UTM Source                                           |  When the campaign or flow is configured with tracking params, this is the UTM source configured.                                                                                                                                   |
|  UTM Term                                             |  When the campaign or flow is configured with tracking params, this is the UTM term configured.                                                                                                                                     |


[title] Omni-Channel Sales
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Shopify/



| **Name**                             | **Description**                                        |
| ------------------------------------ | ------------------------------------------------------ |
|  Fulfillment Channel                 |  Amazon fulfillment channel (null for Shopify).        |
|  Fulfillment Tax Total               |  Fulfillment tax (only for Amazon).                    |
|  Line Item Tax Total                 |  Tax amount for the line item (only for Amazon).       |
|  Order Fulfillment State             |  Fulfillment state of the order.                       |
|  Order Line Fulfillment Total        |  Fulfillment cost of the line item.                    |
|  Order Line Gross Revenue            |  Gross revenue from the line item.                     |
|  Order Line Net Revenue              |  Net revenue after all deductions.                     |
|  Order Line Promo Total              |  Total promotional discount applied to the line item.  |
|  Order Line Refund Total             |  Total refunded amount for the line item.              |
|  Promo Total                         |  Total promotions on the order (only for Amazon).      |
|  Quantity                            |  Number of items purchased.                            |
|  Sales Channel                       |  Sales channel from which the order originated.        |
|  SKU Price                           |  Unit price of the SKU.                                |
|  Source System                       |  Source of the data: either Amazon or Shopify.         |
|  Tax Total                           |  Total tax on the order (only for Amazon).             |
|  Total Price                         |  Total price for the line item.                        |
|  Order Created At                    |  Timestamp when the order was created.                 |
|  Total Fulfillment Tax Total         |  Total Fulfillment Tax Total.                          |
|  Total Line Item Tax Total           |  Total Line Item Tax Total.                            |
|  Total Order Line Fulfillment Total  |  Total Order Line Fulfillment Total.                   |
|  Total Order Line Gross Revenue      |  Total Order Line Gross Revenue.                       |
|  Total Order Line Net Revenue        |  Total Order Line Net Revenue.                         |
|  Total Order Line Promo Total        |  Total Order Line Promo Total.                         |
|  Total Order Line Refund Total       |  Total Order Line Refund Total.                        |
|  Total Promo Total                   |  Total Promo Total.                                    |
|  Total Quantity                      |  Total Quantity.                                       |
|  Total SKU Price                     |  Total SKU Price.                                      |
|  Total Tax Total                     |  Total Tax Total.                                      |
|  Total Total Price                   |  Total Total Price.                                    |


[title] Users
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Shopify/

### **x\_fct\_trans\_users**

| Name                                                   | Description                                                                                                                                                                                                                                                                                                                              |
| ------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Billing Address 1                                      | The street address of the billing address.                                                                                                                                                                                                                                                                                               |
| Billing Address 2                                      | An additional field for the street address of the billing address.                                                                                                                                                                                                                                                                       |
| Billing Address City                                   | The city, town, or village of the billing address.                                                                                                                                                                                                                                                                                       |
| Billing Address Company                                | The company associated to this billing address.                                                                                                                                                                                                                                                                                          |
| Billing Address Country                                | The name of the country of the billing address.                                                                                                                                                                                                                                                                                          |
| Billing Address Country Code                           | The two-letter code (ISO 3166-1 format) for the country of the billing address.                                                                                                                                                                                                                                                          |
| Billing Address First Name                             | The first name of the person associated to this billing address.                                                                                                                                                                                                                                                                         |
| Billing Address Id                                     | Unique identifier generated by Chord for a Billing Address.                                                                                                                                                                                                                                                                              |
| Billing Address Last Name                              | The last name of the person associated to this billing address.                                                                                                                                                                                                                                                                          |
| Billing Address Latitude                               | The latitude of the billing address.                                                                                                                                                                                                                                                                                                     |
| Billing Address Longitude                              | The longitude of the billing address.                                                                                                                                                                                                                                                                                                    |
| Billing Address Name                                   | The full name of the person associated to this billing address.                                                                                                                                                                                                                                                                          |
| Billing Address Oms Billing Address Id                 | Unique key generated by Shopify that identifies a billing address.                                                                                                                                                                                                                                                                       |
| Billing Address Phone                                  | The phone number associated to this billing address.                                                                                                                                                                                                                                                                                     |
| Billing Address Province                               | The name of the region (province, state, prefecture, …) of the billing address.                                                                                                                                                                                                                                                          |
| Billing Address Province Code                          | The two-letter abbreviation of the region of the billing address.                                                                                                                                                                                                                                                                        |
| Billing Address Zip                                    | The postal code of the billing address.                                                                                                                                                                                                                                                                                                  |
| Shipping Address 1                                     | The street address of the shipping address.                                                                                                                                                                                                                                                                                              |
| Shipping Address 2                                     | An additional field for the street address of the shipping address.                                                                                                                                                                                                                                                                      |
| Shipping Address City                                  | The city, town, or village of the shipping address.                                                                                                                                                                                                                                                                                      |
| Shipping Address Company                               | The company associated to this shipping address.                                                                                                                                                                                                                                                                                         |
| Shipping Address Country                               | The name of the country of the shipping address.                                                                                                                                                                                                                                                                                         |
| Shipping Address Country Code                          | The two-letter code (ISO 3166-1 format) for the country of the shipping address.                                                                                                                                                                                                                                                         |
| Shipping Address First Name                            | The first name of the person associated to this shipping address.                                                                                                                                                                                                                                                                        |
| Shipping Address Id                                    | Unique identifier generated by Chord for a Shipping Address.                                                                                                                                                                                                                                                                             |
| Shipping Address Last Name                             | The last name of the person associated to this shipping address.                                                                                                                                                                                                                                                                         |
| Shipping Address Latitude                              | The latitude of the shipping address.                                                                                                                                                                                                                                                                                                    |
| Shipping Address Longitude                             | The longitude of the shipping address.                                                                                                                                                                                                                                                                                                   |
| Shipping Address Name                                  | The full name of the person associated to this shipping address.                                                                                                                                                                                                                                                                         |
| Shipping Address Oms Shipping Address Id               | Unique key generated by Shopify that identifies a shipping address.                                                                                                                                                                                                                                                                      |
| Shipping Address Phone                                 | The phone number associated to this shipping address.                                                                                                                                                                                                                                                                                    |
| Shipping Address Province                              | The name of the region (province, state, prefecture, ...) of the shipping address.                                                                                                                                                                                                                                                       |
| Shipping Address Province Code                         | The two-letter abbreviation of the region of the shipping address.                                                                                                                                                                                                                                                                       |
| Shipping Address Zip                                   | The postal code of the shipping address.                                                                                                                                                                                                                                                                                                 |
| User Completed Oms Order Ids                           | List of all completed OMS order ids for a user.                                                                                                                                                                                                                                                                                          |
| User Completed Order Names                             | List of all completed order names for a user.                                                                                                                                                                                                                                                                                            |
| User Email                                             | The email of the customer.                                                                                                                                                                                                                                                                                                               |
| User First Completed Oms Order Id                      | Order id from the OMS for the first completed order.                                                                                                                                                                                                                                                                                     |
| User First Completed Order Name                        | Order name for the first completed order.                                                                                                                                                                                                                                                                                                |
| User First Name                                        | The first name of the customer.                                                                                                                                                                                                                                                                                                          |
| User First Name Last Initial                           | The first name and last name initials of the customer. This appends the value of \`first\_name\` and the first character of \`last\_name\` together.                                                                                                                                                                                     |
| User First Order Unique Ordered Products               | List of unique products purchased by the user in their first completed order.                                                                                                                                                                                                                                                            |
| User First Order Unique Ordered Skus                   | List of unique variant SKUs purchased by the user in their first completed order.                                                                                                                                                                                                                                                        |
| User First Subscription Ids                            | Array of first subscription ids purchased by the user. The user may have more than one subscription created at the same time, resulting in more than one subscription counted as first.                                                                                                                                                  |
| User Full Name                                         | The full name of the customer. This appends the value of \`first\_name\` and \`last\_name\` together.                                                                                                                                                                                                                                    |
| User Has Ordered A La Carte                            | Whether or not the user has had at least one order that is not a part of a subscription.                                                                                                                                                                                                                                                 |
| User Has Promo Applied In First Order                  | Whether the first completed order has a promo applied or not.                                                                                                                                                                                                                                                                            |
| User Has Reactivation Subscription                     | Whether or not the user has at least one subscription created after the first subscription is cancelled.                                                                                                                                                                                                                                 |
| User Has Subscription In First Order                   | Whether or not the user's first order is linked to a subscription.                                                                                                                                                                                                                                                                       |
| User Has Verified Email                                | Whether the customer has verified their email address.                                                                                                                                                                                                                                                                                   |
| User Id                                                | Unique identifier generated by Chord to identify the user.                                                                                                                                                                                                                                                                               |
| User Is Active Subscriber                              | Whether or not the user has an active subscription with at least one completed subscription order. An active subscription is one that is not cancelled or paused. Subscribers may have completed subscription orders on inactive subscriptions, but will not be considered active if their current subscription has no completed orders. |
| User Is Customer                                       | Whether the user has completed at least one order or not.                                                                                                                                                                                                                                                                                |
| User Is New Customer                                   | Whether the user has completed one order or not.                                                                                                                                                                                                                                                                                         |
| User Is Not Customer                                   | Whether the user has no completed orders or not.                                                                                                                                                                                                                                                                                         |
| User Is Returning Customer                             | Whether the user has completed more than one order or not.                                                                                                                                                                                                                                                                               |
| User Is Subscriber                                     | Whether or not the user has completed at least one subscription order.                                                                                                                                                                                                                                                                   |
| User Last Name                                         | The last name of the customer.                                                                                                                                                                                                                                                                                                           |
| User Last Subscription Ids                             | Array of last subscription ids purchased by a user. The user may have more than one subscription created at the same time, resulting in more than one subscription counted as last.                                                                                                                                                      |
| User Number Of Cancelled Subscriptions                 | Total number of subscriptions the user has cancelled.                                                                                                                                                                                                                                                                                    |
| User Number Of Completed A La Carte Orders             | Total number of orders completed by a user that are a la carte.                                                                                                                                                                                                                                                                          |
| User Number Of Completed Orders                        | Total count of completed orders by the user.                                                                                                                                                                                                                                                                                             |
| User Number Of Completed Subscription Orders           | Total number of orders completed by a user that are part of a subscription.                                                                                                                                                                                                                                                              |
| User Number Of Created Subscription Orders             | Total number of orders created by a user that are part of a subscription.                                                                                                                                                                                                                                                                |
| User Number Of Orders With Promos                      | Count of completed orders with a promo applied.                                                                                                                                                                                                                                                                                          |
| User Number Of Reactivated Subscriptions               | Total number of subscriptions for a user that are reactivations. These subscriptions may be active, inactive, or concurrent.                                                                                                                                                                                                             |
| User Number Of Subscriptions                           | Total number of subscriptions linked to a user. These subscriptions may be active, inactive, or concurrent.                                                                                                                                                                                                                              |
| User Oms User Id                                       | Unique identifier generated by the OMS to identify the user.                                                                                                                                                                                                                                                                             |
| User Phone                                             | The phone number of the customer.                                                                                                                                                                                                                                                                                                        |
| User Unique Ordered Product Type                       | List of unique product types purchased by the user across all completed orders.                                                                                                                                                                                                                                                          |
| User Unique Ordered Products                           | List of unique products purchased by the user across all completed orders.                                                                                                                                                                                                                                                               |
| User Unique Ordered Skus                               | List of unique variant SKUs purchased by the user across all completed orders.                                                                                                                                                                                                                                                           |
| User First Completed Order Completed At (Universal)    | Timestamp for the first order completed - Universal Time Zone.                                                                                                                                                                                                                                                                           |
| User First Completed Order Created At (Universal)      | Timestamp for the first completed order created - Universal Time Zone.                                                                                                                                                                                                                                                                   |
| User First Order Created At (Universal)                | Timestamp of the first created order for the user - Universal Time Zone.                                                                                                                                                                                                                                                                 |
| User First Subscription Created At (Universal)         | Timestamp of when the first subscription was created per user - Universal Time Zone.                                                                                                                                                                                                                                                     |
| User First Subscription Order Completed At (Universal) | The timestamp of the user's first completed subscription order, regardless of subsequent subscriptions - Universal Time Zone.                                                                                                                                                                                                            |
| User First Subscription Order Created At (Universal)   | The timestamp of the user's first completed subscription order, regardless of subsequent subscriptions - Universal Time Zone.                                                                                                                                                                                                            |
| User Last Completed Order Completed At (Universal)     | Timestamp for the most recent order completed - Universal Time Zone.                                                                                                                                                                                                                                                                     |
| User Last Completed Order Created At (Universal)       | Timestamp for the most recent completed order created - Universal Time Zone.                                                                                                                                                                                                                                                             |
| Average A La Carte Gross Revenue                       | Sum of gross revenue generated by all completed a la carte orders for a user.                                                                                                                                                                                                                                                            |
| Average A La Carte Net Revenue                         | Sum of net revenue generated by all completed a la carte orders for a user.                                                                                                                                                                                                                                                              |
| Average Additional Tax Total                           | When taxes are not included in the subtotal, this is total tax added to the order.                                                                                                                                                                                                                                                       |
| Average First Order Gross Revenue                      | Gross revenue of the first completed order.                                                                                                                                                                                                                                                                                              |
| Average First Order Net Revenue                        | Net revenue of the first completed order.                                                                                                                                                                                                                                                                                                |
| Average Fulfillment Total                              | The sum of all shipping prices in the location's currency.                                                                                                                                                                                                                                                                               |
| Average Gross Revenue                                  | Gross revenue of the order calculated as \`item\_total\` + \`fulfillment\_total\`                                                                                                                                                                                                                                                        |
| Average Included Tax Total                             | When taxes are included in the subtotal, this is the total tax included in the order.                                                                                                                                                                                                                                                    |
| Average Item Total                                     | The sum of all line item prices in the location's currency.                                                                                                                                                                                                                                                                              |
| Average Last Order Gross Revenue                       | Gross revenue of the most recent completed order.                                                                                                                                                                                                                                                                                        |
| Average Last Order Net Revenue                         | Net revenue of the most recent completed order.                                                                                                                                                                                                                                                                                          |
| Average Manual Transaction Total                       | Sum of all sales transaction with gateway of type 'manual'.                                                                                                                                                                                                                                                                              |
| Average Net Revenue                                    | Net revenue of the order calculated as \`item\_total\` + \`fulfillment\_total\` - \`promo\_total\` - \`refund\_total\`                                                                                                                                                                                                                   |
| Average Order Gross Revenue                            | The average order gross revenue of completed orders per user.                                                                                                                                                                                                                                                                            |
| Average Order Net Revenue                              | The average order net revenue of completed orders per user.                                                                                                                                                                                                                                                                              |
| Average Order Transaction Total                        | The average transaction total of completed orders per user.                                                                                                                                                                                                                                                                              |
| Average Payment Total                                  | Sum of all sales transaction with gateway of type 'shopify\_payments'.                                                                                                                                                                                                                                                                   |
| Average Promo Total                                    | The total discounts applied to the price of the order in the location's currency.                                                                                                                                                                                                                                                        |
| Average Refund Total                                   | Sum of all the transactions that are of kind 'refund' applied to the order.                                                                                                                                                                                                                                                              |
| Average Subscription Gross Revenue                     | Sum of gross revenue generated by all completed subscription orders for a user.                                                                                                                                                                                                                                                          |
| Average Subscription Net Revenue                       | Sum of net revenue generated by all completed subscription orders for a user.                                                                                                                                                                                                                                                            |
| Average Tax Total                                      | The sum of all the taxes applied to the order in the location's currency.                                                                                                                                                                                                                                                                |
| Average Total Ordered Quantity                         | The total quantity of variant SKUs purchased the user.                                                                                                                                                                                                                                                                                   |
| Average Total Price                                    | The sum of all line item prices, discounts, shipping, taxes, and tips in the                                                                                                                                                                                                                                                             |
| Average Total Unique Ordered Products                  | The count of unique products purchased the user.                                                                                                                                                                                                                                                                                         |
| Average Transaction Total                              | Sum of all sale transactions for the order.                                                                                                                                                                                                                                                                                              |
| A La Carte Gross Revenue                               | Sum of gross revenue generated by all completed a la carte orders for a user.                                                                                                                                                                                                                                                            |
| A La Carte Net Revenue                                 | Sum of net revenue generated by all completed a la carte orders for a user.                                                                                                                                                                                                                                                              |
| Additional Tax Total                                   | When taxes are not included in the subtotal, this is total tax added to the order.                                                                                                                                                                                                                                                       |
| First Order Gross Revenue                              | Gross revenue of the first completed order.                                                                                                                                                                                                                                                                                              |
| First Order Net Revenue                                | Net revenue of the first completed order.                                                                                                                                                                                                                                                                                                |
| Fulfillment Total                                      | The sum of all shipping prices in the location's currency.                                                                                                                                                                                                                                                                               |
| Gross Revenue                                          | Gross revenue of the order calculated as \`item\_total\` + \`fulfillment\_total\`                                                                                                                                                                                                                                                        |
| Included Tax Total                                     | When taxes are included in the subtotal, this is the total tax included in the order.                                                                                                                                                                                                                                                    |
| Item Total                                             | The sum of all line item prices in the location's currency.                                                                                                                                                                                                                                                                              |
| Last Order Gross Revenue                               | Gross revenue of the most recent completed order.                                                                                                                                                                                                                                                                                        |
| Last Order Net Revenue                                 | Net revenue of the most recent completed order.                                                                                                                                                                                                                                                                                          |
| Manual Transaction Total                               | Sum of all sales transaction with gateway of type 'manual'.                                                                                                                                                                                                                                                                              |
| Net Revenue                                            | Net revenue of the order calculated as \`item\_total\` + \`fulfillment\_total\` - \`promo\_total\` - \`refund\_total\`                                                                                                                                                                                                                   |
| Total Ordered Quantity                                 | The total quantity of variant SKUs purchased the user.                                                                                                                                                                                                                                                                                   |
| Payment Total                                          | Sum of all sales transaction with gateway of type 'shopify\_payments'.                                                                                                                                                                                                                                                                   |
| Total Price                                            | The sum of all line item prices, discounts, shipping, taxes, and tips in the                                                                                                                                                                                                                                                             |
| Promo Total                                            | The total discounts applied to the price of the order in the location's currency.                                                                                                                                                                                                                                                        |
| Refund Total                                           | Sum of all the transactions that are of kind 'refund' applied to the order.                                                                                                                                                                                                                                                              |
| Subscription Gross Revenue                             | Sum of gross revenue generated by all completed subscription orders for a user.                                                                                                                                                                                                                                                          |
| Subscription Net Revenue                               | Sum of net revenue generated by all completed subscription orders for a user.                                                                                                                                                                                                                                                            |
| Tax Total                                              | The sum of all the taxes applied to the order in the location's currency.                                                                                                                                                                                                                                                                |
| Transaction Total                                      | Sum of all sale transactions for the order.                                                                                                                                                                                                                                                                                              |
| Total Unique Ordered Products                          | The count of unique products purchased the user.                                                                                                                                                                                                                                                                                         |


[title] Google Analytics 4
[path] Chord Data Platform/Data Models/Chord's Methodology as Compared to Other Platforms/

# **Overview**

Google Analytics offers an excellent version of attribution, but it doesn’t let you combine attribution with other insights that non-tracked data can deliver. For example, e-commerce merchants might want to compare attribution channels for specific products or for certain user segments.

# Variations Between Chord Data Models and the Google Analytics 4 Platform

## **Timezones**

Chord provides various timezones for timestamp fields so you can customize them to your timezone. Chord's default timezone is UTC and provides the following additional timezone options: Pacific, Mountain, Central, and Eastern.&#x20;

In Google Analytics 4 (GA4), the timezone can be configured in settings, so you can check the timezone of your account to then use the same timezone within Chord.&#x20;

## Bounce Rate Calculations

Chord's definition of a bounce is **any single-page session**. On the GA4 platform, a bounce is defined as **any session that was not engaged***,* which means that the bounce rate is now also susceptible to what is also configured as a [key event](https://support.google.com/analytics/answer/9355848?sjid=11469173535203784940-NA) in GA4.&#x20;

**For example:** If there are single-page sessions with a particular event (such as `order_completed`) and if the same event was also configured as a "key event" via GA4, it will not be counted as a bounce in GA4.&#x20;

[title] Variant Attributes
[path] Chord Data Platform/Model Amplifications/

:::hint{type="info"}
Note: Our Model Amplifications feature **only accepts files in CSV format at this time.&#x20;**&#x50;lease make sure the files you upload are CSV files.
:::

# **Overview**

The Variant Attribute configuration maps additional attributes per variant that may not be available in the OMS. While the OMS may have fields for capturing some attributes within variants, Brand operators often want more flexibility and control over their products.

This configuration provides the ability to add a three-tiered hierarchy per variant including Category, Sub Category, and Class. Utilizing all three layers is not required.

Additional attributes per variant can also be added and updated here including: 

- **Color&#xA0;**
- **Function**
- **Material**
- **Shape**
- **Size**
- **Style**
- **Other&#x20;**- this can include multiple fields not represented by the above attributes, separated by a comma. 

All of these attributes flow through the model and are surfaced in the Line Items Explore.

:::hint{type="info"}
**Note:&#x20;**&#x54;he configuration allows for only one row per variant.&#x20;
:::

## Sample Use Cases

While surfacing additional information is useful, these fields can be used to answer more nuanced questions:

- A brand has recently released a new item and want to see performance by size - not just net revenue, but returns over time. Color can be added to pivot and see the performance over time.
- A brand wants to segment their customers based on the purchase of a certain product and the function.&#x20;
- A brand has different teams working on specific product lines. The hierarchy can be used to quicky filter a dashboard for the individual teams needs without having to build a custom dimension.

Surfacing these fields opens up the ability to slice the data in more dimensions and manage reports in new way.




[title] Delighted
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

# Introduction

Delighted is a customer experience platform that helps businesses collect, analyze, and act on customer feedback using tools like Net Promoter Score (NPS), CSAT, CES, and more. It enables companies to send surveys via email, web, SMS, and other channels, and provides real-time insights to improve customer satisfaction and loyalty.

# Getting started

To properly use Chord's Delighted destination, your account-specific Delighted API key must be provided.

### **API key**

To find this key, follow the guidelines here:&#x20;

1. Log into your brand's Delighted account and click on ***Integrations&#x20;***&#x69;n the top ribbon
2. On the Integrations page, select ***API***
3. Copy the key titled ***Your API Key***

#

![](https://app.archbee.com/api/optimize/TmutqdeXiIw-V3gBZXVjd/_hF7LMMwoyJxk_o7nGrvJ_image.png "Navigate to Integrations Page")

![](https://app.archbee.com/api/optimize/TmutqdeXiIw-V3gBZXVjd/r0m6wAB8129Sq3BFebx6z_image.png "Select the API option")



![](https://app.archbee.com/api/optimize/TmutqdeXiIw-V3gBZXVjd/Xr4k1JVovtIwxAvnM8Flm_image.png "Copy Your API Key")

# Connecting to the Delighted CDP destination

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **Delighted&#x20;**&#x66;rom the destination catalog.
5. Enter in the destination name, the **API Key** and the **Delay** amount (if applicable)
6. Click **"Create"&#x20;**&#x74;o connect.

# Chord events relevant for destination

Not all Chord Tracking events are used downstream in your configured destinations. The most relevant and important events in the Chord tracking plan are mapped within the CDP destination, relayed and then ingested in the destination. The Chord tracking plan events used by the [Delighted API](https://app.delighted.com/docs/api/sending-to-people) are:&#x20;

| **Chord Tracking Event** | *Destination Event*                         |
| ------------------------ | ------------------------------------------- |
| **All track events**     | *person.create (survey is sent by default)* |
| **Identify**             | *person.create (no survey sent)*            |

**Note: There is no specific event filtering within the Chord Delighted destination**. All Chord `track` and `identify` events are processed regardless of the event name. Chord `track` events create a ***person&#x20;***&#x69;n Delighted and triggers a survey to be sent. Chord `identify` events, by default, create a ***person&#x20;***&#x69;n Delighted but does *not* send a survey.

:::hint{type="danger"}
Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are *disabled.*
**
Running external destinations alongside configured Chord CDP destinations ***can result in duplicate events downstream.&#x20;***
:::


[title] Conversions
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Salesforce/

### x\_fct\_trans\_activities

| Name                                                  | Description                                                                                                                                                                                                                                                                                                                          |
| ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Activity Event Text                                   | The name of the event.                                                                                                                                                                                                                                                                                                               |
| Activity Event Text Id                                | The slug of the event name, mapping to the page or track event table.                                                                                                                                                                                                                                                                |
| Activity Id                                           | The unique identifier of an activities (i.e. Track or Page event).                                                                                                                                                                                                                                                                   |
| Activity Page Path                                    | The page path part of the URL. A page path is the part of URL that comes after the hostname (domain) and before the query parameters, URL fragment, or port. (e.g. `/pages/contact-us/` for `https://chord.co/pages/contact-us/?ref=internal-banner` .)                                                                              |
| Activity Page Query                                   | The query string portion of the URL of the page.                                                                                                                                                                                                                                                                                     |
| Activity Page Title                                   | The title/name of the page.                                                                                                                                                                                                                                                                                                          |
| Activity Page Url                                     | The URL of the page.                                                                                                                                                                                                                                                                                                                 |
| Activity Session Activity Count                       | Total count of activities, pave views and tracked events within the session.                                                                                                                                                                                                                                                         |
| Activity Session Attribution Channel                  | The attribution channel for the first page event of the session. Sessions with an attribution of 'Unknown' indicates that there is no attributable data for that session.                                                                                                                                                            |
| Activity Session Attribution Channel Paid Or Organic  | Indicates if the session's first page attribution is paid or organic. Attribution is considered Organic if the attribution channel is 'Direct', 'Other', 'Organic Search', 'Organic Social', 'Email', or 'SMS'.                                                                                                                      |
| Activity Session Attribution First Page Url Has Gclid | Indicates if the first page event of the session has a Google Click ID.                                                                                                                                                                                                                                                              |
| Activity Session Attribution First Page Url Has Utm   | Indicates if the first page event of the session has any utm information.                                                                                                                                                                                                                                                            |
| Activity Session Attribution Has Referrer             | Indicates if the first page event of the session has a referrer host.                                                                                                                                                                                                                                                                |
| Activity Session Attribution Medium                   | The campaign medium represented by the UTM tags for the first page event of the session.                                                                                                                                                                                                                                             |
| Activity Session Attribution Source                   | The campaign source represented by the UTM tags for the first page event of the session.                                                                                                                                                                                                                                             |
| Activity Session Attribution Sub Channel              | Sub-Channel is a granular level of attribution.                                                                                                                                                                                                                                                                                      |
| Activity Session Completed Oms Order Ids              | Array of OMS Order IDs associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                        |
| Activity Session Completed Order Ids                  | Array of order IDs associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                            |
| Activity Session Completed Order Numbers              | Array of order numbers associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                        |
| Activity Session Days Since Last Session End          | The days between the last session's end and the start of this session.                                                                                                                                                                                                                                                               |
| Activity Session Device                               | The device on which the event was sent from.                                                                                                                                                                                                                                                                                         |
| Activity Session Device Category                      | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                            |
| Activity Session Duration In Seconds                  | Total seconds between start and end activities within the session.                                                                                                                                                                                                                                                                   |
| Activity Session Duration In Seconds Tiers            | Total seconds between start and end activities within the session, aggregated into tiers: 0-9s, 10-29s, 30-59s, and 60s or more.                                                                                                                                                                                                     |
| Activity Session Has Order Completion                 | Flag for sessions with an order completed or checkout completed front-end events                                                                                                                                                                                                                                                     |
| Activity Session Id                                   | Unique ID for the session.                                                                                                                                                                                                                                                                                                           |
| Activity Session Number                               | Session number per anonymous id.                                                                                                                                                                                                                                                                                                     |
| Activity Session Unique Completed Order Count         | Count of unique order ids associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                     |
| Activity Session Unique Completed Order Number Count  | Count of unique order numbers associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                 |
| Activity Utm Campaign                                 | The campaign name represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Activity Utm Content                                  | The campaign content represented by the UTM tags.                                                                                                                                                                                                                                                                                    |
| Activity Utm Medium                                   | The campaign medium represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Activity Utm Source                                   | The campaign source represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Activity Utm Term                                     | The campaign term represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Activity Website Locale                               | Locale of website. This will either be collected from the url or from the drop-down link on the store                                                                                                                                                                                                                                |
| Anonymous Completed Oms Order Ids                     | Array of OMS Order IDs associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                           |
| Anonymous Completed Order Ids                         | Array of order IDs associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                               |
| Anonymous Completed Order Numbers                     | Array of order numbers associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                           |
| Anonymous Current Blended User Id                     | Unique id derived from the user\_id and the anonymous\_id. Whenever a customer has a user\_id, the user\_anonymous\_id will be constant for                                                                                                                                                                                          |
| Anonymous Current User Id                             | The current user\_id associated with the anonymous\_id. This unique user\_id is created by Segment's Identify call. A user\_id can be associated to many anonymous\_ids.                                                                                                                                                             |
| Anonymous Id                                          | Unique id created by Chord for each anonymous visitor per store.                                                                                                                                                                                                                                                                     |
| Anonymous Segment Anonymous Id                        | Id created by Segment for each anonymous visitor. This id gets created as soon as a customer's browser loads the analytics javascript widget. The anonymous\_id remains unchanged through the entire browsing session from a single device. Depending on configuration, two stores connected stores may have the same anonymous\_id. |
| Anonymous Unique User Ids                             | Array of user IDs mapped to an anonymous ID.                                                                                                                                                                                                                                                                                         |
| Date Day Num Of Year                                  | The number representing the day of the year.                                                                                                                                                                                                                                                                                         |
| Date Id                                               | Unique key that uniquify a date.                                                                                                                                                                                                                                                                                                     |
| Date Month Num Of Year                                | The month number of the year.                                                                                                                                                                                                                                                                                                        |
| Last Seen Page Browser Locale                         | Locale of browser.                                                                                                                                                                                                                                                                                                                   |
| Last Seen Page Device                                 | The device on which the event was sent from.                                                                                                                                                                                                                                                                                         |
| Last Seen Page Device Category                        | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                            |
| Last Seen Page Event Table Name                       | The properly formatted name of the table of the event.                                                                                                                                                                                                                                                                               |
| Last Seen Page Event Text                             | The name of the event.                                                                                                                                                                                                                                                                                                               |
| Last Seen Page Event Text Id                          | The slug of the event name, mapping to the page or track event table.                                                                                                                                                                                                                                                                |
| Last Seen Page Gclid                                  | The Google Click ID. Google Click ID (GCLID) is a parameter passed in the URL with ad clicks, to identify the campaign and other attributes of the click associated with the ad for ad tracking and campaign attribution.                                                                                                            |
| Last Seen Page Id                                     | Unique key generated by Segment for each tracking or page event.                                                                                                                                                                                                                                                                     |
| Last Seen Page Oms Id                                 | Unique key generated by our models that uniquifies an OMS.                                                                                                                                                                                                                                                                           |
| Last Seen Page Host                                   | The host of the event's URL. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                        |
| Last Seen Page Path                                   | The page path part of the URL. A page path is the part of URL that comes after the hostname (domain) and before the query parameters, URL fragment, or port. (e.g. `/pages/contact-us/` for `https://chord.co/pages/contact-us/?ref=internal-banner` .)                                                                              |
| Last Seen Page Query                                  | The query string portion of the URL of the page.                                                                                                                                                                                                                                                                                     |
| Last Seen Page Referrer                               | The referrer of the page. The referrer is the webpage that sends visitors to the site using a link. In                                                                                                                                                                                                                               |
| Last Seen Page Title                                  | The title/name of the page.                                                                                                                                                                                                                                                                                                          |
| Last Seen Page Url                                    | The URL of the page.                                                                                                                                                                                                                                                                                                                 |
| Last Seen Page Referrer Host                          | The host of the referrer. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                           |
| Last Seen Page Segment User Id                        | The unique ID of the user.                                                                                                                                                                                                                                                                                                           |
| Last Seen Page Store Id                               | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Last Seen Page Tenant Id                              | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                              |
| Last Seen Page User Agent                             | The User agent of the device making the request. A User agent request header is a characteristic string that lets servers and                                                                                                                                                                                                        |
| Last Seen Page User Id                                | Unique key generated by Chord to identify the user.                                                                                                                                                                                                                                                                                  |
| Last Seen Page Utm Campaign                           | The campaign name represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Last Seen Page Utm Content                            | The campaign content represented by the UTM tags.                                                                                                                                                                                                                                                                                    |
| Last Seen Page Utm Medium                             | The campaign medium represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Last Seen Page Utm Source                             | The campaign source represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Last Seen Page Utm Term                               | The campaign term represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Last Seen Page Website Locale                         | Locale of website. This will either be collected from the url or from the drop-down link on the store                                                                                                                                                                                                                                |
| Session Landing Page Browser Locale                   | Locale of browser.                                                                                                                                                                                                                                                                                                                   |
| Session Landing Page Device                           | The device on which the event was sent from.                                                                                                                                                                                                                                                                                         |
| Session Landing Page Device Category                  | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                            |
| Session Landing Page Event Table Name                 | The properly formatted name of the table of the event.                                                                                                                                                                                                                                                                               |
| Session Landing Page Event Text                       | The name of the event.                                                                                                                                                                                                                                                                                                               |
| Session Landing Page Event Text Id                    | The slug of the event name, mapping to the page or track event table.                                                                                                                                                                                                                                                                |
| Session Landing Page Gclid                            | The Google Click ID. Google Click ID (GCLID) is a parameter passed in the URL with ad clicks, to identify the campaign and other attributes of the click associated with the ad for ad tracking and campaign attribution.                                                                                                            |
| Session Landing Page Id                               | Unique key generated by Segment for each tracking or page event.                                                                                                                                                                                                                                                                     |
| Session Landing Page Oms Id                           | Unique key generated by our models that uniquifies an OMS.                                                                                                                                                                                                                                                                           |
| Session Landing Page Host                             | The host of the event's URL. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                        |
| Session Landing Page Path                             | The page path part of the URL. A page path is the part of URL that comes after the hostname (domain) and before the query parameters, URL fragment, or port. (e.g. `/pages/contact-us/` for `https://chord.co/pages/contact-us/?ref=internal-banner`.)                                                                               |
| Session Landing Page Query                            | The query string portion of the URL of the page.                                                                                                                                                                                                                                                                                     |
| Session Landing Page Referrer                         | The referrer of the page. The referrer is the webpage that sends visitors to the site using a link. In                                                                                                                                                                                                                               |
| Session Landing Page Title                            | The title/name of the page.                                                                                                                                                                                                                                                                                                          |
| Session Landing Page Url                              | The URL of the page.                                                                                                                                                                                                                                                                                                                 |
| Session Landing Page Referrer Host                    | The host of the referrer. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                           |
| Session Landing Page Segment User Id                  | The unique ID of the user.                                                                                                                                                                                                                                                                                                           |
| Session Landing Page Store Id                         | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Session Landing Page Tenant Id                        | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                              |
| Session Landing Page User Agent                       | The User agent of the device making the request. A User agent request header is a characteristic string that lets servers and                                                                                                                                                                                                        |
| Session Landing Page User Id                          | Unique key generated by Chord to identify the user.                                                                                                                                                                                                                                                                                  |
| Session Landing Page Utm Campaign                     | The campaign name represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Session Landing Page Utm Content                      | The campaign content represented by the UTM tags.                                                                                                                                                                                                                                                                                    |
| Session Landing Page Utm Medium                       | The campaign medium represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Session Landing Page Utm Source                       | The campaign source represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Session Landing Page Utm Term                         | The campaign term represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Session Landing Page Website Locale                   | Locale of website. This will either be collected from the url or from the drop-down link on the store                                                                                                                                                                                                                                |
| Store Id                                              | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Store Name                                            | The name of the store.                                                                                                                                                                                                                                                                                                               |
| Store Oms Admin Url                                   | The Admin URL of that OMS.                                                                                                                                                                                                                                                                                                           |
| Store Oms Id                                          | Unique key generated by Chord that uniquifies an OMS.                                                                                                                                                                                                                                                                                |
| Store Oms Store Id                                    | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Store Oms Type                                        | The type of the OMS.                                                                                                                                                                                                                                                                                                                 |
| Store Id                                              | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Store Tenant Id                                       | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                              |
| Store Url                                             | The Storefront URL of of the store.                                                                                                                                                                                                                                                                                                  |
| User Address 1                                        | The first line of the street address.                                                                                                                                                                                                                                                                                                |
| User Address 2                                        | The optional second line of the address.                                                                                                                                                                                                                                                                                             |
| User Address City                                     | The city of the address.                                                                                                                                                                                                                                                                                                             |
| User Address Country                                  | The country of the address.                                                                                                                                                                                                                                                                                                          |
| User Address Name                                     | The full name of the customer, based on firstName and lastName.                                                                                                                                                                                                                                                                      |
| User Address State                                    | The region of the address, such as the province, state, or district.                                                                                                                                                                                                                                                                 |
| User Address Zip                                      | The postal code of the address.                                                                                                                                                                                                                                                                                                      |
| User Completed Oms Order Ids                          | Array of OMS Order IDs associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                |
| User Completed Order Ids                              | Array of order IDs associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                    |
| User Completed Order Numbers                          | Array of order numbers associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                |
| User Email                                            | The email associated with the user.                                                                                                                                                                                                                                                                                                  |
| User Id                                               | Unique ID per user. It is equal to either 1) a identified\_user\_id as identified by Segment in the Identify call, or 2) an anonynous\_id.                                                                                                                                                                                           |
| User Identified User Id                               | Unique ID per identified user. (See Segment's documentation on user\_id)\[ `https://segment.com/docs/connections/spec/identify/#user-id` ].                                                                                                                                                                                          |
| User Ip                                               | IP address associated with the user.                                                                                                                                                                                                                                                                                                 |
| User Last Anonymous Id                                | Last seen anonymous\_id per user. An anonymous\_id is a unique ID per anonymous visitor. (See Segment's documentation on anonymous\_id)\[ `https://segment.com/docs/connections/spec/identify/#anonymous-id` ].                                                                                                                      |
| User Last Segment Anonymous Id                        | This column is not documented.                                                                                                                                                                                                                                                                                                       |
| User Segment User Id                                  | The unique ID of the user.                                                                                                                                                                                                                                                                                                           |
| User Unique Anonymous Ids                             | Array of all seen anonymous\_ids per user. An anonymous\_id is a unique ID per anonymous visitor. (See Segment's documentation on anonymous\_id)\[ `https://segment.com/docs/connections/spec/identify/#anonymous-id` ].                                                                                                             |
| User Unique Completed Order Count                     | Count of unique order ids associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                             |
| Activity Session End Ts (Universal)                   | Last activity timestamp for a session - Universal Time Zone.                                                                                                                                                                                                                                                                         |
| Activity Session Last Session End Ts (Universal)      | The timestamp of the previous session's end per blended user id, if this is not the user's first session - Universal Time Zone.                                                                                                                                                                                                      |
| Activity Session Last Session Start Ts (Universal)    | The timestamp of the previous session's start per blended user id, if this is not the user's first session - Universal Time Zone.                                                                                                                                                                                                    |
| Activity Session Start Ts (Central)                   | First activity timestamp for a session - Cental Time Zone.                                                                                                                                                                                                                                                                           |
| Activity Session Start Ts (Eastern)                   | First activity timestamp for a session - Eastern Time Zone.                                                                                                                                                                                                                                                                          |
| Activity Session Start Ts (Mountain)                  | First activity timestamp for a session - Mountain Time Zone.                                                                                                                                                                                                                                                                         |
| Activity Session Start Ts (Pacific)                   | First activity timestamp for a session - Pacific Time Zone.                                                                                                                                                                                                                                                                          |
| Activity Session Start Ts (Universal)                 | First activity timestamp for a session - Universal Time Zone.                                                                                                                                                                                                                                                                        |
| Activity Ts (Central)                                 | The timestamp calculated by Segment correcting clock skew - Cental Time Zone.                                                                                                                                                                                                                                                        |
| Activity Ts (Eastern)                                 | The timestamp calculated by Segment correcting clock skew - Eastern Time Zone.                                                                                                                                                                                                                                                       |
| Activity Ts (Mountain)                                | The timestamp calculated by Segment correcting clock skew - Mountain Time Zone.                                                                                                                                                                                                                                                      |
| Activity Ts (Pacific)                                 | The timestamp calculated by Segment correcting clock skew - Pacific Time Zone.                                                                                                                                                                                                                                                       |
| Activity Ts (Universal)                               | The timestamp calculated by Segment correcting clock skew - Universal Time Zone.                                                                                                                                                                                                                                                     |
| Last Seen Page Ts (Universal)                         | The timestamp calculated by Segment correcting clock skew - Universal Time Zone.                                                                                                                                                                                                                                                     |
| Session Landing Page Ts (Universal)                   | The timestamp calculated by Segment correcting clock skew - Universal Time Zone.                                                                                                                                                                                                                                                     |
| User Created At (Universal)                           | The timestamp when the user was created - Universal Time Zone.                                                                                                                                                                                                                                                                       |
| User First Seen At (Universal)                        | The first time the user was seen on the site, identified as either anonymous ID or user ID - Universal Time Zone.                                                                                                                                                                                                                    |

### x\_fct\_current\_sales\_\_daily

| Name                          | Description                                                                                                                                                                                                                     |
| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Date Day Num Of Year          | The number representing the day of the year.                                                                                                                                                                                    |
| Date Id                       | Unique key that uniquify a date.                                                                                                                                                                                                |
| Date Month Num Of Year        | The month number of the year.                                                                                                                                                                                                   |
| Ts (Universal)                | The truncated UTC date the order was created - Universal Time Zone.                                                                                                                                                             |
| Average Completed Order Count | The total count of orders created on the UTC date that have been completed. An order is considered complete if it has a status of 'Fulfilled' or 'Returned' or it has a status 'Canceled' and has a payment associated with it. |
| Average Created Order Count   | The total count of orders created on the UTC date.                                                                                                                                                                              |
| Average Gross Sales           | The gross sales for completed orders. An order is considered complete if it has a status of 'Fulfilled' or 'Returned' or it has a status 'Canceled' and has a payment associated with it.                                       |
| Average Net Revenue           | The net sales for completed orders. An order is considered complete if it has a status of 'Fulfilled' or 'Returned' or it has a status 'Canceled' and has a payment associated with it.                                         |
| Average Placed Gross Revenue  | Gross Revenue is the pre-tax, pre-adjusted total line item price (unit price \* quantity) + the fulfillment total.                                                                                                              |
| Average Placed Net Revenue    | Net Revenue is the adjusted line item price (unit price \* quantity - line adjustments) + the adjusted fulfillment (fulfillment total - line adjustments) - order level adjustments - refunds.                                  |
| Completed Order Count         | The total count of orders created on the UTC date that have been completed. An order is considered complete if it has a status of 'Fulfilled' or 'Returned' or it has a status 'Canceled' and has a payment associated with it. |
| Created Order Count           | The total count of orders created on the UTC date.                                                                                                                                                                              |
| Gross Sales                   | The gross sales for completed orders. An order is considered complete if it has a status of 'Fulfilled' or 'Returned' or it has a status 'Canceled' and has a payment associated with it.                                       |
| Net Revenue                   | The net sales for completed orders. An order is considered complete if it has a status of 'Fulfilled' or 'Returned' or it has a status 'Canceled' and has a payment associated with it.                                         |
| Placed Gross Revenue          | Gross Revenue is the pre-tax, pre-adjusted total line item price (unit price \* quantity) + the fulfillment total.                                                                                                              |
| Placed Net Revenue            | Net Revenue is the adjusted line item price (unit price \* quantity - line adjustments) + the adjusted fulfillment (fulfillment total - line adjustments) - order level adjustments - refunds.                                  |


[title] Pinning and Unpinning Reports
[path] Chord Data Platform/Analytics Features/

# Introduction

:::hint{type="info"}
**A note on terminology:**

A **report** on the Chord platform can refer to either a **dashboard** or a **Look** (which also known as an **explore**). A **dashboard** is made up of a collection of **Looks** (**explores**).
:::

Shared folders and report pinning enables streamlined access to reports and efficient collaboration, especially when managing complex data needs across teams. The **Pinned Reports** page allows users to store and view key reports, making it easy for all stakeholders to access vital company reports in one central location. With report pinning, users can easily denote high-priority reports so that the most mission-critical reports.

Together, these features support Chord’s mission of empowering e-commerce brands to make informed, data-driven decisions faster and with greater confidence.

# Getting started

You can pin personal reports that have been added to your company’s shared folder or any of the quickstarts offered on our data platform.

To create a new report, follow these instructions: [Creating Custom Reports](https://docs.chord.co/creating-custom-reports).

## Pin a report

To pin a report, you can find the relevant report you’d like to use under **Shared Reports** or **Quickstarts**.&#x20;

Click the **Pin&#x20;**&#x62;utton to place the desired dashboard or Look to your organization’s **Pinned Reports** page. The reports will be organized and displayed alphabetically on the **Pinned Reports&#x20;**&#x74;ab.&#x20;

***Note that you cannot pin reports directly from your personal folder*** (**My Reports**). To pin a report that is currently in your personal folder, you must first promote and share that report to your organization’s **Shared Reports**.

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-Ws20otnCtMmJj-fzsfwlo-20241119-161423.png "Location of Pin button on Shared Reports page")

## Unpin a report

To unpin a report, find the relevant report you’d like to remove on the **Pinned Reports** page. Click on the **Unpin&#x20;**&#x69;con to remove the report from the **Pinned Reports** page.

You can also choose to unpin a pinned report via **Shared Reports** and **Quickstarts** as well.

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-CMgYurMU6G9Qidqq0n4sV-20241119-161824.png)

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-D9h6G1vlceggL460iLbz6-20241119-161808.png)

# FAQs and troubleshooting

- **Question: Am I still able to publish reports in My Reports?**
  - No. With the introduction of pinning and unpinning reports, we are no longer supporting the publishing (and unpublishing flow). You can now share any dashboard or Look you want from your personal reports folder into your organization’s shared reports folder.&#x20;


[title] Analytics Features
[path] Chord Data Platform/

Chord provides our customers with many ways to explore, drill into, visualize, and interact with dashboards and datasets. These introductory articles will help you learn various ways to analyze the data within Chord's platform.



::::LinkArray{contentSource="CUSTOM"}
:::LinkArrayItem{headerType="COLOR" headerColor="#e70ecb"}
[Modifying a Report](docId\:o0DcETIai7zJpE0KA_k_Z)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#08eb0d"}
[Creating Custom Calculations](docId\:UYDUa-D3xb1HYqEji71AZ)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#e70ecb"}
[Analytics Glossary](docId\:Fpt4aisPEKBSwvU0y6b6V)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#112df0"}
[Login Looker FAQ](docId\:B9llaL1wZkZW0cNhOy0Bi)
:::

:::LinkArrayItem
[Looks vs Dashboards](docId\:fA4DAozF7HCePGaTo545d)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#e70ecb"}
[Chord Data Models](docId\:WrZedQ3_AsfqtB3yj4owA)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#280df1"}
[Creating Custom Fields](docId:-SPL6T9NwSJsMGiNFZRf3)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#06f14d"}
[Scheduling Reports](docId\:E_uN9QRhGPB0HfNm4-LTy)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#e70ecb"}
[Creating Custom Reports](docId\:tHtxyLZcR7OwMGHP3U8JS)
:::
::::


[title] Shopify
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/

### *Table names for customers utilizing Shopify*

- [Activities](https://docs.chord.co/rMpK-activities)
- [Ads](https://docs.chord.co/ads)
- [Conversions](https://docs.chord.co/X04m-conversions)
- [Line Items](https://docs.chord.co/V4Ck-line-items)
- [Marketing Attribution](https://docs.chord.co/marketing-attribution)
- [Messaging Events](docId\:AGakAnptsXULVe8pAi7Ch)
- [Messaging Lists](docId\:bD2STULWbtS8nLveVnzWp)
- [Messaging Segments](docId\:FifHtmo5bsN8OvFouip3R)
- [Omni-Channel Sales](docId\:vlB_A079thuNHLkvkXoYe)
- [Orders](https://docs.chord.co/orders)
- [Sales](https://docs.chord.co/VaMi-sales)
- [Sessions](https://docs.chord.co/sessions)
- [Users](https://docs.chord.co/PLPk-users)

### Accessing Chord Data Attribute Definitions:

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/BJD3bwQX1CdwlRvNAA_-v_image.png)

:::hint{type="success"}
if you have any questions or need help, please reach out to us at [help@chord.co](mailto\:help@chord.co)
:::


[title] Braze (Device Mode)
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/Untitled/

# Introduction

Braze is a customer engagement platform that helps brands deliver personalized, real-time messaging across channels like email, push notifications, SMS, and in-app messages. It connects user behavior data with messaging tools, enabling marketers to create targeted, automated campaigns that drive retention, conversion, and loyalty—all from a single platform.

# Getting started

This is a device mode destination. You will need the Braze API key to connect this destination. **Note that this key is distinct from your Braze 'Classic' API key.&#x20;**

You can find the correct API key under **Settings > App Settings > Web > API key**.

# Connecting to the Braze (Device Mode) CDP destination

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **Braze (Device Mode)&#x20;**&#x66;rom the destination catalog.
5. Enter in the destination name and the **Braze API key**.&#x20;
6. Click **"Create"&#x20;**&#x74;o connect.

# Chord events relevant for destination

Not all Chord Tracking events are used downstream in your configured destinations. The most relevant and important events in the Chord tracking plan are mapped within the CDP destination, relayed and then ingested in the destination. The Chord tracking plan events used by the [Braze (Device Mode)](https://docs.customer.io/integrations/data-out/connections/braze/#track-event) destiantion are:&#x20;

| **Chord Tracking Event**   | *Destination Event*                      |
| -------------------------- | ---------------------------------------- |
| **Order Completed**        | *logPurchase*                            |
| **All Other Track Events** | *logCustomEvent*                         |
| **Identify**               | *getUser&#x20;*(updates user attributes) |



:::hint{type="danger"}
Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are *disabled.*
**
Running external destinations alongside configured Chord CDP destinations ***can result in duplicate events downstream.&#x20;***
:::


[title] MNTN Conversions Pixel (Server-Side)
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

**MNTN Conversion Pixel** is MNTN's conversion tracking pixel for Connected TV (CTV) attribution and ROAS reporting. This destination fires a JavaScript pixel on conversion events (purchases, sign-ups, leads), enabling MNTN to attribute conversions to CTV ad exposure and optimize campaigns. There is no server-side component.

For site-wide audience building and page-level attribution, use this destination alongside the [MNTN Tracking Pixel]().

# Getting Started

This is a device-mode destination. The pixel fires by dynamically inserting a `<script>` tag — no manual script installation is required. You will need:

- **Advertiser ID** — your MNTN advertiser ID. This is the value of the `o` parameter in MNTN's pixel snippet, found in your MNTN account.
- **Conversion goals** pre-configured in your MNTN dashboard.

Optionally:

- **Conversion Type Override** — a fixed conversion type string to send for all events, overriding the auto-mapped value.
- **Enable Order Completed Calls** — whether to fire the pixel on Order Completed events. Defaults to `true`.
- **Enable Track Calls** — whether to fire the pixel on all non-Order Completed track events. Defaults to `false`. When enabled, any track event will fire the pixel, not just the mapped events listed below. Unmapped events use the raw event name as the conversion type.

# Connecting to the MNTN Conversion Pixel CDP Destination

:::BlockQuote
**Warning:** Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are **disabled**. Running external destinations alongside configured Chord CDP destinations **can result in duplicate events downstream.**
:::

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **MNTN Conversion Pixel** from the destination catalog.
5. Enter the destination name and your **Advertiser ID**.
6. Optionally configure:
   - **Conversion Type Override** — overrides the auto-mapped conversion type for all events.
   - **Enable Order Completed Calls** — enabled by default.
   - **Enable Track Calls** — disabled by default; enable to fire on all non-Order Completed track events (including Sign Up, Lead, and any other track events).
7. Click **"Create"** to connect.

# Events

Only `track` events are supported. All other event types (page, screen, identify) are silently skipped.

# Event Mapping

Chord event names are auto-mapped to MNTN conversion types. If a **Conversion Type Override** is configured, it takes priority over the auto-mapped value. If no mapping exists and no override is set, the raw event name is sent.

| Chord Event       | MNTN Conversion Type | Requires                                  |
| ----------------- | -------------------- | ----------------------------------------- |
| `Order Completed` | `Purchase`           | `enableOrderCompletedCalls` (default: on) |
| `Signed Up`       | `SignUp`             | `enableTrackCalls` (default: off)         |
| `Sign Up`         | `SignUp`             | `enableTrackCalls` (default: off)         |
| `Lead Generated`  | `Lead`               | `enableTrackCalls` (default: off)         |
| `Generate Lead`   | `Lead`               | `enableTrackCalls` (default: off)         |

# Order Completed

Fires a conversion pixel with order ID, order amount, and conversion type.

**Pixel request:** `GET https://dx.mountain.com/spx?conv=1&shaid=...&shoid=...&shoamt=...&type=...`

| Parameter | Chord Source (Priority Order)                                  | Notes                                                                                            |
| --------- | -------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ |
| `shaid`   | Configuration                                                  | Advertiser ID                                                                                    |
| `shoid`   | `properties.order_id`                                          | Order identifier; empty string if not present                                                    |
| `shoamt`  | `properties.revenue` > `properties.total` > `properties.value` | Revenue preferred for accurate ROAS; empty string if not present                                 |
| `type`    | Config override > auto-mapped > raw event name                 | `Purchase` for Order Completed                                                                   |
| `tdr`     | `top.document.referrer` > `document.referrer`                  | URL-encoded, max 2048 chars; falls back when `top` is not accessible (e.g. cross-origin iframes) |
| `plh`     | `parent.location.href`                                         | URL-encoded, max 2048 chars; empty when not accessible                                           |
| `cb`      | Generated                                                      | Random cache buster                                                                              |
| `shocur`  | *(reserved)*                                                   | Empty                                                                                            |
| `shopid`  | *(reserved)*                                                   | Empty                                                                                            |
| `shoq`    | *(reserved)*                                                   | Empty                                                                                            |
| `shoup`   | *(reserved)*                                                   | Empty                                                                                            |
| `shpil`   | *(reserved)*                                                   | Empty                                                                                            |

# Signed Up / Sign Up

Same pixel request as Order Completed above, with `type` set to `SignUp`. Order ID and amount fields will be empty unless the event payload includes order data.

# Lead Generated / Generate Lead

Same pixel request as Order Completed above, with `type` set to `Lead`. Order ID and amount fields will be empty unless the event payload includes order data.

# Initialization

The plugin does not load an external SDK. Each event fires by creating a `<script>` tag with the pixel URL as its `src` attribute, inserted before the last script tag in the document.

# CSP Requirements

If your site uses a Content Security Policy, allow the following domains:

| Directive     | Domain                    |
| ------------- | ------------------------- |
| `script-src`  | `https://dx.mountain.com` |
| `connect-src` | `https://dx.mountain.com` |

***

**Updated 8 Apr 2026**

[title] Google Analytics 4 (Measurement Protocol)
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

# Introduction

The Google Analytics 4 (GA4) Measurement Protocol is a set of rules that lets you send event data directly to GA4 from a server or backend system, rather than from a browser or app. It’s useful for tracking events that happen outside of a user’s device—like purchases from a third-party payment system or offline interactions. It complements client-side tracking and helps bridge gaps in your analytics data.

# Getting started

You will need the relevant API Secret and Measurement ID of your Google Analytics property to connect this destination.&#x20;

## Obtain the API secret

An API SECRET generated in the Google Analytics UI. To create a new secret, navigate to: **Admin > Data Streams > choose your stream > Measurement Protocol API Secrets > Create**

## Obtain the Measurement ID

The GA4 Measurement ID associated with a stream.

- **For Web:&#x20;**&#x4C;ocate this in the Google Analytics UI under **Admin > Data Streams > choose your stream > Measurement ID**
- **For Apps**: Locate the the Firebase App ID, found in the Firebase console under **Project Settings > General > Your Apps > App ID**

# Connecting to the Google Analytics 4 (Measurement Protocol) CDP destination

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"&#x20;**&#x62;utton next to Destinations.
4. Select **Google Analytics 4 (Measurement Protocol)&#x20;**&#x66;rom the destination catalog.
5. Enter in the destination name, **API Secret**, and the **Measurement ID**.&#x20;
6. Click **"Create"&#x20;**&#x74;o connect.

# Chord events relevant for destination

Not all Chord Tracking events are used downstream in your configured destinations. The most relevant and important events in the Chord tracking plan are mapped within the CDP destination, relayed and then ingested in the destination. The Chord tracking plan events used by the [Google Analytics 4 (Measurement Protocol)](https://developers.google.com/analytics/devguides/collection/protocol/ga4/reference/events) destination are:

| **Chord Tracking Event**      | *Destination Event*         |
| ----------------------------- | --------------------------- |
| **Cart Viewed**               | *view\_cart*                |
| **Checkout Started**          | *begin\_checkout*           |
| **Custom Events**             | *snake\_case name (direct)* |
| **Generate Lead**             | *generate\_lead*            |
| **Order Completed**           | *purchase*                  |
| **Order Refunded**            | *refund*                    |
| **Page**                      | *page\_view*                |
| **Payment Info Entered**      | *add\_payment\_info*        |
| **Product Added**             | *add\_to\_cart*             |
| **Product Added to Wishlist** | *add\_to\_wishlist*         |
| **Product Clicked**           | *select\_item*              |
| **Product List Viewed**       | *view\_item\_list*          |
| **Product Removed**           | *remove\_from\_Cart*        |
| **Product Viewed**            | *view\_item*                |
| **Products Searched**         | *search*                    |
| **Promotion Clicked**         | *select\_promotion*         |
| **Promotion Viewed**          | *view\_promotion*           |
| **Signed In**                 | *login*                     |
| **Signed Up**                 | *sign\_up*                  |



:::hint{type="danger"}
Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are *disabled.*
**
Running external destinations alongside configured Chord CDP destinations ***can result in duplicate events downstream.&#x20;***
:::


[title] Marketing Attribution
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Salesforce/

### **x\_fct\_trans\_sessions**

| Name                                         | Description                                                                                                                                                                                                                                                                                                                          |
| -------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Anonymous Completed Oms Order Ids            | Array of OMS Order IDs associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                           |
| Anonymous Completed Order Ids                | Array of order IDs associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                               |
| Anonymous Completed Order Numbers            | Array of order numbers associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                           |
| Anonymous Current Blended User Id            | Unique id derived from the user\_id and the anonymous\_id. Whenever a customer has a user\_id, the user\_anonymous\_id will be constant for                                                                                                                                                                                          |
| Anonymous Current User Id                    | The current user\_id associated with the anonymous\_id. This unique user\_id is created by Segment's Identify call. A user\_id can be associated to many anonymous\_ids.                                                                                                                                                             |
| Anonymous Id                                 | Unique id created by Chord for each anonymous visitor per store.                                                                                                                                                                                                                                                                     |
| Anonymous Segment Anonymous Id               | Id created by Segment for each anonymous visitor. This id gets created as soon as a customer's browser loads the analytics javascript widget. The anonymous\_id remains unchanged through the entire browsing session from a single device. Depending on configuration, two stores connected stores may have the same anonymous\_id. |
| Anonymous Unique User Ids                    | Array of user IDs mapped to an anonymous ID.                                                                                                                                                                                                                                                                                         |
| Attribution Point First Touch                | The first session associated with the user prior to conversion receives 100% of the attribution, all other sessions recieve 0 points. Reflected with a value of 0 or 1.                                                                                                                                                              |
| Attribution Point Forty Twenty Forty         | The first and last sessions associated with the user prior to conversion receive 40% of the attribution points each, the remaining middle-touch sessions receive an equal portion of the 20%; 0.4, 0.4, and 0.2/number of remaining sessions.                                                                                        |
| Attribution Point Id                         | Sessions for a user that occor prior to conversion, or first completed order.                                                                                                                                                                                                                                                        |
| Attribution Point Last Touch                 | The last session associated with the user prior to conversion receives 100% of the attribution, all other sessions recieve 0 points. Reflected with a value of 0 or 1.                                                                                                                                                               |
| Attribution Point Linear                     | All sessions for the user prior to conversion recieve an equal percentage of the attribution points; calculated as 1.0 / number of sessions                                                                                                                                                                                          |
| End Date Day Num Of Year                     | The number representing the day of the year.                                                                                                                                                                                                                                                                                         |
| End Date Id                                  | Unique key that uniquify a date.                                                                                                                                                                                                                                                                                                     |
| End Date Month Num Of Year                   | The month number of the year.                                                                                                                                                                                                                                                                                                        |
| Landing Page Browser Locale                  | Locale of browser.                                                                                                                                                                                                                                                                                                                   |
| Landing Page Device                          | The device on which the event was sent from.                                                                                                                                                                                                                                                                                         |
| Landing Page Device Category                 | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                            |
| Landing Page Event Table Name                | The properly formatted name of the table of the event.                                                                                                                                                                                                                                                                               |
| Landing Page Event Text                      | The name of the event.                                                                                                                                                                                                                                                                                                               |
| Landing Page Event Text Id                   | The slug of the event name, mapping to the page or track event table.                                                                                                                                                                                                                                                                |
| Landing Page Gclid                           | The Google Click ID. Google Click ID (GCLID) is a parameter passed in the URL with ad clicks, to identify the campaign and other attributes of the click associated with the ad for ad tracking and campaign attribution.                                                                                                            |
| Landing Page Id                              | Unique key generated by Segment for each tracking or page event.                                                                                                                                                                                                                                                                     |
| Landing Page Oms Id                          | Unique key generated by our models that uniquifies an OMS.                                                                                                                                                                                                                                                                           |
| Landing Page Host                            | The host of the event's URL. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                        |
| Landing Page Path                            | The page path part of the URL. A page path is the part of URL that comes after the hostname (domain) and before the query parameters, URL fragment, or port. (e.g. `/pages/contact-us/` for `https://chord.co/pages/contact-us/?ref=internal-banner`.)                                                                               |
| Landing Page Query                           | The query string portion of the URL of the page.                                                                                                                                                                                                                                                                                     |
| Landing Page Referrer                        | The referrer of the page. The referrer is the webpage that sends visitors to the site using a link. In                                                                                                                                                                                                                               |
| Landing Page Title                           | The title/name of the page.                                                                                                                                                                                                                                                                                                          |
| Landing Page Url                             | The URL of the page.                                                                                                                                                                                                                                                                                                                 |
| Landing Page Referrer Host                   | The host of the referrer. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                           |
| Landing Page Segment User Id                 | The unique ID of the user.                                                                                                                                                                                                                                                                                                           |
| Landing Page Store Id                        | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Landing Page Tenant Id                       | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                              |
| Landing Page User Agent                      | The User agent of the device making the request. A User agent request header is a characteristic string that lets servers and                                                                                                                                                                                                        |
| Landing Page User Id                         | Unique key generated by Chord to identify the user.                                                                                                                                                                                                                                                                                  |
| Landing Page Utm Campaign                    | The campaign name represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Landing Page Utm Content                     | The campaign content represented by the UTM tags.                                                                                                                                                                                                                                                                                    |
| Landing Page Utm Medium                      | The campaign medium represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Landing Page Utm Source                      | The campaign source represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Landing Page Utm Term                        | The campaign term represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Landing Page Website Locale                  | Locale of website. This will either be collected from the url or from the drop-down link on the store                                                                                                                                                                                                                                |
| Last Page Browser Locale                     | Locale of browser.                                                                                                                                                                                                                                                                                                                   |
| Last Page Device                             | The device on which the event was sent from.                                                                                                                                                                                                                                                                                         |
| Last Page Device Category                    | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                            |
| Last Page Event Table Name                   | The properly formatted name of the table of the event.                                                                                                                                                                                                                                                                               |
| Last Page Event Text                         | The name of the event.                                                                                                                                                                                                                                                                                                               |
| Last Page Event Text Id                      | The slug of the event name, mapping to the page or track event table.                                                                                                                                                                                                                                                                |
| Last Page Gclid                              | The Google Click ID. Google Click ID (GCLID) is a parameter passed in the URL with ad clicks, to identify the campaign and other attributes of the click associated with the ad for ad tracking and campaign attribution.                                                                                                            |
| Last Page Id                                 | Unique key generated by Segment for each tracking or page event.                                                                                                                                                                                                                                                                     |
| Last Page Oms Id                             | Unique key generated by our models that uniquifies an OMS.                                                                                                                                                                                                                                                                           |
| Last Page Host                               | The host of the event's URL. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                        |
| Last Page Path                               | The page path part of the URL. A page path is the part of URL that comes after the hostname (domain) and before the query parameters, URL fragment, or port. (e.g. `/pages/contact-us/` for `https://chord.co/pages/contact-us/?ref=internal-banner`.)                                                                               |
| Last Page Query                              | The query string portion of the URL of the page.                                                                                                                                                                                                                                                                                     |
| Last Page Referrer                           | The referrer of the page. The referrer is the webpage that sends visitors to the site using a link. In                                                                                                                                                                                                                               |
| Last Page Title                              | The title/name of the page.                                                                                                                                                                                                                                                                                                          |
| Last Page Url                                | The URL of the page.                                                                                                                                                                                                                                                                                                                 |
| Last Page Referrer Host                      | The host of the referrer. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                           |
| Last Page Segment User Id                    | The unique ID of the user.                                                                                                                                                                                                                                                                                                           |
| Last Page Store Id                           | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Last Page Tenant Id                          | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                              |
| Last Page User Agent                         | The User agent of the device making the request. A User agent request header is a characteristic string that lets servers and                                                                                                                                                                                                        |
| Last Page User Id                            | Unique key generated by Chord to identify the user.                                                                                                                                                                                                                                                                                  |
| Last Page Utm Campaign                       | The campaign name represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Last Page Utm Content                        | The campaign content represented by the UTM tags.                                                                                                                                                                                                                                                                                    |
| Last Page Utm Medium                         | The campaign medium represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Last Page Utm Source                         | The campaign source represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Last Page Utm Term                           | The campaign term represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Last Page Website Locale                     | Locale of website. This will either be collected from the url or from the drop-down link on the store                                                                                                                                                                                                                                |
| Session Activity Count                       | Total count of activities, pave views and tracked events within the session.                                                                                                                                                                                                                                                         |
| Session Attribution Channel                  | The attribution channel for the first page event of the session. Sessions with an attribution of 'Unknown' indicates that there is no attributable data for that session.                                                                                                                                                            |
| Session Attribution Channel Paid Or Organic  | Indicates if the session's first page attribution is paid or organic. Attribution is considered Organic if the attribution channel is 'Direct', 'Other', 'Organic Search', 'Organic Social', 'Email', or 'SMS'.                                                                                                                      |
| Session Attribution First Page Url Has Gclid | Indicates if the first page event of the session has a Google Click ID.                                                                                                                                                                                                                                                              |
| Session Attribution First Page Url Has Utm   | Indicates if the first page event of the session has any utm information.                                                                                                                                                                                                                                                            |
| Session Attribution Has Referrer             | Indicates if the first page event of the session has a referrer host.                                                                                                                                                                                                                                                                |
| Session Attribution Medium                   | The campaign medium represented by the UTM tags for the first page event of the session.                                                                                                                                                                                                                                             |
| Session Attribution Source                   | The campaign source represented by the UTM tags for the first page event of the session.                                                                                                                                                                                                                                             |
| Session Attribution Sub Channel              | Sub-Channel is a granular level of attribution.                                                                                                                                                                                                                                                                                      |
| Session Completed Oms Order Ids              | Array of OMS Order IDs associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                        |
| Session Completed Order Ids                  | Array of order IDs associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                            |
| Session Completed Order Numbers              | Array of order numbers associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                        |
| Session Days Since Last Session End          | The days between the last session's end and the start of this session.                                                                                                                                                                                                                                                               |
| Session Device                               | The device on which the event was sent from.                                                                                                                                                                                                                                                                                         |
| Session Device Category                      | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                            |
| Session Duration In Seconds                  | Total seconds between start and end activities within the session.                                                                                                                                                                                                                                                                   |
| Session Duration In Seconds Tiers            | Total seconds between start and end activities within the session, aggregated into tiers: 0-9s, 10-29s, 30-59s, and 60s or more.                                                                                                                                                                                                     |
| Session Has Order Completion                 | Flag for sessions with an order completed or checkout completed front-end events                                                                                                                                                                                                                                                     |
| Session Id                                   | Unique ID for the session.                                                                                                                                                                                                                                                                                                           |
| Session Number                               | Session number per anonymous id.                                                                                                                                                                                                                                                                                                     |
| Session Unique Completed Order Count         | Count of unique order ids associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                     |
| Session Unique Completed Order Number Count  | Count of unique order numbers associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                 |
| Start Date Day Num Of Year                   | The number representing the day of the year.                                                                                                                                                                                                                                                                                         |
| Start Date Id                                | Unique key that uniquify a date.                                                                                                                                                                                                                                                                                                     |
| Start Date Month Num Of Year                 | The month number of the year.                                                                                                                                                                                                                                                                                                        |
| Store Id                                     | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Store Name                                   | The name of the store.                                                                                                                                                                                                                                                                                                               |
| Store Oms Admin Url                          | The Admin URL of that OMS.                                                                                                                                                                                                                                                                                                           |
| Store Oms Id                                 | Unique key generated by Chord that uniquifies an OMS.                                                                                                                                                                                                                                                                                |
| Store Oms Store Id                           | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Store Oms Type                               | The type of the OMS.                                                                                                                                                                                                                                                                                                                 |
| Store Id                                     | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Store Tenant Id                              | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                              |
| Store Url                                    | The Storefront URL of of the store.                                                                                                                                                                                                                                                                                                  |
| User Address 1                               | The first line of the street address.                                                                                                                                                                                                                                                                                                |
| User Address 2                               | The optional second line of the address.                                                                                                                                                                                                                                                                                             |
| User Address City                            | The city of the address.                                                                                                                                                                                                                                                                                                             |
| User Address Country                         | The country of the address.                                                                                                                                                                                                                                                                                                          |
| User Address Name                            | The full name of the customer, based on firstName and lastName.                                                                                                                                                                                                                                                                      |
| User Address State                           | The region of the address, such as the province, state, or district.                                                                                                                                                                                                                                                                 |
| User Address Zip                             | The postal code of the address.                                                                                                                                                                                                                                                                                                      |
| User Completed Oms Order Ids                 | Array of OMS Order IDs associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                |
| User Completed Order Ids                     | Array of order IDs associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                    |
| User Completed Order Numbers                 | Array of order numbers associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                |
| User Email                                   | The email associated with the user.                                                                                                                                                                                                                                                                                                  |
| User Id                                      | Unique ID per user. It is equal to either 1) a identified\_user\_id as identified by Segment in the Identify call, or 2) an anonynous\_id.                                                                                                                                                                                           |
| User Identified User Id                      | Unique ID per identified user. (See Segment's documentation on user\_id)\[ `https://segment.com/docs/connections/spec/identify/#user-id` ].                                                                                                                                                                                          |
| User Ip                                      | IP address associated with the user.                                                                                                                                                                                                                                                                                                 |
| User Last Anonymous Id                       | Last seen anonymous\_id per user. An anonymous\_id is a unique ID per anonymous visitor. (See Segment's documentation on anonymous\_id)\[ `https://segment.com/docs/connections/spec/identify/#anonymous-id` ].                                                                                                                      |
| User Last Segment Anonymous Id               | This column is not documented.                                                                                                                                                                                                                                                                                                       |
| User Segment User Id                         | The unique ID of the user.                                                                                                                                                                                                                                                                                                           |
| User Unique Anonymous Ids                    | Array of all seen anonymous\_ids per user. An anonymous\_id is a unique ID per anonymous visitor. (See Segment's documentation on anonymous\_id)\[ `https://segment.com/docs/connections/spec/identify/#anonymous-id` ].                                                                                                             |
| User Unique Completed Order Count            | Count of unique order ids associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                             |
| End Ts (Universal)                           | Last activity timestamp for a session - Universal Time Zone.                                                                                                                                                                                                                                                                         |
| Landing Page Ts (Universal)                  | The timestamp calculated by Segment correcting clock skew - Universal Time Zone.                                                                                                                                                                                                                                                     |
| Last Page Ts (Universal)                     | The timestamp calculated by Segment correcting clock skew - Universal Time Zone.                                                                                                                                                                                                                                                     |
| Session End Ts (Universal)                   | Last activity timestamp for a session - Universal Time Zone.                                                                                                                                                                                                                                                                         |
| Session Last Session End Ts (Universal)      | The timestamp of the previous session's end per blended user id, if this is not the user's first session - Universal Time Zone.                                                                                                                                                                                                      |
| Session Last Session Start Ts (Universal)    | The timestamp of the previous session's start per blended user id, if this is not the user's first session - Universal Time Zone.                                                                                                                                                                                                    |
| Session Start Ts (Central)                   | First activity timestamp for a session - Cental Time Zone.                                                                                                                                                                                                                                                                           |
| Session Start Ts (Eastern)                   | First activity timestamp for a session - Eastern Time Zone.                                                                                                                                                                                                                                                                          |
| Session Start Ts (Mountain)                  | First activity timestamp for a session - Mountain Time Zone.                                                                                                                                                                                                                                                                         |
| Session Start Ts (Pacific)                   | First activity timestamp for a session - Pacific Time Zone.                                                                                                                                                                                                                                                                          |
| Session Start Ts (Universal)                 | First activity timestamp for a session - Universal Time Zone.                                                                                                                                                                                                                                                                        |
| Start Ts (Central)                           | First activity timestamp for a session - Cental Time Zone.                                                                                                                                                                                                                                                                           |
| Start Ts (Eastern)                           | First activity timestamp for a session - Eastern Time Zone.                                                                                                                                                                                                                                                                          |
| Start Ts (Mountain)                          | First activity timestamp for a session - Mountain Time Zone.                                                                                                                                                                                                                                                                         |
| Start Ts (Pacific)                           | First activity timestamp for a session - Pacific Time Zone.                                                                                                                                                                                                                                                                          |
| Start Ts (Universal)                         | First activity timestamp for a session - Universal Time Zone.                                                                                                                                                                                                                                                                        |
| User Created At (Universal)                  | The timestamp when the user was created - Universal Time Zone.                                                                                                                                                                                                                                                                       |
| User First Seen At (Universal)               | The first time the user was seen on the site, identified as either anonymous ID or user ID - Universal Time Zone.                                                                                                                                                                                                                    |

### **extend\_x\_fct\_trans\_orders\_for\_attribution**

| Name                                                | Description                                                                                                                                                                                                                                                                                                                                 |
| --------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Days From Order to First Fulfillment                | Number of days between order creation and first fulfillment.                                                                                                                                                                                                                                                                                |
| Order Bill To Contact Id                            | ID of the Contact associated with the Order Summary. It represents the shopper in the storefront when not using person accounts.                                                                                                                                                                                                            |
| Order Billing City                                  | Billing address city.                                                                                                                                                                                                                                                                                                                       |
| Order Billing Country                               | Billing address country.                                                                                                                                                                                                                                                                                                                    |
| Order Billing Email Address                         | Email address on the billing address.                                                                                                                                                                                                                                                                                                       |
| Order Billing State                                 | Billing address state                                                                                                                                                                                                                                                                                                                       |
| Order Billing State Country                         | The billing state or country of the order. Default to billing country if state is unavailable.                                                                                                                                                                                                                                              |
| Order Currency Iso Code                             | Available only for stores with the multicurrency feature enabled. Contains the ISO code for the currency of the original Order associated with the Order Summary. The default value is USD. Possible values are: DKK—Danish Krone, EUR—Euro, GBP—British Pound, USD—U.S. Dollar                                                             |
| Order First Fulfillment Created At (Universal) Time | Timestamp when the first fulfillment for the order was created - Universal Time Zone.                                                                                                                                                                                                                                                       |
| Order First Order Created At (Universal) Date       | Timestamp when the first order was created at - Universal Time Zone.                                                                                                                                                                                                                                                                        |
| Order First Order Created At (Universal) Month      | Timestamp when the first order was created at - Universal Time Zone.                                                                                                                                                                                                                                                                        |
| Order First Order Created At (Universal) Quarter    | Timestamp when the first order was created at - Universal Time Zone.                                                                                                                                                                                                                                                                        |
| Order First Order Created At (Universal) Time       | Timestamp when the first order was created at - Universal Time Zone.                                                                                                                                                                                                                                                                        |
| Order First Order Created At (Universal) Week       | Timestamp when the first order was created at - Universal Time Zone.                                                                                                                                                                                                                                                                        |
| Order First Order Created At (Universal) Year       | Timestamp when the first order was created at - Universal Time Zone.                                                                                                                                                                                                                                                                        |
| Order Fulfillment Ids                               | IDs generated by Chord to identify the fulfillments associated with the order.                                                                                                                                                                                                                                                              |
| Order Fulfillment Numbers                           | The fulfillment numbers associated with the order.                                                                                                                                                                                                                                                                                          |
| Order Fulfillment Statuses                          | The fulfillment statuses associated with the order.                                                                                                                                                                                                                                                                                         |
| Order Has A Shipped Fulfillment (Yes / No)          | A flag marking if an order has a shipped fulfillment.                                                                                                                                                                                                                                                                                       |
| Order Hours To First Delivery                       | The number of hours between when the order was created and the first fulfillment was created.                                                                                                                                                                                                                                               |
| Order Hours To Last Delivery                        | The number of hours between when the order was created and the last, most recent, fulfillment was created.                                                                                                                                                                                                                                  |
| Order Is Canceled (Yes / No)                        | Whether an order is canceled.                                                                                                                                                                                                                                                                                                               |
| Order Is Completed (Yes / No)                       | Whether an order is completed. An order is considered complete if it has a status of 'Fulfilled' or 'Returned' or it has a status 'Canceled' and has a payment associated with it.                                                                                                                                                          |
| Order Is First Order (Yes / No)                     | Whether the order is first order associated with the account.                                                                                                                                                                                                                                                                               |
| Order Last Fulfillment Created At (Universal) Time  | Timestamp when the most recent, or last, fulfillment for the order was created - Universal Time Zone.                                                                                                                                                                                                                                       |
| Order Last Modified Date (Universal) Date           | The date the Order Summary was last modified - Universal Time Zone                                                                                                                                                                                                                                                                          |
| Order Number                                        | Name of the Order Summary.                                                                                                                                                                                                                                                                                                                  |
| Order Number Of Fulfillments                        | The total number of fulfillments associated with the order.                                                                                                                                                                                                                                                                                 |
| Order Number Of Reimbursements                      | The number of reimbursements associated with an order.                                                                                                                                                                                                                                                                                      |
| Order Oms Account Id                                | ID of the account or person account associated with the Order Summary. It represents the shopper in the storefront.                                                                                                                                                                                                                         |
| Order Oms Fulfillment Ids                           | ID generated by the OMS to identify the order.                                                                                                                                                                                                                                                                                              |
| Order Oms Order Id                                  | The id generated by the OMS for the Order Summary.                                                                                                                                                                                                                                                                                          |
| Order Oms Order Payment Summary Ids                 | IDs generated by the OMS to identify the payment summaries associated with the order.                                                                                                                                                                                                                                                       |
| Order Oms Return Order Ids                          | IDs generated by the OMS to identify the returns associated with the order.                                                                                                                                                                                                                                                                 |
| Order Ordered Date (Universal) Date                 | Date of the original order associated with this Order Summary - Universal Time Zone.                                                                                                                                                                                                                                                        |
| Order Payment Methods                               | The payment methods associated with the order.                                                                                                                                                                                                                                                                                              |
| Order Payment Summary Ids                           | IDs generated by Chord to identify the payment summaries associated with the order.                                                                                                                                                                                                                                                         |
| Order Payment Types                                 | The payment types associated with the order.                                                                                                                                                                                                                                                                                                |
| Order Po Number                                     | Purchase order number associated with this Order Summary.                                                                                                                                                                                                                                                                                   |
| Order Promotion Details Collection                  | The promotion details associated with the Order Summary.                                                                                                                                                                                                                                                                                    |
| Order Return Order Ids                              | IDs generated by Chord to identify the returns associated with the order.                                                                                                                                                                                                                                                                   |
| Order Return Order Numbers                          | The return order numbers associated with the order.                                                                                                                                                                                                                                                                                         |
| Order Sales Channel Id                              | ID of the Sales Channel associated with this Order Summary.                                                                                                                                                                                                                                                                                 |
| Order Status                                        | Status of the order summary. Unlike the Status and Status Category fields on the order and Fulfillment Order objects, this field is optional.                                                                                                                                                                                               |
| Order Tax Locale Type                               | The system used to handle tax on the original Order associated with the Order Summary. Gross usually applies to taxes like value-added tax (VAT), and Net usually applies to taxes like sales tax. Possible values are: Gross (displays most prices and taxes as combined values), Net (displays most prices and taxes as separate values). |
| Order Utm Campaign                                  | The UTM Campaign associated with the Order Summary.                                                                                                                                                                                                                                                                                         |
| Order Utm Medium                                    | The UTM Medium associated with the Order Summary.                                                                                                                                                                                                                                                                                           |
| Order Created At (Central) Date                     | The date the Order Summary was created - Cental Time Zone.                                                                                                                                                                                                                                                                                  |
| Order Created At (Central) Month                    | The date the Order Summary was created - Cental Time Zone.                                                                                                                                                                                                                                                                                  |
| Order Created At (Central) Quarter                  | The date the Order Summary was created - Cental Time Zone.                                                                                                                                                                                                                                                                                  |
| Order Created At (Central) Time                     | The date the Order Summary was created - Cental Time Zone.                                                                                                                                                                                                                                                                                  |
| Order Created At (Central) Week                     | The date the Order Summary was created - Cental Time Zone.                                                                                                                                                                                                                                                                                  |
| Order Created At (Central) Year                     | The date the Order Summary was created - Cental Time Zone.                                                                                                                                                                                                                                                                                  |
| Order Created At (Eastern) Date                     | The date the Order Summary was created - Eastern Time Zone.                                                                                                                                                                                                                                                                                 |
| Order Created At (Eastern) Month                    | The date the Order Summary was created - Eastern Time Zone.                                                                                                                                                                                                                                                                                 |
| Order Created At (Eastern) Quarter                  | The date the Order Summary was created - Eastern Time Zone.                                                                                                                                                                                                                                                                                 |
| Order Created At (Eastern) Time                     | The date the Order Summary was created - Eastern Time Zone.                                                                                                                                                                                                                                                                                 |
| Order Created At (Eastern) Week                     | The date the Order Summary was created - Eastern Time Zone.                                                                                                                                                                                                                                                                                 |
| Order Created At (Eastern) Year                     | The date the Order Summary was created - Eastern Time Zone.                                                                                                                                                                                                                                                                                 |
| Order Created At (Mountain) Date                    | The date the Order Summary was created - Mountain Time Zone.                                                                                                                                                                                                                                                                                |
| Order Created At (Mountain) Month                   | The date the Order Summary was created - Mountain Time Zone.                                                                                                                                                                                                                                                                                |
| Order Created At (Mountain) Quarter                 | The date the Order Summary was created - Mountain Time Zone.                                                                                                                                                                                                                                                                                |
| Order Created At (Mountain) Time                    | The date the Order Summary was created - Mountain Time Zone.                                                                                                                                                                                                                                                                                |
| Order Created At (Mountain) Week                    | The date the Order Summary was created - Mountain Time Zone.                                                                                                                                                                                                                                                                                |
| Order Created At (Mountain) Year                    | The date the Order Summary was created - Mountain Time Zone.                                                                                                                                                                                                                                                                                |
| Order Created At (Pacific) Date                     | The date the Order Summary was created - Pacific Time Zone.                                                                                                                                                                                                                                                                                 |
| Order Created At (Pacific) Month                    | The date the Order Summary was created - Pacific Time Zone.                                                                                                                                                                                                                                                                                 |
| Order Created At (Pacific) Quarter                  | The date the Order Summary was created - Pacific Time Zone.                                                                                                                                                                                                                                                                                 |
| Order Created At (Pacific) Time                     | The date the Order Summary was created - Pacific Time Zone.                                                                                                                                                                                                                                                                                 |
| Order Created At (Pacific) Week                     | The date the Order Summary was created - Pacific Time Zone.                                                                                                                                                                                                                                                                                 |
| Order Created At (Pacific) Year                     | The date the Order Summary was created - Pacific Time Zone.                                                                                                                                                                                                                                                                                 |
| Order Created At (Universal) Date                   | The date the Order Summary was created - Universal Time Zone.                                                                                                                                                                                                                                                                               |
| Order Created At (Universal) Month                  | The date the Order Summary was created - Universal Time Zone.                                                                                                                                                                                                                                                                               |
| Order Created At (Universal) Quarter                | The date the Order Summary was created - Universal Time Zone.                                                                                                                                                                                                                                                                               |
| Order Created At (Universal) Time                   | The date the Order Summary was created - Universal Time Zone.                                                                                                                                                                                                                                                                               |
| Order Created At (Universal) Week                   | The date the Order Summary was created - Universal Time Zone.                                                                                                                                                                                                                                                                               |
| Order Created At (Universal)                        | The date the Order Summary was created - Universal Time Zone.                                                                                                                                                                                                                                                                               |

### **user\_completed\_oms\_order\_ids**

| Name                         | Description |
| ---------------------------- | ----------- |
| User Completed Oms Order Ids |             |


[title] Revenue Forecasts
[path] Chord Data Platform/Predictive Models/

### Introduction

Time series forecasts generate day-level forecasts for input series. Forecasts are generated  a daily level in an ensemble time series forecasting system that blends weights via out-of-sample accuracy. Series are forecasted for the next 24 months. While series are generated on a daily level, they can be aggregated to the weekly or monthly level by aggregating over various time periods using the date dimension. Confidence intervals are based on variability of input series and do not include large system variability, such as macroeconomic changes.

Note: Forecasts provided by Chord are best guess predictions based on the input data, are provided “as is” for analytics purposes, and do not constitute any guarantee explicit or implied of actualization of forecasts.

Current forecasted series:

- **Net Revenue**: total daily revenue for all customers.
- **Reoccurring Revenue**: revenue generated by non-first purchase or "repeat" customers.
- **First-Time Purchase Revenue**: revenue from first-time purchase customers.
- **Number of First-Time Customers**: total number of new customers.

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/iOcYIOvMT3IOLIsB23CNK_screenshot-2024-04-16-at-125607-pm.png)

### Ensemble Model and Out of Sample Accuracies

Time series models are generated using a range of time series modeling procedures, including ARIMA, Regression, and Theta models, and control for a range of seasonality indices and special events, such as holidays and common retailing events (Black Friday). These models are evaluated using out-of-sample (or “holdout”) periods that folded across short- and long- range holdouts into “best guess” forecasts. The variation for our confidence intervals is generated from the variation in the ranges of input ensemble models.

Our models do not include exogenous variation outside of the series itself. This means that we are forecasting that series in isolation of outside influences. These exogenous influences include the macroeconomy and any other factors that could impact the series, including changes in a store’s product assortment or pricing. Similar to nearly all-time series forecasting models, these models should be interpreted as “all else equal” analyses; that is, everything outside the variation on this single series stays the same; these are the “best guess” estimates for the input series.

### Accuracy

Accuracy is calculated via out-of-sample forecasts. 30, 60, and 90 day forecast are generated by holding the hold-out time periods from the data and forecasting from the new end date. The forecast of these models is compared with the actuals that happened during the hold-out period, along with the average mean absolute percentage error (MAPE).

### Horizon

Forecasts are generated daily for the next two years.&#x20;

### Eligibility

Tenant stores are eligible if they have two years of history and over 1k transactions.


[title] Messaging Lists
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Shopify/

| **Name**                  | **Description**                                                                                                                                                                               |
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Average Total Subscribers | The total number of profiles (subscribers) in the Klaviyo list at the time the data was loaded. This column is used to track the growth or decline of the list over time.                     |
| Total Subscribers         | Shows the total number of subscribers. For completed periods, this is the value at the end of the period. For the current, in-progress period, this is the value as of the last complete day. |
| List Created At           | The timestamp indicating when the list was originally created in Klaviyo.                                                                                                                     |
| List Id                   | The unique identifier for a list within Klaviyo. This is the primary key for a list as provided by the Klaviyo API.                                                                           |
| List Name                 | The user-defined name of the Klaviyo list.                                                                                                                                                    |
| List Opt In Process       | Specifies the opt-in process for the list, such as single opt-in or double opt-in.                                                                                                            |
| Subscribers Date          | The specific date for the list's historical data.                                                                                                                                             |


[title] Predictive Models
[path] Chord Data Platform/

Chord's predictive models are generated with machine learning to provide predictive outputs for analysis, advanced segmentation, and personalization.

Predictive models are continuing to expand and currently include the following:

::::LinkArray{contentSource="CUSTOM"}
:::LinkArrayItem{headerType="COLOR" headerColor="#f00bf3"}
[Customer Lifetime Revenue](docId:7C0gpeaYBzjwGadO3t2ib)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#0af130"}
[Product Recommendations](https://docs.chord.co/product-recommendations)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#0a27f1"}
[Revenue Forecasts](docId\:L91UpCbIucX4huAP2ByfI)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#82EBFB"}
[Session Conversion Probability](https://docs.chord.co/session-conversion-probability)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#FFF85C"}
[Predictive Marketing Attribution](https://docs.chord.co/predictive-marketing-attribution)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#C3F45C"}
[Marketing Mix Modeling](https://docs.chord.co/marketing-mix-modeling-mmm)
:::
::::


[title] Sessions
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Shopify/

### **x\_fct\_trans\_sessions**

| Name                                         | Description                                                                                                                                                                                                                                                                                                                                                                                                    |
| -------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Anonymous Completed Oms Order Ids            | Array of OMS Order IDs associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                                                                                     |
| Anonymous Completed Order Ids                | Array of order IDs associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                                                                                         |
| Anonymous Completed Order Numbers            | Array of order numbers associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                                                                                     |
| Anonymous Current Blended User Id            | Unique id derived from the user\_id and the anonymous\_id. Whenever a customer has a user\_id, the user\_anonymous\_id will be constant for                                                                                                                                                                                                                                                                    |
| Anonymous Current User Id                    | The current user\_id associated with the anonymous\_id. This unique user\_id is created by Segment's Identify call. A user\_id can be associated to many anonymous\_ids.                                                                                                                                                                                                                                       |
| Anonymous Id                                 | Unique id created by Chord for each anonymous visitor per store.                                                                                                                                                                                                                                                                                                                                               |
| Anonymous Segment Anonymous Id               | Id created by Segment for each anonymous visitor. This id gets created as soon as a customer's browser loads the analytics javascript widget. The anonymous\_id remains unchanged through the entire browsing session from a single device. Depending on configuration, two stores connected stores may have the same anonymous\_id.                                                                           |
| Anonymous Unique User Ids                    | Array of user IDs mapped to an anonymous ID.                                                                                                                                                                                                                                                                                                                                                                   |
| Attribution Point First Touch                | The first session associated with the user prior to conversion receives 100% of the attribution, all other sessions recieve 0 points. Reflected with a value of 0 or 1.                                                                                                                                                                                                                                        |
| Attribution Point Forty Twenty Forty         | The first and last sessions associated with the user prior to conversion receive 40% of the attribution points each, the remaining middle-touch sessions receive an equal portion of the 20%; 0.4, 0.4, and 0.2/number of remaining sessions.                                                                                                                                                                  |
| Attribution Point Id                         | Sessions for a user that occor prior to conversion, or first completed order.                                                                                                                                                                                                                                                                                                                                  |
| Attribution Point Last Touch                 | The last session associated with the user prior to conversion receives 100% of the attribution, all other sessions recieve 0 points. Reflected with a value of 0 or 1.                                                                                                                                                                                                                                         |
| Attribution Point Linear                     | All sessions for the user prior to conversion recieve an equal percentage of the attribution points; calculated as 1.0 / number of sessions                                                                                                                                                                                                                                                                    |
| Customer Type                                | Classification of the user during the session based on their overall order history (regardless of order filtering criteria):<br />* **Prospective customer**: User with no prior orders and no order in the current session.
* **New customer**: User having their first order in or before the current session.
* **Repeat customer**: User having their 2nd or more orders in or before the current session. |
| End Date Day Num Of Year                     | The number representing the day of the year.                                                                                                                                                                                                                                                                                                                                                                   |
| End Date Id                                  | Unique key that uniquify a date.                                                                                                                                                                                                                                                                                                                                                                               |
| End Date Month Num Of Year                   | The month number of the year.                                                                                                                                                                                                                                                                                                                                                                                  |
| Landing Page Browser Locale                  | Locale of browser.                                                                                                                                                                                                                                                                                                                                                                                             |
| Landing Page Device                          | The device on which the event was sent from.                                                                                                                                                                                                                                                                                                                                                                   |
| Landing Page Device Category                 | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                                                                                                      |
| Landing Page Event Table Name                | The properly formatted name of the table of the event.                                                                                                                                                                                                                                                                                                                                                         |
| Landing Page Event Text                      | The name of the event.                                                                                                                                                                                                                                                                                                                                                                                         |
| Landing Page Event Text Id                   | The slug of the event name, mapping to the page or track event table.                                                                                                                                                                                                                                                                                                                                          |
| Landing Page Gclid                           | The Google Click ID. Google Click ID (GCLID) is a parameter passed in the URL with ad clicks, to identify the campaign and other attributes of the click associated with the ad for ad tracking and campaign attribution.                                                                                                                                                                                      |
| Landing Page Id                              | Unique key generated by Segment for each tracking or page event.                                                                                                                                                                                                                                                                                                                                               |
| Landing Page Oms Id                          | Unique key generated by our models that uniquifies an OMS.                                                                                                                                                                                                                                                                                                                                                     |
| Landing Page Host                            | The host of the event's URL. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                                                                                                  |
| Landing Page Path                            | The page path part of the URL. A page path is the part of URL that comes after the hostname (domain) and before the query parameters, URL fragment, or port. (e.g. `/pages/contact-us/` for `https://chord.co/pages/contact-us/?ref=internal-banner`.)                                                                                                                                                         |
| Landing Page Query                           | The query string portion of the URL of the page.                                                                                                                                                                                                                                                                                                                                                               |
| Landing Page Referrer                        | The referrer of the page. The referrer is the webpage that sends visitors to the site using a link. In                                                                                                                                                                                                                                                                                                         |
| Landing Page Title                           | The title/name of the page.                                                                                                                                                                                                                                                                                                                                                                                    |
| Landing Page Url                             | The URL of the page.                                                                                                                                                                                                                                                                                                                                                                                           |
| Landing Page Referrer Host                   | The host of the referrer. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                                                                                                     |
| Landing Page Segment User Id                 | The unique ID of the user.                                                                                                                                                                                                                                                                                                                                                                                     |
| Landing Page Store Id                        | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                                                                                                    |
| Landing Page Tenant Id                       | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                                                                                                        |
| Landing Page User Agent                      | The User agent of the device making the request. A User agent request header is a characteristic string that lets servers and                                                                                                                                                                                                                                                                                  |
| Landing Page User Id                         | Unique key generated by Chord to identify the user.                                                                                                                                                                                                                                                                                                                                                            |
| Landing Page Utm Campaign                    | The campaign name represented by the UTM tags.                                                                                                                                                                                                                                                                                                                                                                 |
| Landing Page Utm Content                     | The campaign content represented by the UTM tags.                                                                                                                                                                                                                                                                                                                                                              |
| Landing Page Utm Medium                      | The campaign medium represented by the UTM tags.                                                                                                                                                                                                                                                                                                                                                               |
| Landing Page Utm Source                      | The campaign source represented by the UTM tags.                                                                                                                                                                                                                                                                                                                                                               |
| Landing Page Utm Term                        | The campaign term represented by the UTM tags.                                                                                                                                                                                                                                                                                                                                                                 |
| Landing Page Website Locale                  | Locale of website. This will either be collected from the url or from the drop-down link on the store                                                                                                                                                                                                                                                                                                          |
| Last Page Browser Locale                     | Locale of browser.                                                                                                                                                                                                                                                                                                                                                                                             |
| Last Page Device                             | The device on which the event was sent from.                                                                                                                                                                                                                                                                                                                                                                   |
| Last Page Device Category                    | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                                                                                                      |
| Last Page Event Table Name                   | The properly formatted name of the table of the event.                                                                                                                                                                                                                                                                                                                                                         |
| Last Page Event Text                         | The name of the event.                                                                                                                                                                                                                                                                                                                                                                                         |
| Last Page Event Text Id                      | The slug of the event name, mapping to the page or track event table.                                                                                                                                                                                                                                                                                                                                          |
| Last Page Gclid                              | The Google Click ID. Google Click ID (GCLID) is a parameter passed in the URL with ad clicks, to identify the campaign and other attributes of the click associated with the ad for ad tracking and campaign attribution.                                                                                                                                                                                      |
| Last Page Id                                 | Unique key generated by Segment for each tracking or page event.                                                                                                                                                                                                                                                                                                                                               |
| Last Page Oms Id                             | Unique key generated by our models that uniquifies an OMS.                                                                                                                                                                                                                                                                                                                                                     |
| Last Page Host                               | The host of the event's URL. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                                                                                                  |
| Last Page Path                               | The page path part of the URL. A page path is the part of URL that comes after the hostname (domain) and before the query parameters, URL fragment, or port. (e.g. `/pages/contact-us/` for `https://chord.co/pages/contact-us/?ref=internal-banner`.)                                                                                                                                                         |
| Last Page Query                              | The query string portion of the URL of the page.                                                                                                                                                                                                                                                                                                                                                               |
| Last Page Referrer                           | The referrer of the page. The referrer is the webpage that sends visitors to the site using a link. In                                                                                                                                                                                                                                                                                                         |
| Last Page Title                              | The title/name of the page.                                                                                                                                                                                                                                                                                                                                                                                    |
| Last Page Url                                | The URL of the page.                                                                                                                                                                                                                                                                                                                                                                                           |
| Last Page Referrer Host                      | The host of the referrer. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                                                                                                     |
| Last Page Segment User Id                    | The unique ID of the user.                                                                                                                                                                                                                                                                                                                                                                                     |
| Last Page Store Id                           | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                                                                                                    |
| Last Page Tenant Id                          | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                                                                                                        |
| Last Page User Agent                         | The User agent of the device making the request. A User agent request header is a characteristic string that lets servers and                                                                                                                                                                                                                                                                                  |
| Last Page User Id                            | Unique key generated by Chord to identify the user.                                                                                                                                                                                                                                                                                                                                                            |
| Last Page Utm Campaign                       | The campaign name represented by the UTM tags.                                                                                                                                                                                                                                                                                                                                                                 |
| Last Page Utm Content                        | The campaign content represented by the UTM tags.                                                                                                                                                                                                                                                                                                                                                              |
| Last Page Utm Medium                         | The campaign medium represented by the UTM tags.                                                                                                                                                                                                                                                                                                                                                               |
| Last Page Utm Source                         | The campaign source represented by the UTM tags.                                                                                                                                                                                                                                                                                                                                                               |
| Last Page Utm Term                           | The campaign term represented by the UTM tags.                                                                                                                                                                                                                                                                                                                                                                 |
| Last Page Website Locale                     | Locale of website. This will either be collected from the url or from the drop-down link on the store                                                                                                                                                                                                                                                                                                          |
| Session Activity Count                       | Total count of activities, pave views and tracked events within the session.                                                                                                                                                                                                                                                                                                                                   |
| Session Attribution Channel                  | The attribution channel for the first page event of the session. Sessions with an attribution of 'Unknown' indicates that there is no attributable data for that session.                                                                                                                                                                                                                                      |
| Session Attribution Channel Paid Or Organic  | Indicates if the session's first page attribution is paid or organic. Attribution is considered Organic if the attribution channel is 'Direct', 'Other', 'Organic Search', 'Organic Social', 'Email', or 'SMS'.                                                                                                                                                                                                |
| Session Attribution First Page Url Has Gclid | Indicates if the first page event of the session has a Google Click ID.                                                                                                                                                                                                                                                                                                                                        |
| Session Attribution First Page Url Has Utm   | Indicates if the first page event of the session has any utm information.                                                                                                                                                                                                                                                                                                                                      |
| Session Attribution Has Referrer             | Indicates if the first page event of the session has a referrer host.                                                                                                                                                                                                                                                                                                                                          |
| Session Attribution Medium                   | The campaign medium represented by the UTM tags for the first page event of the session.                                                                                                                                                                                                                                                                                                                       |
| Session Attribution Source                   | The campaign source represented by the UTM tags for the first page event of the session.                                                                                                                                                                                                                                                                                                                       |
| Session Attribution Sub Channel              | Sub-Channel is a granular level of attribution.                                                                                                                                                                                                                                                                                                                                                                |
| Session Completed Oms Order Ids              | Array of OMS Order IDs associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                                                                                                  |
| Session Completed Order Ids                  | Array of order IDs associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                                                                                                      |
| Session Completed Order Numbers              | Array of order numbers associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                                                                                                  |
| Session Days Since Last Session End          | The days between the last session's end and the start of this session.                                                                                                                                                                                                                                                                                                                                         |
| Session Device                               | The device on which the event was sent from.                                                                                                                                                                                                                                                                                                                                                                   |
| Session Device Category                      | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                                                                                                      |
| Session Duration In Seconds                  | Total seconds between start and end activities within the session.                                                                                                                                                                                                                                                                                                                                             |
| Session Duration In Seconds Tiers            | Total seconds between start and end activities within the session, aggregated into tiers: 0-9s, 10-29s, 30-59s, and 60s or more.                                                                                                                                                                                                                                                                               |
| Session Has Order Completion                 | Flag for sessions with an order completed or checkout completed front-end events                                                                                                                                                                                                                                                                                                                               |
| Session Id                                   | Unique ID for the session.                                                                                                                                                                                                                                                                                                                                                                                     |
| Session Number                               | Session number per anonymous id.                                                                                                                                                                                                                                                                                                                                                                               |
| Session Unique Completed Order Count         | Count of unique order ids associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                                                                                               |
| Session Unique Completed Order Number Count  | Count of unique order numbers associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                                                                                           |
| Start Date Day Num Of Year                   | The number representing the day of the year.                                                                                                                                                                                                                                                                                                                                                                   |
| Start Date Id                                | Unique key that uniquify a date.                                                                                                                                                                                                                                                                                                                                                                               |
| Start Date Month Num Of Year                 | The month number of the year.                                                                                                                                                                                                                                                                                                                                                                                  |
| Store Id                                     | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                                                                                                    |
| Store Name                                   | The name of the store.                                                                                                                                                                                                                                                                                                                                                                                         |
| Store Oms Admin Url                          | The Admin URL of that OMS.                                                                                                                                                                                                                                                                                                                                                                                     |
| Store Oms Id                                 | Unique key generated by Chord that uniquifies an OMS.                                                                                                                                                                                                                                                                                                                                                          |
| Store Oms Store Id                           | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                                                                                                    |
| Store Oms Type                               | The type of the OMS.                                                                                                                                                                                                                                                                                                                                                                                           |
| Store Id                                     | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                                                                                                    |
| Store Tenant Id                              | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                                                                                                        |
| Store Url                                    | The Storefront URL of of the store.                                                                                                                                                                                                                                                                                                                                                                            |
| User Address 1                               | The first line of the street address.                                                                                                                                                                                                                                                                                                                                                                          |
| User Address 2                               | The optional second line of the address.                                                                                                                                                                                                                                                                                                                                                                       |
| User Address City                            | The city of the address.                                                                                                                                                                                                                                                                                                                                                                                       |
| User Address Country                         | The country of the address.                                                                                                                                                                                                                                                                                                                                                                                    |
| User Address Name                            | The full name of the customer, based on firstName and lastName.                                                                                                                                                                                                                                                                                                                                                |
| User Address State                           | The region of the address, such as the province, state, or district.                                                                                                                                                                                                                                                                                                                                           |
| User Address Zip                             | The postal code of the address.                                                                                                                                                                                                                                                                                                                                                                                |
| User Completed Oms Order Ids                 | Array of OMS Order IDs associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                                                                                          |
| User Completed Order Ids                     | Array of order IDs associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                                                                                              |
| User Completed Order Numbers                 | Array of order numbers associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                                                                                          |
| User Email                                   | The email associated with the user.                                                                                                                                                                                                                                                                                                                                                                            |
| User Id                                      | Unique ID per user. It is equal to either 1) a identified\_user\_id as identified by Segment in the Identify call, or 2) an anonynous\_id.                                                                                                                                                                                                                                                                     |
| User Identified User Id                      | Unique ID per identified user. (See Segment's documentation on user\_id)\[ `https://segment.com/docs/connections/spec/identify/#user-id` ].                                                                                                                                                                                                                                                                    |
| User Ip                                      | IP address associated with the user.                                                                                                                                                                                                                                                                                                                                                                           |
| User Last Anonymous Id                       | Last seen anonymous\_id per user. An anonymous\_id is a unique ID per anonymous visitor. (See Segment's documentation on anonymous\_id)\[ `https://segment.com/docs/connections/spec/identify/#anonymous-id` ].                                                                                                                                                                                                |
| User Last Segment Anonymous Id               | This column is not documented.                                                                                                                                                                                                                                                                                                                                                                                 |
| User Segment User Id                         | The unique ID of the user.                                                                                                                                                                                                                                                                                                                                                                                     |
| User Unique Anonymous Ids                    | Array of all seen anonymous\_ids per user. An anonymous\_id is a unique ID per anonymous visitor. (See Segment's documentation on anonymous\_id)\[ `https://segment.com/docs/connections/spec/identify/#anonymous-id` ].                                                                                                                                                                                       |
| User Unique Completed Order Count            | Count of unique order ids associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                                                                                       |
| Visitor Type                                 | Classification of the visitor during the session based on their overall session history:<br />* **New Visitor**: Firt session of an user.
* **Returning Visitor**: Second or more session of an user.                                                                                                                                                                                                          |
| End Ts (Universal)                           | Last activity timestamp for a session - Universal Time Zone.                                                                                                                                                                                                                                                                                                                                                   |
| Landing Page Ts (Universal)                  | The timestamp calculated by Segment correcting clock skew - Universal Time Zone.                                                                                                                                                                                                                                                                                                                               |
| Last Page Ts (Universal)                     | The timestamp calculated by Segment correcting clock skew - Universal Time Zone.                                                                                                                                                                                                                                                                                                                               |
| Session End Ts (Universal)                   | Last activity timestamp for a session - Universal Time Zone.                                                                                                                                                                                                                                                                                                                                                   |
| Session Last Session End Ts (Universal)      | The timestamp of the previous session's end per blended user id, if this is not the user's first session - Universal Time Zone.                                                                                                                                                                                                                                                                                |
| Session Last Session Start Ts (Universal)    | The timestamp of the previous session's start per blended user id, if this is not the user's first session - Universal Time Zone.                                                                                                                                                                                                                                                                              |
| Session Start Ts (Central)                   | First activity timestamp for a session - Cental Time Zone.                                                                                                                                                                                                                                                                                                                                                     |
| Session Start Ts (Eastern)                   | First activity timestamp for a session - Eastern Time Zone.                                                                                                                                                                                                                                                                                                                                                    |
| Session Start Ts (Mountain)                  | First activity timestamp for a session - Mountain Time Zone.                                                                                                                                                                                                                                                                                                                                                   |
| Session Start Ts (Pacific)                   | First activity timestamp for a session - Pacific Time Zone.                                                                                                                                                                                                                                                                                                                                                    |
| Session Start Ts (Universal)                 | First activity timestamp for a session - Universal Time Zone.                                                                                                                                                                                                                                                                                                                                                  |
| Start Ts (Central)                           | First activity timestamp for a session - Cental Time Zone.                                                                                                                                                                                                                                                                                                                                                     |
| Start Ts (Eastern)                           | First activity timestamp for a session - Eastern Time Zone.                                                                                                                                                                                                                                                                                                                                                    |
| Start Ts (Mountain)                          | First activity timestamp for a session - Mountain Time Zone.                                                                                                                                                                                                                                                                                                                                                   |
| Start Ts (Pacific)                           | First activity timestamp for a session - Pacific Time Zone.                                                                                                                                                                                                                                                                                                                                                    |
| Start Ts (Universal)                         | First activity timestamp for a session - Universal Time Zone.                                                                                                                                                                                                                                                                                                                                                  |
| User Created At (Universal)                  | The timestamp when the user was created - Universal Time Zone.                                                                                                                                                                                                                                                                                                                                                 |
| User First Seen At (Universal)               | The first time the user was seen on the site, identified as either anonymous ID or user ID - Universal Time Zone.                                                                                                                                                                                                                                                                                              |


[title] Recency, Frequency, Monetary Value (RFM)
[path] Chord Data Platform/Predictive Models/Customer Lifetime Revenue (CLR)/

### Introduction&#x20;

We are thrilled to present our latest revenue prediction tools for customer segmentation. In this discussion, we will delve into the RFM framework, which stands for recency, frequency, and monetary value. We will also explore customer lifetime revenue and forecast customer re-engagement.

::loom[]{url="https://www.loom.com/embed/e634b420bdb74beeb20283deee77e10a"}

RFM is a proven approach that evaluates a customer's recency, frequency, and monetary value. We examine the time since the customer's last purchase to determine recency. On the other hand, frequency is the total number of purchases the customer makes.&#x20;

Finally, monetary value refers to the total amount the customer spends in all company interactions. We can effectively segment our customer population by considering all three factors together.

### Interpreting RFM Scores

One approach is to assign each customer in your base a ranking of one to five for each of the three measures - monetary, frequency, and recency. A rank of one for monetary represents customers who have spent the highest amount, whereas a rank of five corresponds to those in the lower 20th percentile of spending in the customer base.&#x20;

Similarly, for frequency, a rank of five would indicate customers who have only made a single purchase. In contrast, a rank of one would tell those who have completed four or more purchases, although this may vary for different stores.

Once we have ranked the customers based on these measures, we can utilize these scores to indicate our progress over time. We can start with a static snapshot of the average RFM score of the company and monitor the progress over time. The goal is to encourage customers to engage more frequently and spend more money. By achieving this, we can move customers towards higher frequency and greater spending, increasing customer engagement.

::loom[]{url="https://www.loom.com/embed/2f3e3a8f3e0048a089ede57047307ba6"}









[title] Orders
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Salesforce/

### x\_fct\_orders

| Name                                           | Description                                                                                                                                                                                                                                                                                                                                 |
| ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Order Account Id                               | ID generated by chord to identify the account.                                                                                                                                                                                                                                                                                              |
| Order Bill To Contact Id                       | ID of the Contact associated with the Order Summary. It represents the shopper in the storefront when not using person accounts.                                                                                                                                                                                                            |
| Order Billing City                             | Billing address city.                                                                                                                                                                                                                                                                                                                       |
| Order Billing Country                          | Billing address country.                                                                                                                                                                                                                                                                                                                    |
| Order Billing Email Address                    | Email address on the billing address.                                                                                                                                                                                                                                                                                                       |
| Order Billing State                            | Billing address state.                                                                                                                                                                                                                                                                                                                      |
| Order Billing State Country                    | The billing state or country of the order. Default to billing country if state is unavailable.                                                                                                                                                                                                                                              |
| Order Currency Iso Code                        | Available only for stores with the multicurrency feature enabled. Contains the ISO code for the currency of the original Order associated with the Order Summary. The default value is USD. Possible values are: DKK—Danish Krone, EUR—Euro, GBP—British Pound, USD—U.S. Dollar.                                                            |
| Order Fulfillment Ids                          | IDs generated by Chord to identify the fulfillments associated with the order.                                                                                                                                                                                                                                                              |
| Order Fulfillment Numbers                      | The fulfillment numbers associated with the order.                                                                                                                                                                                                                                                                                          |
| Order Fulfillment Statuses                     | The fulfillment statuses associated with the order.                                                                                                                                                                                                                                                                                         |
| Order Has A Shipped Fulfillment                | A flag marking if an order has a shipped fulfillment.                                                                                                                                                                                                                                                                                       |
| Order Hours To First Delivery                  | The number of hours between when the order was created and the first fulfillment was created.                                                                                                                                                                                                                                               |
| Order Hours To Last Delivery                   | The number of hours between when the order was created and the last, most recent, fulfillment was created.                                                                                                                                                                                                                                  |
| Order Id                                       | ID generated by Chord to identify the order.                                                                                                                                                                                                                                                                                                |
| Order Is Canceled                              | Whether an order is canceled.                                                                                                                                                                                                                                                                                                               |
| Order Is Completed                             | Whether an order is completed. An order is considered complete if it has a status of 'Fulfilled' or 'Returned' or it has a status 'Canceled' and has a payment associated with it.                                                                                                                                                          |
| Order Number Of Fulfillments                   | The total number of fulfillments associated with the order.&#xD;&#xA;                                                                                                                                                                                                                                                                       |
| Order Number Of Reimbursements                 | The number of reimbursements associated with an order.                                                                                                                                                                                                                                                                                      |
| Order Oms Account Id                           | ID of the account or person account associated with the Order Summary. It represents the shopper in the storefront.                                                                                                                                                                                                                         |
| Order Oms Fulfillment Ids                      | ID generated by the OMS to identify the order.                                                                                                                                                                                                                                                                                              |
| Order Oms Order Id                             | The id generated by the OMS for the Order Summary.                                                                                                                                                                                                                                                                                          |
| Order Oms Order Payment Summary Ids            | IDs generated by the OMS to identify the payment summaries associated with the order.                                                                                                                                                                                                                                                       |
| Order Oms Return Order Ids                     | IDs generated by the OMS to identify the returns associated with the order.                                                                                                                                                                                                                                                                 |
| Order Is First Order                           | Whether the order is first order associated with the account.                                                                                                                                                                                                                                                                               |
| Order Number                                   | Name of the Order Summary.                                                                                                                                                                                                                                                                                                                  |
| Order Payment Summary Ids                      | IDs generated by Chord to identify the payment summaries associated with the order.                                                                                                                                                                                                                                                         |
| Order Original Order Id                        | ID of the original order associated with this Order Summary.                                                                                                                                                                                                                                                                                |
| Order Payment Methods                          | The payment methods associated with the order.&#xD;                                                                                                                                                                                                                                                                                         |
| Order Payment Types                            | The payment types associated with the order.                                                                                                                                                                                                                                                                                                |
| Order Po Number                                | Purchase order number associated with this Order Summary.                                                                                                                                                                                                                                                                                   |
| Order Promotion Details Collection             | The promotion details associated with the Order Summary.                                                                                                                                                                                                                                                                                    |
| Order Return Order Ids                         | IDs generated by Chord to identify the returns associated with the order.&#xD;                                                                                                                                                                                                                                                              |
| Order Return Order Numbers                     | The return order numbers associated with the order.                                                                                                                                                                                                                                                                                         |
| Order Sales Channel Id                         | ID of the Sales Channel associated with this Order Summary.                                                                                                                                                                                                                                                                                 |
| Order Status                                   | Status of the order summary. Unlike the Status and Status Category fields on the order and Fulfillment Order objects, this field is optional.                                                                                                                                                                                               |
| Order Tax Locale Type                          | The system used to handle tax on the original Order associated with the Order Summary. Gross usually applies to taxes like value-added tax (VAT), and Net usually applies to taxes like sales tax. Possible values are: Gross (displays most prices and taxes as combined values), Net (displays most prices and taxes as separate values). |
| Order Utm Campaign                             | The UTM Campaign associated with the Order Summary.                                                                                                                                                                                                                                                                                         |
| Order Utm Medium                               | The UTM Medium associated with the Order Summary.                                                                                                                                                                                                                                                                                           |
| Order Created At (Central)                     | The date the Order Summary was created - Cental Time Zone.                                                                                                                                                                                                                                                                                  |
| Order Created At (Eastern)                     | The date the Order Summary was created - Eastern Time Zone.                                                                                                                                                                                                                                                                                 |
| Order Created At (Mountain)                    | The date the Order Summary was created - Mountain Time Zone.                                                                                                                                                                                                                                                                                |
| Order Created At (Pacific)                     | The date the Order Summary was created - Pacific Time Zone.                                                                                                                                                                                                                                                                                 |
| Order Created At (Universal)                   | The date the Order Summary was created - Universal Time Zone.                                                                                                                                                                                                                                                                               |
| Order First Fulfillment Created At (Universal) | Timestamp when the first fulfillment for the order was created - Universal Time Zone.                                                                                                                                                                                                                                                       |
| Order First Order Created At (Universal)       | Timestamp when the first order was created at - Universal Time Zone.                                                                                                                                                                                                                                                                        |
| Order Last Fulfillment Created At (Universal)  | Timestamp when the most recent, or last, fulfillment for the order was created - Universal Time Zone.                                                                                                                                                                                                                                       |
| Order Last Modified Date (Universal)           | The date the Order Summary was last modified - Universal Time Zone.                                                                                                                                                                                                                                                                         |
| Order Ordered Date (Universal)                 | Date of the original order associated with this Order Summary - Universal Time Zone.                                                                                                                                                                                                                                                        |
| Average Adjusted Product Total                 | The total adjusted product amount associated with the Order Summary.                                                                                                                                                                                                                                                                        |
| Average Fulfillment Total                      | The total adjusted filfillment amount associated with the Order Summary.                                                                                                                                                                                                                                                                    |
| Average Gross Revenue                          | Gross Revenue is the pre-tax, pre-adjusted total line item price (unit price \* quantity) + the fulfillment total.                                                                                                                                                                                                                          |
| Average Net Revenue                            | Net Revenue is the adjusted line item price (unit price \* quantity - line adjustments) + the adjusted fulfillment (fulfillment total - line adjustments) - order level adjustments - refunds.                                                                                                                                              |
| Average Promo Total                            | The total adjustment amount associated with the Order Summary.                                                                                                                                                                                                                                                                              |
| Average Refund Total                           |                                                                                                                                                                                                                                                                                                                                             |
| Average Tax Total                              | Total tax on all Order Item Summaries belonging to this Order Summary. Equal to Total Adjusted Delivery Tax Amount plus Total Adjusted Product Tax Amount.                                                                                                                                                                                  |
| Average Total Basket Value                     | Total line itemamount in the order. This is the equivalent of the unit price \* quantity.                                                                                                                                                                                                                                                   |
| Average Total Items                            | Total items in order.                                                                                                                                                                                                                                                                                                                       |
| Average Total Price                            | Total amount, including adjustments and tax, of the Order Summary.                                                                                                                                                                                                                                                                          |
| Adjusted Product Total                         | The total adjusted product amount associated with the Order Summary.                                                                                                                                                                                                                                                                        |
| Total Basket Value                             | Total line itemamount in the order. This is the equivalent of the unit price \* quantity.                                                                                                                                                                                                                                                   |
| Fulfillment Total                              | The total adjusted filfillment amount associated with the Order Summary.                                                                                                                                                                                                                                                                    |
| Gross Revenue                                  | Gross Revenue is the pre-tax, pre-adjusted total line item price (unit price \* quantity) + the fulfillment total.                                                                                                                                                                                                                          |
| Total Items                                    | Total items in order.                                                                                                                                                                                                                                                                                                                       |
| Net Revenue                                    | Net Revenue is the adjusted line item price (unit price \* quantity - line adjustments) + the adjusted fulfillment (fulfillment total - line adjustments) - order level adjustments - refunds.                                                                                                                                              |
| Total Price                                    | Total amount, including adjustments and tax, of the Order Summary.                                                                                                                                                                                                                                                                          |
| Promo Total                                    | The total adjustment amount associated with the Order Summary.                                                                                                                                                                                                                                                                              |
| Refund Total                                   |                                                                                                                                                                                                                                                                                                                                             |
| Tax Total                                      | Total tax on all Order Item Summaries belonging to this Order Summary. Equal to Total Adjusted Delivery Tax Amount plus Total Adjusted Product Tax Amount.                                                                                                                                                                                  |


[title] Scheduling Reports
[path] Chord Data Platform/Analytics Features/

:::ExpandableHeading
### Introduction



Suppose you are looking to send metrics once or regularly automatically. Great news! Our platform allows you to save reports, both custom and out-of-the-box views, to your teammate's inboxes without requiring logins for your teammates.
:::

:::ExpandableHeading
### Schedule a report&#x20;

The platform empowers you to schedule your report to send to yourself and/or others on a flexible basis in various formats. Let's go ahead and select a report that you have previously saved. To open the scheduler, click the ellipsis on the top right and select "Schedule delivery."

![](https://archbee-image-uploads.s3.amazonaws.com/iCsIrWE2VP6jmzs1DjUUy-daZK4nVCHLIuP8YscN9G9-20241205-211422.png)

You will be directed to the "Schedule Delivery" window to set your schedule options.

![](https://archbee-image-uploads.s3.amazonaws.com/iCsIrWE2VP6jmzs1DjUUy-1z10w6JXCPFVWDKgmJL9A-20241205-211559.png)

For the schedule options:

- Schedule Name (optional): The schedule name defaults to the report name but can be customized to any desired name.
- Recurrence: The default is daily, but the dropdown allows numerous other options. You can then choose your preferred send time.
- Destination: Email (required)
- Email address: This will default to your email address, but you can add or remove any desired email addresses.
- Format: The default is PDF, and you can switch this to CSV or PNG visualization.

There is also a "Filters" tab for optional filters that can be defined. The filters will only display the filters applied to your dashboard. If you want to add an additional filter, you must first add it to the dashboard.

![](https://archbee-image-uploads.s3.amazonaws.com/iCsIrWE2VP6jmzs1DjUUy-X4TtRbSwjkBGaA2sfc35E-20241205-212826.png)

There is an "Advanced" tab for options like adding custom messages, customizing results or values, or changing your delivery timezone.
:::

![](https://archbee-image-uploads.s3.amazonaws.com/iCsIrWE2VP6jmzs1DjUUy-rpYgSMH-UDVokICkrxlkX-20241205-212942.png)

Once you've configured your options, you can send a test send with "Test now," if you wish, or save the schedule by clicking "Save."

[title] BigQuery
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

# Introduction

BigQuery is Google Cloud’s fully managed, serverless data warehouse that enables fast SQL-based analysis of large datasets. As a data warehouse destiantion, BigQuery can serves as the central data foundation, where raw customer data from multiple sources (e.g., CRM systems, web analytics, transactions, marketing tools) is collected, cleaned, and unified.

# Getting started

- Google Cloud [Project ID](https://support.google.com/googleapi/answer/7014113?hl=en)
- BigQuery [Dataset](https://cloud.google.com/bigquery/docs/datasets-intro)
- Access Key (Google Service Account JSON for BigQuery)

### Service account configuration

A **Service Account** is a special account with an id that looks like `NAME@PROJECT.iam.gserviceaccount.com`. The account can have a key (or several keys) which is represented by JSON.&#x20;

Please note, to use Service Account as an authorization mechanism, the resource (google doc, analytics account, add account etc) should be shared with that account.

The easiest way to create Service Account is through [Google Cloud Console](https://console.cloud.google.com/)**:** go to Navigation ("burger" at top right corner) → *IAM & Admin* → *Service account*. Create service account and download key JSON.

There a few other ways (including console utils), please see [documentation](https://cloud.google.com/iam/docs/creating-managing-service-account-keys)

The Service Account key can be referred to in a few different ways when setting up BigQuery as a Chord CDP Destination:

::::CodeDrawer{title="Service Account Key (Examples)" codeEditorData="[object Object]" responsesEditorData="[object Object]" isResponseExpanded="false" autoGeneratedAnchorSlug="service-account-key-examples" legacyHash="9FzlwMALWNxpm9TPLmZB9"}
:::CodeblockTabsExamples
JSON

```json
auth:
  service_account_key: {
    "type": "service_account",
    "project_id": "<PROJECT_ID>",
    "private_key_id": "<PK_ID>",
    "private_key": "<PRIVATE_KEY>",
    "client_email": "<EMAIL>",
    "client_id": "CID",
    "auth_uri": "https://accounts.google.com/o/oauth2/auth",
    "token_uri": "https://oauth2.googleapis.com/token",
    "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
    "client_x509_cert_url": "<CERT_URL>"
  }
```

JSON String

```json
auth:
  service_account_key: '{"type":"service_account","project_id":"<PROJECT_ID>","private_key_id":"<PK_ID>","private_key":"<PRIVATE_KEY>","client_email":"<EMAIL>","client_id":"CID","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://oauth2.googleapis.com/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs","client_x509_cert_url":"<CERT_URL>"}'
```

Path to File

```none
auth:
  service_account_key: '/path/to/file.json'
```
:::

:::CodeblockTabsResponses
```javascript
```
:::
::::

# Connecting to the BigQuery CDP destination

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **BigQuery&#x20;**&#x66;rom the destination catalog.
5. Enter in the destination name and these required credentials:
   1. Project ID
   2. Dataset
   3. Access Key
6. Click **"Create"&#x20;**&#x74;o connect.

:::hint{type="danger"}
Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are *disabled.*
**
Running external destinations alongside configured Chord CDP destinations ***can result in duplicate events downstream.&#x20;***
:::


[title] Algolia
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

# Introduction

Algolia is a powerful search and discovery platform that helps businesses deliver fast, relevant, and personalized search experiences on websites and apps. It provides a hosted search API that allows developers to build lightning-fast search functionality with features like typo tolerance, filters, facets, and ranking customization—so teams can optimize user experiences, improve retention, and drive growth.&#x20;

# Getting started

To properly use Chord's Algolia destination, both your Algolia-specific *Application ID* and *API Key* must be provided for authentication.

### **Application ID**

Your Algolia Application ID can be found on the *Overview* page or can be found alongside your Algolia API Key in your account settings.

![](https://app.archbee.com/api/optimize/TmutqdeXiIw-V3gBZXVjd/MO3J_YzNDamyVksJLx5F3_image.png "Algolia Application ID")

![](https://app.archbee.com/api/optimize/TmutqdeXiIw-V3gBZXVjd/NOf761gGJOfzEA0aUXHvg_image.png "Algolia Application ID")

### **API key**

When configuring Chord's Algolia destination, it is important to use your account **Write API Key.**

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/r68jmxWZkCKGpnwWVdvri_image.png)

To find this key, follow the guidelines here:&#x20;

1. Log into your brand's Algolia account and click on the **Settings** link on the bottom left-hand corner of your dashboard.
2. On the Settings page, select ***API Keys&#x20;***&#x75;nder the ***Team and Access*** section.
3. Copy the key titled ***Write API Key***

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/I5Arjrksd6F2H_W7Owz4i_image.png)

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/VCA0VQ_oamJZrAWedO2Rx_image.png)

## Index, Query ID & Object IDs

Chord's Algolia destination automatically extracts and maps key Algolia Insights attributes from your analytics events.

### Index&#x20;

The Algolia destination identifies the [index](https://www.algolia.com/doc/glossary/#index) from event properties using this fallback hierarchy:

- `properties.index` (preferred)
- `properties.search_index` (fallback)
- `"undefined_index"` (default if neither exists)

### Query ID&#x20;

[Query IDs](https://www.algolia.com/doc/guides/sending-events/concepts/event-types/#what-is-the-query-id) are extracted from `properties.query_id` and are essential for attributing user interactions back to specific search queries. This value should come directly from Algolia's search API response.

### Object IDs

Object IDs are intelligently mapped from your product data:

- **Single product events**: Uses `properties.product_id` → becomes \["product\_id"]
- **Multi-product events**: Maps from `properties.products[].product_id` → becomes array of all product IDs

### Example event structure

```json
{
  "type": "track",
  "event": "Product Clicked",
  "userId": "user123",
  "properties": {
    "query_id": "7891011121314151617",
    "index": "products", 
    "product_id": "SKU-001",
    "search_index": "products",
    "position": 3,
    "search_query": "coffee beans"
  },
  "timestamp": "2025-01-15T10:30:00.000Z"
```

The Algolia destination only processes supported e-commerce events (`Product Clicked`, `Product Viewed`, `Product Added`, `Order Completed`, `Product List Filtered`) and requires that your *product\_id&#x20;*&#x76;alues exactly match the *objectID* field in your Algolia index for proper attribution.

# Connecting to the Algolia CDP destination

:::hint{type="danger"}
Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are *disabled.*
**
Running external destinations alongside configured Chord CDP destinations ***can result in duplicate events downstream.&#x20;***
:::

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the "Add" button next to Destinations.
4. Select **Algolia&#x20;**&#x66;rom the destination catalog.
5. Enter in the destination name, your **Algolia Application ID** and your **Algolia** API key.
6. Click **"Create"** to connect.

# Chord events relevant for destination

Not all Chord Tracking events are used downstream in your configured destinations. The most relevant and important events in the Chord tracking plan are mapped within the CDP destination, relayed and then ingested in the destination. Only *track* events are used downstream by Algolia. The Chord tracking plan events used by the [Algolia Insights API ](https://www.algolia.com/doc/guides/sending-events/concepts/event-types)are:&#x20;

| **Chord Tracking Event**                                           | *Algolia Event Type* | *Algolia Event Subtype* |
| ------------------------------------------------------------------ | -------------------- | ----------------------- |
| **Order Completed**                                                | *conversion*         | *purchase*              |
| **Product Added**                                                  | *conversion*         | *addToCart*             |
| **Product Clicked**                                                | *click*              | *-*                     |
| **All other events (i.e. Product Viewed, Product List Filtered)**  | *view*               | *-*                     |


[title] Iterable
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

# Introduction

Iterable is a modern, AI-powered marketing automation solution that enables brands to craft highly personalized, real-time engagement strategies across multiple channels—all from one comprehensive platform. Its intelligent workflows, advanced analytics, seamless integrations, and recognized user experience make it a compelling choice for growth-minded marketers.

# Getting started

Before connecting your Iterable account as a CDP destination, an API Key must be created within your Iterable account:

1. Navigate to `Integrations` > `API Keys` within the top menu
2. Click on `+ New API Key`
3. In the **New API Key&#x20;**&#x6D;odal, name the new key and select `Server Side` as the key type. **Note:&#x20;**&#x46;or Chord CDP purposes, the `Server Side` type is required, for more details on Iterable's types [refer to Iterable's documentation here.](https://support.iterable.com/hc/en-us/articles/360043464871-API-Keys)

**

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/uwIWqUxc044qy5Ano4ZeP_image.png "Navigate to Integrations > API Keys")

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/ZYFI86WWh0chfRumHPtB__image.png "Name your key and select the Server-side type")

# Connecting to the Iterable CDP destination

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"&#x20;**&#x62;utton next to Destinations.
4. Select Iterable from the destination catalog.
5. Enter in the destination name and the **Iterable** API key.
6. Click **"Create"** to connect.

# Chord events relevant for destination

While Iterable serves as your SMS and email marketing platform, Chord passes through all availalbe/possible *track* events, *page* and *identify&#x20;*&#x65;vents that are passed through any configured sources upstream. **All track events are sent to the**[ Iterable API ](https://api.iterable.com/api/docs#events_track)**with their original name as custom track events, while Chord identify events translate to user&#x20;**[creation/updating](https://api.iterable.com/api/docs#users_updateUser)

| **Chord Tracking Event** | *Destination Event/Action*                          |
| ------------------------ | --------------------------------------------------- |
| **All Track Events**     | *Event name passed as is*                           |
| **Identify**             | *Upsert Profile (to create or update user profile)* |
| **Page**                 | *Page event sent as custom track event*             |

:::hint{type="danger"}
Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are *disabled.*
**
Running external destinations alongside configured Chord CDP destinations ***can result in duplicate events downstream.&#x20;***
:::


[title] Downloading Reports
[path] Chord Data Platform/Analytics Features/

### Introduction

Dashboards and reports across the platform can be downloaded so that you can share or send your visualization or data.&#x20;

### Downloading reports

&#x20;In every dashboard and analysis, you'll notice in the top right corner there are three vertical dots or a gear icon, depending on the type of visualization, that provide various options for your reports, including downloading the data. Navigating to "Download" will open a pop-up with various options to customize your download.&#x20;

**Formats**

Within the Download pop-up, you'll first see a drop-down for various format options, including:

::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/Mc1IuiiEpECFdjbKtWt7S_screenshot-2024-06-27-at-63843-pm.png" size="62" width="858" height="422" position="center" darkWidth="858" darkHeight="422" showCaption="false"}

**Data Over 5,000 Rows**

While exploring datasets, the data results limit will default to 500 results, but it can be increased to 5,000 results. However, you can still download all the results. In the Download pop-up, there is a section for "Number of rows and columns to include," which displays an option for "All results" to download the full dataset.

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/SLMaGORQnq7AOAg2xPo1g_screenshot-2024-06-27-at-65444-pm.png)

**If All Results is disabled**

The **All results** option is typically disabled for queries that do any of the following:

- Involve row totals or table calculations
- Use percent of total, percent of previous, or running totals types of measures

If you remove the above, such as table calculations, then you'll be able to download all results.


[title] Northbeam
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

**Northbeam** is a marketing attribution and analytics platform that provides multi-touch attribution and media mix modeling. This destination sends order and refund events server-side from Chord CDP to the Northbeam Orders API. There is no device-mode component.

# Getting Started

This is a cloud-mode destination. You will need:

- **API Key** — found in your Northbeam dashboard under **Settings > API Keys**.
- **Data Client ID** — a UUID identifying your account, found in your Northbeam dashboard under **Settings > API Keys**.

Optionally:

- **Test Mode** — when enabled, events are sent to Northbeam's UAT environment instead of production. Defaults to `false`.

# Connecting to the Northbeam CDP Destination

:::BlockQuote
**Warning:** Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are **disabled**. Running external destinations alongside configured Chord CDP destinations **can result in duplicate events downstream.**
:::

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **Northbeam** from the destination catalog.
5. Enter the destination name, **API Key**, and **Data Client ID**.
6. Optionally enable **Test Mode** during initial setup.
7. Click **"Create"** to connect.

# Events

# Event Mapping

| Chord Event       | Northbeam Action          | Notes |
| ----------------- | ------------------------- | ----- |
| `Order Completed` | Create order              |       |
| `Order Refunded`  | Create order with refunds |       |

All other events (page, identify, and other track events) are silently skipped.

# Order Completed

Sends an order to the Northbeam Orders API. The event is skipped if required fields are missing.

## Order Attributes

| Northbeam Attribute | Chord Source (Priority Order)                                | Notes                                       |
| ------------------- | ------------------------------------------------------------ | ------------------------------------------- |
| `order_id`          | `properties.order_id`                                        | **Required**                                |
| `customer_id`       | `userId` > `properties.customer_id`                          | **Required**                                |
| `customer_email`    | `properties.email` > `context.traits.email` > `traits.email` | **Required**                                |
| `time_of_purchase`  | `timestamp`                                                  | ISO 8601 format; falls back to current time |
| `purchase_total`    | `properties.total` > `properties.revenue`                    | Defaults to `0`                             |
| `currency`          | `properties.currency`                                        | Defaults to `"USD"`                         |
| `tax`               | `properties.tax`                                             | Defaults to `0`                             |
| `shipping_cost`     | `properties.shipping`                                        | Defaults to `0`                             |

## Product Attributes

Each product in `properties.products[]` is required. Each product must have an `id` and `name`.

| Northbeam Attribute | Chord Source (Priority Order)                                                                         | Notes                                                      |
| ------------------- | ----------------------------------------------------------------------------------------------------- | ---------------------------------------------------------- |
| `id`                | `properties.products[].product_id` > `properties.products[].sku`                                      | **Required**                                               |
| `name`              | `properties.products[].name`                                                                          | **Required**                                               |
| `quantity`          | `properties.products[].quantity`                                                                      | Defaults to `1`                                            |
| `price`             | `properties.products[].price`                                                                         | Defaults to `0`; coerced to number (accepts string values) |
| `variant_id`        | `properties.products[].variant_id` > `properties.products[].product_id` > `properties.products[].sku` | Always present                                             |
| `variant_name`      | `properties.products[].variant` > `properties.products[].name`                                        | Always present                                             |

# Order Refunded

Sends a refund to the Northbeam Orders API as an order payload with a `refunds` array. The event is skipped if required fields are missing.

## Order Attributes

Same as **Order Completed** above, except `time_of_purchase` prefers `properties.original_timestamp` over `timestamp` to preserve the original order date.

## Refund Attributes

The destination checks for an explicit `properties.refunds[]` array first. If not present, it falls back to `properties.products[]` and treats all products as fully refunded.

**From&#x20;**`properties.refunds[]`**&#x20;(preferred):**

| Northbeam Attribute | Chord Source (Priority Order)                                                                       | Notes                       |
| ------------------- | --------------------------------------------------------------------------------------------------- | --------------------------- |
| `product_id`        | `properties.refunds[].product_id`                                                                   | **Required**                |
| `variant_id`        | `properties.refunds[].variant_id`                                                                   |                             |
| `quantity`          | `properties.refunds[].quantity`                                                                     | Defaults to `1`             |
| `refund_amount`     | `properties.refunds[].refund_amount` > `properties.refunds[].amount` > `properties.refunds[].price` | **Required**                |
| `refund_cost`       | `properties.refunds[].refund_cost`                                                                  | Defaults to `refund_amount` |
| `refund_made_at`    | `properties.refunds[].refund_made_at` > `timestamp`                                                 | ISO 8601 format             |

**From&#x20;**`properties.products[]`**&#x20;(fallback):**

| Northbeam Attribute | Chord Source (Priority Order)                                                                         | Notes           |
| ------------------- | ----------------------------------------------------------------------------------------------------- | --------------- |
| `product_id`        | `properties.products[].product_id` > `properties.products[].sku`                                      |                 |
| `variant_id`        | `properties.products[].variant_id` > `properties.products[].product_id` > `properties.products[].sku` |                 |
| `quantity`          | `properties.products[].quantity`                                                                      | Defaults to `1` |
| `refund_amount`     | `properties.products[].price` × `properties.products[].quantity`                                      | Calculated      |
| `refund_made_at`    | `timestamp`                                                                                           |                 |

# Validation

Both event types are validated before sending. Required fields:

**Order Completed:** `order_id`, `customer_id`, `customer_email`, non-empty `products[]` with each product having `id` and `name`.

**Order Refunded:** `order_id`, `customer_id`, `customer_email`, non-empty `refunds[]` with each refund having `product_id` and `refund_amount`.

# Testing and Validation

After connecting the destination, use the browser console and CDP Live Events to verify behavior. No access to the Northbeam dashboard is required.

**Order Completed — happy path**

```js
window.chord.track("Order Completed", {
  order_id: "TEST-001",
  email: "test@example.com",
  total: 89.97,
  tax: 7.00,
  shipping: 5.99,
  currency: "USD",
  products: [
    {
      product_id: "PROD-001",
      name: "Classic T-Shirt",
      price: 29.99,
      quantity: 2,
      variant_id: "VAR-001-BLK-M",
      variant: "Black / Medium"
    }
  ]
});
```

In CDP Live Events, confirm:

- A **Northbeam Request Payload** `INFO` log appears containing the full transformed payload and `messageId`
- A `200` or `201` response log follows

**Order Completed — sku-only product (no variant fields)**

```js
window.chord.track("Order Completed", {
  order_id: "TEST-002",
  email: "test@example.com",
  total: 103.00,
  currency: "USD",
  products: [
    { sku: "RVTTG50", name: "REVERSE Tone Correcting Treatment", price: 103, quantity: 1 }
  ]
});
```

In CDP Live Events, confirm:

- The payload log shows `id: "RVTTG50"`, `variant_id: "RVTTG50"`, `variant_name: "REVERSE Tone Correcting Treatment"` (all falling back from `sku` and `name`)
- No warnings are logged

**Order Refunded**

```js
window.chord.track("Order Refunded", {
  order_id: "TEST-001",
  email: "test@example.com",
  refunds: [
    {
      product_id: "PROD-001",
      quantity: 1,
      refund_amount: 29.99
    }
  ]
});
```

In CDP Live Events, confirm the payload log shows a `refunds` array with the correct `refund_amount`.

***

**Updated 29 Apr 2026**

[title] Chord CDP
[path] /

# What is a CDP?

A Customer Data Platform (CDP) is typically described as a unified software solution designed to assist e-commerce marketers, operators, and analysts to centralize, organize, and activate customer data.

CDPs have become increasingly more important for e-commerce brands as customers shop through multiple channels (often checking out from highly complex customer journeys) and as brands have many more ways to advertise their products and encourage new and returning customers to make a purchase.

Chord’s CDP solution helps brands mitigate different challenges when it comes to marketing and e-commerce, such as:

- **Fragmented Data Silos:** A core benefit of a CDP is having one central platform that unifies data from multiple sources, such as websites, advertising platforms, and more.
- **Lack of Data Trust:** Chord’s CDP relies on robust methodologies and/or features that ensure data accuracy and reliability (e.g., continuous monitoring).
- **Inconsistent Customer Definitions:** Chord helps brands establish a "single source of truth" for terms like customer lifetime value or average revenue per user.

# Common Use Cases

Brands can take advantage of CDPs to accomplish the following:

- **Behavioral Retargeting:** Re-engage inactive customers by creating custom audiences and sending these custom audiences to an e-mail marketing platform to send them a special offer.
- **Predictive Analytics:** Anticipate customer needs and trends by leveraging advanced predictive analytics features, such as at-risk customers or almost-purchasers.
- **Cross-Channel Campaigns:** Synchronize customer outreach across many different platforms in marketing, CRM tools, and more.

# Benefits of Chord CDP

Chord’s CDP is built by e-commerce experts with marketers, operators, and analysts in mind—minimal technical expertise is required to unlock the full potential of your customer data on our platform.

Our CDP solution has many benefits, including (but not limited to):

- **Personalized Marketing and Activation:** Chord CDP enables marketers to create tailored campaigns based on unified customer data.
- **Improved Decision-Making:** In turn, having reliable data at your fingertips via our CDP enables strategic and successful business decisions to boost your bottom line. Our advanced dashboards and predictive models enable lightning-fast analysis to help you make important decisions about your store.
- **Operational Efficiency:** Chord’s powerful CDP platform reduces time spent managing and analyzing data manually.

# Chord CDP Key Features

Key features of the Chord CDP include the following:

- **Data Collection & Organization**
  - Single view of all connected sources and destinations.
  - Admin-level users can add destinations using the existing destination catalog.
  - Admin-level users can edit or delete connected destinations.
  - Users can view source and destination event streams to monitor events.
- **Data Integrity & Enrichment**
  - Chord’s user identity resolution utilizes our data collection methodology (e.g., Chord data connectors and event tracking plan) in combination with our data modeling layer to stitch together various user-related IDs and touch points into one comprehensive user profile and journey.
  - Chord delivers advanced e-commerce intelligence to brands through predictive analytics  (e.g., calculating [customer lifetime revenue](https://docs.chord.co/customer-lifetime-revenue-clr) and [RFM scores](https://docs.chord.co/recency-frequency-monetary-value-rfm) as well as surfacing [product recommendations](https://docs.chord.co/product-recommendations), ) as well as providing flexible reporting capabilities.
- **Data Activation**
  - Brands can customize and send relevant customer data flowing through from Chord CDP to a given destination via our [powerful activations suite](https://docs.chord.co/data-activations).

:::hint{type="info"}
For additional information about our CDP solution, please reach out to your account manager or [help@chord.co](mailto\:help@chord.co)!
:::


[title] CDP Sources
[path] Chord CDP/

A CDP (Customer Data Platform) source is any system or touchpoint where customer data originates before being collected and unified in the CDP. CDP sources include ecommerce platforms, server-side applications, or third-party tools that generate customer interactions and behavioral data.

# **Source types**

## Browser sources

A browser source captures data directly from a customer's browser in real-time as they interact with your website. This includes page views, product views, completed orders, and other front-end interactions. Browser sources use JavaScript SDKs to track customer behavior as it happens.

## Server sources

A server source sends data from your backend systems or applications to the CDP. This includes order data, customer account information, subscription updates, or any events that happen on your servers rather than in the customer's browser. Server sources give you more control over data quality, aren't affected by ad blockers or browser restrictions, and are ideal for tracking sensitive information or backend processes that don't have a user interface. Please see the [Server Events Overview](docId\:IkQZVvht-BFBSKyISgKJo) documenation for more information.

# **Understanding write keys**

Each CDP source uses one or more write keys to authenticate and route data into the Chord platform. Write keys are unique identifiers that ensure data is sent to the correct source and CDP workspace account. When implementing tracking via SDKs or APIs, you'll need to use the appropriate write key(s) for your configured source.

:::hint{type="danger"}
Write keys are sensitive credentials. Treat them like passwords and never expose them in public repositories.
:::

# **Viewing your sources**

Sources are configured and managed by the Chord team during your initial CDP setup and integration process. To view your configured sources:

1. Navigate to the **CDP Overview** page on Chord.
2. View **Sources** on the left hand side of the page.

# **Working with Sources**

If you need to add a new source, modify an existing source configuration, or have questions about your source setup, please contact your Chord integration team or [reach out to Chord support](mailto\:help@chord.co).


[title] Analytics Glossary
[path] Chord Data Platform/Analytics Features/

This page lists terms used on our Analytics platform.

## A

- **Admins** have a variety of options for limiting what users can view and interact with in Looker.
- A **data** **action** lets users perform tasks in other tools, directly from Looker. For example, the action can cause an email to be sent or can set values in other applications — or it can do anything else that you can configure a receiving server to do. The receiving server must be able to accept a JSON POST.
- An **advanced filter&#xA0;**&#x6C;ets users create a dashboard filter with a field from an Explore that is not represented on the dashboard itself.
- **Alerts** enable users to specify conditions in the data of a dashboard tile that, when met or exceeded, trigger a notification to be sent at the desired frequency to specific recipients. Alerts are set on query-based or Look-linked tiles on user-defined dashboards, LookML dashboards, and legacy dashboards; and they can be sent through email or with Looker's Slack or Slack Attachment (API Token) integrations.
- **Application Time Zone** is an admin setting for the default time zone in which scheduled Looks and queries run, where supported. When User Specific Time Zones are enabled, the Application Time Zone becomes the default time zone for users who do not have a time zone value set for their accounts.
- An **asynchronous** (or async) query is a data request that makes one call to start the request, one or more calls to check the completion status of the query, and one call to fetch the results of the completed query. Async queries can help avoid freezing apps, connection timeouts and long dashboard load times.

## B

- A **base view&#x20;**&#x69;s the view used as the starting point for building an Explore. From there, you can join other views into the base view to be used in the Explore. Typically, Explores are named after the base view, but you can also use the `from` parameter to name the Explore's base view if you don't want to name the Explore after its base view.
- Looker **Blocks** are pre-built pieces of LookML that you can use and customize to your exact specification. From optimized SQL patterns to fully built-out data models, blocks can be used as a starting point for quick and flexible data modeling in Looker.
- A **board** holds a collection of manually curated dashboards, Looks, and links. Dashboards and Looks, which are stored in folders, can be pinned to multiple boards. Boards may include links and descriptions to provide context and can make it easier for users to find the information that is most relevant to them.
- **Browsing** involves viewing, sharing, sending, and downloading data from dashboards, Looks, and Explores.

## C

- Formerly known as Discourse, the **Looker Community** is a user forum featuring posts, discussions, questions, and ideas shared among Looker users and experts.
- Looker **components** are the technical implementation of the Looker Design System, built with React, TypeScript, and Styled Components. They consist of UI components, filter components, and visualization components.
- In the Admin section of Looker, you establish the database **connection** from which a model will retrieve data.
- **Constants**, which are defined with the LookML `constant` parameter in a project manifest file, let you specify a value that can be reused throughout a project. You can reference constants anywhere in your model where strings are accepted.
- In Looker's documentation, the term **content** typically refers to Looks and dashboards.
- **Content** access controls whether a user or group can view or make changes to a board, or to a folder (called a Space prior to Looker 6.20) and its contents. The two content access levels are **View** and **Manage Access, Edit**.
- **Cross-filtering** lets users apply ad hoc filters to dashboards that use the new dashboard experience. With cross-filtering, users can click a data point in one dashboard tile to have all dashboard tiles automatically filter on that value. Specific cross-filters cannot be saved to a dashboard, but they can be shared by sharing a cross-filtered dashboard's URL.

## D

- A **dashboard** is essentially a collection of one or more saved queries, displayed as visualization or text tiles together on one page. Looker offers two types of dashboard experience: new dashboards and legacy dashboards.&#x20;
- **Data access&#xA0;**&#x63;ontrols which data a user or group is allowed to view. This type of access can be restricted or granted either at the user level or at the data level.
- A **dimension** is a field that represents an attribute, fact, or value, which can be selected from the field picker within an Explore and can be used to filter a query. Common dimensions include such attributes as dates, names, and IDs, and often correspond to columns in your underlying data table. A dimension can also be created within a view file.
  - Dimension fill is a feature that lets you instruct Looker to fill in missing dates or values for a given dimension, such as a **date dimension** with some years missing. You can avoid misleading graphs by preventing Looker from connecting the values in an incomplete set. The dimension fill option can be turned on or off with the `allow_fill` parameter.
  - Using a [dimension group](https://cloud.google.com/looker/docs/reference/param-field-dimension-group), you can create multiple dimensions for a single underlying date or time column in the database. For example, you could split a `duration`-type dimension group into intervals of days, weeks, months, and so on.
- Looker makes it possible to **drill** into the data on a visualization or an Explore to get more specific information about a specific data point. To drill into data on a visualization, select the part of the visualization about which you'd like more information. For the **Data** section of an Explore, select the value of a measure, or select the value of a dimension that can be drilled into.

## E

- An **element** is a tile or visualization on a LookML dashboard, created using the `element` parameter
- Explore (*n.*)
- An **Explore** is the starting point for queries. An Explore shows a specified set of fields from its associated view file, and these fields can be selected from the field picker to construct a query, which can be saved as a Look or dashboard tile. Explore URLs can also be shared.
- explore, exploring (*v.*)
- **Exploring** involves using data to answer questions in Looker.
- An **Explore file&#x20;**&#x69;s a LookML project file with the extension `.explore.lkml`. Can be used for extending Explores across models and for defining native derived tables.
- The `explore`**&#xA0;**&#x70;arameter adds a view to Looker's menu of Explores. As a best practice, an Explore should be defined inside of a model file. Explores reference views and each Explore can contain joins to other views. An Explore can also be defined in an Explore file that is then included in a model file.
- **Extensions** are web applications built with Looker components that are developed through the **Looker extension framework**.&#x20;

## F

- A **fanout** occurs when one row of a primary data table can correspond to more than one row of a joined table, resulting in duplicated records and incorrectly calculated aggregations. In Looker, the fanout problem is avoided through the use of symmetric aggregates and by correctly defining the dataset's primary key.
- **Feature acces**s controls the types of actions a user is allowed to take in Looker. This type of access is managed by permission sets.
- Explores and views contain **fields**, mostly dimensions and measures, which are the fundamental building blocks for Looker queries.
- **Filter** **expressions** are an advanced way to filter Looker queries. You can use them in the Explore section of Looker by adding a filter and choosing the **matches (advanced)** option. They are also used in LookML for elements that take a `filter` parameter. You can write filter expressions to filter on a string or to partially match strings, date and time, Boolean values, numbers, and location fields.
- In the Looker UI, a **folder** is a place where dashboards, Looks, and other folders (subfolders) are stored. Each user has a personal folder, and a Looker instance can also have various kinds of shared folders. Access to content in Looker is allocated at the folder level. **Folders** were called "Spaces" prior to Looker 6.20.
- In the Looker IDE, a **folder** is an organizational structure for your LookML files.
- **Looker functions** let you transform your data or reference data in complex ways. They are similar in nature to Excel functions.

## G

- Users can be added to one or more **groups**. **Groups** are useful for managing users' access to particular data, features, and content within Looker, as well as for assigning roles to users in bulk.

## J

- **(*****n.*****)** The `join` parameter lets you define the **join** relationship between an Explore and a view, so that you can combine data from multiple views. You can join in as many views as you like for any given Explore.
- **(*****v.*****)** Combine data from multiple views by defining the relationship between an Explore and a view through a `join` parameter.

## L

- **Look** is a single table or visualization saved as its own individual report. Looks can be added to dashboards, scheduled, shared, and made public. Any changes made to a Look will be reflected in any dashboards that contain it.
- Table calculations, custom fields, and custom filters rely on Lo**oker expressions** (Lexp) to perform calculations. A Looker expression is built from a combination of functions, operators, and fields, and possibly constants or variables
- **LookML&#xA0;**&#x69;s a language for describing dimensions, aggregates, calculations and data relationships in a SQL database. The Looker app uses a model written in LookML to construct SQL queries against a particular database
  - A LookML dashboard is [written entirely using LookML](https://cloud.google.com/looker/docs/reference/lookml-dashboard-overview) (as opposed to a user-defined dashboard, which is created by using the visualization editor).



## M

- A measure is a field in an Explore that represents measurable information about your data, such as sums, counts, and so forth. A measure is declared in a view file and can be of an aggregate or non-aggregate type
- The **Merged Results&#xA0;**&#x66;eature lets you combine data from different Explores (even from different models, projects, or connections). Using the Merged Results feature, you can create a query from an Explore, then add queries from other Explores to display the merged results in a single table. The Merged Results feature performs similarly to a left join in SQL: it's as if the added query is being left-joined into the primary query
- The **metadata** panel in the Looker IDE shows contextually relevant information for a LookML object. For example, if your cursor is on a `view` parameter in the IDE, the metadata panel will show you which Explores have that view joined in and other views that are extensions of that view.

## P

- Admins can manage **permissions** to determine which users and groups can access content, data, and features. Permissions can be model-specific or instance-wide. Permission sets must be used as part of a role to have any effect
- The **primary key&#xA0;**&#x69;s the dimension that has exactly one unique value for each row of data. When data tables are joined together in a one-to-many relationship, the primary key must be defined correctly in order to avoid a fanout
- A **primary quer**y is a single query created from a single Explore. When working with merged results, the primary query is a similar concept to the primary ID when joining multiple tables in SQL
- In Looker, a **project** is a set of related models and other files (like Explores, views, and LookML dashboards) that you will use to define your data model. In general, a project corresponds to a single Git repository.

## R

- A **role** defines the privileges that a user or group will have for a specific set of models in Looker. Create a role by combining one model set with one permission set.

## S

- A Space is a folder where dashboards, Looks, and other Spaces (subspaces) are stored. Each user has a personal Space, and a Looker instance can also have a variety of shared Spaces. Access to content in Looker is allocated at the Space level. Spaces are also known as **folders**
- A **SQL-based** derived table is a derived table that has a query defined with a SQL query, referring to columns in your database. SQL-based derived tables can be temporary or persistent.

## T

- **Table calculations** are similar to spreadsheet formulas and are performed on the results of a query, after the query has executed
- **Themes** are a way to customize the appearance of your embedded Looker dashboards and Explores. You can use themes to customize font family, text color, background color, tile color, and other visual elements
- **Tiles** are visualizations that are added to a dashboard from an Explore or a Look. **Tiles** can be query-based or Look-linked. Query tiles differ from Look-linked tiles because they are stored only on dashboards.

## U

- By **unsubscribing**, users can choose to stop receiving scheduled content deliveries and alert notifications. The consequences for unsubscribing differ depending on how the delivery is set up
- **User Specific Time Zones&#xA0;**&#x69;s an admin option that, when enabled, lets users choose their own time zones. Queries will be created with the time zones of the users who created them
- **User-defined dashboards** are created by adding content through Looker's user interface, rather than using LookML. This is the most common type of dashboard.

## V

- In Looker, &#x61;**&#xA0;view&#xA0;**&#x63;an represent an underlying database table or a derived table. Views are the building blocks for Explores, which make the information in a view available for querying with the field picker in the Explore UI. By convention, a view is defined in a view file.
- **A view file** is where you define the dimensions, measures, and other fields that are used in your LookML model.
- **Visual drilling** is supported by dashboards using the new dashboard experience. To enable visual drilling, LookML developers customize a drill visualization using the `link` parameter. Dashboard viewers can select whether to view the custom visualization or a data table by clicking buttons at the top of the drill window.


[title] Attentive
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

# Introduction

Attentive is a leading SMS-first marketing platform designed for e-commerce brands to engage with their customers through personalized, real-time messaging. It helps brands grow their subscriber lists, deliver targeted messages, and drive revenue through thoughtful automation and customer segmentation.&#x20;

# Getting started

When creating/using a custom key for the Attentive destination, the key must be App-specific, so a new App within the your brand's Attentive account will need to be created first.&#x20;

To do so, follow the guidelines here:&#x20;

1. Log into your brand's Attentive account and click on the **Marketplace** link on the left-hand side of the navigation pane.
2. On the App Marketplace page, click on the "**Create App**" button on the top right corner.
3. Set and save the following ***required*** permissions on the App permissions page:&#x20;
   1. **Customer Attributes:&#x20;**`Write`
   2. **Custom Events:&#x20;**`Write`
   3. **eCommmerce:&#x20;**`Write`
   4. **Privacy Request:&#x20;**`Read`
   5. **Product Catalog:&#x20;**`No Access`
   6. **Subscribers:&#x20;**`Write`
4. Copy and save the Klaviyo API key from the new App workspace in a secure place to add to our CDP destination for Klaviyo.

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-5Dz7UT9hbNWWPdmeWbGJR-20250514-213843.png)

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-MQG9twqsMYw_DjGeAZowH-20250514-213914.png)

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-jVUpM6hrTlvU6qjI4NOLq-20250514-213941.png)

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-9AcV6kyphSV6yZiIfJ-ih-20250514-214042.png)

# Connecting to the Attentive CDP destination

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the "Add" button next to Destinations.
4. Select **Attentive&#x20;**&#x66;rom the destination catalog.
5. Enter in the destination name and the **Attentive** API key.
6. Click **"Create"** to connect.

# Chord events relevant for destination

While typically, not all Chord Tracking events are used downstream in your configured destinations, Attentive is a notable exception. As a SMS an email marketing platform, Chord passes through all availalbe/possible *track* events that are passed through any configured sources upstream. **All track events are sent to Attentive's&#x20;**[Custom Events API](https://docs.attentive.com/openapi/reference/tag/Custom-Events/)**&#x20;with their original name.**

*Track* events are only sent if at least one identifying attribute is present in the event payload:

- `phone`
- `email`
- `userId`
- `anonymousId`

**Note:&#x20;**&#x41;ttentive's Custom Events API is specifically designed to ingest *user action events*. Considering this, *page view&#x20;*&#x61;nd *identify* events **are not** passed through.

:::hint{type="danger"}
Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are *disabled.*
**
Running external destinations alongside configured Chord CDP destinations ***can result in duplicate events downstream.&#x20;***
:::


[title] Braze
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

# Chord x Braze Integration

The Chord’s Customer Data Platform (CDP) integrates with Braze to automatically forward ecommerce event data, such as purchases, user behavior, and identity updates, directly into Braze. This enables marketers to trigger personalized campaigns based on real-time shopper actions without manual data pipelines. 

This integration is maintained by Chord. 

## About this integration

Chord's CDP captures and standardizes customer events from your ecommerce storefront. By connecting Chord to Braze, marketers gain access to rich behavioral data (such as completed orders, product interactions, and customer identity updates) that can power personalized messaging at scale. Chord acts as the data layer that feeds Braze with clean, structured ecommerce events so your campaigns reflect what customers are actually doing.

## Use cases

- **Post-purchase messaging**: Trigger order confirmation flows, upsell sequences, or review requests in Braze when a customer completes an order in Chord.
- **Customer attribute sync**: Keep Braze user profiles updated with the latest customer data from Chord to improve segmentation accuracy.
- **Behavioral retargeting**: Use Chord event data to power win-back or re-engagement campaigns in Braze for customers who haven't converted recently.

## Prerequisites

Before you start, you need the following:

| **Prerequisite**      | **Description**                                                                                                                                                                                                                                                                                          |
| --------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| A Chord account       | A Chord account is required to take advantage of this partnership.                                                                                                                                                                                                                                       |
| A Braze REST API key  | A Braze REST API key with the appropriate permissions. &#xA;<br />* For **cloud mode**: find this key under **Developer Console** in the Braze dashboard. 
* For **device mode**: find this key under **Settings > App Settings > Web > API Key**. <br />***Note these are two distinct API keys.***     |
| A Braze REST endpoint | Chord sends data to the following Braze endpoints: `/users/track` and `/users/identify`. The base URL depends on your Braze cluster and follows the format `https://rest.iad-0#.braze.com`. For example: `https://rest.iad-01.braze.com/users/track` and `https://rest.iad-01.braze.com/users/identify`. |

## Integrate Chord with Braze&#x9;

Chord supports two connection modes: **Cloud Mode** and **Device Mode**. Follow the steps for your preferred mode.

### **Cloud Mode**



![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/R7DOFQnyV-_vzXt8ohiUV_.blob)

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/9gtXN7F-8kpSuJGPaxRCt_.blob)

**Step 1: Navigate to Destinations in the Chord CDP**

1. Log into the Chord Data Platform.
2. Navigate to the **CDP**.
3. Click the **Add** button next to **Destinations**.

**Step 2: Connect Braze (Cloud Mode) as a destination**

1. Select **Braze** from the destination catalog.
2. Enter a destination name and your Braze API key (found under **Developer Console** in the Braze dashboard).

Click **Create** to connect.

### **Device Mode**

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/13Z-V7sf1pqqhD4MVQ89A_.blob)

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/nqDvmb9bDmVD4vWn9nHbG_.blob)

**Step 1: Navigate to Destinations in the Chord CDP**

1. Log into the Chord Data Platform.
2. Navigate to the **CDP**.
3. Click the **Add** button next to **Destinations**.

**Step 2: Connect Braze (Device Mode) as a destination**

1. Select **Braze (Device Mode)** from the destination catalog.
2. Enter a destination name and your Braze API key (found under **Settings > App Settings > Web > API Key** — note this is distinct from your classic Braze API key).
3. Click **Create** to connect.

## Customize Chord + Braze

### Step 1: Select SDK Version

1. Select the version of the Braze SDK to use.
2. Braze SDK Versions 4.1 through 5.9 available.

### Step 2: Select Endpoint

1. Select the correct [Braze SDK endpoint](https://www.braze.com/docs/user_guide/administer/personal/sdk_endpoints?redirected=1) for your application.
2. Braze endpoints US-01 through US-09 & EU-01 through EU-02 are available.

### Step 3: Select Event Config Options

1. Enable Order Completed Calls
2. Enable Track Calls
3. Enable Identify Calls
4. Send Page Events
5. Page Event Name
6. Allowed User Supplied JavaScript
7. Automatically Send In App Messages
8. Eager SDK Initialization
9. Consent Requirements
10. Send Null Consent Events

## Use Chord with Braze

Once connected, Chord maps its tracking events to Braze as follows (Device Mode):

| **Chord Event**        | **Braze Event**                     |
| ---------------------- | ----------------------------------- |
| `order_completed`      | `logPurchase`                       |
| All other track events | `logCustomEvent`                    |
| `identify`             | `getUser` (updates user attributes) |

**Step 1: Access event data in Braze.** After setup, Chord events will begin flowing into Braze automatically. Navigate to your Braze dashboard to verify event receipt under your user profiles or event stream.

**Step 2: Build campaigns using Chord data.** Use the synced events and user attributes in Braze to create segments, trigger Canvas flows, or power message personalization based on real customer behavior from your Chord storefront.

## Considerations

- **Avoid duplicate events:** Before connecting Braze through the Chord CDP, confirm with all destination owners that any non-Chord CDP configured destinations sending to Braze are disabled. Running external destinations alongside Chord CDP destinations can result in duplicate events downstream.
- Not all Chord tracking events are forwarded to Braze. Only the events mapped in the Chord tracking plan are relayed to configured destinations.

## Troubleshooting

If you are unable to verify events properly being passed through to Braze from Chord, there are a few checks to be made to confirm that data is properly to and from Chord into Braze. 

- **Ensure that live tracking events are arriving in the Chord CDP**: Verify in the [Live Events](https://docs.chord.co/cdp-live-events) tab of the Chord CDP that there are live events being fired from all relevant sources. Without live events, there will be nothing to pass through to Braze.
- **Ensure that these live events are properly being passed to your configured Braze destinations:**
  - First, validate that your configured Braze destinations are configured correctly with the appropriate API key, SDK braze version and endpoint.

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/677SiCNpFhxzBjIVeA2pl_.blob)

:::Paragraph{listStyleType="disc" indent="2"}
Second, validate that your configured Braze destinations are properly *connected&#x20;*&#x74;o a corresponding *source* in the Chord CDP
:::

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/xXTA797lutUnV5lBP9qnz_.blob)

:::Paragraph{listStyleType="circle" indent="2"}
Once validated, confirm that events are firing AND are successfully sending to the Braze API endpoint (*Live Events > API Destinations & Function Logs*).
:::

:::Paragraph{listStyleType="circle" listStart="2" indent="2"}
Verify successful hits to the `/users/track` and `/users/identify` endpoints.
:::

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/Vd2WvL5byxHw5Lx-VyKz1_.blob)

:::Paragraph{listStyleType="disc" indent="2"}
Confirm events in your Braze dashboard.
:::

- Additional destination documentation can be found here:&#x20;
  - [Braze (Cloud Mode)](docId\:dYuyxHKXLBUsGlbJaWkmT)
  - [Braze (Device Mode)](docId\:e9N1bM5ceV1XTC2rByk8z)

[title] MNTN Tracking Pixel (Web Pixel)
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

## Introduction

**MNTN Tracking Pixel** is MNTN's site-wide audience building and attribution pixel for Connected TV (CTV) advertising. This destination fires a JavaScript pixel on every page view, enabling MNTN to build audiences and attribute site visits to CTV ad exposure. There is no server-side component.

For conversion tracking (purchases, sign-ups, leads), use this destination alongside the [MNTN Conversion Pixel]().

## Getting Started

This is a device-mode destination. The pixel fires by dynamically inserting a `<script>` tag — no manual script installation is required. You will need:

- **Advertiser ID** — your MNTN advertiser ID. This is the value of the `o` parameter in MNTN's tracking pixel snippet, found in your MNTN account.

## Connecting to the MNTN Tracking Pixel CDP Destination

:::hint{type="danger"}
Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are *disabled.*
**
Running external destinations alongside configured Chord CDP destinations ***can result in duplicate events downstream.&#x20;***
:::

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **MNTN Tracking Pixel** from the destination catalog.
5. Enter the destination name and your **Advertiser ID**.
6. Click **"Create"** to connect.

## Events

### Event Mapping

| Chord Event | Behavior             |
| ----------- | -------------------- |
| `page`      | Fires tracking pixel |
| `screen`    | Fires tracking pixel |

All other event types (track, identify, etc.) are silently skipped.

### Page / Screen Events

Fires a tracking pixel request to MNTN with referrer and page URL data.

**Pixel request:** `GET https://dx.mountain.com/spx?shaid=...&tdr=...&plh=...&cb=...`

| Parameter | Source                 | Notes                       |
| --------- | ---------------------- | --------------------------- |
| `shaid`   | Configuration          | Advertiser ID               |
| `tdr`     | `document.referrer`    | URL-encoded, max 2048 chars |
| `plh`     | `parent.location.href` | URL-encoded, max 2048 chars |
| `cb`      | Generated              | Random cache buster         |

## Initialization

The plugin does not load an external SDK. Each event fires by creating a `<script>` tag with the pixel URL as its `src` attribute, inserted before the last script tag in the document.

## CSP Requirements

If your site uses a Content Security Policy, allow the following domains:

| Directive     | Domain                    |
| ------------- | ------------------------- |
| `script-src`  | `https://dx.mountain.com` |
| `connect-src` | `https://dx.mountain.com` |


[title] Google Ads (Gtag)
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

Google Ads is a pay-per-click advertising platform that lets businesses create ads shown on Google Search, YouTube, and across the web. It supports keyword targeting, audience segmentation, and campaign optimization to drive traffic and conversions.

# Getting started

This is a device mode destination. You will need to enter your store's Conversion ID to connect this destination. You can obtain this value from your global site tag snippet. It should look something like `AW-901243031`.

# Connecting to the Google Ads (Gtag) CDP destination

:::BlockQuote
**Warning:** Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are **disabled**. Running external destinations alongside configured Chord CDP destinations **can result in duplicate events downstream.**
:::

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **Google Ads (Gtag)** from the destination catalog.
5. Enter in the destination name and the **Conversion ID**.
6. Click **"Create"** to connect.

# Enhanced Conversions

On every event (page and track), the plugin checks for email, phone, name, and address fields to set enhanced conversions user data. This enables Google to match conversions to signed-in users for improved attribution.

**Gtag SDK call:** `gtag("set", "user_data", userData)`

| Google Ads User Data Field | Chord Source (in priority order)                                  |
| -------------------------- | ----------------------------------------------------------------- |
| `email`                    | `properties.email` > `context.traits.email`                       |
| `phone_number`             | `properties.phone` > `context.traits.phone`                       |
| `address.first_name`       | `properties.first_name` > `context.traits.first_name`             |
| `address.last_name`        | `properties.last_name` > `context.traits.last_name`               |
| `address.street`           | `properties.address.address1` > `context.traits.address.address1` |
| `address.city`             | `properties.address.city` > `context.traits.address.city`         |
| `address.region`           | `properties.address.state` > `context.traits.address.state`       |
| `address.postal_code`      | `properties.address.zipcode` > `context.traits.address.zipcode`   |
| `address.country`          | `properties.address.country` > `context.traits.address.country`   |

Address fields are only included when at least one address value is present. Per Google's requirements, a valid address match requires at minimum `address.first_name`, `address.last_name`, `address.postal_code`, and `address.country`.

Enhanced conversion data is sent before both page and track events whenever any user data is available.

# Chord events relevant for destination

Not all Chord Tracking events are used downstream in your configured destinations. The most relevant and important events in the Chord tracking plan are mapped within the CDP destination, relayed and then ingested in the destination. The Chord tracking plan events used by the Google Ads (Gtag) destination are:

| Chord Tracking Event                  | Destination Event                                       |
| ------------------------------------- | ------------------------------------------------------- |
| **Checkout Started**                  | *conversion (w/ unique conversionLabel & conversionId)* |
| **Order Completed**                   | *conversion (w/ unique conversionLabel)*                |
| **page (i.e. Page name "Thank You")** | *conversion (w/ unique conversionLabel)*                |

# Track Event Attributes

When a track event matches a configured conversion, the following attributes are sent:

| Google Ads Attribute | Chord Source (in priority order)                                            | Notes                                                        |
| -------------------- | --------------------------------------------------------------------------- | ------------------------------------------------------------ |
| `send_to`            | Configured `conversionId/conversionLabel`                                   | Identifies the conversion action                             |
| `value`              | `properties.total` > `properties.revenue`                                   | Conversion value; for Order Completed uses order-level total |
| `currency`           | `properties.currency` > `properties.meta.i18n.currency` > `"USD"` (default) | Omitted if not present                                       |
| `transaction_id`     | `properties.order_id` / `properties.orderId`                                | For deduplication; omitted if not present                    |
| `items`              | `properties.products[]`                                                     | Array of product items with standard ecommerce fields        |
| `coupon`             | `properties.coupon`                                                         | Coupon code; omitted if not present                          |
| `discount`           | `properties.discount`                                                       | Discount amount; omitted if not present                      |

# Page Load Conversions

Page events can also trigger conversions when the page name matches a configured page load conversion. Page load conversions include:

| Google Ads Attribute | Chord Source                                                                | Notes                                                                 |
| -------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------- |
| `send_to`            | Configured `conversionId/conversionLabel`                                   | Identifies the conversion action                                      |
| `value`              | `properties.total` > `properties.revenue`                                   | Omitted if not present                                                |
| `currency`           | `properties.currency` > `properties.meta.i18n.currency` > `"USD"` (default) | Omitted if not present                                                |
| `transaction_id`     | `properties.order_id` / `properties.orderId`                                | Omitted if not present                                                |
| `path`               | Page path                                                                   | Defaults to `window.location.pathname`                                |
| `referrer`           | Referrer URL                                                                | Defaults to `document.referrer`                                       |
| `search`             | Query string                                                                | Defaults to `window.location.search`                                  |
| `title`              | Page title                                                                  | Defaults to `document.title`                                          |
| `url`                | Page URL                                                                    | Defaults to `window.location.href`                                    |
| `name`               | Page name                                                                   | Derived from `properties.title`, `properties.path`, or `payload.name` |

# CSP Requirements

If your site uses a Content Security Policy, allow the following domains:

| Directive     | Domain                                                                 |
| ------------- | ---------------------------------------------------------------------- |
| `script-src`  | `https://www.googletagmanager.com`                                     |
| `connect-src` | `https://www.googletagmanager.com`, `https://www.google-analytics.com` |

***

**Updated 21 Apr 2026**

[title] Activities
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Shopify/

### **x\_fct\_trans\_activities**

| Name                                                  | Description                                                                                                                                                                                                                                                                                                                          |
| ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Activity Event Text                                   | The name of the event.                                                                                                                                                                                                                                                                                                               |
| Activity Event Text Id                                | The slug of the event name, mapping to the page or track event table.                                                                                                                                                                                                                                                                |
| Activity Id                                           | The unique identifier of an activities (i.e. Track or Page event).                                                                                                                                                                                                                                                                   |
| Activity Page Path                                    | The page path part of the URL. A page path is the part of URL that comes after the hostname (domain) and before the query parameters, URL fragment, or port. (e.g. `/pages/contact-us/`  for `https://chord.co/pages/contact-us/?ref=internal-banner`.)                                                                              |
| Activity Page Query                                   | The query string portion of the URL of the page.                                                                                                                                                                                                                                                                                     |
| Activity Page Title                                   | The title/name of the page.                                                                                                                                                                                                                                                                                                          |
| Activity Page Url                                     | The URL of the page.                                                                                                                                                                                                                                                                                                                 |
| Activity Session Activity Count                       | Total count of activities, pave views and tracked events within the session.                                                                                                                                                                                                                                                         |
| Activity Session Attribution Channel                  | The attribution channel for the first page event of the session. Sessions with an attribution of 'Unknown' indicates that there is no attributable data for that session.                                                                                                                                                            |
| Activity Session Attribution Channel Paid Or Organic  | Indicates if the session's first page attribution is paid or organic. Attribution is considered Organic if the attribution channel is 'Direct', 'Other', 'Organic Search', 'Organic Social', 'Email', or 'SMS'.                                                                                                                      |
| Activity Session Attribution First Page Url Has Gclid | Indicates if the first page event of the session has a Google Click ID.                                                                                                                                                                                                                                                              |
| Activity Session Attribution First Page Url Has Utm   | Indicates if the first page event of the session has any utm information.                                                                                                                                                                                                                                                            |
| Activity Session Attribution Has Referrer             | Indicates if the first page event of the session has a referrer host.                                                                                                                                                                                                                                                                |
| Activity Session Attribution Medium                   | The campaign medium represented by the UTM tags for the first page event of the session.                                                                                                                                                                                                                                             |
| Activity Session Attribution Source                   | The campaign source represented by the UTM tags for the first page event of the session.                                                                                                                                                                                                                                             |
| Activity Session Attribution Sub Channel              | Sub-Channel is a granular level of attribution.                                                                                                                                                                                                                                                                                      |
| Activity Session Completed Oms Order Ids              | Array of OMS Order IDs associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                        |
| Activity Session Completed Order Ids                  | Array of order IDs associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                            |
| Activity Session Completed Order Numbers              | Array of order numbers associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                        |
| Activity Session Days Since Last Session End          | The days between the last session's end and the start of this session.                                                                                                                                                                                                                                                               |
| Activity Session Device                               | The device on which the event was sent from.                                                                                                                                                                                                                                                                                         |
| Activity Session Device Category                      | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                            |
| Activity Session Duration In Seconds                  | Total seconds between start and end activities within the session.                                                                                                                                                                                                                                                                   |
| Activity Session Duration In Seconds Tiers            | Total seconds between start and end activities within the session, aggregated into tiers: 0-9s, 10-29s, 30-59s, and 60s or more.                                                                                                                                                                                                     |
| Activity Session Has Order Completion                 | Flag for sessions with an order completed or checkout completed front-end events                                                                                                                                                                                                                                                     |
| Activity Session Id                                   | Unique ID for the session.                                                                                                                                                                                                                                                                                                           |
| Activity Session Number                               | Session number per anonymous id.                                                                                                                                                                                                                                                                                                     |
| Activity Session Unique Completed Order Count         | Count of unique order ids associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                     |
| Activity Session Unique Completed Order Number Count  | Count of unique order numbers associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                 |
| Activity Utm Campaign                                 | The campaign name represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Activity Utm Content                                  | The campaign content represented by the UTM tags.                                                                                                                                                                                                                                                                                    |
| Activity Utm Medium                                   | The campaign medium represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Activity Utm Source                                   | The campaign source represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Activity Utm Term                                     | The campaign term represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Activity Website Locale                               | Locale of website. This will either be collected from the url or from the drop-down link on the store                                                                                                                                                                                                                                |
| Anonymous Completed Oms Order Ids                     | Array of OMS Order IDs associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                           |
| Anonymous Completed Order Ids                         | Array of order IDs associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                               |
| Anonymous Completed Order Numbers                     | Array of order numbers associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                           |
| Anonymous Current Blended User Id                     | Unique id derived from the user\_id and the anonymous\_id. Whenever a customer has a user\_id, the user\_anonymous\_id will be constant for                                                                                                                                                                                          |
| Anonymous Current User Id                             | The current user\_id associated with the anonymous\_id. This unique user\_id is created by Segment's Identify call. A user\_id can be associated to many anonymous\_ids.                                                                                                                                                             |
| Anonymous Id                                          | Unique id created by Chord for each anonymous visitor per store.                                                                                                                                                                                                                                                                     |
| Anonymous Segment Anonymous Id                        | Id created by Segment for each anonymous visitor. This id gets created as soon as a customer's browser loads the analytics javascript widget. The anonymous\_id remains unchanged through the entire browsing session from a single device. Depending on configuration, two stores connected stores may have the same anonymous\_id. |
| Anonymous Unique User Ids                             | Array of user IDs mapped to an anonymous ID.                                                                                                                                                                                                                                                                                         |
| Date Day Num Of Year                                  | The number representing the day of the year.                                                                                                                                                                                                                                                                                         |
| Date Id                                               | Unique key that uniquify a date.                                                                                                                                                                                                                                                                                                     |
| Date Month Num Of Year                                | The month number of the year.                                                                                                                                                                                                                                                                                                        |
| Last Seen Page Browser Locale                         | Locale of browser.                                                                                                                                                                                                                                                                                                                   |
| Last Seen Page Device                                 | The device on which the event was sent from.                                                                                                                                                                                                                                                                                         |
| Last Seen Page Device Category                        | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                            |
| Last Seen Page Event Table Name                       | The properly formatted name of the table of the event.                                                                                                                                                                                                                                                                               |
| Last Seen Page Event Text                             | The name of the event.                                                                                                                                                                                                                                                                                                               |
| Last Seen Page Event Text Id                          | The slug of the event name, mapping to the page or track event table.                                                                                                                                                                                                                                                                |
| Last Seen Page Gclid                                  | The Google Click ID. Google Click ID (GCLID) is a parameter passed in the URL with ad clicks, to identify the campaign and other attributes of the click associated with the ad for ad tracking and campaign attribution.                                                                                                            |
| Last Seen Page Id                                     | Unique key generated by Segment for each tracking or page event.                                                                                                                                                                                                                                                                     |
| Last Seen Page Oms Id                                 | Unique key generated by our models that uniquifies an OMS.                                                                                                                                                                                                                                                                           |
| Last Seen Page Host                                   | The host of the event's URL. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                        |
| Last Seen Page Path                                   | The page path part of the URL. A page path is the part of URL that comes after the hostname (domain) and before the query parameters, URL fragment, or port. (e.g. `/pages/contact-us/` for `https://chord.co/pages/contact-us/?ref=internal-banner`.)                                                                               |
| Last Seen Page Query                                  | The query string portion of the URL of the page.                                                                                                                                                                                                                                                                                     |
| Last Seen Page Referrer                               | The referrer of the page. The referrer is the webpage that sends visitors to the site using a link. In                                                                                                                                                                                                                               |
| Last Seen Page Title                                  | The title/name of the page.                                                                                                                                                                                                                                                                                                          |
| Last Seen Page Url                                    | The URL of the page.                                                                                                                                                                                                                                                                                                                 |
| Last Seen Page Referrer Host                          | The host of the referrer. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                           |
| Last Seen Page Segment User Id                        | The unique ID of the user.                                                                                                                                                                                                                                                                                                           |
| Last Seen Page Store Id                               | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Last Seen Page Tenant Id                              | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                              |
| Last Seen Page User Agent                             | The User agent of the device making the request. A User agent request header is a characteristic string that lets servers and                                                                                                                                                                                                        |
| Last Seen Page User Id                                | Unique key generated by Chord to identify the user.                                                                                                                                                                                                                                                                                  |
| Last Seen Page Utm Campaign                           | The campaign name represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Last Seen Page Utm Content                            | The campaign content represented by the UTM tags.                                                                                                                                                                                                                                                                                    |
| Last Seen Page Utm Medium                             | The campaign medium represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Last Seen Page Utm Source                             | The campaign source represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Last Seen Page Utm Term                               | The campaign term represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Last Seen Page Website Locale                         | Locale of website. This will either be collected from the url or from the drop-down link on the store                                                                                                                                                                                                                                |
| Session Landing Page Browser Locale                   | Locale of browser.                                                                                                                                                                                                                                                                                                                   |
| Session Landing Page Device                           | The device on which the event was sent from.                                                                                                                                                                                                                                                                                         |
| Session Landing Page Device Category                  | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                            |
| Session Landing Page Event Table Name                 | The properly formatted name of the table of the event.                                                                                                                                                                                                                                                                               |
| Session Landing Page Event Text                       | The name of the event.                                                                                                                                                                                                                                                                                                               |
| Session Landing Page Event Text Id                    | The slug of the event name, mapping to the page or track event table.                                                                                                                                                                                                                                                                |
| Session Landing Page Gclid                            | The Google Click ID. Google Click ID (GCLID) is a parameter passed in the URL with ad clicks, to identify the campaign and other attributes of the click associated with the ad for ad tracking and campaign attribution.                                                                                                            |
| Session Landing Page Id                               | Unique key generated by Segment for each tracking or page event.                                                                                                                                                                                                                                                                     |
| Session Landing Page Oms Id                           | Unique key generated by our models that uniquifies an OMS.                                                                                                                                                                                                                                                                           |
| Session Landing Page Host                             | The host of the event's URL. For example \`https\://www\.store-staging.assembly.dev/myPage\` would become \`store-staging.assembly.dev\`. This facilitates grouping events by host.                                                                                                                                                  |
| Session Landing Page Path                             | The page path part of the URL. A page path is the part of URL that comes after the hostname (domain) and before the query parameters, URL fragment, or port. (e.g. \`/pages/contact-us/\` for \`https\://chord.co/pages/contact-us/?ref=internal-banner\`.)                                                                          |
| Session Landing Page Query                            | The query string portion of the URL of the page.                                                                                                                                                                                                                                                                                     |
| Session Landing Page Referrer                         | The referrer of the page. The referrer is the webpage that sends visitors to the site using a link. In                                                                                                                                                                                                                               |
| Session Landing Page Title                            | The title/name of the page.                                                                                                                                                                                                                                                                                                          |
| Session Landing Page Url                              | The URL of the page.                                                                                                                                                                                                                                                                                                                 |
| Session Landing Page Referrer Host                    | The host of the referrer. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                           |
| Session Landing Page Segment User Id                  | The unique ID of the user.                                                                                                                                                                                                                                                                                                           |
| Session Landing Page Store Id                         | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Session Landing Page Tenant Id                        | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                              |
| Session Landing Page User Agent                       | The User agent of the device making the request. A User agent request header is a characteristic string that lets servers and                                                                                                                                                                                                        |
| Session Landing Page User Id                          | Unique key generated by Chord to identify the user.                                                                                                                                                                                                                                                                                  |
| Session Landing Page Utm Campaign                     | The campaign name represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Session Landing Page Utm Content                      | The campaign content represented by the UTM tags.                                                                                                                                                                                                                                                                                    |
| Session Landing Page Utm Medium                       | The campaign medium represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Session Landing Page Utm Source                       | The campaign source represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Session Landing Page Utm Term                         | The campaign term represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Session Landing Page Website Locale                   | Locale of website. This will either be collected from the url or from the drop-down link on the store                                                                                                                                                                                                                                |
| Store Id                                              | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Store Name                                            | The name of the store.                                                                                                                                                                                                                                                                                                               |
| Store Oms Admin Url                                   | The Admin URL of that OMS.                                                                                                                                                                                                                                                                                                           |
| Store Oms Id                                          | Unique key generated by Chord that uniquifies an OMS.                                                                                                                                                                                                                                                                                |
| Store Oms Store Id                                    | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Store Oms Type                                        | The type of the OMS.                                                                                                                                                                                                                                                                                                                 |
| Store Id                                              | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Store Tenant Id                                       | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                              |
| Store Url                                             | The Storefront URL of of the store.                                                                                                                                                                                                                                                                                                  |
| User Address 1                                        | The first line of the street address.                                                                                                                                                                                                                                                                                                |
| User Address 2                                        | The optional second line of the address.                                                                                                                                                                                                                                                                                             |
| User Address City                                     | The city of the address.                                                                                                                                                                                                                                                                                                             |
| User Address Country                                  | The country of the address.                                                                                                                                                                                                                                                                                                          |
| User Address Name                                     | The full name of the customer, based on firstName and lastName.                                                                                                                                                                                                                                                                      |
| User Address State                                    | The region of the address, such as the province, state, or district.                                                                                                                                                                                                                                                                 |
| User Address Zip                                      | The postal code of the address.                                                                                                                                                                                                                                                                                                      |
| User Completed Oms Order Ids                          | Array of OMS Order IDs associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                |
| User Completed Order Ids                              | Array of order IDs associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                    |
| User Completed Order Numbers                          | Array of order numbers associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                |
| User Email                                            | The email associated with the user.                                                                                                                                                                                                                                                                                                  |
| User Id                                               | Unique ID per user. It is equal to either 1) a identified\_user\_id as identified by Segment in the Identify call, or 2) an anonynous\_id.                                                                                                                                                                                           |
| User Identified User Id                               | Unique ID per identified user. (See Segment's documentation on user\_id)\[ `https://segment.com/docs/connections/spec/identify/#user-id` ].                                                                                                                                                                                          |
| User Ip                                               | IP address associated with the user.                                                                                                                                                                                                                                                                                                 |
| User Last Anonymous Id                                | Last seen anonymous\_id per user. An anonymous\_id is a unique ID per anonymous visitor. (See Segment's documentation on anonymous\_id)\[ `https://segment.com/docs/connections/spec/identify/#anonymous-id` ].                                                                                                                      |
| User Last Segment Anonymous Id                        | This column is not documented.                                                                                                                                                                                                                                                                                                       |
| User Segment User Id                                  | The unique ID of the user.                                                                                                                                                                                                                                                                                                           |
| User Unique Anonymous Ids                             | Array of all seen anonymous\_ids per user. An anonymous\_id is a unique ID per anonymous visitor. (See Segment's documentation on anonymous\_id)\[ `https://segment.com/docs/connections/spec/identify/#anonymous-id` ].                                                                                                             |
| User Unique Completed Order Count                     | Count of unique order ids associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                             |
| Activity Session End Ts (Universal)                   | Last activity timestamp for a session - Universal Time Zone.                                                                                                                                                                                                                                                                         |
| Activity Session Last Session End Ts (Universal)      | The timestamp of the previous session's end per blended user id, if this is not the user's first session - Universal Time Zone.                                                                                                                                                                                                      |
| Activity Session Last Session Start Ts (Universal)    | The timestamp of the previous session's start per blended user id, if this is not the user's first session - Universal Time Zone.                                                                                                                                                                                                    |
| Activity Session Start Ts (Central)                   | First activity timestamp for a session - Cental Time Zone.                                                                                                                                                                                                                                                                           |
| Activity Session Start Ts (Eastern)                   | First activity timestamp for a session - Eastern Time Zone.                                                                                                                                                                                                                                                                          |
| Activity Session Start Ts (Mountain)                  | First activity timestamp for a session - Mountain Time Zone.                                                                                                                                                                                                                                                                         |
| Activity Session Start Ts (Pacific)                   | First activity timestamp for a session - Pacific Time Zone.                                                                                                                                                                                                                                                                          |
| Activity Session Start Ts (Universal)                 | First activity timestamp for a session - Universal Time Zone.                                                                                                                                                                                                                                                                        |
| Activity Ts (Central)                                 | The timestamp calculated by Segment correcting clock skew - Cental Time Zone.                                                                                                                                                                                                                                                        |
| Activity Ts (Eastern)                                 | The timestamp calculated by Segment correcting clock skew - Eastern Time Zone.                                                                                                                                                                                                                                                       |
| Activity Ts (Mountain)                                | The timestamp calculated by Segment correcting clock skew - Mountain Time Zone.                                                                                                                                                                                                                                                      |
| Activity Ts (Pacific)                                 | The timestamp calculated by Segment correcting clock skew - Pacific Time Zone.                                                                                                                                                                                                                                                       |
| Activity Ts (Universal)                               | The timestamp calculated by Segment correcting clock skew - Universal Time Zone.                                                                                                                                                                                                                                                     |
| Last Seen Page Ts (Universal)                         | The timestamp calculated by Segment correcting clock skew - Universal Time Zone.                                                                                                                                                                                                                                                     |
| Session Landing Page Ts (Universal)                   | The timestamp calculated by Segment correcting clock skew - Universal Time Zone.                                                                                                                                                                                                                                                     |
| User Created At (Universal)                           | The timestamp when the user was created - Universal Time Zone.                                                                                                                                                                                                                                                                       |
| User First Seen At (Universal)                        | The first time the user was seen on the site, identified as either anonymous ID or user ID - Universal Time Zone.                                                                                                                                                                                                                    |


[title] Ads
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Shopify/

### **x\_fct\_unions**

| Name                              | Description                                                                                                                                                                                                                                                                                   |
| --------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Account Name                      | The name of the ad account.                                                                                                                                                                                                                                                                   |
| Account Source Account Id         | The unique identifier of the ad account from the source dataset.                                                                                                                                                                                                                              |
| Account Updated At Date           | The timestamp of when an ad account was last updated in the database - Universal Time Zone.                                                                                                                                                                                                   |
| Account Updated At Month          | The timestamp of when an ad account was last updated in the database - Universal Time Zone.                                                                                                                                                                                                   |
| Account Updated At Quarter        | The timestamp of when an ad account was last updated in the database - Universal Time Zone.                                                                                                                                                                                                   |
| Account Updated At Time           | The timestamp of when an ad account was last updated in the database - Universal Time Zone.                                                                                                                                                                                                   |
| Account Updated At Week           | The timestamp of when an ad account was last updated in the database - Universal Time Zone.                                                                                                                                                                                                   |
| Account Updated At Year           | The timestamp of when an ad account was last updated in the database - Universal Time Zone.                                                                                                                                                                                                   |
| Ad Name                           | The name of the ad.                                                                                                                                                                                                                                                                           |
| Ad Source Ad Id                   | The unique identifier of the ad from the source dataset.                                                                                                                                                                                                                                      |
| Ad Status                         | The status of the ad.                                                                                                                                                                                                                                                                         |
| Ad Updated At Date                | The timestamp of when an ad was last updated in the database - Universal Time Zone.                                                                                                                                                                                                           |
| Ad Updated At Month               | The timestamp of when an ad was last updated in the database - Universal Time Zone.                                                                                                                                                                                                           |
| Ad Updated At Quarter             | The timestamp of when an ad was last updated in the database - Universal Time Zone.                                                                                                                                                                                                           |
| Ad Updated At Time                | The timestamp of when an ad was last updated in the database - Universal Time Zone.                                                                                                                                                                                                           |
| Ad Updated At Week                | The timestamp of when an ad was last updated in the database - Universal Time Zone.                                                                                                                                                                                                           |
| Ad Updated At Year                | The timestamp of when an ad was last updated in the database - Universal Time Zone.                                                                                                                                                                                                           |
| Ad Group Name                     | The name of the ad group or ad set of the ad.                                                                                                                                                                                                                                                 |
| Ad Group Source Ad Group Id       | The unique identifier of the ad group or ad set for the ad.                                                                                                                                                                                                                                   |
| Ad Group Status                   | Status of the ad group or ad set.                                                                                                                                                                                                                                                             |
| Ad Group Updated At Date          | The timestamp of when an ad group or ad set was last updated in the database - Universal Time Zone.                                                                                                                                                                                           |
| Ad Group Updated At Month         | The timestamp of when an ad group or ad set was last updated in the database - Universal Time Zone.                                                                                                                                                                                           |
| Ad Group Updated At Quarter       | The timestamp of when an ad group or ad set was last updated in the database - Universal Time Zone.                                                                                                                                                                                           |
| Ad Group Updated At Time          | The timestamp of when an ad group or ad set was last updated in the database - Universal Time Zone.                                                                                                                                                                                           |
| Ad Group Updated At Week          | The timestamp of when an ad group or ad set was last updated in the database - Universal Time Zone.                                                                                                                                                                                           |
| Ad Group Updated At Year          | The timestamp of when an ad group or ad set was last updated in the database - Universal Time Zone.                                                                                                                                                                                           |
| Campaign Advertising Channel Type | The type of advertising channel being used by the campaign.                                                                                                                                                                                                                                   |
| Campaign End Date Date            | The date when the ad campaign ends - Universal Time Zone.                                                                                                                                                                                                                                     |
| Campaign End Date Month           | The date when the ad campaign ends - Universal Time Zone.                                                                                                                                                                                                                                     |
| Campaign End Date Quarter         | The date when the ad campaign ends - Universal Time Zone.                                                                                                                                                                                                                                     |
| Campaign End Date Time            | The date when the ad campaign ends - Universal Time Zone.                                                                                                                                                                                                                                     |
| Campaign End Date Week            | The date when the ad campaign ends - Universal Time Zone.                                                                                                                                                                                                                                     |
| Campaign End Date Year            | The date when the ad campaign ends - Universal Time Zone.                                                                                                                                                                                                                                     |
| Campaign Name                     | The name of the ad campaign.                                                                                                                                                                                                                                                                  |
| Campaign Source Campaign Id       | The unique identifier of the ad campaign from the source dataset.                                                                                                                                                                                                                             |
| Campaign Start Date Date          | The date when the ad campaign starts - Universal Time Zone.                                                                                                                                                                                                                                   |
| Campaign Start Date Month         | The date when the ad campaign starts - Universal Time Zone.                                                                                                                                                                                                                                   |
| Campaign Start Date Quarter       | The date when the ad campaign starts - Universal Time Zone.                                                                                                                                                                                                                                   |
| Campaign Start Date Time          | The date when the ad campaign starts - Universal Time Zone.                                                                                                                                                                                                                                   |
| Campaign Start Date Week          | The date when the ad campaign starts - Universal Time Zone.                                                                                                                                                                                                                                   |
| Campaign Start Date Year          | The date when the ad campaign starts - Universal Time Zone.                                                                                                                                                                                                                                   |
| Campaign Status                   | The status of the ad campaign.                                                                                                                                                                                                                                                                |
| Campaign Updated At Date          | The timestamp of when an ad campaign was last updated in the database - Universal Time Zone.                                                                                                                                                                                                  |
| Campaign Updated At Month         | The timestamp of when an ad campaign was last updated in the database - Universal Time Zone.                                                                                                                                                                                                  |
| Campaign Updated At Quarter       | The timestamp of when an ad campaign was last updated in the database - Universal Time Zone.                                                                                                                                                                                                  |
| Campaign Updated At Time          | The timestamp of when an ad campaign was last updated in the database - Universal Time Zone.                                                                                                                                                                                                  |
| Campaign Updated At Week          | The timestamp of when an ad campaign was last updated in the database - Universal Time Zone.                                                                                                                                                                                                  |
| Campaign Updated At Year          | The timestamp of when an ad campaign was last updated in the database - Universal Time Zone.                                                                                                                                                                                                  |
| Insight Ad Network Type           | The network type used across the account. This field is native to Google and YouTube and fileld with the ad source for other sources.                                                                                                                                                         |
| Insight Date Date                 | The date of the insight - Universal Time Zone.                                                                                                                                                                                                                                                |
| Insight Date Month                | The date of the insight - Universal Time Zone.                                                                                                                                                                                                                                                |
| Insight Date Quarter              | The date of the insight - Universal Time Zone.                                                                                                                                                                                                                                                |
| Insight Date Time                 | The date of the insight - Universal Time Zone.                                                                                                                                                                                                                                                |
| Insight Date Week                 | The date of the insight - Universal Time Zone.                                                                                                                                                                                                                                                |
| Insight Date Year                 | The date of the insight - Universal Time Zone.                                                                                                                                                                                                                                                |
| Source                            | The source of the Ad dataset - Google, Facebook, Tiktok, etc.                                                                                                                                                                                                                                 |
| Average Clicks                    | The number of paid and earned clicks that occurred on the day of the record.                                                                                                                                                                                                                  |
| Average Impressions               | The number of paid and earned impressions - the number of times an ad appeared on the page - that occurred on the day of the record.                                                                                                                                                          |
| Average Link Clicks               | The number of link clicks on the ad's text, media or call-to-action that link to destinations or experiences specified by the advertiser. This metric excludes clicks on content or links in the comments section of a post. Currently, only Facebook Ads sourced insights surface this data. |
| Average Spend                     | The estimated total amount of spend that occurred on the day of the record.                                                                                                                                                                                                                   |
| Total Clicks                      | The number of paid and earned clicks that occurred on the day of the record.                                                                                                                                                                                                                  |
| Total Impressions                 | The number of paid and earned impressions - the number of times an ad appeared on the page - that occurred on the day of the record.                                                                                                                                                          |
| Total Link Clicks                 | The number of link clicks on the ad's text, media or call-to-action that link to destinations or experiences specified by the advertiser. This metric excludes clicks on content or links in the comments section of a post. Currently, only Facebook Ads sourced insights surface this data. |
| Total Spend                       | The estimated total amount of spend that occurred on the day of the record.                                                                                                                                                                                                                   |


[title] Bing Ads (UET Tag)
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

**Bing Ads**, now called **Microsoft Advertising**, is a pay-per-click (PPC) advertising platform that allows businesses to display ads across Microsoft's search network, including Bing, Yahoo, and AOL. It helps brands reach users through search results, partner websites, and native placements, offering targeting options based on keywords, location, demographics, and device type.

Chord's CDP provides support for the Bing Ads UET (Universal Event Tracking) tag. The Bing Ads UET Tag is a piece of code provided by Microsoft Advertising that you place on your website to track what visitors do after clicking on your ad. Specifically, it collects data on actions like purchases, form submissions, or page views, helping you measure ad performance, build remarketing lists, and enable automated bidding strategies. In short, it connects your site behavior with your Microsoft Ads campaigns so you can optimize for better results.

# Getting started

This is a device mode destination. You will need the Microsoft Ads / Bing Universal Event Tracking Tag ID in order to connect this destination.

The relevant ID can be found in your Microsoft Ads dashboard.

# Connecting to the Bing Ads (UET Tag) CDP destination

:::BlockQuote
**Warning:** Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are **disabled**. Running external destinations alongside configured Chord CDP destinations **can result in duplicate events downstream.**
:::

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **Bing Ads (UET Tag)** from the destination catalog.
5. Enter in the destination name and the **Universal Event Tracking Tag ID.**
6. Click **"Create"** to connect.

# Enhanced Conversions

On every event (page and track), the plugin checks for email and phone to set enhanced conversions data via Microsoft's UET SDK. This enables Microsoft to match conversions to signed-in users for improved attribution.

**UET SDK call:** `uetq.push("set", { pid })`

| UET Enhanced Conversion Field | Chord Source (in priority order)            |
| ----------------------------- | ------------------------------------------- |
| `pid.em`                      | `properties.email` > `context.traits.email` |
| `pid.ph`                      | `properties.phone` > `context.traits.phone` |

Enhanced conversion data is sent before both page and track events whenever email or phone is available.

# Events

# Page

Fires a Bing UET page load event.

**UET SDK call:** `uetq.push("pageLoad")`

No additional attributes are sent with page events.

***

# Track

All track events are forwarded as custom Bing UET events using the modern event format. There is no event-name-specific mapping — every track event uses the same format.

**UET SDK call:** `uetq.push("event", eventAction, eventData)`

| UET Attribute    | Chord Source (in priority order)                               | Notes                                                                                                  |
| ---------------- | -------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
| *(event action)* | `event` (the Chord event name)                                 | Second argument to `uetq.push("event", ...)`                                                           |
| `event_category` | `properties.category`                                          | Omitted if not present                                                                                 |
| `revenue_value`  | `properties.revenue` > `properties.total` > `properties.value` | Conversion revenue; omitted if not present                                                             |
| `event_value`    | Same as `revenue_value`                                        | Duplicate of `revenue_value`; sent because some Microsoft Ads conversion goals read this field instead |
| `currency`       | `properties.currency` > `properties.meta.i18n.currency`        | Defaults to `"USD"` via extractor                                                                      |
| `transaction_id` | `properties.order_id` / `properties.orderId`                   | For deduplication; omitted if not present                                                              |
| `shipping`       | `properties.shipping`                                          | Shipping cost; omitted if not present                                                                  |
| `tax`            | `properties.tax`                                               | Tax amount; omitted if not present                                                                     |

***

Identify events are not forwarded to Bing Ads.

# Initialization

The plugin uses Bing's standard inline initialization pattern: it sets up the `uetq` queue array, creates a script element for `//bat.bing.com/bat.js`, and on script load initializes the UET object with `{ ti: tagId, enableAutoSpaTracking: true }` followed by an initial `pageLoad` call.

The plugin manages SDK loading state (`fresh` > `loading` > `loaded`/`failed`) to prevent duplicate script loads. If the script fails to load, subsequent events are silently dropped.

# CSP requirements

If your site uses a Content Security Policy, allow the following domains:

| Directive     | Domain                 |
| ------------- | ---------------------- |
| `script-src`  | `https://bat.bing.com` |
| `connect-src` | `https://bat.bing.com` |

***

**Updated 09 Mar 2026**

[title] Modifying a Report
[path] Chord Data Platform/Analytics Features/

# Introduction

:::hint{type="info"}
**A note on terminology:&#x20;**&#xA;****
A **report** on the Chord platform can refer to either a **dashboard** or a **Look** (which also known as an **explore**). A **dashboard** is made up of a collection of **Looks** (**explores**).
:::

Chord enables you to create custom analyses using our modeled data. You can visualize your data, gain insights, and share those insights with others. You can share these reports with others and let them view the data or give them edit access to change report filters and other content.

See below for more details on editing different report types on Chord:

- **Modifying a Dashboard**
- **Modifying a Look**

# Modifying a dashboard

There are a few different ways to modify or edit an existing dashboard. View the instructions below.

## From My Reports

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/HTbETugZE0nMtWSVpkFWS_screenshot-2024-11-25-at-15038-pm.png)

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/nYvDTYwvMiWt9L5BdJCiG_screenshot-2024-11-25-at-20725-pm.png)

1. Navigate to **My Reports** under the **Analytics** homepage.
2. Select the dashboard in your reports folder that you want to edit via the dropdown menu on the top left.
3. Click the icon with three vertical dots to open up the menu dropdown for the dashboard.
4. Select **Edit Dashboard.**
5. From the pink menu bar, select a new visualization, text, or other option to add and modify your existing dashboard.
6. Don’t forget to save your new dashboard!

## From Shared Reports

:::hint{type="info"}
If you edit a shared dashboard, **the updated data will appear immediately upon saving**. Make sure that you are editing the correct dashboard on the **Shared Reports&#x20;**&#x70;age!
:::

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/bNggq8q4y9f1qyDx0k8eM_screenshot-2024-11-25-at-21056-pm.png)

1. Navigate to **Shared Reports** under the **Analytics** homepage.
2. Select the dashboard in the shared reports folder that you want to edit via the dropdown menu on the top left.
3. Click the icon with three vertical dots to open up the menu dropdown for the dashboard.
4. Select **Edit Dashboard.**
5. From the pink menu bar, select a new visualization, text, or other option to add and modify the existing shared dashboard.
6. Don’t forget to save your new dashboard!

## From Quickstarts

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/VECH17Vi402lZQsZk_BsZ_screenshot-2024-11-25-at-21601-pm.png)

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/4n4ahtg4v8wRnoZ8QdyR8_screenshot-2024-11-25-at-21616-pm.png)

1. Navigate to **Quickstarts** under the **Analytics** homepage.
2. Change the filter to see quickstarts that are dashboards.
3. Select a dashboard quickstart to use as your baseline report.
4. Give your new dashboard a new title and/or description.
5. Click **Create Dashboard**.
6. You’ll be taken to your new dashboard in your personal folder that you can edit using the instructions above!

# Modifying a Look

There are a few different ways to modify or edit an existing Look. View the instructions below.

## From My Reports

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/trwt57C0xav8gNpT7aTI0_screenshot-2024-11-25-at-15058-pm.png)

1. Navigate to **My Reports** under the **Analytics** homepage.
2. Select the Look in your reports folder that you want to edit via the dropdown menu on the top left.
3. Click the gear icon to open up the menu dropdown for the Look.
4. From here, you have two options to modify a Look: **Explore from Here** and **Edit**. We will review the two options below.

### Modifying a custom/personal Look: Explore from Here

:::hint{type="info"}
**Explore from Here** is a great option if you aren’t quite sure what you want to modify yet but want to test different metrics and dimensions.
:::

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/_ZwvQUjOWJvrE1d_NDa01_screenshot-2024-11-25-at-30510-pm.png)

1. If you select **Explore from Here**, you will see our familiar **Explores** screen with the relevant filters for your underlying Look preselected.
2. Select any fields on the lefthand side to try out different types of filters to edit your Look.
3. Don’t forget to save your edits once complete! You can save your Look as a starter metric for a new dashboard, save to an existing dashboard, or a create a new Look altogether.

### Modifying a custom/personal Look: Edit

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/cyNeA0EPeuWR12kPCKJ-u_screenshot-2024-11-25-at-30529-pm.png)

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/iaZO41oQ6zxuIoUOpOgG8_screenshot-2024-11-25-at-20703-pm.png)

1. If you select **Edit**, you will see a screen very similar to the one that displays if you had selected **Explore from Here.**
2. The key difference with choosing to **Edit** rather than **Explore from Here** is that you are directly editing the chosen Look rather than seeking to create an entirely new Look.
3. Once you make your necessary edits, you can save this Look or select any additional options, such as saving it as a new or existing dashboard or as a new Look.

## From Shared Reports

:::hint{type="info"}
If you edit a shared Look, the updated data will appear immediately upon saving. Make sure that you are editing the correct Look on the **Shared Reports** page!
:::

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/VUaYqkZwgSsU0PA6XsHQH_screenshot-2024-11-25-at-30403-pm.png)

1. Navigate to **Shared Reports** under the **Analytics** homepage.
2. Select the Look in your shared reports folder that you want to edit via the dropdown menu on the top left.
3. Click the gear icon to open up the menu dropdown for the Look.
4. From here, you have two options to modify a Look: **Explore from Here** and **Edit**. We will review the two options below.

### Modifying a Shared Look: Explore from here

:::hint{type="info"}
**Explore from Here** is a great option if you aren’t quite sure what you want to modify yet but want to test different metrics and dimensions.
:::

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/U6wENMYZPMuVn312dep9E_screenshot-2024-11-25-at-30430-pm.png)

1. If you select **Explore from Here**, you will see our familiar **Explores** screen with the relevant filters for your underlying Look preselected.
2. Select any fields on the lefthand side to try out different types of filters to edit your Look.
3. Don’t forget to save your edits once complete! You can save your Look as a starter metric for a new dashboard, save to an existing dashboard, or a create a new Look altogether.

### Modifying a Shared Look: Edit

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/nlFzuGyjzxeFm04G9dIZK_screenshot-2024-11-25-at-30413-pm.png)

1. If you select **Edit**, you will see a screen very similar to the one that displays if you had selected **Explore from Here.**
2. The key difference with choosing to **Edit** rather than **Explore from Here** is that you are directly editing the chosen Look rather than seeking to create an entirely new Look.
3. Once you make your necessary edits, you can save this Look or select any additional options, such as saving it as a new or existing dashboard or as a new Look.

## From Quickstarts

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/Q5DS_SD2dVQjh1clADND-_screenshot-2024-11-25-at-21635-pm.png)

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/rLVbLznyuiwFluWEtUres_screenshot-2024-11-25-at-21644-pm.png)

1. Navigate to **Quickstarts** under the **Analytics** homepage.
2. Change the filter to see quickstarts that are Looks.
3. Select a Look quickstart to use as your baseline metric.
4. Give your new Look a new title and/or description.
5. Click **Create Look.**
6. You’ll be taken to your new Look in your personal folder that you can edit using the instructions above!

# FAQs and troubleshooting

Q: How can I pin a new report that I just created and edited?

A: You must be an admin-level user in order to pin reports. To do so, make sure that your new report is in your organization’s Shared Reports folder. Once the report has been shared, an admin-level user can pin it by clicking into the report and pinning it via the pin icon.&#x20;

For additional information on pinning and unpinning reports, please check out [this document](https://docs.chord.co/pinning-and-unpinning-reports).

[title] Creating Custom Calculations
[path] Chord Data Platform/Analytics Features/



::::ExpandableHeading
### Introduction

This article will walk you through how to create custom metrics directly within an explore dataset.



:::hint{type="success"}
The default timezone in Looker for OMS timestamps is UTC, whereas the OMS UI displays EST.&#x20;

Within Looker, we've added additional timezone options for some of our timestamps but not for `Order Approved Date`. Custom time zones can be created with a custom field and can be submitted as a feature request.
:::
::::



:::ExpandableHeading
### Create a custom calculation

While Chord's data engineers have built plenty of out-of-the-box metrics for you to explore, we understand that you may find yourself needing to create custom calculations.



Navigate to your Looker account and choose the 'Explore' page with the data points that you are looking to include in your custom metric.



On the right-hand panel, select the measures that will be part of your calculation. For example, Abandoned Cart = # of Customers That Added Product to Cart- # of Customers who Check out, both of these measures will need to be selected in order to create a calculation. You will see the measures pop up in the 'Data' field at the bottom of the screen.



1. ::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/mfICy6kOXPhI4NiAVTqu1_1.png" size="52" width="630" height="1956" caption="Explore" position="flex-start" showCaption="true"}

Hit 'Add Calculation' on the right hand side of the 'Data' bar.

::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/wDkCvq_AojPfSNPbu431e_3.png" size="56" width="874" height="406" caption="Add Calculation" position="flex-start" showCaption="true"}



Create your custom calculation.



::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/RhK_T40C4T8DcIMXd3m20_222.png" size="58" width="1598" height="1258" caption="Edit Calculation" position="flex-start" showCaption="true"}



Click Save

You've just created a custom calculation!&#x20;


:::

:::hint{type="success"}
if you have any questions or need help, please reach out to us at [help@chord.co](mailto\:help@chord.co)
:::




[title] Applovin Axon
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

# Introduction

AppLovin Axon is a measurement and audience platform that helps advertisers track conversions, optimize campaigns, and build targeted audiences. The Axon pixel collects event data from your website to power AppLovin's ad optimization engine.

# Getting Started

This is a device-mode destination requiring an Axon Event Key for connection. You can obtain the Event Key from your AppLovin dashboard.

# Initialization

When the Axon destination is enabled, p.js injects the Axon pixel scripts into the page on first event:

- `https://s.axon.ai/pixel.js`
- `https://c.albss.com/p/l/loader.iife.js`

Before the scripts load, a `window.axon` stub is created that queues all calls. Once the real SDK loads it replays the queue automatically, so no events are lost during initialization. `axon("init")` is called immediately after the stub is created to begin the SDK initialization handshake.

Preconnect and DNS-prefetch hints for `https://s.axon.ai` and `https://c.albss.com` are also injected to reduce script load latency.

# Connecting to the Axon CDP Destination

:::BlockQuote
**Warning:** Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are **disabled**. Running external destinations alongside configured Chord CDP destinations **can result in duplicate events downstream.**
:::

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **AppLovin Axon** from the destination catalog.
5. Enter the destination name and **Axon Event Key**.
6. Click **"Create"** to connect.

# Events

## Event Mapping

Chord event names are mapped to Axon standard event names. Unmapped event names are passed through as-is.

### Required Events (Purchase Sites)

| Chord Event      | Axon Event      |
| ---------------- | --------------- |
| Product Viewed   | view\_item      |
| Product Added    | add\_to\_cart   |
| Checkout Started | begin\_checkout |
| Order Completed  | purchase        |

### Recommended Events

| Chord Event                | Axon Event         |
| -------------------------- | ------------------ |
| Payment Info Entered       | add\_payment\_info |
| Cart Viewed                | view\_cart         |
| Product Removed            | remove\_from\_cart |
| Products Searched          | search             |
| Signed Up                  | sign\_up           |
| Logged In / User Logged In | login              |
| Subscribe / Subscribed     | subscribe          |
| Lead Generated             | generate\_lead     |

# Event Details

## Page

Fires an Axon page view tracking call.

**Axon SDK call:** `axon("track", "page_view")`

No additional attributes are sent with page events.

***

## Identify

Sends user identity to Axon.

**Axon SDK call:** `axon("identify", userId, traits?)`

| Axon Attribute | Chord Source (Priority Order) | Notes                                        |
| -------------- | ----------------------------- | -------------------------------------------- |
| `userId`       | `userId` > `anonymousId`      | Required; event is skipped if neither is set |
| `traits`       | `traits`                      | Optional; only sent if non-empty             |

***

## Track

Sends a tracked event to Axon. The payload structure varies by event type.

### Common Attributes (All Track Events)

The following attributes are included on every track event when the source data is available:

| Axon Attribute      | Chord Source (Priority Order)                        | Notes                                                                                       |
| ------------------- | ---------------------------------------------------- | ------------------------------------------------------------------------------------------- |
| `user_data.email`   | `properties.email` > `context.traits.email`          | `user_data` object is only included if at least one of email, phone, or user\_id is present |
| `user_data.phone`   | `properties.phone` > `context.traits.phone`          |                                                                                             |
| `user_data.user_id` | `userId` > `traits.userId` > `context.traits.userId` |                                                                                             |

### Common Attributes (Item-Based Events)

The following events also include items, currency, and value: `view_item`, `add_to_cart`, `begin_checkout`, `purchase`, `add_payment_info`, `view_cart`, `remove_from_cart`.

| Axon Attribute | Chord Source (Priority Order)                                                                               | Notes                                                                                                  |
| -------------- | ----------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
| `items`        | `properties.products`                                                                                       | Array of Axon items (see Item Attributes below). Products without an identifiable ID are filtered out. |
| `currency`     | `properties.currency` > `properties.meta.i18n.currency` > `"USD"` (default)                                 |                                                                                                        |
| `value`        | `properties.total` > `properties.revenue` > `properties.value` > `properties.price` > sum of product prices |                                                                                                        |

### Item Attributes

Each product in `properties.products` is transformed to an Axon item:

| Axon Attribute     | Chord Source (Priority Order)                            | Notes                                         |
| ------------------ | -------------------------------------------------------- | --------------------------------------------- |
| `item_id`          | `product_id` / `productId` > `id` / `sku` / `variant_id` | Required; product is excluded if none resolve |
| `item_name`        | `name` / `productName` / `product_name`                  |                                               |
| `price`            | `price` / `productPrice`                                 |                                               |
| `quantity`         | `quantity` / `productQuantity`                           |                                               |
| `image_url`        | `image_url`                                              |                                               |
| `item_variant_id`  | `variant_id`                                             |                                               |
| `item_brand`       | `brand`                                                  |                                               |
| `affiliation`      | `affiliation`                                            |                                               |
| `discount`         | `discount`                                               |                                               |
| `item_category_id` | `item_category_id`                                       |                                               |

***

## Order Completed

Fires a purchase event. Includes the common item-based attributes above, plus:

**Axon SDK call:** `axon("track", "purchase", properties)`

| Axon Attribute   | Chord Source (Priority Order)                | Notes |
| ---------------- | -------------------------------------------- | ----- |
| `transaction_id` | `properties.order_id` / `properties.orderId` |       |
| `tax`            | `properties.tax`                             |       |
| `shipping`       | `properties.shipping`                        |       |

***

## Payment Info Entered

Fires an add payment info event. Includes the common item-based attributes above, plus:

**Axon SDK call:** `axon("track", "add_payment_info", properties)`

| Axon Attribute | Chord Source (Priority Order)                           | Notes |
| -------------- | ------------------------------------------------------- | ----- |
| `payment_type` | `properties.payment_type` > `properties.payment_method` |       |

***

## Products Searched

Fires a search event.

**Axon SDK call:** `axon("track", "search", properties)`

| Axon Attribute | Chord Source (Priority Order)                                               | Notes                                                   |
| -------------- | --------------------------------------------------------------------------- | ------------------------------------------------------- |
| `search_term`  | `properties.search_term` > `properties.query` > `properties.term`           |                                                         |
| `results`      | `properties.results`                                                        | Array of items, transformed using the same item mapping |
| `currency`     | `properties.currency` > `properties.meta.i18n.currency` > `"USD"` (default) | Optional                                                |
| `value`        | `properties.value`                                                          | Optional                                                |

***

## Signed Up

Fires a sign-up event.

**Axon SDK call:** `axon("track", "sign_up", properties)`

| Axon Attribute | Chord Source        | Notes    |
| -------------- | ------------------- | -------- |
| `method`       | `properties.method` | Optional |

***

## Subscribe / Subscribed

Fires a subscribe event.

**Axon SDK call:** `axon("track", "subscribe", properties)`

| Axon Attribute | Chord Source          | Notes    |
| -------------- | --------------------- | -------- |
| `currency`     | `properties.currency` | Optional |
| `value`        | `properties.value`    | Optional |

***

## Logged In / User Logged In

**Axon SDK call:** `axon("track", "login")`

No additional attributes are sent.

***

## Lead Generated

**Axon SDK call:** `axon("track", "generate_lead")`

No additional attributes are sent.

***

## Unmapped Events

Events not listed in the event mapping tables are passed through to Axon using the original event name, with `properties` forwarded as-is.

**Axon SDK call:** `axon("track", eventName, properties)`

# CSP Requirements

If your site uses a Content Security Policy, allow the following domains:

| Directive     | Domain                                     |
| ------------- | ------------------------------------------ |
| `script-src`  | `https://s.axon.ai`, `https://c.albss.com` |
| `connect-src` | `https://s.axon.ai`, `https://c.albss.com` |

***

**Updated 14 Apr 2026**

[title] Amplitude
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

# Introduction

Chord CDP supports two Amplitude destination modes that share the same default event routing and custom action mappings. Most importantly, the Device Mode destination ensures that the session is passed along to the cloud mode destination.

The device mode destination need to be enabled for accurate session tracking in the Cloud Mode, even if only the cloud mode is used to send events. With the device mode destination, the CDP event will contain `context.clientIds.amplitudeSessionId` with the current users session ID.

# Requirements

| Feature                 | Requires                                         |
| ----------------------- | ------------------------------------------------ |
| Basic event tracking    | API Key                                          |
| User identification     | API Key                                          |
| Group analytics         | API Key + Secret Key + Amplitude Accounts add-on |
| User aliasing (mapUser) | API Key + Secret Key                             |

# Destination modes

| Mode            | ID              | Description                                                                                                                |
| --------------- | --------------- | -------------------------------------------------------------------------------------------------------------------------- |
| **Cloud Mode**  | amplitude-cloud | Server-side integration using Amplitude HTTP API v2. Events are sent from Chord's servers directly to Amplitude.           |
| **Device Mode** | amplitude-pixel | Client-side integration that loads the Amplitude SDK in the browser. Enables session tracking and real-time event capture. |

## Connecting to an Amplitude CDP destination

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **Amplitude (Cloud Mode)&#x20;**&#x6F;&#x72;**&#x20;Amplitude (Device Mode)&#x20;**&#x66;rom the destination catalog.
5. For the **Amplitude (Cloud Mode)** destination, enter in the destination name and the **Project API Key.&#x20;**&#x59;ou can also include the Project Secret Key, Region, and Custom Action Mappings.
6. For the **Amplitude (Device Mode)** destination, enter in the destination name and the **Amplitude API key.** You can also toggle track configurations.
7. Click **"Create"&#x20;**&#x74;o connect.

:::hint{type="warning"}
Please reach out to ***help\@chord.co&#x20;***&#x69;f you are looking to utilize Amplitude's advanced features like [Autocapture](https://amplitude.com/docs/data/autocapture) & [Visual Labeling](https://amplitude.com/docs/data/visual-labeling)***,&#x20;***&#x61;s the implementation will vary.
:::

## Configuration

### Cloud mode settings

| Field                  | Required | Description                                                                                           |
| ---------------------- | -------- | ----------------------------------------------------------------------------------------------------- |
| **Project API Key**    | Yes      | Your Amplitude Project API Key. Found in Amplitude under Data > Sources & Destinations.               |
| **Project Secret Key** | No       | Required only for group identify and user mapping operations. Found in Data > Sources & Destinations. |
| **Region**             | No       | north\_america (default) or europe. Select Europe if your Amplitude project is in the EU data center. |

### Device mode settings

| Field                             | Default | Description                                                                   |
| --------------------------------- | ------- | ----------------------------------------------------------------------------- |
| **API Key**                       | —       | Your Amplitude project's API Key                                              |
| **Track All Pages**               | false   | Send a "Loaded a Page" event for every page() call                            |
| **Track Named Pages**             | true    | Send "Viewed \[Name] Page" when page name is provided                         |
| **Track Categorized Pages**       | true    | Send "Viewed \[Category] Page" when category is provided                      |
| **Track UTM Properties**          | true    | Automatically capture UTM parameters from the URL                             |
| **Track Referrer**                | false   | Include referrer information in events                                        |
| **Use Anonymous ID as Device ID** | false   | Use Chord's anonymousId as Amplitude's device\_id for cross-platform tracking |
| **Session Timeout**               | 30      | Minutes of inactivity before starting a new session                           |

## Default event routing

Both Cloud and Device modes use the same default routing:

| Source Event    | Amplitude Action  | Notes                                           |
| --------------- | ----------------- | ----------------------------------------------- |
| track           | logEventV2        | All track events except Order Completed         |
| Order Completed | logPurchase       | Includes revenue tracking                       |
| identify        | identifyUser      | Updates user properties                         |
| page / screen   | logEventV2        | Sent as "Viewed \[name]"                        |
| group           | groupIdentifyUser | Requires Amplitude Accounts add-on & Secret Key |
| alias           | mapUser           | Merges user identities. Requires Secret Key     |

## Default field mappings

The following tables show how Chord CDP event fields are automatically mapped to Amplitude fields.

### User & device identification

| Source Field      | Amplitude Field | Notes                          |
| ----------------- | --------------- | ------------------------------ |
| userId            | user\_id        | Primary user identifier        |
| context.device.id | device\_id      | Falls back to anonymousId      |
| anonymousId       | device\_id      | Used when device.id is not set |
| messageId         | insert\_id      | Deduplication key              |

### Device & platform

| Source Field                | Amplitude Field      | Fallback                                        |
| --------------------------- | -------------------- | ----------------------------------------------- |
| context.device.type         | platform             | user.deviceType, or "Web" for analytics.js      |
| context.os.name             | os\_name             | user.deviceOs, parsed from User-Agent           |
| context.os.version          | os\_version          | user.deviceOsVersion, parsed from User-Agent    |
| context.device.brand        | device\_brand        | —                                               |
| context.device.manufacturer | device\_manufacturer | user.deviceManufacturer, parsed from User-Agent |
| context.device.model        | device\_model        | user.deviceModel, parsed from User-Agent        |
| context.network.carrier     | carrier              | user.deviceCarrier                              |
| context.userAgent           | user\_agent          | —                                               |
| context.app.version         | app\_version         | —                                               |

### Location & locale

| Source Field               | Amplitude Field | Fallback             |
| -------------------------- | --------------- | -------------------- |
| context.location.country   | country         | user.address.country |
| context.location.region    | region          | user.address.state   |
| context.location.city      | city            | user.address.city    |
| context.location.dma       | dma             | —                    |
| context.location.latitude  | location\_lat   | user.deviceLatitude  |
| context.location.longitude | location\_lng   | user.deviceLongitude |
| context.locale             | language        | user.locale          |
| context.ip                 | ip              | user.ip              |

### Event data

| Source Field                         | Amplitude Field   | Notes                             |
| ------------------------------------ | ----------------- | --------------------------------- |
| event                                | event\_type       | For page/screen: "Viewed \[name]" |
| timestamp                            | time              | Converted to milliseconds         |
| properties                           | event\_properties | All event properties              |
| context.clientIds.amplitudeSessionId | session\_id       | For session tracking              |
| context.library.name                 | library           | Defaults to "chordcdp"            |
| context.groups                       | groups            | For group analytics               |

### Mobile advertising IDs

| Source Field                 | Amplitude Field | Notes                  |
| ---------------------------- | --------------- | ---------------------- |
| context.device.advertisingId | idfa            | iOS Advertising ID     |
| context.device.idfa          | idfa            | Alternative source     |
| context.device.advertisingId | adid            | Android Advertising ID |
| context.device.adid          | adid            | Alternative source     |
| context.device.id            | idfv            | iOS Vendor ID          |

### Revenue fields (logPurchase action)

| Source Field             | Amplitude Field   | Notes                                         |
| ------------------------ | ----------------- | --------------------------------------------- |
| properties.revenue       | revenue           | Total revenue amount                          |
| properties.price         | price             | Unit price                                    |
| properties.quantity      | quantity          | Number of items                               |
| properties.productId     | productId         | Product identifier                            |
| properties.revenueType   | revenueType       | e.g., "purchase", "refund"                    |
| properties.products\[\*] | Individual events | Creates "Product Purchased" event per product |

### UTM & campaign tracking

Campaign parameters are mapped to user properties with both current and initial values:

| Source Field             | $set Property | $setOnce Property      |
| ------------------------ | ------------- | ---------------------- |
| context.campaign.source  | utm\_source   | initial\_utm\_source   |
| context.campaign.medium  | utm\_medium   | initial\_utm\_medium   |
| context.campaign.name    | utm\_campaign | initial\_utm\_campaign |
| context.campaign.term    | utm\_term     | initial\_utm\_term     |
| context.campaign.content | utm\_content  | initial\_utm\_content  |
| context.page.referrer    | referrer      | initial\_referrer      |

User traits from identify calls are also set via user\_properties.$set.

## Amplitude actions reference

| Action            | Description                                                          |
| ----------------- | -------------------------------------------------------------------- |
| logEventV2        | Track a standard event with properties                               |
| identifyUser      | Update user properties without tracking an event                     |
| logPurchase       | Track a revenue event (includes revenue, price, quantity, productId) |
| mapUser           | Merge two user identities (alias). Requires Secret Key               |
| groupIdentifyUser | Update group properties. Requires Secret Key                         |
| logEvent          | Legacy event tracking (use logEventV2 instead)                       |

## Custom action mappings

Override the default routing or add field transformations using **Custom Action Mappings**.

### Use cases

- **Route specific events** — Send Subscription Started to logPurchase instead of logEventV2
- **Rename events** — Transform Button Clicked → CTA Interaction
- **Map custom fields** — Map any property to Amplitude fields using dot notation
- **Filter events** — Use $drop as target event name to exclude events

### Mapping fields

| Field                 | Description                                                                                    |
| --------------------- | ---------------------------------------------------------------------------------------------- |
| **Source Event(s)**   | Event(s) to match. Comma-separated for multiple (e.g., Purchase,Subscription). Use \* for all. |
| **Amplitude Action**  | Which Amplitude API to call                                                                    |
| **Target Event Name** | Override the event name. Leave empty for original. Use $drop to filter out.                    |
| **Field Mappings**    | Map source properties to Amplitude fields                                                      |

### Property path examples

:::BlockQuote
properties.product\_id           → Access a top-level property
properties.products\[0].sku      → Access first item in an array
properties.products\[\*].sku      → Access ALL items in an array (wildcard)
context.campaign.source         → Access nested context fields
traits.email                    → Access user traits (for identify events)
:::

### Target property examples

:::BlockQuote
event\_properties.item\_id        → Set an event property
user\_properties.$set.plan       → Set a user property
revenue                         → Set the revenue field
productId                       → Set the product ID
:::

### Match priority

1. **Exact match** — Event name matches exactly (e.g., Order Completed)
2. **Type match** — Event type matches (e.g., track matches all track events)
3. **Wildcard** — \* matches all events (lowest priority)

## Examples

### Route subscription events to revenue tracking

:::BlockQuote
Source Event: Subscription Started, Subscription Renewed
Action: logPurchase
:::

### Rename an event

:::BlockQuote
Source Event: Button Clicked
Action: logEventV2
Target Event: CTA Interaction
:::

### Map custom fields for purchase events

:::BlockQuote
Source Event: Order Completed
Action: logPurchase
Field Mappings:
&#x20; \- properties.order\_id → event\_properties.order\_id
&#x20; \- properties.items\[\*].sku → event\_properties.product\_ids
&#x20; \- properties.total → revenue
:::

### Drop unwanted events

:::BlockQuote
Source Event: Internal Debug Event
Action: logEventV2
Target Event: $drop
:::

:::hint{type="danger"}
Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are *disabled.*
**
Running external destinations alongside configured Chord CDP destinations ***can result in duplicate events downstream.&#x20;***
:::


[title] PostHog
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

# Introduction

PostHog is an open-source product analytics platform that helps teams understand how users interact with their web or mobile apps. It combines event tracking, session replays, heatmaps, feature flags, and A/B testing into a single platform—allowing product and engineering teams to analyze behavior, test features, and ship improvements faster.

Unlike many analytics tools, PostHog can be self-hosted, giving teams full control over their data and compliance. It’s especially popular with teams that want powerful analytics without sending data to third-party servers.

# Getting started

You need your Project API Key to connect to this destination. You can find your Project API Key under [Project Settings](https://app.posthog.com/project/settings) in PostHog.

# Connecting to the PostHog CDP destination

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"&#x20;**&#x62;utton next to Destinations.
4. Select **PostHog&#x20;**&#x66;rom the destination catalog.
5. Enter in the destination name and the **PostHog Project API Key**.&#x20;
6. Click **"Create"&#x20;**&#x74;o connect.

# Chord events relevant for destination

Not all Chord Tracking events are used downstream in your configured destinations. The most relevant and important events in the Chord tracking plan are mapped within the CDP destination, relayed and then ingested in the destination. The Chord tracking plan events used by the the [Posthog](https://posthog.com/docs/data/events) destination are:&#x20;

| **Chord Tracking Event** | *Destination Event*                       |
| ------------------------ | ----------------------------------------- |
| **Identify**             | *No event specified, user identification* |
| **Page**                 | *pageview*                                |
| **All Track Events**     | *Event name passed as is*                 |



:::hint{type="danger"}
Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are *disabled.*
**
Running external destinations alongside configured Chord CDP destinations ***can result in duplicate events downstream.&#x20;***
:::


[title] CLR and RFM Data Table Glossary
[path] Chord Data Platform/Predictive Models/Customer Lifetime Revenue (CLR)/



### Introduction&#x20;

The following are the columns in the table **chord\_ds.current\_batch\_output.clr\_ests\_current**, the feeder table for RFM, and CLR Looker explores. 

An observation in this table is at the **chord\_tenant\_id**, **user\_id&#xA0;**(customer\_static\_id for Shopify) level, so it represents a summary view of a tenant’s customer. 

Statistically modeled features are prepended with **predicted\_**, and the other fields are directly modeled in SQL. Data for a row is based on **batch\_max\_date**, the maximum date that data is read for the batch run.

**chord\_tenant\_id**: chord tenant id.
**user\_id**: customer\_static\_id from shopify, user\_id from chordoms.
**email**: last email address for user\_id.
**company**: string that I use for telling chord\_tenant\_ids apart.
**cohort**: first day of first month of user\_id’s first purchase.
**zip**: user\_id’s last shipping zip code.
**state**: user\_id’s last shipping state.
**country**: user\_id’s last shipping country.
**max\_dt**: max date of user’s last purchase.
**min\_dt**: min date of user’s first purchase.
**cust\_age**: months since first purchase.
**trans\_cnt**: total count of transactions.
**sum\_net\_revenue**: sum of net revenue.
**avg\_ticket**: user’s avg net revenue purchase.
**first\_purchase\_amt**:  total sum revenue of first purchase.
**last\_purchase\_amt**: total sum revenue of last purchase.
**retail\_net\_rev**: total user net revenue that is from shopify or legacy order\_channel.
**subscription\_net\_rev**: total user net revenue that is from order\_channel ‘subscriptions’.
**other\_net\_rev**: total user net revenue that is from not retail or subscription.
**retail\_trans\_cnt**: count user transactions that is from shopify or legacy order\_channel.
**subscription\_trans\_cnt**: count user transactions that is from order\_channel ‘subscriptions’.
**other\_trans\_cnt**: count user transactions that are from not retail or subscription.
**pct\_net\_revenue\_is\_promo**: user’s sum of total\_promo / sum of net revenue.
**sum\_promos**: user’s sum of total\_promo.
**pct\_trans\_with\_promo**: percent of user’s transactions that had total\_promo>$0.
**avg\_promo**: user’s average total\_promo per transaction.
**first\_purchase\_has\_promo**: true if first purchase had total\_promo>$0, false otherwise.
**First\_name**: user’s last listed first name.
**Predicted\_gender**: simple first name match on known gender probabilities.
**batch\_max\_date**: target date for the batch run, also max date of transactions in the batch run.
**t**: time between max batch date and user’s first transaction.
**recency**: time between max batch date and user’s last transaction.
**frequency**: user’s total count of transactions.
**frequency\_bucket**: user’s 1-5 bucket score, where 1 is best, 5 is worst, where \{5 if 1 trans, 4 if 2, 3 if 3, 2 if 4, 1 if 5 or more transactions}
**monetary**: sum of user’s net revenue.
**predicted\_probability\_alive**: model probability of purchasing from tenant again.
**predicted\_clr**: models customer lifetime revenue, equals (prob alive) \* (future purchases) \* (avg net revenue)
**recency\_bucket**: user’s 1-5 bucket score, where 1 is best, 5 is worst, based on quantiles or recency over the past 370 days.
**monetary\_bucket**: user’s 1-5 bucket score, where 1 is best, 5 is worst, based on quantiles or recency over the past 370 days.
**rfm**: string that concatenates recency, frequency, and monetary buckets. For example a ‘1\_1\_1’ is a one for recency, frequency, and monetary, and 3\_1\_2 is a 3 for recency, 1 for frequency, and 2 for monetary.
**rfm\_score**: simple rfm score (1/recency) \* frequency \* sqrt(monetary)
**is\_current**: true if row is from the current batch run, false if from previous batch.
**rfm\_score\_bucket**: user’s decile (1-10) score, where 10 is best and 1 is worst, based on rfm score.
**monetary\_bucket\_min**: monetary bucket string for looker graph legends.
**monetary\_bucket\_max**: monetary bucket string for looker graph legends.
**monetary\_bucket\_ranges**: monetary bucket string for looker graph legends.
**recency\_bucket\_min**: recency bucket string for looker graph legends.
**recency\_bucket\_max**: recency bucket string for looker graph legends.
**recency\_bucket\_ranges**: recency bucket string for looker graph legends.
**frequency\_bucket\_min**: frequency bucket string for looker graph legends.
**frequency\_bucket\_max**: frequency bucket string for looker graph legends.
**frequency\_bucket\_ranges**: frequency bucket string for looker graph legends.


[title] Line Items
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Shopify/

### **x\_fct\_trans\_line\_items**

| Name                                                   | Description                                                                                                                                                                                                                                                                                                                                  |
| ------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Billing Address 1                                      | The street address of the billing address.                                                                                                                                                                                                                                                                                                   |
| Billing Address 2                                      | An additional field for the street address of the billing address.                                                                                                                                                                                                                                                                           |
| Billing Address City                                   | The city, town, or village of the billing address.                                                                                                                                                                                                                                                                                           |
| Billing Address Company                                | The company associated to this billing address.                                                                                                                                                                                                                                                                                              |
| Billing Address Country                                | The name of the country of the billing address.                                                                                                                                                                                                                                                                                              |
| Billing Address Country Code                           | The two-letter code (ISO 3166-1 format) for the country of the billing address.                                                                                                                                                                                                                                                              |
| Billing Address First Name                             | The first name of the person associated to this billing address.                                                                                                                                                                                                                                                                             |
| Billing Address Id                                     | Unique identifier generated by Chord for a Billing Address.                                                                                                                                                                                                                                                                                  |
| Billing Address Last Name                              | The last name of the person associated to this billing address.                                                                                                                                                                                                                                                                              |
| Billing Address Latitude                               | The latitude of the billing address.                                                                                                                                                                                                                                                                                                         |
| Billing Address Longitude                              | The longitude of the billing address.                                                                                                                                                                                                                                                                                                        |
| Billing Address Name                                   | The full name of the person associated to this billing address.                                                                                                                                                                                                                                                                              |
| Billing Address Oms Billing Address Id                 | Unique key generated by Shopify that identifies a billing address.                                                                                                                                                                                                                                                                           |
| Billing Address Phone                                  | The phone number associated to this billing address.                                                                                                                                                                                                                                                                                         |
| Billing Address Province                               | The name of the region (province, state, prefecture, …) of the billing address.                                                                                                                                                                                                                                                              |
| Billing Address Province Code                          | The two-letter abbreviation of the region of the billing address.                                                                                                                                                                                                                                                                            |
| Billing Address Zip                                    | The postal code of the billing address.                                                                                                                                                                                                                                                                                                      |
| First Fulfillment Id                                   | Unique identifier for a Shopify Fulfillment at a specific point in time                                                                                                                                                                                                                                                                      |
| First Fulfillment Oms Fulfillment Id                   | Unique key generated by Shopify that identifies a fulfillment.                                                                                                                                                                                                                                                                               |
| First Fulfillment Shipment Status                      | Represent the status of the shipment.                                                                                                                                                                                                                                                                                                        |
| First Fulfillment Status                               | The status of the fulfillment.                                                                                                                                                                                                                                                                                                               |
| First Fulfillment Tracking Company                     | The name of the tracking company.                                                                                                                                                                                                                                                                                                            |
| First Fulfillment Tracking Numbers                     | A list of tracking numbers provided by the tracking company.                                                                                                                                                                                                                                                                                 |
| First Fulfillment Tracking Urls                        | The URLs of tracking pages for the fulfillment.                                                                                                                                                                                                                                                                                              |
| Line Item Id                                           | Unique identifier for a Shopify Line Item at a specific point in time.                                                                                                                                                                                                                                                                       |
| Is First Product Type Order                            | Whether this order contains the first product type for the user.                                                                                                                                                                                                                                                                             |
| Is Last Product Type Order                             | Whether this order contains the last, most recent, product type for the user.                                                                                                                                                                                                                                                                |
| Is Repeat Product Type Order                           | Whether this order contains a repeat product type for the user.                                                                                                                                                                                                                                                                              |
| Line Item Oms Order Line Id                            | Unique key generated by Shopify that identifies a line item.                                                                                                                                                                                                                                                                                 |
| Line Item Quantity                                     | The number of said product that was purchased through this order.                                                                                                                                                                                                                                                                            |
| Rank of Product Type Order                             | Rank orders with the same product type per user.                                                                                                                                                                                                                                                                                             |
| Location Id                                            | Unique identifier for a Shopify Location at a specific point in time                                                                                                                                                                                                                                                                         |
| Location Is Active                                     | Whether the location is active or not.                                                                                                                                                                                                                                                                                                       |
| Location Is Online                                     | Whether or not this location represents an online location.                                                                                                                                                                                                                                                                                  |
| Location Is Physical                                   | Whether or not this location represents a physical location.                                                                                                                                                                                                                                                                                 |
| Location Name                                          | The name of a location.                                                                                                                                                                                                                                                                                                                      |
| Location Oms Location Id                               | Unique key generated by Shopify that identifies a location.                                                                                                                                                                                                                                                                                  |
| Order Admin Url                                        | Contains the full URL directing to the admin dashboard of Shopify for that given order.                                                                                                                                                                                                                                                      |
| Order App Id                                           | The ID of the app from Shopify that created the order.                                                                                                                                                                                                                                                                                       |
| Order App Name                                         | App name associated with the app id. This field will be generated if the Hub Configuration is enabled and the value has been set.                                                                                                                                                                                                            |
| Order Applied Discount Codes                           | The discount 'codes' applied or a given order.                                                                                                                                                                                                                                                                                               |
| Order Applied Discount Codes Count                     | The total number of applied discount code for a given order.                                                                                                                                                                                                                                                                                 |
| Order Cancel Reason                                    | The reason as to why the order was cancelled.                                                                                                                                                                                                                                                                                                |
| Order Cart Website Locale                              | When available, this is the shopify international site activated prior to cart creation.                                                                                                                                                                                                                                                     |
| Order Completed Order Rank By User                     | Allows to rank customer carts by completion date. In other words, this will rank the customer's completed order from 1 to X (X being the most recent order that was completed).                                                                                                                                                              |
| Order Completed Subscription Order Rank By User        | Allows to rank customer subscription orders by completion date.                                                                                                                                                                                                                                                                              |
| Order Contains First Subscription Order                | A boolean value to indicate whether an order contains the first subscription order or not. An order may contain a mix of first and recurring subscriptions.                                                                                                                                                                                  |
| Order Created Order Rank By User                       | Allows to rank customer carts by creation date. In other words, this will rank the customer's creation order from 1 to X (X being the last order that was created). An order can be created but never completed.                                                                                                                             |
| Order Created Subscription Order Rank By User          | Allows to rank customer subscription orders by creation date.                                                                                                                                                                                                                                                                                |
| Order Customer Lifetime Month                          | Number of months between the current order's creation date and the user's first order creation date. First orders have a value of 1.                                                                                                                                                                                                         |
| Order Customer Lifetime Week                           | Number of weeks between the current order's creation date and the user's first order creation date. First orders always have a value of 1.                                                                                                                                                                                                   |
| Order Filtered Order                                   | Whether or not this order will be flagged by custom filter.                                                                                                                                                                                                                                                                                  |
| Order Financial State                                  | The status of transaction associated with the order.                                                                                                                                                                                                                                                                                         |
| Order Fulfillment State                                | The summarized status of the 'shipment/fulfillment' associated with the order.                                                                                                                                                                                                                                                               |
| Order Has Discount                                     | Whether or not the order has had a discount applied to it.                                                                                                                                                                                                                                                                                   |
| Order Has Order Tag                                    | Whether or not the order has an order tag applied to it.                                                                                                                                                                                                                                                                                     |
| Order Id                                               | Unique identifier generated by Chord for an order.                                                                                                                                                                                                                                                                                           |
| Order Included Fulfillment Codes                       | Aggregated array of fulfillment codes, represented as a string.                                                                                                                                                                                                                                                                              |
| Order Included Fulfillment Methods                     | Aggregated array of fulfillment methods, represented as a string.                                                                                                                                                                                                                                                                            |
| Order Included Payment Gateways                        | This is the rolled up successful payment gateway for an order. Successful payments are included if they are sale or capture transactions.                                                                                                                                                                                                    |
| Order Included Source Subscription Ids                 | String list of included source subscription ids per order. Subscription information received from tenant-enabled platforms including Recharge and Shopify Plus.                                                                                                                                                                              |
| Order Included Subscription Ids                        | String list of included subscription ids per order. Subscription information received from tenant-enabled platforms including Recharge and Shopify Plus.                                                                                                                                                                                     |
| Order Is Admin                                         | Whether or not the order was created by an admin.                                                                                                                                                                                                                                                                                            |
| Order Is Cancelled                                     | Whether or not the order was cancelled. If \`cancelled\_at\` is non-null then we consider the order has being cancelled.                                                                                                                                                                                                                     |
| Order Is Completed                                     | Whether or not the order was completed. An order is considered completed if it has a closed\_at timestamp and has been fully fulfilled. Closed\_at is generated for orders in Shopify that are automatically archived. If this feature is not enabled, the last updated closed fulfillment date is used as the completed at date.            |
| Order Is First Completed Order                         | Whether the order was the customer's first completed order or not.                                                                                                                                                                                                                                                                           |
| Order Is First Order                                   | Whether the order was the customer's first order or not.                                                                                                                                                                                                                                                                                     |
| Order Is First Subscription Completed Order            | Whether the order was the customer's first completed subscription order or not.                                                                                                                                                                                                                                                              |
| Order Is First Subscription Order                      | Whether the order was the customer's first subscription order or not.                                                                                                                                                                                                                                                                        |
| Order Is Part Of Subscription                          | Boolean flag to indicate whether the order was a part of a subscription plan or not.                                                                                                                                                                                                                                                         |
| Order Is Test                                          | Whether this is a test order or not.                                                                                                                                                                                                                                                                                                         |
| Order Item Id                                          | Unique identifier generated by Chord for an order.                                                                                                                                                                                                                                                                                           |
| Order Item Is First Product Type Order                 | Whether this order contains the first product type basket for the user.                                                                                                                                                                                                                                                                      |
| Order Item Is Last Product Type Order                  | Whether this order contains the last, most recent, product type basket for the user.                                                                                                                                                                                                                                                         |
| Order Item Is Repeat Product Type Order                | Whether this order contains a repeat product type basket for the user.                                                                                                                                                                                                                                                                       |
| Order Item Product Basket Count                        | The count of products for a given order.                                                                                                                                                                                                                                                                                                     |
| Product Basket                                         | The titles of products for a given orderarray converted to a string.                                                                                                                                                                                                                                                                         |
| Order Item Product Purchased Quantity                  | The total number of product purchased for a given order.                                                                                                                                                                                                                                                                                     |
| Order Item Rank Product Type Order                     | Rank orders with the same product type basket per user.                                                                                                                                                                                                                                                                                      |
| Order Item Unique Product Basket Count                 | The count of unique products for a given order.                                                                                                                                                                                                                                                                                              |
| Unique Product Basket                                  | The unique titles of products for a given order array converted to a string.                                                                                                                                                                                                                                                                 |
| Order Item Unique Product Type                         | The unique line item product types for a given order.                                                                                                                                                                                                                                                                                        |
| Order Item Unique Variant Basket Count                 | The count of unique SKUs for a given order.                                                                                                                                                                                                                                                                                                  |
| Unique Variant Basket                                  | The unique SKUs of variants for a given order array converted to a string.                                                                                                                                                                                                                                                                   |
| Order Item Variant Basket Count                        | The count of variants for a given order.                                                                                                                                                                                                                                                                                                     |
| Variant Basket                                         | The SKUs of variants for a given order array converted to a string.                                                                                                                                                                                                                                                                          |
| Order Item Variant Purchased Quantity                  | The total number of variants purchased for a given order.                                                                                                                                                                                                                                                                                    |
| Order Name                                             | Unique name generated by Shopify that is displayed to the customer (e.g.                                                                                                                                                                                                                                                                     |
| Order Number Of Non Reactivated Subscriptions          | Number of non reactivated subscriptions per order. Reactivation is a customer who returned after having canceled the first subscription.                                                                                                                                                                                                     |
| Order Number Of Reactivated Subscriptions              | Number of reactivated subscriptions per order. Reactivation is a customer who returned after having canceled the first subscription.                                                                                                                                                                                                         |
| Order Oms Order Id                                     | Unique key generated by Shopify that identifies an order.                                                                                                                                                                                                                                                                                    |
| Order Tags                                             | The order tags applied to a given order, in alphabetical order.                                                                                                                                                                                                                                                                              |
| Order Tags Count                                       | The total number of order tags for a given order.                                                                                                                                                                                                                                                                                            |
| Order Processing Method                                | How the payment was processed.                                                                                                                                                                                                                                                                                                               |
| Order Segment Anonymous Id                             | When available, this is where we store Segment's anonymous\_id at the time of checkout.                                                                                                                                                                                                                                                      |
| Order Source Name                                      | Where did the order get created from.                                                                                                                                                                                                                                                                                                        |
| Product Handle                                         | A unique human-friendly string for the product (i.e. slug).                                                                                                                                                                                                                                                                                  |
| Product Id                                             | Unique identifier for a Shopify Product at a specific point in time                                                                                                                                                                                                                                                                          |
| Product Is Active                                      | Whether or not the product is active.                                                                                                                                                                                                                                                                                                        |
| Product Is Custom Item                                 | Whether or not the product is a custom one.                                                                                                                                                                                                                                                                                                  |
| Product Oms Product Id                                 | Unique key generated by Shopify that identifies a product.                                                                                                                                                                                                                                                                                   |
| Product Type                                           | A string that defines the type of the product.                                                                                                                                                                                                                                                                                               |
| Product Title                                          | The name of the product.                                                                                                                                                                                                                                                                                                                     |
| Product Vendor                                         | The name of item's supplier.                                                                                                                                                                                                                                                                                                                 |
| Product Was Previously Deleted                         | Whether or not the product was previously deleted.                                                                                                                                                                                                                                                                                           |
| Shipping Address 1                                     | The street address of the shipping address.                                                                                                                                                                                                                                                                                                  |
| Shipping Address 2                                     | An additional field for the street address of the shipping address.                                                                                                                                                                                                                                                                          |
| Shipping Address City                                  | The city, town, or village of the shipping address.                                                                                                                                                                                                                                                                                          |
| Shipping Address Company                               | The company associated to this shipping address.                                                                                                                                                                                                                                                                                             |
| Shipping Address Country                               | The name of the country of the shipping address.                                                                                                                                                                                                                                                                                             |
| Shipping Address Country Code                          | The two-letter code (ISO 3166-1 format) for the country of the shipping address.                                                                                                                                                                                                                                                             |
| Shipping Address First Name                            | The first name of the person associated to this shipping address.                                                                                                                                                                                                                                                                            |
| Shipping Address Id                                    | Unique identifier generated by Chord for a Shipping Address.                                                                                                                                                                                                                                                                                 |
| Shipping Address Last Name                             | The last name of the person associated to this shipping address.                                                                                                                                                                                                                                                                             |
| Shipping Address Latitude                              | The latitude of the shipping address.                                                                                                                                                                                                                                                                                                        |
| Shipping Address Longitude                             | The longitude of the shipping address.                                                                                                                                                                                                                                                                                                       |
| Shipping Address Name                                  | The full name of the person associated to this shipping address.                                                                                                                                                                                                                                                                             |
| Shipping Address Oms Shipping Address Id               | Unique key generated by Shopify that identifies a shipping address.                                                                                                                                                                                                                                                                          |
| Shipping Address Phone                                 | The phone number associated to this shipping address.                                                                                                                                                                                                                                                                                        |
| Shipping Address Province                              | The name of the region (province, state, prefecture, ...) of the shipping address.                                                                                                                                                                                                                                                           |
| Shipping Address Province Code                         | The two-letter abbreviation of the region of the shipping address.                                                                                                                                                                                                                                                                           |
| Shipping Address Zip                                   | The postal code of the shipping address.                                                                                                                                                                                                                                                                                                     |
| Store Id                                               | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                                  |
| Store Name                                             | The name of the store.                                                                                                                                                                                                                                                                                                                       |
| Store Oms Admin Url                                    | The Admin URL of that OMS.                                                                                                                                                                                                                                                                                                                   |
| Store Oms Id                                           | Unique key generated by Chord that uniquifies an OMS.                                                                                                                                                                                                                                                                                        |
| Store Oms Store Id                                     | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                                  |
| Store Oms Type                                         | The type of the OMS.                                                                                                                                                                                                                                                                                                                         |
| Store Id                                               | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                                  |
| Store Tenant Id                                        | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                                      |
| Store Url                                              | The Storefront URL of of the store.                                                                                                                                                                                                                                                                                                          |
| User Completed Oms Order Ids                           | List of all completed OMS order ids for a user.                                                                                                                                                                                                                                                                                              |
| User Completed Order Names                             | List of all completed order names for a user.                                                                                                                                                                                                                                                                                                |
| User Email                                             | The email of the customer.                                                                                                                                                                                                                                                                                                                   |
| User First Completed Oms Order Id                      | Order id from the OMS for the first completed order.                                                                                                                                                                                                                                                                                         |
| User First Completed Order Name                        | Order name for the first completed order.                                                                                                                                                                                                                                                                                                    |
| User First Name                                        | The first name of the customer.                                                                                                                                                                                                                                                                                                              |
| User First Name Last Initial                           | The first name and last name initials of the customer. This appends the value of \`first\_name\` and the first character of \`last\_name\` together.                                                                                                                                                                                         |
| User First Order Unique Ordered Products               | List of unique products purchased by the user in their first completed order.                                                                                                                                                                                                                                                                |
| User First Order Unique Ordered Skus                   | List of unique variant SKUs purchased by the user in their first completed order.                                                                                                                                                                                                                                                            |
| User First Subscription Ids                            | Array of first subscription ids purchased by the user. The user may have more than one subscription created at the same time, resulting in more than one subscription counted as first.                                                                                                                                                      |
| User Full Name                                         | The full name of the customer. This appends the value of \`first\_name\` and \`last\_name\` together.                                                                                                                                                                                                                                        |
| User Has Ordered A La Carte                            | Whether or not the user has had at least one order that is not a part of a subscription.                                                                                                                                                                                                                                                     |
| User Has Promo Applied In First Order                  | Whether the first completed order has a promo applied or not.                                                                                                                                                                                                                                                                                |
| User Has Reactivation Subscription                     | Whether or not the user has at least one subscription created after the first subscription is cancelled.                                                                                                                                                                                                                                     |
| User Has Subscription In First Order                   | Whether or not the user's first order is linked to a subscription.                                                                                                                                                                                                                                                                           |
| User Has Verified Email                                | Whether the customer has verified their email address.                                                                                                                                                                                                                                                                                       |
| User Id                                                | Unique identifier generated by Chord to identify the user.                                                                                                                                                                                                                                                                                   |
| User Is Active Subscriber                              | Whether or not the user has an active subscription with at least one completed subscription order. An active subscription is one that is not cancelled or paused. Subscribers may have completed subscription orders on inactive subscriptions, but will not be considered active if their current subscription has no completed orders.     |
| User Is Customer                                       | Whether the user has completed at least one order or not.                                                                                                                                                                                                                                                                                    |
| User Is New Customer                                   | Whether the user has completed one order or not.                                                                                                                                                                                                                                                                                             |
| User Is Not Customer                                   | Whether the user has no completed orders or not.                                                                                                                                                                                                                                                                                             |
| User Is Returning Customer                             | Whether the user has completed more than one order or not.                                                                                                                                                                                                                                                                                   |
| User Is Subscriber                                     | Whether or not the user has completed at least one subscription order.                                                                                                                                                                                                                                                                       |
| User Last Name                                         | The last name of the customer.                                                                                                                                                                                                                                                                                                               |
| User Last Subscription Ids                             | Array of last subscription ids purchased by a user. The user may have more than one subscription created at the same time, resulting in more than one subscription counted as last.                                                                                                                                                          |
| User Number Of Cancelled Subscriptions                 | Total number of subscriptions the user has cancelled.                                                                                                                                                                                                                                                                                        |
| User Number Of Completed A La Carte Orders             | Total number of orders completed by a user that are a la carte.                                                                                                                                                                                                                                                                              |
| User Number Of Completed Orders                        | Total count of completed orders by the user.                                                                                                                                                                                                                                                                                                 |
| User Number Of Completed Subscription Orders           | Total number of orders completed by a user that are part of a subscription.                                                                                                                                                                                                                                                                  |
| User Number Of Created Subscription Orders             | Total number of orders created by a user that are part of a subscription.                                                                                                                                                                                                                                                                    |
| User Number Of Orders With Promos                      | Count of completed orders with a promo applied.                                                                                                                                                                                                                                                                                              |
| User Number Of Reactivated Subscriptions               | Total number of subscriptions for a user that are reactivations. These subscriptions may be active, inactive, or concurrent.                                                                                                                                                                                                                 |
| User Number Of Subscriptions                           | Total number of subscriptions linked to a user. These subscriptions may be active, inactive, or concurrent.                                                                                                                                                                                                                                  |
| User Oms User Id                                       | Unique identifier generated by the OMS to identify the user.                                                                                                                                                                                                                                                                                 |
| User Phone                                             | The phone number of the customer.                                                                                                                                                                                                                                                                                                            |
| User Unique Ordered Product Type                       | List of unique product types purchased by the user across all completed orders.                                                                                                                                                                                                                                                              |
| User Unique Ordered Products                           | List of unique products purchased by the user across all completed orders.                                                                                                                                                                                                                                                                   |
| User Unique Ordered Skus                               | List of unique variant SKUs purchased by the user across all completed orders.                                                                                                                                                                                                                                                               |
| Variant Barcode                                        | The barcode, UPC, or ISBN number for the product.                                                                                                                                                                                                                                                                                            |
| Variant Color                                          | The color of the variant set in the Hub configuration. This field will be generated if the Hub Configuration is enabled and the value has been set.                                                                                                                                                                                          |
| Variant Function                                       | The function of the variant set in the Hub configuration. This field will be generated if the Hub Configuration is enabled and the value has been set.                                                                                                                                                                                       |
| Variant Grams                                          | The weight of the variant in grams.                                                                                                                                                                                                                                                                                                          |
| Variant Id                                             | Unique identifier for a Shopify Variant at a specific point in time.                                                                                                                                                                                                                                                                         |
| Variant Is Taxable                                     | Whether a tax is charged when the product variant is sold.                                                                                                                                                                                                                                                                                   |
| Variant Material                                       | The material of the variant set in the Hub configuration. This field will be generated if the Hub Configuration is enabled and the value has been set.                                                                                                                                                                                       |
| Variant Oms Variant Id                                 | Unique key generated by Shopify that identifies a variant.                                                                                                                                                                                                                                                                                   |
| Variant Option 1                                       | The first custom property that is attached to the variant.                                                                                                                                                                                                                                                                                   |
| Variant Option 2                                       | The second custom property that is attached to the variant.                                                                                                                                                                                                                                                                                  |
| Variant Option 3                                       | The third custom property that is attached to the variant.                                                                                                                                                                                                                                                                                   |
| Variant Other Attributes                               | Other attributes of the variant not captured in the defined attribute fields. These should be comma seperated and set in the Hub configuration. This field will be generated if the Hub Configuration is enabled and the value has been set.                                                                                                 |
| Variant Price                                          | The price of the variant.                                                                                                                                                                                                                                                                                                                    |
| Variant Product Category                               | Product Category is the highest level of the variant hierarchy. For example: Fruit > Berries > Strawberries, the Product Category is Fruit and covers all variants that are Fruit. This field will be generated if the Hub Configuration is enabled and the value has been set.                                                              |
| Variant Product Class                                  | Product Class is the third level of the variant hierarchy. For example: Fruit > Berries > Strawberries, the Product Class is Strawberries and includes only Berries that are Strawberries. There can be more than one variant within the class. This field will be generated if the Hub Configuration is enabled and the value has been set. |
| Variant Product Subcategory                            | Product Subcategory is the middle level of the variant hierarchy. For example: Fruit > Berries > Strawberries, the Product Subcategory is Berries and includes only Fruits that are Berries. This field will be generated if the Hub Configuration is enabled and the value has been set.                                                    |
| Variant Shape                                          | The shape of the variant set in the Hub configuration. This field will be generated if the Hub Configuration is enabled and the value has been set.                                                                                                                                                                                          |
| Variant Size                                           | The size of the variant set in the Hub configuration. This field will be generated if the Hub Configuration is enabled and the value has been set.                                                                                                                                                                                           |
| Variant Sku                                            | A unique identifier for the product variant in the shop.                                                                                                                                                                                                                                                                                     |
| Variant Style                                          | The style of the variant set in the Hub configuration. This field will be generated if the Hub Configuration is enabled and the value has been set.                                                                                                                                                                                          |
| Variant Title                                          | The title of the variant.                                                                                                                                                                                                                                                                                                                    |
| Order Cancelled At (Universal)                         | Reflects when the order was cancelled in Shopify - Universal Time Zone.                                                                                                                                                                                                                                                                      |
| Order Completed At (Central)                           | The timestamp when this order became completed - Cental Time Zone.                                                                                                                                                                                                                                                                           |
| Order Completed At (Eastern)                           | The timestamp when this order became completed - Eastern Time Zone.                                                                                                                                                                                                                                                                          |
| Order Completed At (Mountain)                          | The timestamp when this order became completed - Mountain Time Zone.                                                                                                                                                                                                                                                                         |
| Order Completed At (Pacific)                           | The timestamp when this order became completed - Pacific Time Zone.                                                                                                                                                                                                                                                                          |
| Order Completed At (Universal)                         | The timestamp when this order became completed - Universal Time Zone.                                                                                                                                                                                                                                                                        |
| Order Created At (Central)                             | Reflects when the entity was first created in Shopify - Cental Time Zone.                                                                                                                                                                                                                                                                    |
| Order Created At (Eastern)                             | Reflects when the entity was first created in Shopify - Eastern Time Zone.                                                                                                                                                                                                                                                                   |
| Order Created At (Mountain)                            | Reflects when the entity was first created in Shopify - Mountain Time Zone.                                                                                                                                                                                                                                                                  |
| Order Created At (Pacific)                             | Reflects when the entity was first created in Shopify - Pacific Time Zone.                                                                                                                                                                                                                                                                   |
| Order Created At (Universal)                           | Reflects when the entity was first created in Shopify - Universal Time Zone.                                                                                                                                                                                                                                                                 |
| Order Last Fulfillment At (Universal)                  | The maximum timestamp for the last update order fulfillment - Universal Time Zone.                                                                                                                                                                                                                                                           |
| Order Updated At (Universal)                           | Reflects when the entity was last updated in Shopify - Universal Time Zone.                                                                                                                                                                                                                                                                  |
| User First Completed Order Completed At (Universal)    | Timestamp for the first order completed - Universal Time Zone.                                                                                                                                                                                                                                                                               |
| User First Completed Order Created At (Universal)      | Timestamp for the first completed order created - Universal Time Zone.                                                                                                                                                                                                                                                                       |
| User First Order Created At (Universal)                | Timestamp of the first created order for the user - Universal Time Zone.                                                                                                                                                                                                                                                                     |
| User First Subscription Created At (Universal)         | Timestamp of when the first subscription was created per user - Universal Time Zone.                                                                                                                                                                                                                                                         |
| User First Subscription Order Completed At (Universal) | The timestamp of the user's first completed subscription order, regardless of subsequent subscriptions - Universal Time Zone.                                                                                                                                                                                                                |
| User First Subscription Order Created At (Universal)   | The timestamp of the user's first completed subscription order, regardless of subsequent subscriptions - Universal Time Zone.                                                                                                                                                                                                                |
| User Last Completed Order Completed At (Universal)     | Timestamp for the most recent order completed - Universal Time Zone.                                                                                                                                                                                                                                                                         |
| User Last Completed Order Created At (Universal)       | Timestamp for the most recent completed order created - Universal Time Zone.                                                                                                                                                                                                                                                                 |
| Average Quantity                                       | The quantity of variants sold.                                                                                                                                                                                                                                                                                                               |
| Average Sku Price                                      | The price of the product that was purchased through this order.                                                                                                                                                                                                                                                                              |
| Average Total Price                                    | The total price of the line item, not including any discounts. The total price is calculated using the original unit price multiplied by the quantity.                                                                                                                                                                                       |
| Total Price                                            | The total price of the line item, not including any discounts. The total price is calculated using the original unit price multiplied by the quantity.                                                                                                                                                                                       |
| Quantity                                               | The quantity of variants sold.                                                                                                                                                                                                                                                                                                               |
| Sku Price                                              | The price of the product that was purchased through this order.                                                                                                                                                                                                                                                                              |

### **extend\_x\_fct\_trans\_orders\_multipay**

| Name                                             | Description                                                                                                                                                                                                                                                          |
| ------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Order Contains Fulfillment Order                 | Whether the order contains a fulfillment order.                                                                                                                                                                                                                      |
| Order Contains Multipay Subscription Installment | Whether the order contains a multipay order.                                                                                                                                                                                                                         |
| Order Contains Payment Order                     | Whether the order contains a payment order.                                                                                                                                                                                                                          |
| Order Installment Charge Ids                     | Array of Recharge charge ids for the installments in the order, if there is more than one multipay subscription represented, there will be a unique array per installment.                                                                                           |
| Order Installment Recharge Order Ids             | Array of Recharge order ids for the installments in the order, if there is more than one multipay subscription represented, there will be a unique array per installment.                                                                                            |
| Order Installment Shopify Order Ids              | Array of the Shopify order ids for the installments in the order, if there is more than one multipay subscription represented, there will be a unique array per installment.                                                                                         |
| Order Included Installment Count                 | Count of total installments in the order.                                                                                                                                                                                                                            |
| Order Included Payment Plans                     | Array of payment plans included in the order. If an order contains multiple subscriptions, each subscription will be represented.                                                                                                                                    |
| Average Total Child Refunds                      | The total adjusted dollars that were refunded to a child installment order for paid orders.                                                                                                                                                                          |
| Average Total Child Shipping Received            | Total shipping paid for child orders within an installment. Shipping is included for the first installment order of a child-only order if the order is mixed. If the order contains a fulfillment order, the shipping will remain attached to the fulfillment order. |
| Average Total Child Unit Price Received          | The total unit price received for child order payments for the installment. Payments are included if the payment status is recorded as 'success', 'refunded', or 'partially\_refunded'.                                                                              |
| Average Total Fulfillment Unit Price Received    | The total unit price received for fulfillment order payments for the installment. Payments are included if the payment status is recorded as 'success', 'refunded', or 'partially\_refunded'.                                                                        |
| Average Total Subscription Installment Value     | The total unit price of the installment, calculated as fulfillment order (unit price \* quantity) \* total expected payments.                                                                                                                                        |
| Average Total Unit Price Remaining               | The total installment value minus the total fulfillment and child payments received.                                                                                                                                                                                 |
| Average Total Estimated Shipping Price           | The total estimated shipping across all installments in the order.                                                                                                                                                                                                   |
| Average Total Estimated Item Tax                 | The total estimated item tax across all installments in the order.                                                                                                                                                                                                   |
| Average Total Estimated Shipping Tax             | The total estimated shipping tax across all installments in the order.                                                                                                                                                                                               |
| Total Child Refunds                              | The total adjusted dollars that were refunded to a child installment order for paid orders.                                                                                                                                                                          |
| Total Child Shipping Received                    | Total shipping paid for child orders within an installment. Shipping is included for the first installment order of a child-only order if the order is mixed. If the order contains a fulfillment order, the shipping will remain attached to the fulfillment order. |
| Total Child Unit Price Received                  | The total unit price received for child order payments for the installment. Payments are included if the payment status is recorded as 'success', 'refunded', or 'partially\_refunded'.                                                                              |
| Total Fulfillment Unit Price Received            | The total unit price received for fulfillment order payments for the installment. Payments are included if the payment status is recorded as 'success', 'refunded', or 'partially\_refunded'.                                                                        |
| Total Subscription Installment Value             | The total unit price of the installment, calculated as fulfillment order (unit price \* quantity) \* total expected payments.                                                                                                                                        |
| Total Unit Price Remaining                       | The total installment value minus the total fulfillment and child payments received.                                                                                                                                                                                 |
| Total Estimated Shipping Price                   | The total estimated shipping across all installments in the order.                                                                                                                                                                                                   |
| Total Estimated Item Tax                         | The total estimated item tax across all installments in the order.                                                                                                                                                                                                   |
| Total Estimated Shipping Tax                     | The total estimated shipping tax across all installments in the order.                                                                                                                                                                                               |

### **order\_applied\_discount\_codes**

| Name                         | Description                         |
| ---------------------------- | ----------------------------------- |
| Order Applied Discount Codes | Discount code applied to the order. |

### **order\_tags**

| Name       | Description                        |
| ---------- | ---------------------------------- |
| Order Tags | Order tag(s) applied to the order. |


[title] Line Items
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Salesforce/

### **x\_fct\_order\_lines**

| Name                                                            | Description                                                                                                                                                                                                                                                                                                                                              |
| --------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Order Account Id                                                | ID generated by chord to identify the account.                                                                                                                                                                                                                                                                                                           |
| Order Bill To Contact Id                                        | ID of the Contact associated with the Order Summary. It represents the shopper in the storefront when not using person accounts.                                                                                                                                                                                                                         |
| Order Billing City                                              | Billing address city.                                                                                                                                                                                                                                                                                                                                    |
| Order Billing Country                                           | Billing address country.                                                                                                                                                                                                                                                                                                                                 |
| Order Billing Email Address                                     | Email address on the billing address.                                                                                                                                                                                                                                                                                                                    |
| Order Billing State                                             | Billing address state.                                                                                                                                                                                                                                                                                                                                   |
| Order Billing State Country                                     | The billing state or country of the order. Default to billing country if state is unavailable.                                                                                                                                                                                                                                                           |
| Order Currency Iso Code                                         | Available only for stores with the multicurrency feature enabled. Contains the ISO code for the currency of the original Order associated with the Order Summary. The default value is USD. Possible values are: DKK—Danish Krone, EUR—Euro, GBP—British Pound, USD—U.S. Dollar.                                                                         |
| Order Fulfillment Ids                                           | IDs generated by Chord to identify the fulfillments associated with the order.                                                                                                                                                                                                                                                                           |
| Order Fulfillment Numbers                                       | The fulfillment numbers associated with the order.                                                                                                                                                                                                                                                                                                       |
| Order Fulfillment Statuses                                      | The fulfillment statuses associated with the order.                                                                                                                                                                                                                                                                                                      |
| Order Has A Shipped Fulfillment                                 | A flag marking if an order has a shipped fulfillment.                                                                                                                                                                                                                                                                                                    |
| Order Hours To First Delivery                                   | The number of hours between when the order was created and the first fulfillment was created.                                                                                                                                                                                                                                                            |
| Order Hours To Last Delivery                                    | The number of hours between when the order was created and the last, most recent, fulfillment was created.                                                                                                                                                                                                                                               |
| Order Id                                                        | ID generated by Chord to identify the order.                                                                                                                                                                                                                                                                                                             |
| Order Is Canceled                                               | Whether an order is canceled.                                                                                                                                                                                                                                                                                                                            |
| Order Is Completed                                              | Whether an order is completed. An order is considered complete if it has a status of 'Fulfilled' or 'Returned' or it has a status 'Canceled' and has a payment associated with it.                                                                                                                                                                       |
| Order Line Description                                          | Description of the Order Item Summary. This field can be edited in the OMS.                                                                                                                                                                                                                                                                              |
| Order Line Fulfillment Ids                                      | ID generated by Chord to identify the fulfillment ids associated with the order item.                                                                                                                                                                                                                                                                    |
| Order Line Fulfillment Item Ids                                 | IDs generated by Chord to identify the fulfillment items associated with the order item.                                                                                                                                                                                                                                                                 |
| Order Line Gross Unit Price                                     | Unit price, including tax, of the Order Item Summary. This value is equal to the single Unit Price + the amount of tax on the single Unit Price. Note that this field is rounded.                                                                                                                                                                        |
| Order Line Id                                                   | ID generated by Chord to identify the order line.                                                                                                                                                                                                                                                                                                        |
| Order Line Is Completed                                         | Whether an order is completed. An order is considered complete if it has a status of 'Fulfilled' or 'Returned' or it has a status 'Canceled' and has a payment associated with it.                                                                                                                                                                       |
| Order Line Number                                               | The order line number assigned to this Order Item Summary. For example, if this object is the third in the displayed list of Order Item Summaries belonging to the Order Summary, this value is 3.                                                                                                                                                       |
| Order Line List Price                                           | List price of the product represented by this Order Item Summary.                                                                                                                                                                                                                                                                                        |
| Order Line Name                                                 | Name of the Order Item Summary.                                                                                                                                                                                                                                                                                                                          |
| Order Line Number Of Fulfillments                               | The number of fulfillments associated with the order item.                                                                                                                                                                                                                                                                                               |
| Order Line Oms Fulfillment Ids                                  | ID generated by the OMS to identify the fulfillment ids associated with the order item.&#xD;                                                                                                                                                                                                                                                             |
| Order Line Oms Fulfillment Item Ids                             | ID generated by the OMS to identify the fulfillment items associated with the order item.                                                                                                                                                                                                                                                                |
| Order Line Oms Order Item Id                                    | The ID generated by the oms for the order item summary.                                                                                                                                                                                                                                                                                                  |
| Order Line Oms Return Order Ids                                 | IDs generated by the OMS to identify the return order.&#xD;&#xA;                                                                                                                                                                                                                                                                                         |
| Order Line Oms Return Order Item Ids                            | IDs generated by the OMS to identify the return items associated with the order item.                                                                                                                                                                                                                                                                    |
| Order Line Product Code                                         | Product code of the product represented by this Order Item Summary.                                                                                                                                                                                                                                                                                      |
| Order Line Product Id                                           | ID generated by chord to identify the product associated with the order line.                                                                                                                                                                                                                                                                            |
| Order Line Promotion Details Collection                         | Promotion details to of the Order Item Summary.                                                                                                                                                                                                                                                                                                          |
| Order Line Return Order Ids                                     | IDs generated by Chord to identify the return order.&#xD;                                                                                                                                                                                                                                                                                                |
| Order Line Return Order Item Ids                                | IDs generated by Chord to identify the return items associated with the order item.                                                                                                                                                                                                                                                                      |
| Order Line Sku                                                  | The stock keeping unit (SKU) of the Product2 associated with the Order Item Summary.                                                                                                                                                                                                                                                                     |
| Order Line Status                                               | Status of the Order Item Summary. The default value is ORDERED. Possible values are: ALLOCATED—Allocated, CANCELED—Canceled, FULFILLED—Fulfilled, ORDERED—Ordered, PAID—Paid, PARTIALLYALLOCATED—Partially Allocated, PARTIALLYFULFILLED—Partially Fulfilled, RESHIPPED—Reshipped, RETURNED—Returned.                                                    |
| Order Line Total Fulfillment Quantity                           | The quantity of item in the fulfillments.                                                                                                                                                                                                                                                                                                                |
| Order Line Type                                                 | Type of the Order Item Summary. Delivery Charge indicates that the Order Item Summary represents a delivery charge. Order Product indicates that it represents any other type of product, service, or charge. Each type corresponds to one type code, shown here in parentheses. Possible values are: Delivery Charge (Charge), Order Product (Product). |
| Order Line Type Code                                            | Type code of the Order Item Summary. Charge indicates that the Order Item Summary represents a delivery charge. Product indicates that it represents any other type of product, service, or charge. Possible values are: Charge, Product.                                                                                                                |
| Order Line Unit Price                                           | Unit price of the product represented by the Order Item Summary.                                                                                                                                                                                                                                                                                         |
| Order Number Of Fulfillments                                    | The total number of fulfillments associated with the order.&#xD;                                                                                                                                                                                                                                                                                         |
| Order Number Of Reimbursements                                  | The number of reimbursements associated with an order.                                                                                                                                                                                                                                                                                                   |
| Order Oms Account Id                                            | ID of the account or person account associated with the Order Summary. It represents the shopper in the storefront.                                                                                                                                                                                                                                      |
| Order Oms Fulfillment Ids                                       | ID generated by the OMS to identify the order.                                                                                                                                                                                                                                                                                                           |
| Order Oms Order Id                                              | The id generated by the OMS for the Order Summary.                                                                                                                                                                                                                                                                                                       |
| Order Oms Order Payment Summary Ids                             | IDs generated by the OMS to identify the payment summaries associated with the order.&#xD;                                                                                                                                                                                                                                                               |
| Order Oms Return Order Ids                                      | IDs generated by the OMS to identify the returns associated with the order.                                                                                                                                                                                                                                                                              |
| Order Is First Order                                            | Whether the order is first order associated with the account.                                                                                                                                                                                                                                                                                            |
| Order Number                                                    | Name of the Order Summary.                                                                                                                                                                                                                                                                                                                               |
| Order Payment Summary Ids                                       | IDs generated by Chord to identify the payment summaries associated with the order.                                                                                                                                                                                                                                                                      |
| Order Original Order Id                                         | ID of the original order associated with this Order Summary.                                                                                                                                                                                                                                                                                             |
| Order Payment Methods                                           | The payment methods associated with the order.&#xD;&#xA;                                                                                                                                                                                                                                                                                                 |
| Order Payment Types                                             | The payment types associated with the order.                                                                                                                                                                                                                                                                                                             |
| Order Po Number                                                 | Purchase order number associated with this Order Summary.                                                                                                                                                                                                                                                                                                |
| Order Promotion Details Collection                              | The promotion details associated with the Order Summary.                                                                                                                                                                                                                                                                                                 |
| Order Return Order Ids                                          | IDs generated by Chord to identify the returns associated with the order.&#xD;                                                                                                                                                                                                                                                                           |
| Order Return Order Numbers                                      | The return order numbers associated with the order.                                                                                                                                                                                                                                                                                                      |
| Order Sales Channel Id                                          | ID of the Sales Channel associated with this Order Summary.                                                                                                                                                                                                                                                                                              |
| Order Status                                                    | Status of the order summary. Unlike the Status and Status Category fields on the order and Fulfillment Order objects, this field is optional.                                                                                                                                                                                                            |
| Order Tax Locale Type                                           | The system used to handle tax on the original Order associated with the Order Summary. Gross usually applies to taxes like value-added tax (VAT), and Net usually applies to taxes like sales tax. Possible values are: Gross (displays most prices and taxes as combined values), Net (displays most prices and taxes as separate values).              |
| Order Utm Campaign                                              | The UTM Campaign associated with the Order Summary.                                                                                                                                                                                                                                                                                                      |
| Order Utm Medium                                                | The UTM Medium associated with the Order Summary.                                                                                                                                                                                                                                                                                                        |
| Product Color                                                   | Color of the product.                                                                                                                                                                                                                                                                                                                                    |
| Product Id                                                      |                                                                                                                                                                                                                                                                                                                                                          |
| Product Oms Product Id                                          | ID generated by the OMS to identify the product.&#xD;&#xA;                                                                                                                                                                                                                                                                                               |
| Product Sku                                                     | SKU for the product.                                                                                                                                                                                                                                                                                                                                     |
| Product Sku Description                                         | Description of the product.                                                                                                                                                                                                                                                                                                                              |
| Order Created At (Central)                                      | The date the Order Summary was created - Cental Time Zone.                                                                                                                                                                                                                                                                                               |
| Order Created At (Eastern)                                      | The date the Order Summary was created - Eastern Time Zone.                                                                                                                                                                                                                                                                                              |
| Order Created At (Mountain)                                     | The date the Order Summary was created - Mountain Time Zone.                                                                                                                                                                                                                                                                                             |
| Order Created At (Pacific)                                      | The date the Order Summary was created - Pacific Time Zone.                                                                                                                                                                                                                                                                                              |
| Order Created At (Universal)                                    | The date the Order Summary was created - Universal Time Zone.                                                                                                                                                                                                                                                                                            |
| Order First Fulfillment Created At (Universal)                  | Timestamp when the first fulfillment for the order was created - Universal Time Zone.                                                                                                                                                                                                                                                                    |
| Order First Order Created At (Universal)                        | Timestamp when the first order was created at - Universal Time Zone.                                                                                                                                                                                                                                                                                     |
| Order Last Fulfillment Created At (Universal)                   | Timestamp when the most recent, or last, fulfillment for the order was created - Universal Time Zone.                                                                                                                                                                                                                                                    |
| Order Last Modified Date (Universal)                            | The date the Order Summary was last modified - Universal Time Zone.                                                                                                                                                                                                                                                                                      |
| Order Line Created At (Universal)                               | Date the Order Item Summary was created - Universal Time Zone.                                                                                                                                                                                                                                                                                           |
| Order Line First Fulfillment Created At (Universal)             | The first created at timestamp of a fulfillment item - Universal Time Zone.&#xD;&#xA;                                                                                                                                                                                                                                                                    |
| Order Line First Fulfillment Expected Delivery Date (Universal) | The first expected delivery date of a fulfillment item - Universal Time Zone.                                                                                                                                                                                                                                                                            |
| Order Line Last Fulfillment Created At (Universal)              | The most recent created at timestamp of a fulfillment item - Universal Time Zone.                                                                                                                                                                                                                                                                        |
| Order Line Last Fulfillment Expected Delivery Date (Universal)  | The most recent expected delivery date of a fulfillment item - Universal Time Zone.                                                                                                                                                                                                                                                                      |
| Order Line Requested Delivery Date (Universal)                  | Requested delivery date for the item - Universal Time Zone.                                                                                                                                                                                                                                                                                              |
| Order Ordered Date (Universal)                                  | Date of the original order associated with this Order Summary - Universal Time Zone.                                                                                                                                                                                                                                                                     |
| Average Adjusted Total Price                                    | Line Item total, including adjustments but not tax, of the Order Item Summary.                                                                                                                                                                                                                                                                           |
| Average Adjustment Total                                        | Total of all non-order-level price adjustments applied to this Order Item Summary. This value includes Order Item Adjustment Line Summaries that don’t belong to an Order Adjustment Group Summary, or that belong to an Order Adjustment Group Summary of type Split Line.                                                                              |
| Average Quantity                                                | Current total quantity of products represented by this order item summary. Equal to Quantity Ordered minus (Quantity Canceled and Quantit Returned).                                                                                                                                                                                                     |
| Average Quantity Allocated                                      | Allocated quantity on this order item summary. This quantity is associated with one or more Fulfillment Order Line Items.                                                                                                                                                                                                                                |
| Average Quantity Canceled                                       | Canceled quantity on this Order Item Summary.                                                                                                                                                                                                                                                                                                            |
| Average Quantity Fulfilled                                      | Fulfilled quantity on this Order Item Summary. This quantity can no longer be canceled.                                                                                                                                                                                                                                                                  |
| Average Quantity Ordered                                        | Ordered quantity on this Order Item Summary. It includes the originally ordered quantity plus any quantity added to the order later.                                                                                                                                                                                                                     |
| Average Quantity Return Initiated                               | Quantity returned or pending return on this Order Item Summary.                                                                                                                                                                                                                                                                                          |
| Average Quantity Returned                                       | Returned quantity on this Order Item Summary.                                                                                                                                                                                                                                                                                                            |
| Average Quantity Shipped                                        | The quantity of items shipped.                                                                                                                                                                                                                                                                                                                           |
| Average Total Price                                             | Total, not including adjustments or tax, of the Order Item Summary.                                                                                                                                                                                                                                                                                      |
| Average Total Tax Amount                                        | Tax on the Total Price.                                                                                                                                                                                                                                                                                                                                  |
| Adjusted Total Price                                            | Line Item total, including adjustments but not tax, of the Order Item Summary.                                                                                                                                                                                                                                                                           |
| Adjustment Total                                                | Total of all non-order-level price adjustments applied to this Order Item Summary. This value includes Order Item Adjustment Line Summaries that don’t belong to an Order Adjustment Group Summary, or that belong to an Order Adjustment Group Summary of type Split Line.                                                                              |
| Total Price                                                     | Total, not including adjustments or tax, of the Order Item Summary.                                                                                                                                                                                                                                                                                      |
| Quantity                                                        | Current total quantity of products represented by this order item summary. Equal to Quantity Ordered minus (Quantity Canceled and Quantit Returned).                                                                                                                                                                                                     |
| Quantity Allocated                                              | Allocated quantity on this order item summary. This quantity is associated with one or more Fulfillment Order Line Items.                                                                                                                                                                                                                                |
| Quantity Canceled                                               | Canceled quantity on this Order Item Summary.                                                                                                                                                                                                                                                                                                            |
| Quantity Fulfilled                                              | Fulfilled quantity on this Order Item Summary. This quantity can no longer be canceled.                                                                                                                                                                                                                                                                  |
| Quantity Ordered                                                | Ordered quantity on this Order Item Summary. It includes the originally ordered quantity plus any quantity added to the order later.                                                                                                                                                                                                                     |
| Quantity Return Initiated                                       | Quantity returned or pending return on this Order Item Summary.                                                                                                                                                                                                                                                                                          |
| Quantity Returned                                               | Returned quantity on this Order Item Summary.                                                                                                                                                                                                                                                                                                            |
| Quantity Shipped                                                | The quantity of items shipped.                                                                                                                                                                                                                                                                                                                           |
| Total Tax Amount                                                | Tax on the Total Price.                                                                                                                                                                                                                                                                                                                                  |


[title] Sales
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Salesforce/

### x\_fct\_trans\_sales

| Name                                           | Description                                                                                                                                                                                                                                                                                                                                 |
| ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Date Day Num Of Year                           | The number representing the day of the year.                                                                                                                                                                                                                                                                                                |
| Date Id                                        | Unique key that uniquify a date.                                                                                                                                                                                                                                                                                                            |
| Date Month Num Of Year                         | The month number of the year.                                                                                                                                                                                                                                                                                                               |
| Order Account Id                               | ID generated by chord to identify the account.                                                                                                                                                                                                                                                                                              |
| Order Bill To Contact Id                       | ID of the Contact associated with the Order Summary. It represents the shopper in the storefront when not using person accounts.                                                                                                                                                                                                            |
| Order Billing City                             | Billing address city.                                                                                                                                                                                                                                                                                                                       |
| Order Billing Country                          | Billing address country.                                                                                                                                                                                                                                                                                                                    |
| Order Billing Email Address                    | Email address on the billing address.                                                                                                                                                                                                                                                                                                       |
| Order Billing State                            | Billing address state.                                                                                                                                                                                                                                                                                                                      |
| Order Billing State Country                    | The billing state or country of the order. Default to billing country if state is unavailable.                                                                                                                                                                                                                                              |
| Order Currency Iso Code                        | Available only for stores with the multicurrency feature enabled. Contains the ISO code for the currency of the original Order associated with the Order Summary. The default value is USD. Possible values are: DKK—Danish Krone, EUR—Euro, GBP—British Pound, USD—U.S. Dollar.                                                            |
| Order Fulfillment Ids                          | IDs generated by Chord to identify the fulfillments associated with the order.                                                                                                                                                                                                                                                              |
| Order Fulfillment Numbers                      | The fulfillment numbers associated with the order.                                                                                                                                                                                                                                                                                          |
| Order Fulfillment Statuses                     | The fulfillment statuses associated with the order.                                                                                                                                                                                                                                                                                         |
| Order Has A Shipped Fulfillment                | A flag marking if an order has a shipped fulfillment.                                                                                                                                                                                                                                                                                       |
| Order Hours To First Delivery                  | The number of hours between when the order was created and the first fulfillment was created.                                                                                                                                                                                                                                               |
| Order Hours To Last Delivery                   | The number of hours between when the order was created and the last, most recent, fulfillment was created.                                                                                                                                                                                                                                  |
| Order Id                                       | ID generated by Chord to identify the order.                                                                                                                                                                                                                                                                                                |
| Order Is Canceled                              | Whether an order is canceled.                                                                                                                                                                                                                                                                                                               |
| Order Is Completed                             | Whether an order is completed. An order is considered complete if it has a status of 'Fulfilled' or 'Returned' or it has a status 'Canceled' and has a payment associated with it.                                                                                                                                                          |
| Order Number Of Fulfillments                   | The total number of fulfillments associated with the order.&#xD;                                                                                                                                                                                                                                                                            |
| Order Number Of Reimbursements                 | The number of reimbursements associated with an order.                                                                                                                                                                                                                                                                                      |
| Order Oms Account Id                           | ID of the account or person account associated with the Order Summary. It represents the shopper in the storefront.                                                                                                                                                                                                                         |
| Order Oms Fulfillment Ids                      | ID generated by the OMS to identify the order.&#xD;                                                                                                                                                                                                                                                                                         |
| Order Oms Order Id                             | The id generated by the OMS for the Order Summary.                                                                                                                                                                                                                                                                                          |
| Order Oms Order Payment Summary Ids            | The id generated by the OMS for the Order Summary.                                                                                                                                                                                                                                                                                          |
| Order Oms Return Order Ids                     | IDs generated by the OMS to identify the returns associated with the order.                                                                                                                                                                                                                                                                 |
| Order Is First Order                           | Whether the order is first order associated with the account.                                                                                                                                                                                                                                                                               |
| Order Number                                   | Name of the Order Summary.                                                                                                                                                                                                                                                                                                                  |
| Order Payment Summary Ids                      | IDs generated by Chord to identify the payment summaries associated with the order.                                                                                                                                                                                                                                                         |
| Order Original Order Id                        |                                                                                                                                                                                                                                                                                                                                             |
| Order Payment Methods                          | ID of the original order associated with this Order Summary.                                                                                                                                                                                                                                                                                |
| Order Payment Types                            | The payment types associated with the order.                                                                                                                                                                                                                                                                                                |
| Order Po Number                                | Purchase order number associated with this Order Summary.                                                                                                                                                                                                                                                                                   |
| Order Promotion Details Collection             | The promotion details associated with the Order Summary.                                                                                                                                                                                                                                                                                    |
| Order Return Order Ids                         | IDs generated by Chord to identify the returns associated with the order.                                                                                                                                                                                                                                                                   |
| Order Return Order Numbers                     | The return order numbers associated with the order.                                                                                                                                                                                                                                                                                         |
| Order Sales Channel Id                         | ID of the Sales Channel associated with this Order Summary.                                                                                                                                                                                                                                                                                 |
| Order Status                                   | Status of the order summary. Unlike the Status and Status Category fields on the order and Fulfillment Order objects, this field is optional.                                                                                                                                                                                               |
| Order Tax Locale Type                          | The system used to handle tax on the original Order associated with the Order Summary. Gross usually applies to taxes like value-added tax (VAT), and Net usually applies to taxes like sales tax. Possible values are: Gross (displays most prices and taxes as combined values), Net (displays most prices and taxes as separate values). |
| Order Utm Campaign                             | The UTM Campaign associated with the Order Summary.                                                                                                                                                                                                                                                                                         |
| Order Utm Medium                               | The UTM Medium associated with the Order Summary.                                                                                                                                                                                                                                                                                           |
| Order Created At (Central)                     | The date the Order Summary was created - Cental Time Zone.                                                                                                                                                                                                                                                                                  |
| Order Created At (Eastern)                     | The date the Order Summary was created - Eastern Time Zone.                                                                                                                                                                                                                                                                                 |
| Order Created At (Mountain)                    | The date the Order Summary was created - Mountain Time Zone.                                                                                                                                                                                                                                                                                |
| Order Created At (Pacific)                     | The date the Order Summary was created - Pacific Time Zone.                                                                                                                                                                                                                                                                                 |
| Order Created At (Universal)                   | The date the Order Summary was created - Universal Time Zone.                                                                                                                                                                                                                                                                               |
| Order First Fulfillment Created At (Universal) | Timestamp when the first fulfillment for the order was created - Universal Time Zone.                                                                                                                                                                                                                                                       |
| Order First Order Created At (Universal)       | Timestamp when the first order was created at - Universal Time Zone.                                                                                                                                                                                                                                                                        |
| Order Last Fulfillment Created At (Universal)  | Timestamp when the most recent, or last, fulfillment for the order was created - Universal Time Zone.                                                                                                                                                                                                                                       |
| Order Last Modified Date (Universal)           | The date the Order Summary was last modified - Universal Time Zone.                                                                                                                                                                                                                                                                         |
| Order Ordered Date (Universal)                 | Date of the original order associated with this Order Summary - Universal Time Zone.                                                                                                                                                                                                                                                        |
| Ts (Universal)                                 |                                                                                                                                                                                                                                                                                                                                             |
| Average Adjusted Product Total                 | The total adjusted product amount associated with the Order Summary.                                                                                                                                                                                                                                                                        |
| Average Fulfillment Total                      | The total adjusted filfillment amount associated with the Order Summary.                                                                                                                                                                                                                                                                    |
| Average Gross Revenue                          | Gross Revenue is the pre-tax, pre-adjusted total line item price (unit price \* quantity) + the fulfillment total.                                                                                                                                                                                                                          |
| Average Net Revenue                            | Net Revenue is the adjusted line item price (unit price \* quantity - line adjustments) + the adjusted fulfillment (fulfillment total - line adjustments) - order level adjustments - refunds.                                                                                                                                              |
| Average Promo Total                            | The total adjustment amount associated with the Order Summary.                                                                                                                                                                                                                                                                              |
| Average Refund Total                           |                                                                                                                                                                                                                                                                                                                                             |
| Average Tax Total                              | Total tax on all Order Item Summaries belonging to this Order Summary. Equal to Total Adjusted Delivery Tax Amount plus Total Adjusted Product Tax Amount.                                                                                                                                                                                  |
| Average Total Basket Value                     | Total line itemamount in the order. This is the equivalent of the unit price \* quantity.                                                                                                                                                                                                                                                   |
| Average Total Items                            | Total items in order.                                                                                                                                                                                                                                                                                                                       |
| Average Total Price                            | Total amount, including adjustments and tax, of the Order Summary.                                                                                                                                                                                                                                                                          |
| Adjusted Product Total                         | The total adjusted product amount associated with the Order Summary.                                                                                                                                                                                                                                                                        |
| Total Basket Value                             | Total line itemamount in the order. This is the equivalent of the unit price \* quantity.                                                                                                                                                                                                                                                   |
| Fulfillment Total                              | The total adjusted filfillment amount associated with the Order Summary.                                                                                                                                                                                                                                                                    |
| Gross Revenue                                  | Gross Revenue is the pre-tax, pre-adjusted total line item price (unit price \* quantity) + the fulfillment total.                                                                                                                                                                                                                          |
| Total Items                                    | Total items in order.                                                                                                                                                                                                                                                                                                                       |
| Net Revenue                                    | Net Revenue is the adjusted line item price (unit price \* quantity - line adjustments) + the adjusted fulfillment (fulfillment total - line adjustments) - order level adjustments - refunds.                                                                                                                                              |
| Total Price                                    | Total amount, including adjustments and tax, of the Order Summary.                                                                                                                                                                                                                                                                          |
| Promo Total                                    | The total adjustment amount associated with the Order Summary.                                                                                                                                                                                                                                                                              |
| Refund Total                                   |                                                                                                                                                                                                                                                                                                                                             |
| Tax Total                                      | Total tax on all Order Item Summaries belonging to this Order Summary. Equal to Total Adjusted Delivery Tax Amount plus Total Adjusted Product Tax Amount.                                                                                                                                                                                  |


[title] Creating Custom Reports
[path] Chord Data Platform/Analytics Features/

# Introduction

:::hint{type="info"}
**A note on terminology:**

A **report** on the Chord platform can refer to either a **dashboard** or a **Look** (which also known as an **explore**). A **dashboard** is made up of a collection of **Looks** (**explores**).
:::

Chord enables you to create custom analyses using our modeled data. You can visualize your data, gain insights, and share those insights with others. You can share these reports with others and let them view the data or give them edit access to change the report structure.

This article will help you create a report useful to your business. So that you know, you can modify the examples provided to create the custom report of your choice.

See below for more details on creating new dashboards or Looks on the Chord platform:

- **Build a New Dashboard**
- **Create a New Look**
- **How to Use Explores**

# Build a new dashboard

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-aWxHdrRiDQ2Ev4ED0wTQt-20241119-160503.png "My Reports page")

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-zE5LAoKs-uWmCV375k12l-20241119-160549.png "Empty Dashboard view")

1. Log into Chord and navigate to the **My Reports** menu item in the left navigation pane, under the **Analytics** page.
2. If you do have pre-existing reports, click on the pink **+ New Report** button.&#x20;
3. If you **do not** have any pre-existing reports, click the **Add New Report** button in the middle of the screen.
4. Click on **New Dashboard** in the dropdown selection to create a new dashboard that consists of multiple Looks.
5. You will be immediately taken to the newly created dashboard under **My Reports**.
6. Here, you can edit the dashboard and add custom metrics to build the reporting you need.

# Create a new Look

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-aWxHdrRiDQ2Ev4ED0wTQt-20241119-160503.png "My Reports page")

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-hAcP-Vxxymxq-UDAxhYmv-20241119-160723.png "Create New Look modal")

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-XpXREjuxAyKKe53Nb3aIA-20241119-160841.png "Quickstarts Library")

1. Navigate to the **My Reports** tab within the **Analytics** homepage.
2. If you do have pre-existing reports, click on the pink **+ New Report** button.&#x20;
3. If yo&#x75;**&#x20;do not** have any pre-existing reports, click the **Add New Report** button in the middle of the screen.
4. Click on **New Look** in the dropdown selection to create a new Look.
5. You will be taken to our **Quickstarts** library to browse different starter metrics to create a new Look.

:::hint{type="info"}
**Note:** You can also create a Look using **Explores**, which is outlined in the next section.
:::

# How to use Explores

:::hint{type="info"}
You can acces&#x73;**&#x20;Explores** in two different ways:

1. Clicking into the **Explores** tab under **Analytics** (which we cover in this section).
2. Adding a new visualization to a dashboard.
:::

:::hint{type="info"}
If you click on **Explore from Here** on an existing Look (seen below), you will see a pre-filtered view of **Explores**.

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-zd0FSwoUlqHqPl0gvG9xk-20241119-155338.png)
:::

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-Y4MpSrv7BOzKmw41U5wy6-20241119-161003.png)

1. Navigate to the **Explores** tab within the **Analytics** homepage.
2. Click on the dropdown menu on the top left section of the page and select a specific **Explores** category that you are interested in creating.

::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-Kgb3AC2dOnElXPaaxsbSk-20241119-155422.png" size="32" width="936" height="1264" position="center" darkWidth="936" darkHeight="1264" showCaption="false" indent="2"}

3. Each category will display a set of fields in different tabs: all fields that are available and fields that are currently in use. If you begin creating a Look via **Explores**, you will see that the “In Use” tab will be empty until you apply fields to your query.
4. Different **Explores** categories will highlight different facets of Chord-collected data that you can use to build specific queries to use as part of your reporting. Some common fields that you can use are:
   1. **Custom Fields** (custom fields that you have created)
   2. **Activities** (different dimensions focused on customer activities on your site, such as session landing page)
   3. **Sales** (dimensions focused on sales-related activities, such as order discounts).
5. Once you have created a specific query using existing measures, you can save it to your personal reports folder or add it to an existing dashboard.

For more details on creating a new Look using Explores, check out the video below.

::loom[]{url="https://www.loom.com/embed/63e056c1a82242b48881ed7caf018148?sid=8a71fb4a-e51d-4b7b-a1fc-58c48d160f95"}


[title] Impact
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

## **Introduction**

The Impact destination enables server-side integration with Impact's affiliate marketing and partnership management platform. It sends event data to Impact's tracking APIs to measure affiliate-driven conversions and website activity.

Connecting Impact as a CDP destination allows Chord to forward conversion an dpage events and customer identifiers to Impact so your marketing and acquisition teams can benefit from more accurate reporting of affiliate-driven conversions and activity.&#x20;

## **Getting started**

Impact is a **cloud-mode destination**, meaning Chord sends events pass through the Chord CDP and are sent from the CDP through to Impact.

Before connecting, ensure you have:

- An active Impact account
- `Campaign ID`- Your Impact campaign/program ID. Found in the top-left corner of the Impact dashboard.
- `Account SID` - Used for authentication, this can be found in your Impact account settings
- `API Key` - Used for authentication, this can be found in your Impact account settings
- `Event Type ID`- Custom event type ID for conversions

## **Connecting to the Impact CDP destination**

1. Log into the **Chord Data Platform**.&#x20;
2. Navigate to the **CDP**.&#x20;
3. Open the **Destinations** tab.&#x20;
4. Click **Add** and select **Impact** from the destination catalog.&#x20;
5. Provide a recognizable **Destination Name** (e.g., “Impact – Production”).&#x20;
6. Enter your **Campaign ID, Account SID, API Key & Event Type ID.**
7. Selet/Enable any relevant settings for events you wish to pass through:
   - `Enable Page Events`
   - `Enable Identify Events`
   - `Enable All Track Events`
8. Add any relevant custom event names to trigger conversions and/or to trigger page load track events

::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/1SFoJ8A0bVti5DFyP7L7G_image.png" size="100" isUploading="false" width="1260" height="764" darkWidth="1260" darkHeight="764" showCaption="false" indent="1"}



9. Add any addition **Custom Parameter Mapping&#x20;**&#x61;nd/or **Custom Product Field Mapping**

::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/-y3Dxg6TvM5FWcuyA-6ma_image.png" size="100" isUploading="false" width="1268" height="898" darkWidth="1268" darkHeight="898" showCaption="false" indent="1"}

10. Click **Create** to activate the destination.&#x20;

# Chord events relevant for destination

Not all Chord Tracking events are used downstream in your configured destinations. The most relevant and important events in the Chord tracking plan are mapped within the CDP destination, relayed and then ingested in the destination. The Chord tracking plan events used by the **Impact&#x20;**&#x64;estination are:&#x20;

| **Chord Tracking Event** | *Destination Event*                                    |
| ------------------------ | ------------------------------------------------------ |
| **Order Completed**      | *Conversion / Action*                                  |
| **Identify**             | *&#x20;Page Load, requires enableIdentifyEvents: true* |
| **Page**                 | *Page Load, requires enablePageEvents: true*           |
| **All Track Events**     | *Page Load, requires enableTrackEvents: true*          |



:::hint{type="danger"}
Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are *disabled.*
**
Running external destinations alongside configured Chord CDP destinations ***can result in duplicate events downstream.&#x20;***
:::


[title] Looks vs Dashboards
[path] Chord Data Platform/Analytics Features/



::::ExpandableHeading
### Introduction&#x20;

Looks and dashboards are the two major building blocks of Looker.&#x20;
The dashboards present data and insights using customizable charts, graphs, and reports. You can drill into all dashboards and queries to discover information in multiple layers.



:::hint{type="info"}
Take a  look at [Cloud Skills Boost](https://www.cloudskillsboost.google/catalog?keywords=Looker\&locale=\&format%5B%5D=any\&level%5B%5D=any\&duration%5B%5D=any\&modality%5B%5D=any\&language%5B%5D=any) to learn more about LookML.&#x20;
:::
::::

::::ExpandableHeading
### What are Looks?

Looks are created from the Explores. They are saved visualizations and stand-alone reports that you can use to answer one specific question from your data.&#x20;



:::ExpandableHeading
### Creating a Look&#x20;

For instance, we want to know the Order Average Gross Revenue value for each Month this past year.
Click Explore
Select Order Created Year and click Filter by field





::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/X27RVLJ6DcVHWqa4xKCzz_image-12-12-2022-at-1123-am.jpg" size="48" width="522" height="438" caption="Order Created Year" position="flex-start" darkWidth="522" darkHeight="438" showCaption="true"}



Select Order Create Date = Month&#x20;
Scroll down to Measure and select Average Gross Revenue



::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/PpxNozf3Mh8FEuCFuiNgz_image-12-12-2022-at-1120-am.jpg" size="50" width="2764" height="1380" caption="Report " position="flex-start" darkWidth="2764" darkHeight="1380" showCaption="true"}


Click Run&#x20;
To save it as a Look, click the gear icon, and click Save, Save as Look.&#x20;

Provide a Title "Average Monthly" and click Save



::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/IJzgqsqmga0l79tpXVbEx_image-12-12-2022-at-1127-am.jpg" size="46" width="1019" height="869" caption="Save as Look" position="flex-start" showCaption="true"}



::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/Xh7J-51RpurftgBTS43aG_image-12-12-2022-at-1148-am.jpg" size="44" width="1588" height="1358" caption="Save Look" position="flex-start" showCaption="true"}



You have just created a Look!&#x20;




:::
::::

:::::ExpandableHeading
### What are Dashboards?

Dashboards allow you to place multiple tables, graphs or looks on one page to get a quick view of the related content. You can also make dashboards interactive and filter them down to the specific data that interest you.





::::ExpandableHeading
### Creating a dashboard from a Look

Suppose you want to add the newly created Look report to an existing Dashboard.&#x20;

Navigate to Folders--> My Folder and select the "Average Monthly" in the Look section

You can click Add to Dashboard or click the gear icon and select Save --> Save to existing dashboard (you can also save to a new dashboard)&#x20;



::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/0R0u-peK6k9Qf8Ll-P3xA_image-12-12-2022-at-1154-am.jpg" size="50" width="2888" height="614" caption="Add to Dashboard " position="flex-start" showCaption="true"}



In the **Add to a Dashboard in this folder&#x20;**&#x66;orm select an existing dashboard:

In this example "Current Week"&#x20;



::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/1Ke3YYXcFDicl3JOhabHh_image-12-12-2022-at-1158-am-1.jpg" size="48" width="1568" height="1324" caption="Save to Dashboard" position="flex-start" showCaption="true"}



:::hint{type="info"}
Add Look to Dashboard -&#x20;
This option will add a Look-linked tile, and if you make any changes to the Look, it will reflect in your dashboard.&#x20;
:::



Click Save to Dashboard - this tile is copied as a query tile to the existing Dashboard. That option is the most preferred choice as the Dashboard will not depend on the Look; any changes to the Look will not affect the tile in your Dashboard.



To verify that the new Look has been added to the Dashboard, navigate to Folder --> My Folders and click on the "**Current View**" Dashboard. You should see Average Monthly visualization display 



::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/l1FTDyGuMyIvObTo3BaXr_image-12-12-2022-at-201-pm.jpg" size="50" width="2838" height="1244" caption="Tile added to Dashboard" position="flex-start" showCaption="true"}



You've just added a Look to your existing Dashboard!&#x20;


::::




:::::


[title] CLR and RFM on the Chord Commerce Data Platform
[path] Chord Data Platform/Predictive Models/Customer Lifetime Revenue (CLR)/



### Introduction

We can examine the customer lifetime value (CLV) information within the Chord Hub. Upon logging in, we can access our example plant store and navigate to the business overview and customer segmentation pages to view our revenue segmentation data.

::loom[]{url="https://www.loom.com/embed/5efd4eae6a35487cb83710f11d7dcd8d"}

On the splash page, we can include any relevant updates we wish to showcase. Using the explore function, we can navigate to the user table, which contains all the data we have been discussing, including the RFM measures of recency, frequency, and monetary value for each user.

Additionally, we can select a specific user data point to view all the relevant scores for that user. We can also match these scores to specific RFM groups, such as the 111 group.

Furthermore, we can mix this data with other user attributes, such as predicted lifetime net revenue or CLV. By running these analyses, we can determine which groups have the highest average CLV and explore further as needed.

### &#xA;Hub Example 2: Geo Analysis 

We may want to consider examining another measure by delving into user attributes and segmenting our data accordingly. One possible way to segment our data is by geography. Here, we will examine the average probability alive per geography for our example plant store, along with the average lifetime revenue. It's worth noting that results may differ from store to store.&#x20;

Nevertheless, this demonstrates the numerous attributes that we can use to segment our customers and the various ways in which we can analyze our data over time. For instance, we can filter by cohort and explore how different attributes are distributed among our customers.

::loom[]{url="https://www.loom.com/embed/02c646d33118413e8d6bd7d965a0f497"}








[title] Attribution Channel Mapping
[path] Chord Data Platform/Model Amplifications/

:::hint{type="info"}
Note: Our Model Amplifications feature **only accepts files in CSV format at this time.&#x20;**&#x50;lease make sure the files you upload are CSV files.
:::

# Overview

Chord provides an out-of-the-box mapping for pages to the attribution channel. However, brands sometimes have sources and channels that they want to track outside the standard Chord mapping. This configuration replaces the Chord mapping with the brand's custom mapping and adds the additional detail of being able to assign a Sub-Channel to the sources.&#x20;

## How It Works

The configuration allows the brand to define the channel of the page based on a combination of the following options:

- **Medium** -  the UTM Medium for the page
- **Source** - the UTM Souce for the page
- **GCLID&#x20;**- whether the page view has a google click id (GCLID) or not
- **Query** - any additional UTM parameters in the query including things like utm\_campaign, product or variant id, utm\_term, or utm\_content.
- **Referrer** - any referrer details.

For each of these, the brand can define the listed field condition's operator - Equal, Not Equal, Contains, Does Not Contain.&#x20;

For example- `Medium Does Not Contain Paid` and `Source Equals Facebook` could be `Organic Social`.The configuration first evaluates the page utm details and then evaluates the referrer.&#x20;






[title] Insider One
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

**Insider One** is a cross-channel marketing automation platform for personalizing user experiences and triggering journeys across web, mobile, and messaging channels. This destination sends events to Insider One using the **server-side Upsert API**, making it immune to ad blockers and browser restrictions.

Use this destination alongside the [Insider Pixel device-mode destination]() for maximum coverage.

# Getting Started

This is a cloud-mode destination. You will need:

- **Account Name** — your Insider One account name. Found in **InOne Panel > Settings > Inone Settings > Account Preferences**.
- **API Key** — your Insider One API key. Found in **InOne Panel > Settings > Preferences > Integration Settings**.

# Connecting to the Insider One CDP Destination

:::BlockQuote
**Warning:** Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are **disabled**. Running external destinations alongside configured Chord CDP destinations **can result in duplicate events downstream.**
:::

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **Insider One** from the destination catalog.
5. Enter the destination name, **Account Name**, and **API Key**.
6. Optionally configure:
   - **Treat Email as Identifier** — if enabled, the user's email address is included as an Insider One identifier in addition to the user ID.
   - **Treat Phone Number as Identifier** — if enabled, the user's phone number is included as an Insider One identifier.
7. Click **"Create"** to connect.

# Events

# Event Mapping

| Chord Event Type | Insider One API            | Notes                                                            |
| ---------------- | -------------------------- | ---------------------------------------------------------------- |
| `identify`       | `POST /api/user/v1/upsert` | Updates user attributes and identifiers; no event recorded       |
| `track`          | `POST /api/user/v1/upsert` | Sends one or more events; user attributes updated simultaneously |
| `page`           | `POST /api/user/v1/upsert` | Sent as a `page_view` event                                      |

Unsupported event types (e.g. `group`, `alias`) are silently dropped.

# Ecommerce Event Name Mapping

Chord ecommerce track event names are translated to Insider One's reserved event names:

| Chord Event Name       | Insider One Event Name     |
| ---------------------- | -------------------------- |
| `Product Viewed`       | `product_detail_page_view` |
| `Product List Viewed`  | `listing_page_view`        |
| `Product Added`        | `item_added_to_cart`       |
| `Product Removed`      | `item_removed_from_cart`   |
| `Cart Viewed`          | `cart_page_view`           |
| `Order Completed`      | `confirmation_page_view`   |
| `Checkout Started`     | `checkout_page_view`       |
| `Checkout Step Viewed` | `checkout_page_view`       |
| `User Registered`      | `sign_up_confirmation`     |

All other event names are lowercased and spaces are replaced with underscores (e.g. `Button Clicked` → `button_clicked`). Note: camelCase names are not converted — `myCustomEvent` becomes `mycustomevent`, not `my_custom_event`.

# Identify Events

Identify events update user attributes in Insider One. No event entry is recorded.

| Insider One Field                         | Chord Source (Priority Order)                                   | Notes                                                                                                        |
| ----------------------------------------- | --------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
| `identifiers.uuid`                        | `userId`                                                        | Primary user identifier                                                                                      |
| `identifiers.email`                       | `context.traits.email` > `traits.email`                         | Only included if **Treat Email as Identifier** is enabled                                                    |
| `identifiers.phone_number`                | `context.traits.phone` > `traits.phone` > `traits.phone_number` | Only included if **Treat Phone Number as Identifier** is enabled                                             |
| `identifiers.custom.segment_anonymous_id` | `anonymousId`                                                   | Always included as a custom identifier                                                                       |
| `attributes.*`                            | `traits` merged with `context.traits`                           | Reserved attribute names mapped directly; others placed in `attributes.custom` — see Attribute Mapping below |

# Track Events

Track events send one or more event entries to Insider One alongside updated user attributes.

| Insider One Field                         | Chord Source (Priority Order)                                   | Notes                                                                                                            |
| ----------------------------------------- | --------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| `identifiers.uuid`                        | `userId`                                                        | Primary user identifier                                                                                          |
| `identifiers.email`                       | `context.traits.email` > `traits.email`                         | Only included if **Treat Email as Identifier** is enabled                                                        |
| `identifiers.phone_number`                | `context.traits.phone` > `traits.phone` > `traits.phone_number` | Only included if **Treat Phone Number as Identifier** is enabled                                                 |
| `identifiers.custom.segment_anonymous_id` | `anonymousId`                                                   | Always included as a custom identifier                                                                           |
| `attributes.*`                            | `context.traits` merged with `traits`                           | Reserved attribute names mapped directly; others placed in `attributes.custom` — see Attribute Mapping below     |
| `events[].event_name`                     | `event` (translated via ecommerce map)                          | See Ecommerce Event Name Mapping above                                                                           |
| `events[].timestamp`                      | `timestamp`                                                     | ISO 8601 format                                                                                                  |
| `events[].event_params.*`                 | `properties`                                                    | Reserved param names mapped directly; others placed in `event_params.custom` — see Event Parameter Mapping below |

If `properties.products` is a non-empty array, each product is expanded into its own event entry. Top-level properties (e.g. `currency`, `order_id`) are merged into each product's event params.

# Page Events

Page events are sent as `page_view` events.

| Insider One Field                         | Chord Source (Priority Order)                                   | Notes                                                                                                        |
| ----------------------------------------- | --------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
| `identifiers.uuid`                        | `userId`                                                        | Primary user identifier                                                                                      |
| `identifiers.email`                       | `context.traits.email` > `traits.email`                         | Only included if **Treat Email as Identifier** is enabled                                                    |
| `identifiers.phone_number`                | `context.traits.phone` > `traits.phone` > `traits.phone_number` | Only included if **Treat Phone Number as Identifier** is enabled                                             |
| `identifiers.custom.segment_anonymous_id` | `anonymousId`                                                   | Always included as a custom identifier                                                                       |
| `attributes.*`                            | `context.traits` merged with `traits`                           | Reserved attribute names mapped directly; others placed in `attributes.custom` — see Attribute Mapping below |
| `events[].event_name`                     | *(hardcoded)* `page_view`                                       |                                                                                                              |
| `events[].timestamp`                      | `timestamp`                                                     | ISO 8601 format                                                                                              |
| `events[].event_params.url`               | `properties.url` > `context.page.url`                           |                                                                                                              |
| `events[].event_params.referrer`          | `properties.referrer` > `context.page.referrer`                 |                                                                                                              |
| `events[].event_params.*`                 | remaining `properties`                                          | Reserved params mapped directly; others in `event_params.custom`                                             |

# Attribute Mapping

Chord trait names are lowercased and spaces replaced with underscores before being matched against Insider One's reserved attribute names. Note: camelCase traits are not converted to snake\_case — send reserved attributes using Insider One's expected names to have them mapped correctly. Unrecognized traits are placed in the `attributes.custom` object.

**Special-cased trait mappings:**

| Chord Trait       | Insider One Attribute | Notes                                                    |
| ----------------- | --------------------- | -------------------------------------------------------- |
| `firstName`       | `name`                | Renamed to match Insider's reserved field                |
| `lastName`        | `surname`             | Renamed to match Insider's reserved field                |
| `address.city`    | `city`                | Nested trait flattened                                   |
| `address.country` | `country`             | Nested trait flattened                                   |
| `locale`          | `locale`              | Hyphens converted to underscores, e.g. `en-US` → `en_US` |

**Reserved attributes** (mapped directly when sent with the exact Insider field name):

| Insider One Attribute | Notes |
| --------------------- | ----- |
| `email`               |       |
| `phone_number`        |       |
| `age`                 |       |
| `birthday`            |       |
| `name`                |       |
| `gender`              |       |
| `surname`             |       |
| `city`                |       |
| `country`             |       |
| `app_version`         |       |
| `idfa`                |       |
| `model`               |       |
| `last_ip`             |       |
| `carrier`             |       |
| `os_version`          |       |
| `platform`            |       |
| `timezone`            |       |
| `locale`              |       |
| `gdpr_optin`          |       |
| `email_optin`         |       |
| `sms_optin`           |       |
| `whatsapp_optin`      |       |
| `language`            |       |

Any trait not in the special-cased list or reserved attributes list is placed in `attributes.custom`.

# Event Parameter Mapping

Chord property names are lowercased and spaces replaced with underscores. Note: camelCase property names are not converted to snake\_case. Known property aliases are remapped to Insider One's reserved event parameter names:

**Aliased property mappings:**

| Chord Property          | Insider One Event Param | Notes                                                                                                       |
| ----------------------- | ----------------------- | ----------------------------------------------------------------------------------------------------------- |
| `order_id` or `cart_id` | `event_group_id`        |                                                                                                             |
| `category`              | `taxonomy`              | Wrapped in array if not already                                                                             |
| `image_url`             | `product_image_url`     |                                                                                                             |
| `price`                 | `unit_sale_price`       | Fallback only — applied when `unit_sale_price` is not explicitly set on the product or top-level properties |

:::BlockQuote
**Note:** Insider One requires `unit_sale_price` on ecommerce events such as `confirmation_page_view` (mapped from `Order Completed`). Because Chord Pixel sends the Segment-standard `price` on products, this destination automatically aliases `price` → `unit_sale_price` when no explicit `unit_sale_price` is provided. If you send both, the explicit `unit_sale_price` wins and `price` is placed in `event_params.custom.price`.
:::

**Reserved event parameters** (mapped directly when sent with the exact Insider field name):

| Insider One Event Param |
| ----------------------- |
| `campaign_id`           |
| `campaign_name`         |
| `url`                   |
| `product_id`            |
| `user_agent`            |
| `taxonomy`              |
| `name`                  |
| `variant_id`            |
| `unit_sale_price`       |
| `unit_price`            |
| `quantity`              |
| `product_image_url`     |
| `event_group_id`        |
| `referrer`              |
| `currency`              |

Any property not in the aliased or reserved lists is placed in `event_params.custom`.

# Testing and Validation

After connecting the destination:

1. Trigger a test event from your storefront or use the **Live Events** tab in the Chord CDP.
2. In Insider One, navigate to **InOne Panel > Audience** and verify the user profile was created or updated.
3. Check event history under the user profile to confirm events were received.
4. Review the **Live Events** diagnostics in the Chord CDP for any API errors or credential issues.

# Use Cases

- **Personalize onsite experiences** using purchase history and loyalty tier attributes synced from Chord.
- **Trigger re-engagement journeys** when Chord sends a track event like `Subscription Cancelled` or `Cart Abandoned`.
- **Build high-value segments** in Insider using enriched customer attributes from Chord (e.g., LTV tier, acquisition channel).
- **Suppress messaging** by syncing opted-out users from Chord to keep Insider audiences up to date.
- **Activate post-purchase flows** by sending `Order Completed` events with product and revenue details.

# Best Practices

- **Always include an identifier.** Insider needs at least one identifier (email, phone, or UUID) to match or create a profile. Events without identifiers will be dropped.
- **Use consistent user IDs.** Ensure the `userId` sent from Chord matches the UUID Insider already has on file for existing profiles.
- **Format phone numbers correctly.** Include the country code (e.g., `+14155550123`). Incorrectly formatted numbers will not match existing profiles.
- **Filter events deliberately.** Sending all track events is rarely necessary. Start with high-signal events (e.g., `Order Completed`, `Product Viewed`) and expand from there.
- **Monitor delivery logs after launch.** Check for 4xx errors in the first few days — these typically indicate a mapping or credential issue.

# Troubleshooting

# Data not sending

**Problem:** Events are not appearing in Insider One after the destination is enabled.

- Confirm the destination is enabled in Chord.
- Verify your **API Key** and **Account Name** are correct — a single character error will cause all requests to fail.
- Check the **Live Events** diagnostics in the Chord CDP for error responses (look for 401 or 403 status codes).
- Confirm that the event types you want to send (identify, track, page) are being emitted by your storefront.

# Missing attributes

**Problem:** User profiles appear in Insider One but expected attributes (e.g., custom traits) are missing.

- Custom traits not in Insider's reserved attribute list are nested under `attributes.custom`. Verify the attribute name in Insider includes the `custom.` prefix.
- Check whether the attribute exists in Insider's schema. New custom attributes may need to be created in Insider before data can be written to them.
- Confirm the trait is present on the identify event being sent from Chord by inspecting the **Live Events** payload.

# Duplicate users

**Problem:** Insider One is creating multiple profiles for the same customer.

- Confirm that identify events consistently include the same identifier (email or UUID). Inconsistent identifiers cause Insider to create separate profiles.
- If your store captures both anonymous and logged-in sessions, ensure an identify call is sent when a user logs in so Insider can merge the profiles.
- Check that phone numbers are formatted consistently — a mismatch (e.g., with and without country code) can prevent profile matching.

***

**Updated 15 Apr 2026**

[title] Campaign Mapping
[path] Chord Data Platform/Model Amplifications/

:::hint{type="info"}
Note: Our Model Amplifications feature **only accepts files in CSV format at this time.&#x20;**&#x50;lease make sure the files you upload are CSV files.
:::

# Overview&#x20;

Oftentimes, brands need to map campaign names to different attributes. Chord's Campaign Mapping amplifcation allows brands to identify and log campaigns based on a number of different attributes.&#x20;

## How It Works

The configuration allows the brand to identify and define campaigns based on a combination of the following options:

- **Campaign Name:&#x20;**&#x54;his is a unique field.&#x20;
- **Campaign Name Refined:** Optional, simplified campaign name.
- **Campaign Region** (ex: US, CA, EU)
- **Campaign Brand**
- **Campaign Type** (ex: Transactional, Batch, Automated)
- **Campaign Objective&#x20;**(ex: Engagement, Retention, Acquisition)
- **Campaign Category:&#x20;**&#x43;ampaign Category is the highest level of the hierarchy. For example: Fruit > Berries > Strawberries, the Campaign Category is Fruit and covers all Campaigns that are Fruit.
- **Campaign Subcategory:&#x20;**&#x43;ampaign Subcategory is the middle level of the hierarchy. For example: Fruit > Berries > Strawberries, the Campaign Subcategory is Berries and includes only Fruits that are berries.
- **Campaign Class:&#x20;**&#x43;ampaign Class is the third level of the hierarchy. For example: Fruit > Berries > Strawberries, the Campaign Class is Strawberries and includes only Berries that are Strawberries. There can be more than one Campaign within the class.
- **Campaign Platform:&#x20;**&#x54;he Ad Source of the campaign. (Ex: Google Ads, Tiktok Ads)
- **Campaign Channel:** The attribution channel of the campaign. (Ex: Email, SMS)
- **Campaign Sub-Channel:&#x20;**&#x53;ub-Channel is a granular level of attribution.
- **Campaign Temporality&#x20;**(Ex: September Sale, October EVG, 20230504, etc)
- **Campaign Option:&#x20;**&#x49;nclude any additional attributes not captured by existing fields. You may add more than one attribute with a comma separating. Periodically, Chord will assess adding additional attribute columns.

## Sample Use Case

Brands can easily extend their enriched Chord data set to include campaign mapping data and answer more robust business questions tied to different marketing and business campaigns throughout different regions, channels, etc.

[title] CDP Destinations
[path] Chord CDP/

:::hint{type="info"}
We are adding additional destinations to our [destination catalog](https://docs.chord.co/cdp-destination-catalog) periodically. Please check back for updates!
:::

A CDP (Customer Data Platform) destination is any platform or tool where customer data collected from a CDP is sent for activation. CDP destinations include marketing platforms, CRM systems, ad networks, or analytics tools.&#x20;

The CDP destination catalog serves as a curated directory of all possible destinations a Chord brand can connect to on the Chord data platform. Each destination page outlines the capabilities, requirements, and setup instructions for that particular CDP destination. This is to streamline activation downstream by helping marketers and operators quickly understand where their store data can go, what it can do once it’s there, and how to get connected—ultimately shortening time to value and supporting orchestrated, data-driven engagement strategies.

# Destination types

## Device mode destinations

A **device mode destination&#x20;**&#x69;s a way to send data directly from a customer’s browser or device to a marketing or analytics tool—like Google Ads or Facebook. Instead of routing the data through your backend or a platform like Chord, it goes straight from the user's device to the destination tool. This can help with faster data delivery, more accurate user tracking, and better ad targeting, especially for platforms that rely on real-time browser signals.

## Cloud mode destinations

A **cloud mode destination&#x20;**&#x73;ends data from your backend—or from a platform like Chord—to a marketing or analytics tool, instead of sending it directly from the customer’s device. This means the data is processed and routed through secure servers before it reaches the destination. Cloud mode gives you more control, better data consistency, and helps ensure that tracking still works even if a browser blocks certain scripts or cookies.

# Connecting a destination

:::hint{type="danger"}
Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are *disabled.*
**
Running external destinations alongside configured Chord CDP destinations ***can result in duplicate events downstream.&#x20;***
:::

![](https://cdn.loom.com/sessions/thumbnails/7c6fce0deb194a878cb7e84a5928aead-32024bf4f3819292-full-play.gif "Quick tour of the CDP destination catalog")

The Chord CDP [destination catalog](https://docs.chord.co/cdp-destination-catalog) has a number of key destinations that you can connect to, including (but not limited to):&#x20;

- Attentive
- Braze
- Facebook Conversions API
- GA4&#x20;
- GA4 (device mode)
- Klaviyo

To add destinations, admin-level users can take the following steps to set up CDP destinations via our [destination catalog](https://docs.chord.co/cdp-destination-catalog):

1. On the CDP overview page, click the “**Add”** button on the right.
2. You will be taken to the destinations catalog. Scroll to view the destination options in the catalog and select the destination you’d like to connect.
3. Complete the destination connection steps as provided on the screen. Click “**Create**” to complete your destination set up.


[title] Contentsquare Heap (Pixel)
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

## Introduction

The **Heap Pixel** destination loads the Heap browser SDK directly in the visitor's browser (device mode) and sends events client-side. Unlike the [server-side Heap destination](), device-mode events originate from the browser, enabling Heap's automatic interaction capture, session replay, and heatmap features.

Use this destination alongside the [server-side Heap destination]() for maximum coverage.

## Getting Started

This is a device-mode destination. The Heap JavaScript SDK is loaded automatically — no manual script installation is required. You will need:

- **App ID (Environment ID)** — found in **Account > Manage > Projects** in the Heap dashboard. Each project (environment) has its own App ID.

## Connecting to the Heap Pixel CDP Destination

:::hint{type="warning"}
Before connecting destinations in the Chord CDP, please verify with all Destination owners that all non-Chord CDP configured destinations are disabled. Running external destinations alongside configured Chord CDP destinations can result in duplicate events downstream.
:::

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **Heap (Device Mode)** from the destination catalog.
5. Enter the destination name and **App ID**.
6. Click **"Create"** to connect.

## Events

### Event Mapping

| Chord Event Type | Heap SDK Method                                              | Notes                                         |
| ---------------- | ------------------------------------------------------------ | --------------------------------------------- |
| `track`          | `heap.track(eventName, properties)`                          | Event name and properties forwarded as-is     |
| `page`           | `heap.track("Page View", properties)`                        | Page metadata included in properties          |
| `identify`       | `heap.identify(identity)` + `heap.addUserProperties(traits)` | Identity resolved from `userId` > email trait |

### Track Events

Track events call `heap.track()` with the event name and properties.

| Heap Argument | Chord Source         | Notes                          |
| ------------- | -------------------- | ------------------------------ |
| `eventName`   | `event` (event name) |                                |
| `properties`  | `properties`         | All event properties forwarded |

### Page Events

Page events call `heap.track("Page View", ...)` with page metadata merged into properties.

| Heap Argument | Chord Source                          | Notes                                                           |
| ------------- | ------------------------------------- | --------------------------------------------------------------- |
| `eventName`   | *(hardcoded)* `"Page View"`           |                                                                 |
| `properties`  | `properties` merged with page context | Includes `url`, `path`, `referrer`, `title` from `context.page` |

### Identify Events

Identify events call both `heap.identify()` to set the user identity and `heap.addUserProperties()` to attach traits.

| Heap Method                      | Chord Source (Priority Order)                      | Notes                                               |
| -------------------------------- | -------------------------------------------------- | --------------------------------------------------- |
| `heap.identify(identity)`        | `userId` > `context.traits.email` > `traits.email` | If no identity can be resolved, the call is skipped |
| `heap.addUserProperties(traits)` | `traits` merged with `context.traits`              | All user traits forwarded                           |

## Initialization

On first event, the plugin:

1. Injects the Heap SDK stub queue (`window.heap`) into the page
2. Loads the Heap SDK script from `https://cdn.heapanalytics.com/js/heap-0.js`
3. Calls `heap.load(appId)` to initialize Heap with your App ID

The plugin tracks SDK loading state (`fresh` → `loading` → `loaded` / `failed`) using a shared state flag (`window.__chordCDPHeapState`) to prevent duplicate script loads across concurrent events. Events that arrive while the SDK is loading are queued and processed after initialization completes. If the SDK fails to load, subsequent events are silently dropped.

## CSP Requirements

If your site uses a Content Security Policy, allow the following domains:

| Directive     | Domain                                                      |
| ------------- | ----------------------------------------------------------- |
| `script-src`  | `https://cdn.heapanalytics.com`                             |
| `connect-src` | `https://cdn.heapanalytics.com` `https://heapanalytics.com` |
| `img-src`     | `https://heapanalytics.com`                                 |

## Combining with Server-Side Heap

Running both the Heap Pixel (device mode) and the [server-side Heap destination]() provides redundancy:

- **Device mode** captures browser-native interactions and enables session replay / heatmaps
- **Server-side** captures events that may be blocked by ad blockers or occur outside the browser

Heap deduplicates events that share the same identity and timestamp, so duplicate counting is generally not a concern when running both in parallel.

[title] Contentsquare Heap (Cloud)
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

## Introduction

**Heap** (part of **Contentsquare**) is a digital analytics platform that automatically captures every user interaction — clicks, taps, form submissions, page views — and lets you retroactively define events without re-instrumenting your code. This destination sends events to Heap using the **server-side HTTP API**, making it immune to ad blockers and browser restrictions.

Use this destination alongside the [Heap device-mode destination]() for maximum coverage.

## Getting Started

This is a cloud-mode destination. You will need:

- **App ID (Environment ID)** — found in **Account > Manage > Projects** in the Heap dashboard. Each project (environment) has its own App ID.

## Connecting to the Heap CDP Destination

:::hint{type="warning"}
Before connecting destinations in the Chord CDP, please verify with all Destination owners that all non-Chord CDP configured destinations are disabled. Running external destinations alongside configured Chord CDP destinations can result in duplicate events downstream.
:::

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **Heap** from the destination catalog.
5. Enter the destination name and **App ID**.
6. Optionally configure:
   - **Data Region** — `us` (default) or `eu`. Controls which Heap endpoint receives your events.
   - **Send Page Events** — if enabled (default), `page` events are forwarded to Heap as track events named `"Page View"`.
   - **Enable Anonymous User Profiles** — if enabled, events from anonymous users (no `userId`) are forwarded. Disabled by default.
7. Click **"Create"** to connect.

## Events

### Event Mapping

| Chord Event Type | Heap API Endpoint               | Notes                                                            |
| ---------------- | ------------------------------- | ---------------------------------------------------------------- |
| `track`          | `POST /api/track`               | Event name and properties forwarded as-is                        |
| `page`           | `POST /api/track`               | Sent as a `"Page View"` event if **Send Page Events** is enabled |
| `identify`       | `POST /api/add_user_properties` | User traits sent as Heap user properties                         |

### Track Events

Track events are forwarded to Heap's `/api/track` endpoint.

| Heap Field   | Chord Source (Priority Order)                      | Notes                                                       |
| ------------ | -------------------------------------------------- | ----------------------------------------------------------- |
| `app_id`     | Configured App ID                                  | Required                                                    |
| `identity`   | `userId` > `context.traits.email` > `traits.email` | If absent and anonymous profiles disabled, event is skipped |
| `event`      | `event` (event name)                               |                                                             |
| `properties` | `properties`                                       | All event properties forwarded                              |
| `timestamp`  | `timestamp`                                        | ISO 8601 format                                             |

### Page Events

If **Send Page Events** is enabled, page events are forwarded as track events named `"Page View"`.

| Heap Field   | Chord Source (Priority Order)                      | Notes                                                           |
| ------------ | -------------------------------------------------- | --------------------------------------------------------------- |
| `app_id`     | Configured App ID                                  | Required                                                        |
| `identity`   | `userId` > `context.traits.email` > `traits.email` | If absent and anonymous profiles disabled, event is skipped     |
| `event`      | *(hardcoded)* `"Page View"`                        |                                                                 |
| `properties` | `properties` merged with page context              | Includes `url`, `path`, `referrer`, `title` from `context.page` |
| `timestamp`  | `timestamp`                                        | ISO 8601 format                                                 |

If **Send Page Events** is disabled, page events are silently dropped.

### Identify Events

Identify events are sent to Heap's `/api/add_user_properties` endpoint to associate traits with a user.

| Heap Field   | Chord Source (Priority Order)                      | Notes                                                     |
| ------------ | -------------------------------------------------- | --------------------------------------------------------- |
| `app_id`     | Configured App ID                                  | Required                                                  |
| `identity`   | `userId` > `context.traits.email` > `traits.email` | Required; event is skipped if identity cannot be resolved |
| `properties` | `traits` merged with `context.traits`              | All user traits forwarded                                 |

:::BlockQuote
**Note:** Heap's `add_user_properties` endpoint requires a resolved identity. Identify events without a `userId` or email are always skipped, regardless of the **Enable Anonymous User Profiles** setting.
:::

## Data Regions

| Region         | Endpoint                    |
| -------------- | --------------------------- |
| `us` (default) | `https://heapanalytics.com` |
| `eu`           | `https://heapanalytics.eu`  |

Set the **Data Region** option to `eu` if your Heap project is configured for EU data residency.

## Testing and Validation

After connecting the destination:

1. Trigger a test event from your storefront or use the **Live Events** tab in the Chord CDP
2. In Heap, navigate to **Account > Manage > Projects** and verify events appear in the event stream
3. Check the **Live Events** diagnostics in the Chord CDP for any API errors or credential issues

## Property Mappings

| Destination Path | Description                                          |
| ---------------- | ---------------------------------------------------- |
| `properties.*`   | All event properties forwarded to Heap unchanged     |
| `traits.*`       | All user traits forwarded to Heap as user properties |


[title] Postie
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

**Postie** is a direct mail retargeting platform (powered by Letterpress) that connects online behavior to physical mail campaigns. This destination loads the Letterpress JavaScript SDK in the browser and forwards page views, email captures, and order completions to enable Postie's retargeting workflows. There is no server-side component.

# Getting Started

This is a device-mode destination. The Letterpress SDK is loaded automatically — no manual script installation is required. You will need:

- **Account ID** — your Postie account ID, found in your Postie account settings.

# Connecting to the Postie CDP Destination

:::BlockQuote
**Warning:** Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are **disabled**. Running external destinations alongside configured Chord CDP destinations **can result in duplicate events downstream.**
:::

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **Postie** from the destination catalog.
5. Enter the destination name and your **Account ID**.
6. Click **"Create"** to connect.

# Events

# Event Mapping

| Chord Event                       | Letterpress SDK Call                                                               |
| --------------------------------- | ---------------------------------------------------------------------------------- |
| `page`                            | `letterpress("trackPageView")`                                                     |
| `User Created` / `Email Captured` | `letterpress("trackUnstructEvent", { schema, data })`                              |
| `Order Completed`                 | `letterpress("addTrans")` + `letterpress("addItem")` + `letterpress("trackTrans")` |

# Page Events

Fires a Postie page view call.

**Letterpress SDK call:** `letterpress("trackPageView")`

No additional attributes are sent with page events.

# Email Capture (User Created / Email Captured)

Sends an email capture event using Postie's Iglu schema.

**Letterpress SDK call:** `letterpress("trackUnstructEvent", { schema, data })`

| Letterpress Attribute | Chord Source (Priority Order)                                  | Notes                                        |
| --------------------- | -------------------------------------------------------------- | -------------------------------------------- |
| `schema`              | *(hardcoded)* `iglu:com.getletterpress/email/jsonschema/1-0-0` |                                              |
| `data.email`          | `properties.email` > `traits.email`                            | Required; event is skipped if no email found |

# Order Completed

Sends a full ecommerce transaction to Postie. The event is skipped if `properties.products` is empty.

## Transaction Attributes

**Letterpress SDK call:** `letterpress("addTrans", orderId, affiliation, total, tax, shipping, city, state, country, currency, addressContext)`

| Letterpress Parameter | Chord Source (Priority Order)                                    | Notes                                               |
| --------------------- | ---------------------------------------------------------------- | --------------------------------------------------- |
| `orderId`             | `properties.order_id` > `properties.checkout_id`                 |                                                     |
| `affiliation`         | `properties.affiliation`                                         |                                                     |
| `total`               | `properties.total`                                               | Formatted to 2 decimal places                       |
| `tax`                 | `properties.tax`                                                 | Formatted to 2 decimal places; defaults to `"0.00"` |
| `shipping`            | `properties.shipping`                                            | Formatted to 2 decimal places; defaults to `"0.00"` |
| `city`                | `properties.shipping_city` > `context.traits.address.city`       |                                                     |
| `state`               | `properties.shipping_state` > `context.traits.address.state`     |                                                     |
| `country`             | `properties.shipping_country` > `context.traits.address.country` |                                                     |
| `currency`            | `properties.currency` > `"USD"` (default)                        |                                                     |

## Address Context

An address context object is appended to the `addTrans` call:

| Address Attribute | Chord Source (Priority Order)                                                                                               | Notes                                                                                           |
| ----------------- | --------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
| `data.name`       | `properties.first_name` > `context.traits.first_name` concatenated with `properties.last_name` > `context.traits.last_name` | Trimmed                                                                                         |
| `data.street`     | `context.traits.address.address1`                                                                                           | `Order Completed` does not carry a street address property; only populated from identity traits |
| `data.street_2`   | `context.traits.address.address2`                                                                                           | `Order Completed` does not carry a street address property; only populated from identity traits |
| `data.zip`        | `properties.shipping_zipcode` > `context.traits.address.zipcode`                                                            |                                                                                                 |
| `data.city`       | Same as transaction `city`                                                                                                  |                                                                                                 |
| `data.state`      | Same as transaction `state`                                                                                                 |                                                                                                 |
| `data.country`    | Same as transaction `country`                                                                                               |                                                                                                 |
| `data.email`      | `properties.email` > `context.traits.email` > `traits.email`                                                                |                                                                                                 |

## Item Attributes

Each product in `properties.products[]` is sent via a separate `addItem` call.

**Letterpress SDK call:** `letterpress("addItem", orderId, sku, name, category, price, quantity, currency)`

| Letterpress Parameter | Chord Source (Priority Order)                                                                 | Notes                                               |
| --------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------- |
| `orderId`             | Same as transaction `orderId`                                                                 |                                                     |
| `sku`                 | `properties.products[].sku` > `properties.products[].product_id` > `properties.products[].id` |                                                     |
| `name`                | `properties.products[].name`                                                                  |                                                     |
| `category`            | `properties.products[].category` > `properties.products[].variant`                            |                                                     |
| `price`               | `properties.products[].price`                                                                 | Formatted to 2 decimal places; defaults to `"0.00"` |
| `quantity`            | `properties.products[].quantity`                                                              | Defaults to `"1"`                                   |
| `currency`            | Same as transaction `currency`                                                                |                                                     |

After all items are added, the transaction is finalized with `letterpress("trackTrans")`.

# Initialization

The plugin loads `https://scripts.postie.com/{accountId}/lp.1.js` on the first event received. The plugin manages SDK loading state (`fresh` → `loading` → `loaded`/`failed`) to prevent duplicate script loads. Concurrent events during loading are queued and processed after initialization completes. If the script fails to load, subsequent events are silently dropped.

# CSP Requirements

If your site uses a Content Security Policy, allow the following domains:

| Directive     | Domain                         |
| ------------- | ------------------------------ |
| `script-src`  | `https://scripts.postie.com`   |
| `connect-src` | `https://t.getletterpress.com` |

***

**Updated 6 Apr 2026**

[title] Retention.com
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

**Retention.com** is a visitor identification and retargeting platform that matches anonymous website visitors to contact records for email and direct mail remarketing. This destination loads the Retention.com pixel in the browser and forwards page views, identify events, order data, and product interactions. There is no server-side component.

# Getting Started

This is a device-mode destination. The Retention.com pixel is loaded automatically — no manual script installation is required. You will need:

- **Site ID** — your Retention.com site ID, found in your Retention.com account settings.

# Connecting to the Retention.com CDP Destination

:::BlockQuote
**Warning:** Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are **disabled**. Running external destinations alongside configured Chord CDP destinations **can result in duplicate events downstream.**
:::

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **Retention.com** from the destination catalog.
5. Enter the destination name and your **Site ID**.
6. Click **"Create"** to connect.

# Events

# Event Mapping

| Chord Event       | Retention.com SDK Call                             |
| ----------------- | -------------------------------------------------- |
| `page`            | `geq.page()`                                       |
| `identify`        | `geq.suppress(email)`                              |
| `Email Captured`  | `geq.suppress(email)`                              |
| `Order Completed` | `geq.trackOrder(orderData)`                        |
| `Product Added`   | `geq.addToCart(productData)`                       |
| `Product Viewed`  | `geq.event("Viewed Product Reclaim", productData)` |

# Page Events

Fires a Retention.com page view call.

**Retention SDK call:** `geq.page()`

No additional attributes are sent with page events.

# Identify Events

Suppresses Retention.com anonymous visitor collection for known users. When a user is identified with an email, Retention.com stops collecting anonymous data for that email.

**Retention SDK call:** `geq.suppress(email)`

| Parameter | Chord Source (Priority Order)                                | Notes                              |
| --------- | ------------------------------------------------------------ | ---------------------------------- |
| `email`   | `properties.email` > `context.traits.email` > `traits.email` | Event is skipped if no email found |

# Email Captured

Suppresses Retention.com collection when an email is captured (same behavior as Identify).

**Retention SDK call:** `geq.suppress(email)`

| Parameter | Chord Source (Priority Order)       | Notes                              |
| --------- | ----------------------------------- | ---------------------------------- |
| `email`   | `properties.email` > `traits.email` | Event is skipped if no email found |

# Order Completed

Sends an order tracking call to Retention.com.

**Retention SDK call:** `geq.trackOrder(orderData)`

| Retention Attribute | Chord Source (Priority Order)                                | Notes                                |
| ------------------- | ------------------------------------------------------------ | ------------------------------------ |
| `order_number`      | `properties.order_id`                                        |                                      |
| `order_amount`      | `properties.total` > `properties.value`                      | Defaults to `0`; converted to string |
| `order_email`       | `properties.email` > `context.traits.email` > `traits.email` |                                      |

# Product Added

Sends an add-to-cart event. Uses the first product from `properties.products[]`, or falls back to extracting product data from root-level `properties`.

**Retention SDK call:** `geq.addToCart(productData)`

| Retention Attribute | Chord Source (Priority Order)                                                                                                                 | Notes               |
| ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- |
| `Name`              | `properties.products[0].name` > `properties.name`                                                                                             |                     |
| `Price`             | `properties.products[0].price` > `properties.price`                                                                                           | Converted to string |
| `ProductID`         | `properties.products[0].product_id` > `properties.products[0].sku` > `properties.products[0].id` > `properties.product_id` > `properties.sku` |                     |
| `Categories`        | `properties.products[0].category` > `properties.category`                                                                                     |                     |
| `ImageURL`          | `properties.products[0].image_url` > `properties.image_url`                                                                                   |                     |
| `URL`               | `properties.products[0].url` > `properties.url`                                                                                               |                     |
| `Brand`             | `properties.products[0].brand` > `properties.brand`                                                                                           |                     |

# Product Viewed

Sends a product viewed event using Retention.com's Reclaim feature.

**Retention SDK call:** `geq.event("Viewed Product Reclaim", productData)`

Same attributes as **Product Added** above.

# Initialization

The plugin loads `https://s3-us-west-2.amazonaws.com/jsstore/a/{siteId}/ge.js` on the first event received. The plugin manages SDK loading state (`fresh` → `loading` → `loaded`/`failed`) to prevent duplicate script loads. Concurrent events during loading are queued and processed after initialization completes. If the script fails to load, subsequent events are silently dropped.

# CSP Requirements

If your site uses a Content Security Policy, allow the following domains. Note that `script-src` covers where the SDK file is downloaded from, while `connect-src` covers where the SDK sends tracking data to at runtime — these are different hosts and both must be allowed.

| Directive     | Domain                                          | Purpose                                                                                                        |
| ------------- | ----------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| `script-src`  | `https://s3-us-west-2.amazonaws.com`            | Downloads `ge.js` (the Retention.com SDK)                                                                      |
| `connect-src` | `https://*.execute-api.us-west-2.amazonaws.com` | Outbound event, order, and suppression calls to Retention.com's tracking API                                   |
| `connect-src` | `https://alocdn.com`                            | Per-account configuration fetch                                                                                |
| `connect-src` | `https://pro.ip-api.com`                        | Geo/VPN validation (only if `enable_geo_check` or `enable_vpn_check` is enabled in your Retention.com account) |
| `connect-src` | `https://a.usbrowserspeed.com`                  | Fingerprint fallback for anonymous visitor resolution                                                          |
| `connect-src` | `https://b-code.liadm.com`                      | LiveIntent identity resolution (only if enabled in your Retention.com account)                                 |

Verify against your Retention.com account's current configuration — additional domains may be required if you have optional features enabled that aren't listed above.

***

**Updated 6 Apr 2026**

[title] Model Amplifications
[path] Chord Data Platform/

# Introduction

Chord's data models have been built from the team's expertise in the world of e-commerce. Currently, all data flows through the same models, delivering consistent outputs across brands. However, just like the wide range of e-commerce brands that sign on to Chord, there is variety in custom data that brands want to feed into and surface from the existing Chord data models.

Chord now allows brands to extend their data by adding brand-specific mappings and settings via the Model Amplifications feature on the platform. Amplifications allow brands to structure some of their unique data inputs for modeling so they can represent metrics fitted to their business needs. Brands will see data added as additional fields in explores or see fields updated based on the configuration settings in the templates.

Once a specific Amplification is enabled, it will process through the data models in the next scheduled run.&#x20;

Note that some data fields are required fields, and you'll see the following errors in case required fields are not completed. Please see an example below.

::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/-KAyzlKvKNtK6cTPtPyYM_screenshot-2024-07-12-at-22331-pm.png" size="46" width="368" height="346" position="center" darkWidth="800" darkHeight="752" showCaption="false"}

:::hint{type="info"}
Note: Our Model Amplifications feature **only accepts files in CSV format at this time.&#x20;**&#x50;lease make sure the files you upload are CSV files.
:::

You can also use the **Download Template** button, open the template in Google Sheets, and populate the rows you need to then export it as a CSV file.

You can then upload that CSV file and all valid rows will be automatically added to the configuration.

::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/JN_PwGYoNr5w7KAu2BqTd_screenshot-2024-08-27-at-133735.png" size="50" width="666" height="688" position="center" alt="upload csv modal" darkWidth="800" darkHeight="826" showCaption="false"}

## Sample Use Cases

Brand operators and data analysts could use Model Amplifications to:&#x20;

- Manage additional dimensions for items in the brand's catalog by adding specific attributes to their products, which will in turn show up in the data models and allow them to customize what they see and analyze on Chord.
- Reduce the need to create custom fields every time they want to report on the same dimension, like configuring the Shopify Order App IDs to a specific name.
- Add sources that are not able to be directly connected through existing data connectors. This could include tracking marketing and advertising spend for Podcasts and Radio Ads.&#x20;

## Getting Started

Each Amplification available to you can be accessed through the Model Amplifications page. The first time you configure your Amplifications, you need to fill in the Amplification templates with your custom data mappings.&#x20;

![](https://archbee-image-uploads.s3.amazonaws.com/gNLoD7dyLXCzJIXNd1_b8-wnLQPDamASdKhRU0MIPyB-20240823-150250.png)

Once you have filled out each Amplification template with your custom data mappings, you can then enable them by requesting activation (templates that do not have any data will not be enabled) .

![](https://archbee-image-uploads.s3.amazonaws.com/gNLoD7dyLXCzJIXNd1_b8-WAiyNn8buSjk9_BRxIZil-20240823-150544.png)

It will take about 48 hours for your Amplification to be enabled and for your custom data to be surfaced in your existing Chord data models.

![](https://archbee-image-uploads.s3.amazonaws.com/gNLoD7dyLXCzJIXNd1_b8-GyKSoQDOWGvuHown8TV2s-20240823-150702.png)

Once the 48 hour activation period has taken effect, your Amplification will be enabled and will be available in your Chord data models. The activation process happens only once, adding additional data mappings to already enabled Amplifications will continue to automatically feed into your Chord data models.

![](https://archbee-image-uploads.s3.amazonaws.com/gNLoD7dyLXCzJIXNd1_b8--Xw2XBo4ERuUn1q-WjdpL-20240823-151226.png)

Going back to the Model Amplifications page, you will be able to see which Amplifications you have enabled, which are in progess, and which still need to be enabled.&#x20;

![](https://archbee-image-uploads.s3.amazonaws.com/gNLoD7dyLXCzJIXNd1_b8-8O4L5bgGYVaKr-0S25NZ5-20240823-151340.png)

## Bulk Uploading Data

:::hint{type="warning"}
**Data Upload Limitations**

- **Users cannot upload files greater than 10MB**. Please ensure that your file upload doesn't exceed 10MB in size. This translates to roughly more than 30K rows of data.
- **Please only upload CSV files**. The Chord platform will not be able to read any other file format for model amplifications.&#x20;
- **Please do not remove the "Key" column provided in the CSV template**. This column is used for internal purposes and should not be altered.
:::

The Chord data platform also supports bulk upload of data, which in turn supports brands that need to upload many rows of data, or need to need to add thousands of new SKUs to a specific data model at any given time.

:::hint{type="info"}
**Note:** Once you bulk upload data to our amplifications feature, there may be a wait time to view the results on our platform. This is governed by the data refresh cadence set for your organization as well as the timing of the last data sync with Fivetran.
:::

To bulk upload data, you can follow the steps below:

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-2ToWS-xPoQESGESQpItz6-20240917-213647.png)

On a given model amplification template, **download the template, fill in the desired columns with your data,&#x20;**&#x61;nd click the **Upload CSV&#x20;**&#x62;utton on the template page. From here, you can attach a CSV file to upload.

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-NOp1pa3bh4JDlOQ2L5_XX-20240917-213859.png)

Once you attach a valid CSV file, the CSV upload modal closes and you will see a message saying that the file is being processed.&#x20;

During processing, the Chord data platform will check the new file and validate all rows in the file to ensure that there are no duplicates (i.e. check required columns and uniqueness). Once validated, the information in the new sheet will be appended to the original file.&#x20;

:::hint{type="info"}
All valid rows of data in the uploaded CSV file will be appended to the model amplification. Invalid rows of data will be provided in a new file that can be downloaded by the user to reconcile once the initial upload processing is complete.
:::

## Help & Troubleshooting

- **Question: I need to update a previously uploaded / provided datapoint in an existing amplification. Will the model amplifications feature find and replace this information when a new sheet is uploaded with current information?**
  - **Answer:** The model amplifications will simply append the updated data as a new row to the sheet. ***Existing rows will neither be removed nor updated based on what’s provided in an uploaded CSV.*** In other words, model amplifications will not "find and replace" one datapoint in a pre-existing row at this time.
- **Question: What is the best way to update a large number of rows via an upload without changing already uploaded data?**
  - **Answer:** If there are a large number of rows that would be too time-consuming to update manually (i.e. row by row directly in the Amplification UI), these rows can be updated via the **Upload CSV** functionality.&#x20;
    - To prevent unnecessary modification, you can:&#x20;
      1. Download the amplification data in its entirety.
      2. Make the necessary changes directly in the CSV.
      3. Clear all of the data in the amplification and then re-upload.

:::hint{type="info"}
If you have any additional questions or require additional help, please reach out to [help@chord.co](mailto\:help@chord.co)!
:::

## Available Templates

Listed in alphabetical order:

| **Template Name**                                                                | **Fields Included**                                                                                                | **Notes**                                                                                                                                                                                                                         | **Release Date**               |
| -------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------ |
| [Advertising Spend](https://docs.chord.co/advertising-spend)                     | Required fields: source, date, spend                                                                               | This configuration enables you to include advertising spend for sources that are not able to be connected directly to data connectors, such as podcasts, newsletters, etc.                                                        | July 8, 2024                   |
| [Attribution Channel Mapping](https://docs.chord.co/attribution-channel-mapping) | At least one channel plus the condition                                                                            | This configuration maps user-defined Channels and Sub-Channels to page utm and referrer details.                                                                                                                                  | July 12, 2024 (select tenants) |
| [Campaign Mapping](https://docs.chord.co/campaign-mapping)                       | Required field: Campaign Name                                                                                      | This configuration maps the campaign name to different attributes. It allows for only one row per campaign.                                                                                                                       | October 25, 2024               |
| [Order App Name](https://docs.chord.co/order-app-name)                           | Order App ID                                                                                                       | Only available to Chord Performance (Shopify) brands. This configuration maps the order app id from Shopify to a user-defined name.                                                                                               | July 8, 2024                   |
| [Order Filter  ](https://docs.chord.co/order-filter)                             | At least one condition is required                                                                                 | This configuration applies specific conditions to create a flag for orders in the Orders, Line Items, and Sales Explores. This configuration is designed to flag orders you want to filter out.                                   | July 8, 2024                   |
| [Planned Forecasts](https://docs.chord.co/planned-forecasts)                     | Required fields: Date and Forecast Version Name<br />                                                              | This configuration allows Chord Performance brands to upload their daily planned forecasts of gross and net revenue, along with number of orders and number of customers.                                                         | January 22, 2024               |
| [Variant Attributes](https://docs.chord.co/variant-attributes)                   | Required fields: SKU, product name, variant name, and existing hierarchy fields (product type, product\_sub\_type) | This configuration maps additional attributes per variant that may not be available in the OMS, including hierarchy, size, function, and color <br />**Please note that this configuration only allows for one row per variant.** | July 8, 2024                   |




[title] Sales
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Shopify/

### **extend\_x\_fct\_trans\_orders\_multipay**

| Name                                             | Description                                                                                                                                                                                                                                                          |
| ------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Order Contains Fulfillment Order                 | Whether the order contains a fulfillment order.                                                                                                                                                                                                                      |
| Order Contains Multipay Subscription Installment | Whether the order contains a multipay order.                                                                                                                                                                                                                         |
| Order Contains Payment Order                     | Whether the order contains a payment order.                                                                                                                                                                                                                          |
| Order Installment Charge Ids                     | Array of Recharge charge ids for the installments in the order, if there is more than one multipay subscription represented, there will be a unique array per installment.                                                                                           |
| Order Installment Recharge Order Ids             | Array of Recharge order ids for the installments in the order, if there is more than one multipay subscription represented, there will be a unique array per installment.                                                                                            |
| Order Installment Shopify Order Ids              | Array of the Shopify order ids for the installments in the order, if there is more than one multipay subscription represented, there will be a unique array per installment.                                                                                         |
| Order Included Installment Count                 | Count of total installments in the order.                                                                                                                                                                                                                            |
| Order Included Payment Plans                     | Array of payment plans included in the order. If an order contains multiple subscriptions, each subscription will be represented.                                                                                                                                    |
| Average Total Child Refunds                      | The total adjusted dollars that were refunded to a child installment order for paid orders.                                                                                                                                                                          |
| Average Total Child Shipping Received            | Total shipping paid for child orders within an installment. Shipping is included for the first installment order of a child-only order if the order is mixed. If the order contains a fulfillment order, the shipping will remain attached to the fulfillment order. |
| Average Total Child Unit Price Received          | The total unit price received for child order payments for the installment. Payments are included if the payment status is recorded as 'success', 'refunded', or 'partially\_refunded'.                                                                              |
| Average Total Fulfillment Unit Price Received    | The total unit price received for fulfillment order payments for the installment. Payments are included if the payment status is recorded as 'success', 'refunded', or 'partially\_refunded'.                                                                        |
| Average Total Subscription Installment Value     | The total unit price of the installment, calculated as fulfillment order (unit price \* quantity) \* total expected payments.                                                                                                                                        |
| Average Total Unit Price Remaining               | The total installment value minus the total fulfillment and child payments received.                                                                                                                                                                                 |
| Average Total Estimated Shipping Price           | The total estimated shipping across all installments in the order.                                                                                                                                                                                                   |
| Average Total Estimated Item Tax                 | The total estimated item tax across all installments in the order.                                                                                                                                                                                                   |
| Average Total Estimated Shipping Tax             | The total estimated shipping tax across all installments in the order.                                                                                                                                                                                               |
| Total Child Refunds                              | The total adjusted dollars that were refunded to a child installment order for paid orders.                                                                                                                                                                          |
| Total Child Shipping Received                    | Total shipping paid for child orders within an installment. Shipping is included for the first installment order of a child-only order if the order is mixed. If the order contains a fulfillment order, the shipping will remain attached to the fulfillment order. |
| Total Child Unit Price Received                  | The total unit price received for child order payments for the installment. Payments are included if the payment status is recorded as 'success', 'refunded', or 'partially\_refunded'.                                                                              |
| Total Fulfillment Unit Price Received            | The total unit price received for fulfillment order payments for the installment. Payments are included if the payment status is recorded as 'success', 'refunded', or 'partially\_refunded'.                                                                        |
| Total Subscription Installment Value             | The total unit price of the installment, calculated as fulfillment order (unit price \* quantity) \* total expected payments.                                                                                                                                        |
| Total Unit Price Remaining                       | The total installment value minus the total fulfillment and child payments received.                                                                                                                                                                                 |
| Total Estimated Shipping Price                   | The total estimated shipping across all installments in the order.                                                                                                                                                                                                   |
| Total Estimated Item Tax                         | The total estimated item tax across all installments in the order.                                                                                                                                                                                                   |
| Total Estimated Shipping Tax                     | The total estimated shipping tax across all installments in the order.                                                                                                                                                                                               |

### **x\_fct\_trans\_sales**

| Name                                                   | Description                                                                                                                                                                                                                                                                                                                              |
| ------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Billing Address 1                                      | The street address of the billing address.                                                                                                                                                                                                                                                                                               |
| Billing Address 2                                      | An additional field for the street address of the billing address.                                                                                                                                                                                                                                                                       |
| Billing Address City                                   | The city, town, or village of the billing address.                                                                                                                                                                                                                                                                                       |
| Billing Address Company                                | The company associated to this billing address.                                                                                                                                                                                                                                                                                          |
| Billing Address Country                                | The name of the country of the billing address.                                                                                                                                                                                                                                                                                          |
| Billing Address Country Code                           | The two-letter code (ISO 3166-1 format) for the country of the billing address.                                                                                                                                                                                                                                                          |
| Billing Address First Name                             | The first name of the person associated to this billing address.                                                                                                                                                                                                                                                                         |
| Billing Address Id                                     | Unique identifier generated by Chord for a Billing Address.                                                                                                                                                                                                                                                                              |
| Billing Address Last Name                              | The last name of the person associated to this billing address.                                                                                                                                                                                                                                                                          |
| Billing Address Latitude                               | The latitude of the billing address.                                                                                                                                                                                                                                                                                                     |
| Billing Address Longitude                              | The longitude of the billing address.                                                                                                                                                                                                                                                                                                    |
| Billing Address Name                                   | The full name of the person associated to this billing address.                                                                                                                                                                                                                                                                          |
| Billing Address Oms Billing Address Id                 | Unique key generated by Shopify that identifies a billing address.                                                                                                                                                                                                                                                                       |
| Billing Address Phone                                  | The phone number associated to this billing address.                                                                                                                                                                                                                                                                                     |
| Billing Address Province                               | The name of the region (province, state, prefecture, …) of the billing address.                                                                                                                                                                                                                                                          |
| Billing Address Province Code                          | The two-letter abbreviation of the region of the billing address.                                                                                                                                                                                                                                                                        |
| Billing Address Zip                                    | The postal code of the billing address.                                                                                                                                                                                                                                                                                                  |
| Date Day Num Of Year                                   | The number representing the day of the year.                                                                                                                                                                                                                                                                                             |
| Date Id                                                | Unique key that uniquify a date.                                                                                                                                                                                                                                                                                                         |
| Date Month Num Of Year                                 | The month number of the year.                                                                                                                                                                                                                                                                                                            |
| First Fulfillment Id                                   | Unique identifier for a Shopify Fulfillment at a specific point in time                                                                                                                                                                                                                                                                  |
| First Fulfillment Oms Fulfillment Id                   | Unique key generated by Shopify that identifies a fulfillment.                                                                                                                                                                                                                                                                           |
| First Fulfillment Shipment Status                      | Represent the status of the shipment.                                                                                                                                                                                                                                                                                                    |
| First Fulfillment Status                               | The status of the fulfillment.                                                                                                                                                                                                                                                                                                           |
| First Fulfillment Tracking Company                     | The name of the tracking company.                                                                                                                                                                                                                                                                                                        |
| First Fulfillment Tracking Numbers                     | A list of tracking numbers provided by the tracking company.                                                                                                                                                                                                                                                                             |
| First Fulfillment Tracking Urls                        | The URLs of tracking pages for the fulfillment.                                                                                                                                                                                                                                                                                          |
| Last Transaction Amount                                | The amount of money included in the transaction.                                                                                                                                                                                                                                                                                         |
| Last Transaction Error Code                            | The error code explaining why the transaction failed.                                                                                                                                                                                                                                                                                    |
| Last Transaction Gateway                               | The name of the gateway the transaction was issued through.                                                                                                                                                                                                                                                                              |
| Last Transaction Id                                    | Unique identifier for a Shopify Transaction at a specific point in time                                                                                                                                                                                                                                                                  |
| Last Transaction Is Failed                             | Whether or not the transaction / payment has failed.                                                                                                                                                                                                                                                                                     |
| Last Transaction Is Successful                         | Whether or not the transaction / payment has succeeded.                                                                                                                                                                                                                                                                                  |
| Last Transaction Is Test                               | Whether this is a test transaction or not.                                                                                                                                                                                                                                                                                               |
| Last Transaction Kind                                  | The type of transaction.                                                                                                                                                                                                                                                                                                                 |
| Last Transaction Message                               | Additional information provided the payment provider about the transaction.                                                                                                                                                                                                                                                              |
| Last Transaction Oms Transaction Id                    | Unique key generated by Shopify that identifies a transaction.                                                                                                                                                                                                                                                                           |
| Last Transaction Status                                | The status of the transaction.                                                                                                                                                                                                                                                                                                           |
| Location Id                                            | Unique identifier for a Shopify Location at a specific point in time                                                                                                                                                                                                                                                                     |
| Location Is Active                                     | Whether the location is active or not.                                                                                                                                                                                                                                                                                                   |
| Location Is Online                                     | Whether or not this location represents an online location.                                                                                                                                                                                                                                                                              |
| Location Is Physical                                   | Whether or not this location represents a physical location.                                                                                                                                                                                                                                                                             |
| Location Name                                          | The name of a location.                                                                                                                                                                                                                                                                                                                  |
| Location Oms Location Id                               | Unique key generated by Shopify that identifies a location.                                                                                                                                                                                                                                                                              |
| Order Admin Url                                        | Contains the full URL directing to the admin dashboard of Shopify for that given order.                                                                                                                                                                                                                                                  |
| Order App Id                                           | The ID of the app from Shopify that created the order.                                                                                                                                                                                                                                                                                   |
| Order App Name                                         | App name associated with the app id. This field will be generated if the Hub Configuration is enabled and the value has been set.                                                                                                                                                                                                        |
| Order Applied Discount Codes                           | The discount 'codes' applied or a given order.                                                                                                                                                                                                                                                                                           |
| Order Applied Discount Codes Count                     | The total number of applied discount code for a given order.                                                                                                                                                                                                                                                                             |
| Order Cancel Reason                                    | The reason as to why the order was cancelled.                                                                                                                                                                                                                                                                                            |
| Order Cart Website Locale                              | When available, this is the shopify international site activated prior to cart creation.                                                                                                                                                                                                                                                 |
| Order Completed Order Rank By User                     | Allows to rank customer carts by completion date. In other words, this will rank the customer's completed order from 1 to X (X being the most recent order that was completed).                                                                                                                                                          |
| Order Completed Subscription Order Rank By User        | Allows to rank customer subscription orders by completion date.                                                                                                                                                                                                                                                                          |
| Order Contains First Subscription Order                | A boolean value to indicate whether an order contains the first subscription order or not. An order may contain a mix of first and recurring subscriptions.                                                                                                                                                                              |
| Order Created Order Rank By User                       | Allows to rank customer carts by creation date. In other words, this will rank the customer's creation order from 1 to X (X being the last order that was created). An order can be created but never completed.                                                                                                                         |
| Order Created Subscription Order Rank By User          | Allows to rank customer subscription orders by creation date.                                                                                                                                                                                                                                                                            |
| Order Customer Lifetime Month                          | Number of months between the current order's creation date and the user's first order creation date. First orders have a value of 1.                                                                                                                                                                                                     |
| Order Customer Lifetime Week                           | Number of weeks between the current order's creation date and the user's first order creation date. First orders always have a value of 1.                                                                                                                                                                                               |
| Order Filtered Order                                   | Whether or not this order will be flagged by custom filter.                                                                                                                                                                                                                                                                              |
| Order Financial State                                  | The status of transaction associated with the order.                                                                                                                                                                                                                                                                                     |
| Order Fulfillment State                                | The summarized status of the 'shipment/fulfillment' associated with the order.                                                                                                                                                                                                                                                           |
| Order Has Discount                                     | Whether or not the order has had a discount applied to it.                                                                                                                                                                                                                                                                               |
| Order Has Order Tag                                    | Whether or not the order has an order tag applied to it.                                                                                                                                                                                                                                                                                 |
| Order Id                                               | Unique identifier generated by Chord for an order.                                                                                                                                                                                                                                                                                       |
| Order Included Fulfillment Codes                       | Aggregated array of fulfillment codes, represented as a string.                                                                                                                                                                                                                                                                          |
| Order Included Fulfillment Methods                     | Aggregated array of fulfillment methods, represented as a string.                                                                                                                                                                                                                                                                        |
| Order Included Payment Gateways                        | This is the rolled up successful payment gateway for an order. Successful payments are included if they are sale or capture transactions.                                                                                                                                                                                                |
| Order Included Source Subscription Ids                 | String list of included source subscription ids per order. Subscription information received from tenant-enabled platforms including Recharge and Shopify Plus.                                                                                                                                                                          |
| Order Included Subscription Ids                        | String list of included subscription ids per order. Subscription information received from tenant-enabled platforms including Recharge and Shopify Plus.                                                                                                                                                                                 |
| Order Is Admin                                         | Whether or not the order was created by an admin.                                                                                                                                                                                                                                                                                        |
| Order Is Cancelled                                     | Whether or not the order was cancelled. If \`cancelled\_at\` is non-null then we consider the order has being cancelled.                                                                                                                                                                                                                 |
| Order Is Completed                                     | Whether or not the order was completed. An order is considered completed if it has a closed\_at timestamp and has been fully fulfilled. Closed\_at is generated for orders in Shopify that are automatically archived. If this feature is not enabled, the last updated closed fulfillment date is used as the completed at date.        |
| Order Is First Completed Order                         | Whether the order was the customer's first completed order or not.                                                                                                                                                                                                                                                                       |
| Order Is First Order                                   | Whether the order was the customer's first order or not.                                                                                                                                                                                                                                                                                 |
| Order Is First Subscription Completed Order            | Whether the order was the customer's first completed subscription order or not.                                                                                                                                                                                                                                                          |
| Order Is First Subscription Order                      | Whether the order was the customer's first subscription order or not.                                                                                                                                                                                                                                                                    |
| Order Is Part Of Subscription                          | Boolean flag to indicate whether the order was a part of a subscription plan or not.                                                                                                                                                                                                                                                     |
| Order Is Test                                          | Whether this is a test order or not.                                                                                                                                                                                                                                                                                                     |
| Order Item Id                                          | Unique identifier generated by Chord for an order.                                                                                                                                                                                                                                                                                       |
| Order Item Is First Product Type Order                 | Whether this order contains the first product type basket for the user.                                                                                                                                                                                                                                                                  |
| Order Item Is Last Product Type Order                  | Whether this order contains the last, most recent, product type basket for the user.                                                                                                                                                                                                                                                     |
| Order Item Is Repeat Product Type Order                | Whether this order contains a repeat product type basket for the user.                                                                                                                                                                                                                                                                   |
| Order Item Product Basket Count                        | The count of products for a given order.                                                                                                                                                                                                                                                                                                 |
| Product Basket                                         | The titles of products for a given orderarray converted to a string.                                                                                                                                                                                                                                                                     |
| Order Item Product Purchased Quantity                  | The total number of product purchased for a given order.                                                                                                                                                                                                                                                                                 |
| Order Item Rank Product Type Order                     | Rank orders with the same product type basket per user.                                                                                                                                                                                                                                                                                  |
| Order Item Unique Product Basket Count                 | The count of unique products for a given order.                                                                                                                                                                                                                                                                                          |
| Unique Product Basket                                  | The unique titles of products for a given order array converted to a string.                                                                                                                                                                                                                                                             |
| Order Item Unique Product Type                         | The unique line item product types for a given order.                                                                                                                                                                                                                                                                                    |
| Order Item Unique Variant Basket Count                 | The count of unique SKUs for a given order.                                                                                                                                                                                                                                                                                              |
| Unique Variant Basket                                  | The unique SKUs of variants for a given order array converted to a string.                                                                                                                                                                                                                                                               |
| Order Item Variant Basket Count                        | The count of variants for a given order.                                                                                                                                                                                                                                                                                                 |
| Variant Basket                                         | The SKUs of variants for a given order array converted to a string.                                                                                                                                                                                                                                                                      |
| Order Item Variant Purchased Quantity                  | The total number of variants purchased for a given order.                                                                                                                                                                                                                                                                                |
| Order Name                                             | Unique name generated by Shopify that is displayed to the customer (e.g.                                                                                                                                                                                                                                                                 |
| Order Number Of Non Reactivated Subscriptions          | Number of non reactivated subscriptions per order. Reactivation is a customer who returned after having canceled the first subscription.                                                                                                                                                                                                 |
| Order Number Of Reactivated Subscriptions              | Number of reactivated subscriptions per order. Reactivation is a customer who returned after having canceled the first subscription.                                                                                                                                                                                                     |
| Order Oms Order Id                                     | Unique key generated by Shopify that identifies an order.                                                                                                                                                                                                                                                                                |
| Order Tags                                             | The order tags applied to a given order, in alphabetical order.                                                                                                                                                                                                                                                                          |
| Order Tags Count                                       | The total number of order tags for a given order.                                                                                                                                                                                                                                                                                        |
| Order Processing Method                                | How the payment was processed.                                                                                                                                                                                                                                                                                                           |
| Order Segment Anonymous Id                             | When available, this is where we store Segment's anonymous\_id at the time of checkout.                                                                                                                                                                                                                                                  |
| Order Source Name                                      | Where did the order get created from.                                                                                                                                                                                                                                                                                                    |
| Shipping Address 1                                     | The street address of the shipping address.                                                                                                                                                                                                                                                                                              |
| Shipping Address 2                                     | An additional field for the street address of the shipping address.                                                                                                                                                                                                                                                                      |
| Shipping Address City                                  | The city, town, or village of the shipping address.                                                                                                                                                                                                                                                                                      |
| Shipping Address Company                               | The company associated to this shipping address.                                                                                                                                                                                                                                                                                         |
| Shipping Address Country                               | The name of the country of the shipping address.                                                                                                                                                                                                                                                                                         |
| Shipping Address Country Code                          | The two-letter code (ISO 3166-1 format) for the country of the shipping address.                                                                                                                                                                                                                                                         |
| Shipping Address First Name                            | The first name of the person associated to this shipping address.                                                                                                                                                                                                                                                                        |
| Shipping Address Id                                    | Unique identifier generated by Chord for a Shipping Address.                                                                                                                                                                                                                                                                             |
| Shipping Address Last Name                             | The last name of the person associated to this shipping address.                                                                                                                                                                                                                                                                         |
| Shipping Address Latitude                              | The latitude of the shipping address.                                                                                                                                                                                                                                                                                                    |
| Shipping Address Longitude                             | The longitude of the shipping address.                                                                                                                                                                                                                                                                                                   |
| Shipping Address Name                                  | The full name of the person associated to this shipping address.                                                                                                                                                                                                                                                                         |
| Shipping Address Oms Shipping Address Id               | Unique key generated by Shopify that identifies a shipping address.                                                                                                                                                                                                                                                                      |
| Shipping Address Phone                                 | The phone number associated to this shipping address.                                                                                                                                                                                                                                                                                    |
| Shipping Address Province                              | The name of the region (province, state, prefecture, ...) of the shipping address.                                                                                                                                                                                                                                                       |
| Shipping Address Province Code                         | The two-letter abbreviation of the region of the shipping address.                                                                                                                                                                                                                                                                       |
| Shipping Address Zip                                   | The postal code of the shipping address.                                                                                                                                                                                                                                                                                                 |
| Store Id                                               | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                              |
| Store Name                                             | The name of the store.                                                                                                                                                                                                                                                                                                                   |
| Store Oms Admin Url                                    | The Admin URL of that OMS.                                                                                                                                                                                                                                                                                                               |
| Store Oms Id                                           | Unique key generated by Chord that uniquifies an OMS.                                                                                                                                                                                                                                                                                    |
| Store Oms Store Id                                     | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                              |
| Store Oms Type                                         | The type of the OMS.                                                                                                                                                                                                                                                                                                                     |
| Store Id                                               | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                              |
| Store Tenant Id                                        | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                                  |
| Store Url                                              | The Storefront URL of of the store.                                                                                                                                                                                                                                                                                                      |
| User Completed Oms Order Ids                           | List of all completed OMS order ids for a user.                                                                                                                                                                                                                                                                                          |
| User Completed Order Names                             | List of all completed order names for a user.                                                                                                                                                                                                                                                                                            |
| User Email                                             | The email of the customer.                                                                                                                                                                                                                                                                                                               |
| User First Completed Oms Order Id                      | Order id from the OMS for the first completed order.                                                                                                                                                                                                                                                                                     |
| User First Completed Order Name                        | Order name for the first completed order.                                                                                                                                                                                                                                                                                                |
| User First Name                                        | The first name of the customer.                                                                                                                                                                                                                                                                                                          |
| User First Name Last Initial                           | The first name and last name initials of the customer. This appends the value of \`first\_name\` and the first character of \`last\_name\` together.                                                                                                                                                                                     |
| User First Order Unique Ordered Products               | List of unique products purchased by the user in their first completed order.                                                                                                                                                                                                                                                            |
| User First Order Unique Ordered Skus                   | List of unique variant SKUs purchased by the user in their first completed order.                                                                                                                                                                                                                                                        |
| User First Subscription Ids                            | Array of first subscription ids purchased by the user. The user may have more than one subscription created at the same time, resulting in more than one subscription counted as first.                                                                                                                                                  |
| User Full Name                                         | The full name of the customer. This appends the value of \`first\_name\` and \`last\_name\` together.                                                                                                                                                                                                                                    |
| User Has Ordered A La Carte                            | Whether or not the user has had at least one order that is not a part of a subscription.                                                                                                                                                                                                                                                 |
| User Has Promo Applied In First Order                  | Whether the first completed order has a promo applied or not.                                                                                                                                                                                                                                                                            |
| User Has Reactivation Subscription                     | Whether or not the user has at least one subscription created after the first subscription is cancelled.                                                                                                                                                                                                                                 |
| User Has Subscription In First Order                   | Whether or not the user's first order is linked to a subscription.                                                                                                                                                                                                                                                                       |
| User Has Verified Email                                | Whether the customer has verified their email address.                                                                                                                                                                                                                                                                                   |
| User Id                                                | Unique identifier generated by Chord to identify the user.                                                                                                                                                                                                                                                                               |
| User Is Active Subscriber                              | Whether or not the user has an active subscription with at least one completed subscription order. An active subscription is one that is not cancelled or paused. Subscribers may have completed subscription orders on inactive subscriptions, but will not be considered active if their current subscription has no completed orders. |
| User Is Customer                                       | Whether the user has completed at least one order or not.                                                                                                                                                                                                                                                                                |
| User Is New Customer                                   | Whether the user has completed one order or not.                                                                                                                                                                                                                                                                                         |
| User Is Not Customer                                   | Whether the user has no completed orders or not.                                                                                                                                                                                                                                                                                         |
| User Is Returning Customer                             | Whether the user has completed more than one order or not.                                                                                                                                                                                                                                                                               |
| User Is Subscriber                                     | Whether or not the user has completed at least one subscription order.                                                                                                                                                                                                                                                                   |
| User Last Name                                         | The last name of the customer.                                                                                                                                                                                                                                                                                                           |
| User Last Subscription Ids                             | Array of last subscription ids purchased by a user. The user may have more than one subscription created at the same time, resulting in more than one subscription counted as last.                                                                                                                                                      |
| User Number Of Cancelled Subscriptions                 | Total number of subscriptions the user has cancelled.                                                                                                                                                                                                                                                                                    |
| User Number Of Completed A La Carte Orders             | Total number of orders completed by a user that are a la carte.                                                                                                                                                                                                                                                                          |
| User Number Of Completed Orders                        | Total count of completed orders by the user.                                                                                                                                                                                                                                                                                             |
| User Number Of Completed Subscription Orders           | Total number of orders completed by a user that are part of a subscription.                                                                                                                                                                                                                                                              |
| User Number Of Created Subscription Orders             | Total number of orders created by a user that are part of a subscription.                                                                                                                                                                                                                                                                |
| User Number Of Orders With Promos                      | Count of completed orders with a promo applied.                                                                                                                                                                                                                                                                                          |
| User Number Of Reactivated Subscriptions               | Total number of subscriptions for a user that are reactivations. These subscriptions may be active, inactive, or concurrent.                                                                                                                                                                                                             |
| User Number Of Subscriptions                           | Total number of subscriptions linked to a user. These subscriptions may be active, inactive, or concurrent.                                                                                                                                                                                                                              |
| User Oms User Id                                       | Unique identifier generated by the OMS to identify the user.                                                                                                                                                                                                                                                                             |
| User Phone                                             | The phone number of the customer.                                                                                                                                                                                                                                                                                                        |
| User Unique Ordered Product Type                       | List of unique product types purchased by the user across all completed orders.                                                                                                                                                                                                                                                          |
| User Unique Ordered Products                           | List of unique products purchased by the user across all completed orders.                                                                                                                                                                                                                                                               |
| User Unique Ordered Skus                               | List of unique variant SKUs purchased by the user across all completed orders.                                                                                                                                                                                                                                                           |
| Order Cancelled At (Universal)                         | Reflects when the order was cancelled in Shopify - Universal Time Zone.                                                                                                                                                                                                                                                                  |
| Order Completed At (Central)                           | The timestamp when this order became completed - Cental Time Zone.                                                                                                                                                                                                                                                                       |
| Order Completed At (Eastern)                           | The timestamp when this order became completed - Eastern Time Zone.                                                                                                                                                                                                                                                                      |
| Order Completed At (Mountain)                          | The timestamp when this order became completed - Mountain Time Zone.                                                                                                                                                                                                                                                                     |
| Order Completed At (Pacific)                           | The timestamp when this order became completed - Pacific Time Zone.                                                                                                                                                                                                                                                                      |
| Order Completed At (Universal)                         | The timestamp when this order became completed - Universal Time Zone.                                                                                                                                                                                                                                                                    |
| Order Created At (Central)                             | Reflects when the entity was first created in Shopify - Cental Time Zone.                                                                                                                                                                                                                                                                |
| Order Created At (Eastern)                             | Reflects when the entity was first created in Shopify - Eastern Time Zone.                                                                                                                                                                                                                                                               |
| Order Created At (Mountain)                            | Reflects when the entity was first created in Shopify - Mountain Time Zone.                                                                                                                                                                                                                                                              |
| Order Created At (Pacific)                             | Reflects when the entity was first created in Shopify - Pacific Time Zone.                                                                                                                                                                                                                                                               |
| Order Created At (Universal)                           | Reflects when the entity was first created in Shopify - Universal Time Zone.                                                                                                                                                                                                                                                             |
| Order Last Fulfillment At (Universal)                  | The maximum timestamp for the last update order fulfillment - Universal Time Zone.                                                                                                                                                                                                                                                       |
| Order Updated At (Universal)                           | Reflects when the entity was last updated in Shopify - Universal Time Zone.                                                                                                                                                                                                                                                              |
| User First Completed Order Completed At (Universal)    | Timestamp for the first order completed - Universal Time Zone.                                                                                                                                                                                                                                                                           |
| User First Completed Order Created At (Universal)      | Timestamp for the first completed order created - Universal Time Zone.                                                                                                                                                                                                                                                                   |
| User First Order Created At (Universal)                | Timestamp of the first created order for the user - Universal Time Zone.                                                                                                                                                                                                                                                                 |
| User First Subscription Created At (Universal)         | Timestamp of when the first subscription was created per user - Universal Time Zone.                                                                                                                                                                                                                                                     |
| User First Subscription Order Completed At (Universal) | The timestamp of the user's first completed subscription order, regardless of subsequent subscriptions - Universal Time Zone.                                                                                                                                                                                                            |
| User First Subscription Order Created At (Universal)   | The timestamp of the user's first completed subscription order, regardless of subsequent subscriptions - Universal Time Zone.                                                                                                                                                                                                            |
| User Last Completed Order Completed At (Universal)     | Timestamp for the most recent order completed - Universal Time Zone.                                                                                                                                                                                                                                                                     |
| User Last Completed Order Created At (Universal)       | Timestamp for the most recent completed order created - Universal Time Zone.                                                                                                                                                                                                                                                             |
| Average Additional Tax Total                           | When taxes are not included in the subtotal, this is total tax added to the order.                                                                                                                                                                                                                                                       |
| Average Fulfillment Tax Total                          | Total tax applied to the order's fulfillment fee.                                                                                                                                                                                                                                                                                        |
| Average Fulfillment Total                              | The sum of all shipping prices in the location's currency.                                                                                                                                                                                                                                                                               |
| Average Gross Revenue                                  | Gross revenue of the order calculated as \`item\_total\` + \`fulfillment\_total\`                                                                                                                                                                                                                                                        |
| Average Included Tax Total                             | When taxes are included in the subtotal, this is the total tax included in the order.                                                                                                                                                                                                                                                    |
| Average Item Total                                     | The sum of all line item prices in the location's currency.                                                                                                                                                                                                                                                                              |
| Average Line Item Tax Total                            | Total tax applied to the line items of the order.                                                                                                                                                                                                                                                                                        |
| Average Manual Transaction Total                       | Sum of all sales transaction with gateway of type 'manual'.                                                                                                                                                                                                                                                                              |
| Average Net Revenue                                    | Net revenue of the order calculated as \`item\_total\` + \`fulfillment\_total\` - \`promo\_total\` - \`refund\_total\`                                                                                                                                                                                                                   |
| Average Non Reactivated Subscription Unit Total        | Sum of unit price for non reactivated subscriptions per order. Reactivation is a customer who returned after having canceled the first subscription.                                                                                                                                                                                     |
| Average Payment Capture Total                          | Sum of successful capture transactions.                                                                                                                                                                                                                                                                                                  |
| Average Payment Total                                  | Sum of all sales transaction with gateway of type 'shopify\_payments'.                                                                                                                                                                                                                                                                   |
| Average Product Basket Count                           | The count of products for a given order.                                                                                                                                                                                                                                                                                                 |
| Average Product Purchased Quantity                     | The total number of product purchased for a given order.                                                                                                                                                                                                                                                                                 |
| Average Promo Total                                    | The total discounts applied to the price of the order in the location's currency.                                                                                                                                                                                                                                                        |
| Average Reactivated Subscription Unit Total            | Sum of unit price for reactivated subscriptions per order. Reactivation is a customer who returned after having canceled the first subscription.                                                                                                                                                                                         |
| Average Refund Total                                   | Sum of all the transactions that are of kind 'refund' applied to the order.                                                                                                                                                                                                                                                              |
| Average Tax Total                                      | The sum of all the taxes applied to the order in the location's currency.                                                                                                                                                                                                                                                                |
| Average Total Price                                    |                                                                                                                                                                                                                                                                                                                                          |
| Average Transaction Total                              | Sum of all sale transactions for the order.                                                                                                                                                                                                                                                                                              |
| Average Variant Basket Count                           | The count of variants for a given order.                                                                                                                                                                                                                                                                                                 |
| Average Variant Purchased Quantity                     | The total number of variants purchased for a given order.                                                                                                                                                                                                                                                                                |
| Additional Tax Total                                   | When taxes are not included in the subtotal, this is total tax added to the order.                                                                                                                                                                                                                                                       |
| Fulfillment Tax Total                                  | Total tax applied to the order's fulfillment fee.                                                                                                                                                                                                                                                                                        |
| Fulfillment Total                                      | The sum of all shipping prices in the location's currency.                                                                                                                                                                                                                                                                               |
| Gross Revenue                                          | Gross revenue of the order calculated as \`item\_total\` + \`fulfillment\_total\`                                                                                                                                                                                                                                                        |
| Included Tax Total                                     | When taxes are included in the subtotal, this is the total tax included in the order.                                                                                                                                                                                                                                                    |
| Item Total                                             | The sum of all line item prices in the location's currency.                                                                                                                                                                                                                                                                              |
| Line Item Tax Total                                    | Total tax applied to the line items of the order.                                                                                                                                                                                                                                                                                        |
| Manual Transaction Total                               | Sum of all sales transaction with gateway of type 'manual'.                                                                                                                                                                                                                                                                              |
| Net Revenue                                            | Net revenue of the order calculated as \`item\_total\` + \`fulfillment\_total\` - \`promo\_total\` - \`refund\_total\`                                                                                                                                                                                                                   |
| Non Reactivated Subscription Unit Total                | Sum of unit price for non reactivated subscriptions per order. Reactivation is a customer who returned after having canceled the first subscription.                                                                                                                                                                                     |
| Payment Capture Total                                  | Sum of successful capture transactions.                                                                                                                                                                                                                                                                                                  |
| Payment Total                                          | Sum of all sales transaction with gateway of type 'shopify\_payments'.                                                                                                                                                                                                                                                                   |
| Total Price                                            |                                                                                                                                                                                                                                                                                                                                          |
| Product Basket Count                                   | The count of products for a given order.                                                                                                                                                                                                                                                                                                 |
| Product Purchased Quantity                             | The total number of product purchased for a given order.                                                                                                                                                                                                                                                                                 |
| Promo Total                                            | The total discounts applied to the price of the order in the location's currency.                                                                                                                                                                                                                                                        |
| Reactivated Subscription Unit Total                    | Sum of unit price for reactivated subscriptions per order. Reactivation is a customer who returned after having canceled the first subscription.                                                                                                                                                                                         |
| Refund Total                                           | Sum of all the transactions that are of kind 'refund' applied to the order.                                                                                                                                                                                                                                                              |
| Tax Total                                              | The sum of all the taxes applied to the order in the location's currency.                                                                                                                                                                                                                                                                |
| Transaction Total                                      | Sum of all sale transactions for the order.                                                                                                                                                                                                                                                                                              |
| Variant Basket Count                                   | The count of variants for a given order.                                                                                                                                                                                                                                                                                                 |
| Variant Purchased Quantity                             | The total number of variants purchased for a given order.                                                                                                                                                                                                                                                                                |

### **order\_applied\_discount\_codes**

| Name                         | Description                         |
| ---------------------------- | ----------------------------------- |
| Order Applied Discount Codes | Discount code applied to the order. |

### **order\_tags**

| Name       | Description                        |
| ---------- | ---------------------------------- |
| Order Tags | Order tag(s) applied to the order. |


[title] Orders
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Shopify/

### **x\_fct\_trans\_orders**

| Name                                                   | Description                                                                                                                                                                                                                                                                                                                              |
| ------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Billing Address 1                                      | The street address of the billing address.                                                                                                                                                                                                                                                                                               |
| Billing Address 2                                      | An additional field for the street address of the billing address.                                                                                                                                                                                                                                                                       |
| Billing Address City                                   | The city, town, or village of the billing address.                                                                                                                                                                                                                                                                                       |
| Billing Address Company                                | The company associated to this billing address.                                                                                                                                                                                                                                                                                          |
| Billing Address Country                                | The name of the country of the billing address.                                                                                                                                                                                                                                                                                          |
| Billing Address Country Code                           | The two-letter code (ISO 3166-1 format) for the country of the billing address.                                                                                                                                                                                                                                                          |
| Billing Address First Name                             | The first name of the person associated to this billing address.                                                                                                                                                                                                                                                                         |
| Billing Address Id                                     | Unique identifier generated by Chord for a Billing Address.                                                                                                                                                                                                                                                                              |
| Billing Address Last Name                              | The last name of the person associated to this billing address.                                                                                                                                                                                                                                                                          |
| Billing Address Latitude                               | The latitude of the billing address.                                                                                                                                                                                                                                                                                                     |
| Billing Address Longitude                              | The longitude of the billing address.                                                                                                                                                                                                                                                                                                    |
| Billing Address Name                                   | The full name of the person associated to this billing address.                                                                                                                                                                                                                                                                          |
| Billing Address Oms Billing Address Id                 | Unique key generated by Shopify that identifies a billing address.                                                                                                                                                                                                                                                                       |
| Billing Address Phone                                  | The phone number associated to this billing address.                                                                                                                                                                                                                                                                                     |
| Billing Address Province                               | The name of the region (province, state, prefecture, …) of the billing address.                                                                                                                                                                                                                                                          |
| Billing Address Province Code                          | The two-letter abbreviation of the region of the billing address.                                                                                                                                                                                                                                                                        |
| Billing Address Zip                                    | The postal code of the billing address.                                                                                                                                                                                                                                                                                                  |
| First Fulfillment Id                                   | Unique identifier for a Shopify Fulfillment at a specific point in time                                                                                                                                                                                                                                                                  |
| First Fulfillment Oms Fulfillment Id                   | Unique key generated by Shopify that identifies a fulfillment.                                                                                                                                                                                                                                                                           |
| First Fulfillment Shipment Status                      | Represent the status of the shipment.                                                                                                                                                                                                                                                                                                    |
| First Fulfillment Status                               | The status of the fulfillment.                                                                                                                                                                                                                                                                                                           |
| First Fulfillment Tracking Company                     | The name of the tracking company.                                                                                                                                                                                                                                                                                                        |
| First Fulfillment Tracking Numbers                     | A list of tracking numbers provided by the tracking company.                                                                                                                                                                                                                                                                             |
| First Fulfillment Tracking Urls                        | The URLs of tracking pages for the fulfillment.                                                                                                                                                                                                                                                                                          |
| Last Transaction Amount                                | The amount of money included in the transaction.                                                                                                                                                                                                                                                                                         |
| Last Transaction Error Code                            | The error code explaining why the transaction failed.                                                                                                                                                                                                                                                                                    |
| Last Transaction Gateway                               | The name of the gateway the transaction was issued through.                                                                                                                                                                                                                                                                              |
| Last Transaction Id                                    | Unique identifier for a Shopify Transaction at a specific point in time                                                                                                                                                                                                                                                                  |
| Last Transaction Is Failed                             | Whether or not the transaction / payment has failed.                                                                                                                                                                                                                                                                                     |
| Last Transaction Is Successful                         | Whether or not the transaction / payment has succeeded.                                                                                                                                                                                                                                                                                  |
| Last Transaction Is Test                               | Whether this is a test transaction or not.                                                                                                                                                                                                                                                                                               |
| Last Transaction Kind                                  | The type of transaction.                                                                                                                                                                                                                                                                                                                 |
| Last Transaction Message                               | Additional information provided the payment provider about the transaction.                                                                                                                                                                                                                                                              |
| Last Transaction Oms Transaction Id                    | Unique key generated by Shopify that identifies a transaction.                                                                                                                                                                                                                                                                           |
| Last Transaction Status                                | The status of the transaction.                                                                                                                                                                                                                                                                                                           |
| Location Id                                            | Unique identifier for a Shopify Location at a specific point in time                                                                                                                                                                                                                                                                     |
| Location Is Active                                     | Whether the location is active or not.                                                                                                                                                                                                                                                                                                   |
| Location Is Online                                     | Whether or not this location represents an online location.                                                                                                                                                                                                                                                                              |
| Location Is Physical                                   | Whether or not this location represents a physical location.                                                                                                                                                                                                                                                                             |
| Location Name                                          | The name of a location.                                                                                                                                                                                                                                                                                                                  |
| Location Oms Location Id                               | Unique key generated by Shopify that identifies a location.                                                                                                                                                                                                                                                                              |
| Order Admin Url                                        | Contains the full URL directing to the admin dashboard of Shopify for that given order.                                                                                                                                                                                                                                                  |
| Order App Id                                           | The ID of the app from Shopify that created the order.                                                                                                                                                                                                                                                                                   |
| Order App Name                                         | App name associated with the app id. This field will be generated if the Hub Configuration is enabled and the value has been set.                                                                                                                                                                                                        |
| Order Applied Discount Codes                           | The discount 'codes' applied or a given order.                                                                                                                                                                                                                                                                                           |
| Order Applied Discount Codes Count                     | The total number of applied discount code for a given order.                                                                                                                                                                                                                                                                             |
| Order Cancel Reason                                    | The reason as to why the order was cancelled.                                                                                                                                                                                                                                                                                            |
| Order Cart Website Locale                              | When available, this is the shopify international site activated prior to cart creation.                                                                                                                                                                                                                                                 |
| Order Completed Order Rank By User                     | Allows to rank customer carts by completion date. In other words, this will rank the customer's completed order from 1 to X (X being the most recent order that was completed).                                                                                                                                                          |
| Order Completed Subscription Order Rank By User        | Allows to rank customer subscription orders by completion date.                                                                                                                                                                                                                                                                          |
| Order Contains First Subscription Order                | A boolean value to indicate whether an order contains the first subscription order or not. An order may contain a mix of first and recurring subscriptions.                                                                                                                                                                              |
| Order Created Order Rank By User                       | Allows to rank customer carts by creation date. In other words, this will rank the customer's creation order from 1 to X (X being the last order that was created). An order can be created but never completed.                                                                                                                         |
| Order Created Subscription Order Rank By User          | Allows to rank customer subscription orders by creation date.                                                                                                                                                                                                                                                                            |
| Order Customer Lifetime Month                          | Number of months between the current order's creation date and the user's first order creation date. First orders have a value of 1.                                                                                                                                                                                                     |
| Order Customer Lifetime Week                           | Number of weeks between the current order's creation date and the user's first order creation date. First orders always have a value of 1.                                                                                                                                                                                               |
| Order Days Since Last Order Completed                  | The days between the last order's completed date and this order's. Only for completed orders.                                                                                                                                                                                                                                            |
| Order Days Since Last Order Completed                  | The days between the last order's created date and this order's.                                                                                                                                                                                                                                                                         |
| Order Filtered Order                                   | Whether or not this order will be flagged by custom filter.                                                                                                                                                                                                                                                                              |
| Order Financial State                                  | The status of transaction associated with the order.                                                                                                                                                                                                                                                                                     |
| Order Fulfillment State                                | The summarized status of the 'shipment/fulfillment' associated with the order.                                                                                                                                                                                                                                                           |
| Order Has Discount                                     | Whether or not the order has had a discount applied to it.                                                                                                                                                                                                                                                                               |
| Order Has Order Tag                                    | Whether or not the order has an order tag applied to it.                                                                                                                                                                                                                                                                                 |
| Order Id                                               | Unique identifier generated by Chord for an order.                                                                                                                                                                                                                                                                                       |
| Order Included Fulfillment Codes                       | Aggregated array of fulfillment codes, represented as a string.                                                                                                                                                                                                                                                                          |
| Order Included Fulfillment Methods                     | Aggregated array of fulfillment methods, represented as a string.                                                                                                                                                                                                                                                                        |
| Order Included Payment Gateways                        | This is the rolled up successful payment gateway for an order. Successful payments are included if they are sale or capture transactions.                                                                                                                                                                                                |
| Order Included Source Subscription Ids                 | String list of included source subscription ids per order. Subscription information received from tenant-enabled platforms including Recharge and Shopify Plus.                                                                                                                                                                          |
| Order Included Subscription Ids                        | String list of included subscription ids per order. Subscription information received from tenant-enabled platforms including Recharge and Shopify Plus.                                                                                                                                                                                 |
| Order Is Admin                                         | Whether or not the order was created by an admin.                                                                                                                                                                                                                                                                                        |
| Order Is Cancelled                                     | Whether or not the order was cancelled. If \`cancelled\_at\` is non-null then we consider the order has being cancelled.                                                                                                                                                                                                                 |
| Order Is Completed                                     | Whether or not the order was completed. An order is considered completed if it has a closed\_at timestamp and has been fully fulfilled. Closed\_at is generated for orders in Shopify that are automatically archived. If this feature is not enabled, the last updated closed fulfillment date is used as the completed at date.        |
| Order Is First Completed Order                         | Whether the order was the customer's first completed order or not.                                                                                                                                                                                                                                                                       |
| Order Is First Order                                   | Whether the order was the customer's first order or not.                                                                                                                                                                                                                                                                                 |
| Order Is First Subscription Completed Order            | Whether the order was the customer's first completed subscription order or not.                                                                                                                                                                                                                                                          |
| Order Is First Subscription Order                      | Whether the order was the customer's first subscription order or not.                                                                                                                                                                                                                                                                    |
| Order Is Part Of Subscription                          | Boolean flag to indicate whether the order was a part of a subscription plan or not.                                                                                                                                                                                                                                                     |
| Order Is Test                                          | Whether this is a test order or not.                                                                                                                                                                                                                                                                                                     |
| Order Item Id                                          | Unique identifier generated by Chord for an order.                                                                                                                                                                                                                                                                                       |
| Order Item Is First Product Type Order                 | Whether this order contains the first product type basket for the user.                                                                                                                                                                                                                                                                  |
| Order Item Is Last Product Type Order                  | Whether this order contains the last, most recent, product type basket for the user.                                                                                                                                                                                                                                                     |
| Order Item Is Repeat Product Type Order                | Whether this order contains a repeat product type basket for the user.                                                                                                                                                                                                                                                                   |
| Order Item Product Basket Count                        | The count of products for a given order.                                                                                                                                                                                                                                                                                                 |
| Product Basket                                         | The titles of products for a given orderarray converted to a string.                                                                                                                                                                                                                                                                     |
| Order Item Product Purchased Quantity                  | The total number of product purchased for a given order.                                                                                                                                                                                                                                                                                 |
| Order Item Rank Product Type Order                     | Rank orders with the same product type basket per user.                                                                                                                                                                                                                                                                                  |
| Order Item Unique Product Basket Count                 | The count of unique products for a given order.                                                                                                                                                                                                                                                                                          |
| Unique Product Basket                                  | The unique titles of products for a given order array converted to a string.                                                                                                                                                                                                                                                             |
| Order Item Unique Product Type                         | The unique line item product types for a given order.                                                                                                                                                                                                                                                                                    |
| Order Item Unique Variant Basket Count                 | The count of unique SKUs for a given order.                                                                                                                                                                                                                                                                                              |
| Unique Variant Basket                                  | The unique SKUs of variants for a given order array converted to a string.                                                                                                                                                                                                                                                               |
| Order Item Variant Basket Count                        | The count of variants for a given order.                                                                                                                                                                                                                                                                                                 |
| Variant Basket                                         | The SKUs of variants for a given order array converted to a string.                                                                                                                                                                                                                                                                      |
| Order Item Variant Purchased Quantity                  | The total number of variants purchased for a given order.                                                                                                                                                                                                                                                                                |
| Order Name                                             | Unique name generated by Shopify that is displayed to the customer (e.g.                                                                                                                                                                                                                                                                 |
| Order Number Of Non Reactivated Subscriptions          | Number of non reactivated subscriptions per order. Reactivation is a customer who returned after having canceled the first subscription.                                                                                                                                                                                                 |
| Order Number Of Reactivated Subscriptions              | Number of reactivated subscriptions per order. Reactivation is a customer who returned after having canceled the first subscription.                                                                                                                                                                                                     |
| Order Oms Order Id                                     | Unique key generated by Shopify that identifies an order.                                                                                                                                                                                                                                                                                |
| Order Tags                                             | The order tags applied to a given order, in alphabetical order.                                                                                                                                                                                                                                                                          |
| Order Tags Count                                       | The total number of order tags for a given order.                                                                                                                                                                                                                                                                                        |
| Order Processing Method                                | How the payment was processed.                                                                                                                                                                                                                                                                                                           |
| Order Segment Anonymous Id                             | When available, this is where we store Segment's anonymous\_id at the time of checkout.                                                                                                                                                                                                                                                  |
| Order Source Name                                      | Where did the order get created from.                                                                                                                                                                                                                                                                                                    |
| Shipping Address 1                                     | The street address of the shipping address.                                                                                                                                                                                                                                                                                              |
| Shipping Address 2                                     | An additional field for the street address of the shipping address.                                                                                                                                                                                                                                                                      |
| Shipping Address City                                  | The city, town, or village of the shipping address.                                                                                                                                                                                                                                                                                      |
| Shipping Address Company                               | The company associated to this shipping address.                                                                                                                                                                                                                                                                                         |
| Shipping Address Country                               | The name of the country of the shipping address.                                                                                                                                                                                                                                                                                         |
| Shipping Address Country Code                          | The two-letter code (ISO 3166-1 format) for the country of the shipping address.                                                                                                                                                                                                                                                         |
| Shipping Address First Name                            | The first name of the person associated to this shipping address.                                                                                                                                                                                                                                                                        |
| Shipping Address Id                                    | Unique identifier generated by Chord for a Shipping Address.                                                                                                                                                                                                                                                                             |
| Shipping Address Last Name                             | The last name of the person associated to this shipping address.                                                                                                                                                                                                                                                                         |
| Shipping Address Latitude                              | The latitude of the shipping address.                                                                                                                                                                                                                                                                                                    |
| Shipping Address Longitude                             | The longitude of the shipping address.                                                                                                                                                                                                                                                                                                   |
| Shipping Address Name                                  | The full name of the person associated to this shipping address.                                                                                                                                                                                                                                                                         |
| Shipping Address Oms Shipping Address Id               | Unique key generated by Shopify that identifies a shipping address.                                                                                                                                                                                                                                                                      |
| Shipping Address Phone                                 | The phone number associated to this shipping address.                                                                                                                                                                                                                                                                                    |
| Shipping Address Province                              | The name of the region (province, state, prefecture, ...) of the shipping address.                                                                                                                                                                                                                                                       |
| Shipping Address Province Code                         | The two-letter abbreviation of the region of the shipping address.                                                                                                                                                                                                                                                                       |
| Shipping Address Zip                                   | The postal code of the shipping address.                                                                                                                                                                                                                                                                                                 |
| Store Id                                               | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                              |
| Store Name                                             | The name of the store.                                                                                                                                                                                                                                                                                                                   |
| Store Oms Admin Url                                    | The Admin URL of that OMS.                                                                                                                                                                                                                                                                                                               |
| Store Oms Id                                           | Unique key generated by Chord that uniquifies an OMS.                                                                                                                                                                                                                                                                                    |
| Store Oms Store Id                                     | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                              |
| Store Oms Type                                         | The type of the OMS.                                                                                                                                                                                                                                                                                                                     |
| Store Id                                               | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                              |
| Store Tenant Id                                        | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                                  |
| Store Url                                              | The Storefront URL of of the store.                                                                                                                                                                                                                                                                                                      |
| User Completed Oms Order Ids                           | List of all completed OMS order ids for a user.                                                                                                                                                                                                                                                                                          |
| User Completed Order Names                             | List of all completed order names for a user.                                                                                                                                                                                                                                                                                            |
| User Email                                             | The email of the customer.                                                                                                                                                                                                                                                                                                               |
| User First Completed Oms Order Id                      | Order id from the OMS for the first completed order.                                                                                                                                                                                                                                                                                     |
| User First Completed Order Name                        | Order name for the first completed order.                                                                                                                                                                                                                                                                                                |
| User First Name                                        | The first name of the customer.                                                                                                                                                                                                                                                                                                          |
| User First Name Last Initial                           | The first name and last name initials of the customer. This appends the value of \`first\_name\` and the first character of \`last\_name\` together.                                                                                                                                                                                     |
| User First Order Unique Ordered Products               | List of unique products purchased by the user in their first completed order.                                                                                                                                                                                                                                                            |
| User First Order Unique Ordered Skus                   | List of unique variant SKUs purchased by the user in their first completed order.                                                                                                                                                                                                                                                        |
| User First Subscription Ids                            | Array of first subscription ids purchased by the user. The user may have more than one subscription created at the same time, resulting in more than one subscription counted as first.                                                                                                                                                  |
| User Full Name                                         | The full name of the customer. This appends the value of \`first\_name\` and \`last\_name\` together.                                                                                                                                                                                                                                    |
| User Has Ordered A La Carte                            | Whether or not the user has had at least one order that is not a part of a subscription.                                                                                                                                                                                                                                                 |
| User Has Promo Applied In First Order                  | Whether the first completed order has a promo applied or not.                                                                                                                                                                                                                                                                            |
| User Has Reactivation Subscription                     | Whether or not the user has at least one subscription created after the first subscription is cancelled.                                                                                                                                                                                                                                 |
| User Has Subscription In First Order                   | Whether or not the user's first order is linked to a subscription.                                                                                                                                                                                                                                                                       |
| User Has Verified Email                                | Whether the customer has verified their email address.                                                                                                                                                                                                                                                                                   |
| User Id                                                | Unique identifier generated by Chord to identify the user.                                                                                                                                                                                                                                                                               |
| User Is Active Subscriber                              | Whether or not the user has an active subscription with at least one completed subscription order. An active subscription is one that is not cancelled or paused. Subscribers may have completed subscription orders on inactive subscriptions, but will not be considered active if their current subscription has no completed orders. |
| User Is Customer                                       | Whether the user has completed at least one order or not.                                                                                                                                                                                                                                                                                |
| User Is New Customer                                   | Whether the user has completed one order or not.                                                                                                                                                                                                                                                                                         |
| User Is Not Customer                                   | Whether the user has no completed orders or not.                                                                                                                                                                                                                                                                                         |
| User Is Returning Customer                             | Whether the user has completed more than one order or not.                                                                                                                                                                                                                                                                               |
| User Is Subscriber                                     | Whether or not the user has completed at least one subscription order.                                                                                                                                                                                                                                                                   |
| User Last Name                                         | The last name of the customer.                                                                                                                                                                                                                                                                                                           |
| User Last Subscription Ids                             | Array of last subscription ids purchased by a user. The user may have more than one subscription created at the same time, resulting in more than one subscription counted as last.                                                                                                                                                      |
| User Number Of Cancelled Subscriptions                 | Total number of subscriptions the user has cancelled.                                                                                                                                                                                                                                                                                    |
| User Number Of Completed A La Carte Orders             | Total number of orders completed by a user that are a la carte.                                                                                                                                                                                                                                                                          |
| User Number Of Completed Orders                        | Total count of completed orders by the user.                                                                                                                                                                                                                                                                                             |
| User Number Of Completed Subscription Orders           | Total number of orders completed by a user that are part of a subscription.                                                                                                                                                                                                                                                              |
| User Number Of Created Subscription Orders             | Total number of orders created by a user that are part of a subscription.                                                                                                                                                                                                                                                                |
| User Number Of Orders With Promos                      | Count of completed orders with a promo applied.                                                                                                                                                                                                                                                                                          |
| User Number Of Reactivated Subscriptions               | Total number of subscriptions for a user that are reactivations. These subscriptions may be active, inactive, or concurrent.                                                                                                                                                                                                             |
| User Number Of Subscriptions                           | Total number of subscriptions linked to a user. These subscriptions may be active, inactive, or concurrent.                                                                                                                                                                                                                              |
| User Oms User Id                                       | Unique identifier generated by the OMS to identify the user.                                                                                                                                                                                                                                                                             |
| User Phone                                             | The phone number of the customer.                                                                                                                                                                                                                                                                                                        |
| User Unique Ordered Product Type                       | List of unique product types purchased by the user across all completed orders.                                                                                                                                                                                                                                                          |
| User Unique Ordered Products                           | List of unique products purchased by the user across all completed orders.                                                                                                                                                                                                                                                               |
| User Unique Ordered Skus                               | List of unique variant SKUs purchased by the user across all completed orders.                                                                                                                                                                                                                                                           |
| Order Cancelled At (Universal)                         | Reflects when the order was cancelled in Shopify - Universal Time Zone.                                                                                                                                                                                                                                                                  |
| Order Completed At (Central)                           | The timestamp when this order became completed - Cental Time Zone.                                                                                                                                                                                                                                                                       |
| Order Completed At (Eastern)                           | The timestamp when this order became completed - Eastern Time Zone.                                                                                                                                                                                                                                                                      |
| Order Completed At (Mountain)                          | The timestamp when this order became completed - Mountain Time Zone.                                                                                                                                                                                                                                                                     |
| Order Completed At (Pacific)                           | The timestamp when this order became completed - Pacific Time Zone.                                                                                                                                                                                                                                                                      |
| Order Completed At (Universal)                         | The timestamp when this order became completed - Universal Time Zone.                                                                                                                                                                                                                                                                    |
| Order Created At (Central)                             | Reflects when the entity was first created in Shopify - Cental Time Zone.                                                                                                                                                                                                                                                                |
| Order Created At (Eastern)                             | Reflects when the entity was first created in Shopify - Eastern Time Zone.                                                                                                                                                                                                                                                               |
| Order Created At (Mountain)                            | Reflects when the entity was first created in Shopify - Mountain Time Zone.                                                                                                                                                                                                                                                              |
| Order Created At (Pacific)                             | Reflects when the entity was first created in Shopify - Pacific Time Zone.                                                                                                                                                                                                                                                               |
| Order Created At (Universal)                           | Reflects when the entity was first created in Shopify - Universal Time Zone.                                                                                                                                                                                                                                                             |
| Order Last Fulfillment At (Universal)                  | The maximum timestamp for the last update order fulfillment - Universal Time Zone.                                                                                                                                                                                                                                                       |
| Order Updated At (Universal)                           | Reflects when the entity was last updated in Shopify - Universal Time Zone.                                                                                                                                                                                                                                                              |
| User First Completed Order Completed At (Universal)    | Timestamp for the first order completed - Universal Time Zone.                                                                                                                                                                                                                                                                           |
| User First Completed Order Created At (Universal)      | Timestamp for the first completed order created - Universal Time Zone.                                                                                                                                                                                                                                                                   |
| User First Order Created At (Universal)                | Timestamp of the first created order for the user - Universal Time Zone.                                                                                                                                                                                                                                                                 |
| User First Subscription Created At (Universal)         | Timestamp of when the first subscription was created per user - Universal Time Zone.                                                                                                                                                                                                                                                     |
| User First Subscription Order Completed At (Universal) | The timestamp of the user's first completed subscription order, regardless of subsequent subscriptions - Universal Time Zone.                                                                                                                                                                                                            |
| User First Subscription Order Created At (Universal)   | The timestamp of the user's first completed subscription order, regardless of subsequent subscriptions - Universal Time Zone.                                                                                                                                                                                                            |
| User Last Completed Order Completed At (Universal)     | Timestamp for the most recent order completed - Universal Time Zone.                                                                                                                                                                                                                                                                     |
| User Last Completed Order Created At (Universal)       | Timestamp for the most recent completed order created - Universal Time Zone.                                                                                                                                                                                                                                                             |
| Average Additional Tax Total                           | When taxes are not included in the subtotal, this is total tax added to the order.                                                                                                                                                                                                                                                       |
| Average Fulfillment Tax Total                          | Total tax applied to the order's fulfillment fee.                                                                                                                                                                                                                                                                                        |
| Average Fulfillment Total                              | The sum of all shipping prices in the location's currency.                                                                                                                                                                                                                                                                               |
| Average Gross Revenue                                  | Gross revenue of the order calculated as \`item\_total\` + \`fulfillment\_total\`                                                                                                                                                                                                                                                        |
| Average Included Tax Total                             | When taxes are included in the subtotal, this is the total tax included in the order.                                                                                                                                                                                                                                                    |
| Average Item Total                                     | The sum of all line item prices in the location's currency.                                                                                                                                                                                                                                                                              |
| Average Line Item Tax Total                            | Total tax applied to the line items of the order.                                                                                                                                                                                                                                                                                        |
| Average Manual Transaction Total                       | Sum of all sales transaction with gateway of type 'manual'.                                                                                                                                                                                                                                                                              |
| Average Net Revenue                                    | Net revenue of the order calculated as \`item\_total\` + \`fulfillment\_total\` - \`promo\_total\` - \`refund\_total\`                                                                                                                                                                                                                   |
| Average Non Reactivated Subscription Unit Total        | Sum of unit price for non reactivated subscriptions per order. Reactivation is a customer who returned after having canceled the first subscription.                                                                                                                                                                                     |
| Average Payment Capture Total                          | Sum of successful capture transactions.                                                                                                                                                                                                                                                                                                  |
| Average Payment Total                                  | Sum of all sales transaction with gateway of type 'shopify\_payments'.                                                                                                                                                                                                                                                                   |
| Average Product Basket Count                           | The count of products for a given order.                                                                                                                                                                                                                                                                                                 |
| Average Product Purchased Quantity                     | The total number of product purchased for a given order.                                                                                                                                                                                                                                                                                 |
| Average Promo Total                                    | The total discounts applied to the price of the order in the location's currency.                                                                                                                                                                                                                                                        |
| Average Reactivated Subscription Unit Total            | Sum of unit price for reactivated subscriptions per order. Reactivation is a customer who returned after having canceled the first subscription.                                                                                                                                                                                         |
| Average Refund Total                                   | Sum of all the transactions that are of kind 'refund' applied to the order.                                                                                                                                                                                                                                                              |
| Average Tax Total                                      | The sum of all the taxes applied to the order in the location's currency.                                                                                                                                                                                                                                                                |
| Average Total Price                                    | The sum of all line item prices, discounts, shipping, taxes, and tips in the                                                                                                                                                                                                                                                             |
| Average Transaction Total                              | Sum of all sale transactions for the order.                                                                                                                                                                                                                                                                                              |
| Average Variant Basket Count                           | The count of variants for a given order.                                                                                                                                                                                                                                                                                                 |
| Average Variant Purchased Quantity                     | The total number of variants purchased for a given order.                                                                                                                                                                                                                                                                                |
| Additional Tax Total                                   | When taxes are not included in the subtotal, this is total tax added to the order.                                                                                                                                                                                                                                                       |
| Fulfillment Tax Total                                  | Total tax applied to the order's fulfillment fee.                                                                                                                                                                                                                                                                                        |
| Fulfillment Total                                      | The sum of all shipping prices in the location's currency.                                                                                                                                                                                                                                                                               |
| Gross Revenue                                          | Gross revenue of the order calculated as \`item\_total\` + \`fulfillment\_total\`                                                                                                                                                                                                                                                        |
| Included Tax Total                                     | When taxes are included in the subtotal, this is the total tax included in the order.                                                                                                                                                                                                                                                    |
| Item Total                                             | The sum of all line item prices in the location's currency.                                                                                                                                                                                                                                                                              |
| Line Item Tax Total                                    | Total tax applied to the line items of the order.                                                                                                                                                                                                                                                                                        |
| Manual Transaction Total                               | Sum of all sales transaction with gateway of type 'manual'.                                                                                                                                                                                                                                                                              |
| Net Revenue                                            | Net revenue of the order calculated as \`item\_total\` + \`fulfillment\_total\` - \`promo\_total\` - \`refund\_total\`                                                                                                                                                                                                                   |
| Non Reactivated Subscription Unit Total                | Sum of unit price for non reactivated subscriptions per order. Reactivation is a customer who returned after having canceled the first subscription.                                                                                                                                                                                     |
| Payment Capture Total                                  | Sum of successful capture transactions.                                                                                                                                                                                                                                                                                                  |
| Payment Total                                          | Sum of all sales transaction with gateway of type 'shopify\_payments'.                                                                                                                                                                                                                                                                   |
| Total Price                                            | The sum of all line item prices, discounts, shipping, taxes, and tips in the                                                                                                                                                                                                                                                             |
| Product Basket Count                                   | The count of products for a given order.                                                                                                                                                                                                                                                                                                 |
| Product Purchased Quantity                             | The total number of product purchased for a given order.                                                                                                                                                                                                                                                                                 |
| Promo Total                                            | The total discounts applied to the price of the order in the location's currency.                                                                                                                                                                                                                                                        |
| Reactivated Subscription Unit Total                    | Sum of unit price for reactivated subscriptions per order. Reactivation is a customer who returned after having canceled the first subscription.                                                                                                                                                                                         |
| Refund Total                                           | Sum of all the transactions that are of kind 'refund' applied to the order.                                                                                                                                                                                                                                                              |
| Tax Total                                              | The sum of all the taxes applied to the order in the location's currency.                                                                                                                                                                                                                                                                |
| Transaction Total                                      | Sum of all sale transactions for the order.                                                                                                                                                                                                                                                                                              |
| Variant Basket Count                                   | The count of variants for a given order.                                                                                                                                                                                                                                                                                                 |
| Variant Purchased Quantity                             | The total number of variants purchased for a given order.                                                                                                                                                                                                                                                                                |

### **order\_applied\_discount\_codes**

| Name                         | Description                         |
| ---------------------------- | ----------------------------------- |
| Order Applied Discount Codes | Discount code applied to the order. |

### **order\_tags**

| Name       | Description                        |
| ---------- | ---------------------------------- |
| Order Tags | Order tag(s) applied to the order. |


[title] Planned Forecasts
[path] Chord Data Platform/Model Amplifications/

:::hint{type="info"}
Note: Our Model Amplifications feature **only accepts files in CSV format at this time.&#x20;**&#x50;lease make sure the files you upload are CSV files.
:::

# Overview&#x20;

Chord Performance brands can now upload their daily planned forecasts of gross and net revenue along with number of orders and number of customers. With this, brands can now track their store performance comparing their forecasts with actuals.&#x20;

# How It Works

This amplification enables the input of data at varying levels of detail.

1. The fields `Date` and `Forecast Version Name `are **required&#x20;**&#x61;nd cannot be left blank. 
2. The fields `Is New Customer,` `Variant Product Category`, and `Variant Product Subcategory` can be left blank to forecast different level of details:
   1. When `Is New Customer` is left blank it will be considered as ***All type of customers***, meaning both new and returning customers.
   2. When `Variant Product Category` is left blank it will be considered as ***All product categories****.*
   3. When `Variant Product Subcategory` is left blank it will be considered as ***All product subcategories.***
3. Fill the rest of the fields with the forecasted value. Take into account the definition of each metric:
   1. **Gross Revenue:** Gross revenue of the orders calculated as **item\_total + fulfillment\_total**
   2. **Net Revenue:** Net revenue of the orders calculated as **item\_total + fulfillment\_total - promo\_total - refund\_total**
   3. **Fulfillment Total:** The total shipping revenue
   4. **Promo Total:** The total discounts applied to the price of the order
   5. **Refund Total:** The total refund transactions applied to the order

Based on the above, there are six (6) possible levels of detail in this amplification (with each level's required attribute(s)):

- **Total Daily Forecast**
  - *No fields required*
- **Customer Type Daily Forecast**
  - `Is New Customer`
- **Subcategory Daily Forecast**
  - `Variant Product Subcategory`
  - NOTE: If the `Variant Product Subcategory` is filled, the corresponding `Variant Product Category` must be filled as well, otherwise it will appear as **NOT-PROVIDED**.
- **Category Daily Forecast**
  - `Variant Product Category`
- **Customer Type by Category Forecast**
  - `Is New Customer`
  - `Variant Product Category`
- **Full Detail Forecast**
  - `Is New Customer`
  - `Variant Product Category`
  - `Variant Product Subcategory`

# Planned Forecasts Variances Explore

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-do69ktc5YZm3I7h9N_Nqm-20250129-211725.png)

With this amplification, Performance brands now have the ability to log forecasts at different levels of detail and can have several different forecast versions (tracked via the `Forecast Version Name` in the amplification).&#x20;

To correctly visualize the data and the variance metrics, you must first filter the explore by selecting one value for **Level Of Detail&#x20;**&#x61;nd one for **Forecast Version Name** (both of these fields are under the group **Forecast Parameters**).

Once the filters are set, you can drag and drop the desired dimensions and metrics.


[title] Product Recommendations
[path] Chord Data Platform/Predictive Models/

### Introduction

Product recommendations are generated from a recommendation engine to increase repeat purchase rate and frequency, focusing on advancing first-purchase customers to repeat customers. Product recommendations on Chord can be found in th&#x65;**&#x20;Users&#x20;**&#x65;xplore under the **Product Recommendations \[BETA]** field.&#x20;

![]()

The recommendation engine is generated with a combination of different algorithms, including user clustering in combination with predictions of future product purchases, to produce the following outputs:

- **Advanced Segmentation Clusters:** user-level segmentation clusters useful for segmented targeting and A/B segment testing.
- **Cross-Product Weights:&#x20;**&#x54;abulation of product cross-sales is useful for answering the question, “Customers that bought x also bought y.”
- **Top-n Product Recommendations:** user-level product recommendations for the most likely next purchase based on product and user similarity, as well as input weights and rules.

### **User Clustering**

Hierarchical clustering is used to generate segments of similar customers. It allows us to rank order how similar one customer is to all other customers. Hierarchical clustering utilizes user attributes, such as:

- Purchase Behavior
- Demographics 
- Geography
- Predicted Revenue Features

Chord then adds a distance metric, for which the user attributes are fed into an agglomerative distance algorithm to minimize “close” and maximize “far” relationships.

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/6RCMfS5ptqsQ-Z3nwLYom_screenshot-2024-04-11-at-101946-am.png)

### Predicting Future Product Purchases

Once these similarities are generated, we can use them to identify what other similar users have purchased.

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/hM2NHONA3LiDJ9UUsPfAJ_screenshot-2024-04-16-at-122747-pm.png)

Another view into future behavior is the relationship between what one customer has purchased and related “cross-product” purchases. Collectively known as collaborative filtering, this process builds weight from user-item relationships and uses them to predict likely future purchase behavior. 

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/z7X5idxISzF-d5RK1H6GW_screenshot-2024-04-16-at-123911-pm.png)

The final output is the top five product recommendations per user. These predictions are running daily and updated based on new or learned data points. These outputs can be activated in a variety of ways, such as email campaigns with personalized product content.

[title] Predictive Marketing Attribution
[path] Chord Data Platform/Predictive Models/

### Introduction

Marketing attribution is becoming increasingly complex as parts of the customer journey can be obscured. Privacy regulations, such as GDPR and CCPA, along with platform changes like Apple’s App Tracking Transparency and the phase-out of third-party cookies, have limited the ability to track users across apps, websites, and devices. As a result, some key interactions, such as ad views, referrals, and cross-device behavior, may go unrecorded, making it more challenging to see the full path to conversion.&#x20;

Web sessions play a vital role in attribution, customer lifetime value (CLV) analysis, A/B testing, and spend optimization. However, more and more sessions are unrecorded, resulting in dark data sessions. A dark data session is not invisible traffic, but instead, it’s traffic with hidden origins. Businesses that rely heavily on attribution and optimization can account for this growing blind spot by utilizing methods like predictive or probabilistic attribution, identity resolution, and server-side tracking.

**Dark Data Sessions**

Web sessions play a vital role in attribution, customer lifetime value (CLV) analysis, A/B testing, and spend optimization. However, more and more sessions are unrecorded, resulting in dark data sessions. A dark data session refers to a website or app session where the source and attribution information are missing, incomplete, or untraceable. In other words, it's a visit where you can’t tell how or why the user arrived, making it difficult to link that session back to a specific marketing campaign, channel, or customer journey stage.

**🔍 Common causes of dark data sessions:**

- Privacy restrictions (e.g., Apple’s App Tracking Transparency, browser settings)
- Cookie blocking or deletion
- Users coming from untrackable sources (e.g., SMS, native mobile apps, secure email clients)
- Cross-device behavior without identity stitching
- URL parameter stripping (e.g., missing UTM tags)

**⚠️ Why it matters:**

- Dark sessions can represent varying degrees of ecommerce traffic
- They obscure the effectiveness of marketing efforts
- They make it harder to optimize spend, personalize experiences, or measure ROI

Dark data sessions now account for a growing share of ecommerce activity, but with thoughtful modeling, enriched data, and identity resolution strategies, businesses can begin to illuminate these hidden touchpoints and make smarter, more informed decisions.

### Predictive Marketing Attribution

Chord utilizes look-a-like propensity modeling to assign probabilistic source and channel to unknown sessions. While the solution here can be technically complicated, the idea couldn’t be simpler: we shouldn’t throw away information that we already have. If sessions that come from similar sources have similar attributes (and the data strongly suggest that this is the case), then we can pipe our known data into a model and that will give us a much better guess at how folks are getting to our media.

**Probabilistic Matching &#xA0;**

Using a series of feature engineering transformers, data modeling, and multi-class boosted modeling we associate sessions with unknown sources to their most likely sources. Notice that the output of the multi-class is a probability for each of the potential sources which reflects the underlying uncertainty. 

**Feature Engineering**

The data used for this analysis were from CDP client-side eventing for the session portion and the order management system for the orders. Observations are at the session or order level, respective to each model, and the features are broken into the following: 

- *Numerical Transforms*: attributes such as duration of session, number of associated sessions (by anonymous id), and activity in the session.
- *Categorical Transforms*: date and time of day features, as well as session attributes such as device user. 

When we applied this model to orders, we were able to add all of the above (where session was observed) as well as numerical and categorical transformers on order data, and line item transforms such as:

- *Multiclass Transforms*: products purchased, discount codes applied. 

All in all, this renders a rich dataset with session and order observations for their respective model. 

**Model Outputs&#xA0;**

The multi-class model for source prediction models the *pr(source) = f(features),* where each potential source probability is estimated for each session with an unknown source. For instance, based on its input features, a single session that has an unknown source will get a prediction of, for example, \{‘google’:60%, ‘facebook’: 20%, ‘ig’:15%,...} and so on for all potential source targets, eventually adding to 1 for that session. 



![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXfqqHeF_LyIWmLAV6Q8fiWPImOCqJ1Ap7BG0oXXpMHwfio88a6jR3TdHAB7KkwCWntWU3gDTbZvm4Iv4mRpCHJO3Aw2ex497tkkphj661XxZmh79h2GWqt6cecCk2ORc7bCedWF5Q?key=TXn4gUj2miR4hAwclzI0r8tO)

The above graph shows the relationship of the sessions that were in-class guessed correctly (true positives) vs those in-class guessed wrong (false positives) in a one-vs-all framework. Without getting into the weeds, this graph indicates that the rank model is getting clear separation (making good guesses) compared to a naive guess across all potential source targets. These metrics indicate that this is a strong model where the features have reproducible underlying relationships with the targets, and can have high confidence in the rankings of predictions. 

## Evaluation of Model Inputs

A deep dive is out of the scope of this analysis, but it is worth calling out that the features of this model are themselves useful for correlation analysis that can be leveraged in root cause studies. For instance we can take a look at the correlation of the entire population of the sessions:



![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXclwjB-AcDoTJH7KZOc8L7mxeW2Ewb19NRGg66yPy4qGHFosqgEGLMA502KFCeNRQNLVPc3auhwPorRbhRQmvdVXD0iX86F9CPWKPwIBUat87v_3sDgjprzIkM0WyvUGLws1OPh?key=TXn4gUj2miR4hAwclzI0r8tO)

Here we see that compared to other classes *duration of activity*  and *activity count* have strong correlations with a session being labeled as ‘google’. Again, this is just the hint to go further into root cause analysis, but is mainly presented to show that the model itself has additive value beyond pure source prediction.

### Business Impact

Predictive marketing attributions takes our “dark data”, and probabilistically poured it into its best guess bucket. 

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXcAwPuxUxMw6ylIHc3wsMmxpbhZJ6yaeo97R0aUIXiPglG3HKqINkR2cYFt-WW2jR4nIvN3uPdzwHc70PTmvPUEU02QqDg1Vq9YbOBsp8WMUFSXajoj1HaK2gJQwGht23wpyBun3w?key=TXn4gUj2miR4hAwclzI0r8tO)

In the above graph we see the unknown (null) bucket on the far right, and the blue bars on the left show how much we have reallocated these into each bucket based on their underlying features. Looking at the impact of the top five sources we see economically significant changes. 

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXfGJ1vbaeB93-Wz6D_ad5e92UB2cvqU0VJmHLIqiuW-Wbwo9-c0iZRawmfOSubPaus0uun0RQlwOQ3JnwaBUmJAXQbRGavIpRoiaTqTV8a1YPQNDR2rkQU9OqK1SO7p1ejPnfF-Ng?key=TXn4gUj2miR4hAwclzI0r8tO)

Nearly 2M sessions (16% of total sessions) and an associated $12M of “dark data” revenue  (28% of total revenue) have probabilistically been attributed to Google, and similar percentage-wise impacts across the board. 

## In Conclusion

Web sessions are becoming increasingly opaque, leaving companies blind to a significant portion of session attribution. To address this, we developed a predictive attribution model that uses behavioral and contextual features to estimate the likely source of sessions and conversions. The end result added best-guess attribution to over 50% of previously unknown conversions and provided greater visibility into source inflow for non-converted sessions. These probabilistic attributions now power more accurate segmentation campaigns, CLV and ROI analyses, and retargeting strategies. The model is fully productionalized, running as a daily batch process across millions of web sessions and hundreds of thousands of online orders—enabling clearer insight into incremental marketing impact and more efficient spend optimization.

[title] Customer Lifetime Revenue (CLR) Explanation
[path] Chord Data Platform/Predictive Models/Customer Lifetime Revenue (CLR)/



### Introduction

Once we have established the recency, frequency, and monetary value summary statistics, we can input these into algorithms to estimate the total customer lifetime revenue. This encompasses the sum of their previous spending up until the time the model is run.&#x20;

Additionally, we forecast the customer's likelihood of re-engagement and repurchasing based on their behavioral patterns. The sum of these two estimates creates the customer lifetime value, representing the anticipated lifetime engagement and spending of a customer with the company.



::loom[]{url="https://www.loom.com/embed/2f3e3a8f3e0048a089ede57047307ba6"}



This measure can be used to evaluate the ROI of customer acquisition costs, measure the overall increase or decrease in the company's customer lifetime revenue, and track changes in customer lifetime revenue over time.&#x20;

The customer lifetime revenue can further be used to determine the appropriate amount of investment in new customer acquisition. By analyzing each customer's data, we train models to identify patterns in their behavior and predict their likelihood of repurchasing. Our goal is to accurately identify customers who are likely to repurchase and those who are not and assign weights accordingly to assess the accuracy of our models.

### &#xA;Probability re-engagement 

Calculating the probability of a customer's re-engagement or repurchase is a crucial aspect of customer lifetime value estimation. A representative customer who made multiple purchases from a store exemplifies this concept. The likelihood of their engagement with the store at the time of purchase is 100%, but as time passes, this probability diminishes. With increasing temporal distance from their last purchase, the likelihood of re-engagement also declines.



::loom[]{url="https://www.loom.com/embed/dd9c7753e808454f94239a3feb484fc8"}



###

### Example probability re-engagement usage

An important aspect of customer lifetime value is determining the probability of a customer reengaging or repurchasing from a store. For instance, if a company scores the reengagement probability for all its customers, it can conduct a targeted campaign for customers with a moderate probability of reengagement, say 40% to 60%. This group can then be divided into an A/B component, with the treatment marketing campaign or email campaign only given to the A group while the B group is not engaged.



::loom[]{url="https://www.loom.com/embed/9a12bf85c59c43b28a4ea31abd0ed1d5"}



At the conclusion of the campaign, a causal difference can be measured between the two groups. It is expected that the A group's performance would be what was predicted, with the delta between the two groups representing the impact of the A/B group. The probability of reengagement is a powerful segmentation tool that can be spiced by different segments within the group.

The general idea is to use it as a predictive tool, with a good idea of how the two buckets will perform in the test, and then evaluate the causal impact of the test by assessing the delta on the other side.
















[title] Microsoft CAPI
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

The **Microsoft Conversions API** (CAPI) is a server-side integration that sends event data directly from Chord CDP to Microsoft Advertising's servers. Unlike the Bing Ads UET Tag (which runs in the browser), the Conversions API operates in cloud mode — events are sent server-to-server, making them immune to ad blockers and browser tracking restrictions.

Microsoft recommends using the Conversions API alongside the UET Tag for maximum data coverage. When both are configured, Microsoft automatically deduplicates events using the `eventId` field.

Use this destination if:

- You run paid media through Microsoft Advertising
- You want improved signal reliability independent of browser limitations or ad blockers
- You want to support Microsoft's automated bidding and optimization with high-quality server-side event data

# Getting Started

This is a cloud-mode destination. You will need:

- **UET Tag ID** — found in your Microsoft Ads dashboard under Conversion tracking > UET tags. We recommend creating a dedicated tag for the Conversions API
- **Access Token** — select "Use Conversions API" on your UET tag in the Microsoft Ads dashboard to generate a token. Contact your Microsoft account manager if this option is not available

# Connecting to the Microsoft Conversions API CDP Destination

:::BlockQuote
**Warning:** Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are **disabled**. Running external destinations alongside configured Chord CDP destinations **can result in duplicate events downstream.**
:::

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **Microsoft Conversions API** from the destination catalog.
5. Enter the destination name, **UET Tag ID**, and **Access Token**.
6. Click **"Create"** to connect.

# Event Architecture

Microsoft CAPI requires a `pageLoad` event to establish page context. Chord CDP handles this automatically:

- **Page events** send a single `pageLoad` event
- **Track events** send a `pageLoad` + `custom` event pair, linked by a shared page load ID

This means Microsoft receives the page context needed for accurate attribution without any additional configuration.

# Events

# Event Mapping

| Chord Event            | Microsoft CAPI Event Name               | Page Type       |
| ---------------------- | --------------------------------------- | --------------- |
| Product Viewed         | `product_viewed`                        | `product`       |
| Products Searched      | `products_searched`                     | `searchresults` |
| Product Added          | `product_added`                         | `cart`          |
| Checkout Started       | `checkout_started`                      | `cart`          |
| Order Completed        | `order_completed`                       | `purchase`      |
| Order Placed           | `order_placed`                          | `purchase`      |
| *(other track events)* | Original name converted to `snake_case` | *(none)*        |

Page and track events are forwarded. Identify and screen events are ignored.

# Common Event Fields

These fields are included on every event sent to Microsoft.

| Microsoft Field  | Chord Source (Priority Order)                            | Notes                                       |
| ---------------- | -------------------------------------------------------- | ------------------------------------------- |
| `eventType`      | *(derived)*                                              | `pageLoad` or `custom`                      |
| `eventId`        | `messageId` + suffix                                     | `-pl` for page load, `-ce` for custom event |
| `eventTime`      | `timestamp`                                              | Converted to Unix seconds                   |
| `eventSourceUrl` | `page.url` > `context.page.url` > `properties.url`       |                                             |
| `referrerUrl`    | `page.referrer` > `context.page.referrer`                |                                             |
| `pageTitle`      | `page.title` > `context.page.title` > `properties.title` |                                             |

# User Data

PII fields are SHA256-hashed using Microsoft-specific normalization rules before sending.

| Microsoft Field   | Chord Source (Priority Order)                                                             | Notes                                                                                             |
| ----------------- | ----------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
| `em` (email)      | `properties.email` > `context.traits.email`                                               | Microsoft-specific hashing: dots removed from user portion, +aliases stripped, lowercased, SHA256 |
| `ph` (phone)      | `properties.phone` > `context.traits.phone`                                               | Validated, normalized to E.164 format, SHA256-hashed. Invalid phones are silently dropped         |
| `externalId`      | `userId`                                                                                  | SHA256-hashed (lowercased)                                                                        |
| `anonymousId`     | `anonymousId`                                                                             | **Not hashed** — Microsoft uses as guest UUID                                                     |
| `clientUserAgent` | `context.userAgent`                                                                       | Not hashed                                                                                        |
| `clientIpAddress` | `context.ip`                                                                              | Not hashed                                                                                        |
| `msclkid`         | URL parameter `msclkid` > `properties.msclkid` > `integrations["Microsoft CAPI"].msclkid` | Microsoft click ID for attribution                                                                |

# Phone Validation

Phone numbers are validated before hashing. The following are silently rejected:

- Common junk values: `n/a`, `na`, `undefined`, `null`, `none`, `unknown`, `test`
- Numbers with fewer than 7 digits
- All-repeated-digit numbers (e.g., `1111111`)

# Custom Data (Track Events)

The `custom` event in each pair includes conversion properties:

| Microsoft Field | Chord Source (Priority Order)                                  | Notes                                                                        |
| --------------- | -------------------------------------------------------------- | ---------------------------------------------------------------------------- |
| `value`         | `properties.revenue` > `properties.total` > `properties.price` | First numeric value found; `Order Completed` has no `properties.value` field |
| `currency`      | `properties.currency`                                          |                                                                              |
| `transactionId` | `properties.orderId` / `properties.order_id`                   | For deduplication                                                            |
| `searchTerm`    | `properties.query` > `properties.search_term`                  |                                                                              |
| `eventCategory` | `properties.category`                                          |                                                                              |
| `eventLabel`    | `properties.label`                                             |                                                                              |
| `pageType`      | *(from event mapping table)*                                   | E.g., `product`, `cart`, `purchase`                                          |
| `items`         | See Item Attributes below                                      |                                                                              |

# Item Attributes

For **single-product events** (Product Viewed, Product Added), item data is extracted from top-level properties:

| Microsoft Field | Chord Source                                                 |
| --------------- | ------------------------------------------------------------ |
| `id`            | `properties.sku` > `properties.product_id` > `properties.id` |
| `quantity`      | `properties.quantity`                                        |
| `price`         | `properties.price`                                           |
| `name`          | `properties.name`                                            |

For **multi-product events** (Checkout Started, Order Completed, Order Placed), items come from the `properties.products` array:

| Microsoft Field | Chord Source                                                 |
| --------------- | ------------------------------------------------------------ |
| `id`            | `products[].sku` > `products[].product_id` > `products[].id` |
| `quantity`      | `products[].quantity`                                        |
| `price`         | `products[].price`                                           |
| `name`          | `products[].name`                                            |

# Required Fields

For purchase events (Order Completed / Order Placed) to be accepted by Microsoft, the following fields must be present:

- Event name and event time (populated automatically by Chord CDP)
- `properties.currency`
- `properties.value`, `properties.revenue`, or `properties.total` (at least one)
- `properties.order_id` or `properties.orderId`
- At least one user identifier: `properties.email`, `properties.phone`, or `msclkid` (from URL parameter)

# Testing and Validation

After connecting the destination:

1. Use **Microsoft Ads event diagnostics** (in the UET tags section of your dashboard) to confirm events are being received
2. Verify match rates — higher match rates indicate user identifiers (email, phone, msclkid) are being sent correctly
3. Confirm revenue values and order counts align with your expectations

If discrepancies appear:

- Confirm `msclkid` is being captured in your page URLs (Microsoft appends this to ad click-through URLs)
- Ensure required fields listed above are populated in your events
- Check that your access token has not expired — regenerate in the Microsoft Ads dashboard if needed

# Property Mappings

Use custom property mappings if the default field resolution does not match your data model:

| Destination Path                 | Description                                             |
| -------------------------------- | ------------------------------------------------------- |
| `properties.email`               | Email for enhanced conversions                          |
| `properties.phone`               | Phone for enhanced conversions (E.164 format preferred) |
| `properties.value`               | Primary conversion value                                |
| `properties.revenue`             | Fallback conversion value (subtotal)                    |
| `properties.currency`            | Currency code (e.g., `USD`)                             |
| `properties.order_id`            | Transaction ID for deduplication                        |
| `properties.products[].sku`      | Product item IDs                                        |
| `properties.products[].price`    | Per-item price                                          |
| `properties.products[].quantity` | Per-item quantity                                       |
| `properties.products[].name`     | Product display name                                    |

***

**Updated 12 Mar 2026**

[title] Sendlane
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

# Introduction

Sendlane helps eCommerce brands drive revenue with intelligent automation, real-time behavior tracking, and multichannel marketing workflows.&#x20;

The Sendlane destination allows you to send rich, real-time customer behavior and conversion events from your store (via Chord) to your Sendlane account. This unlocks personalized email and SMS marketing journeys, better audience segmentation, and advanced analytics in Sendlane.

## Getting started

To connect Sendlane, you will need:

- Admin access to your Sendlane account.
- Permission to create or manage API credentials.
- A clear understanding of which customer attributes you want to send.&#x20;

If you’re unsure about attribute mapping or segmentation strategy, that’s okay. Most brands refine this during setup.

# Connecting to the Sendlane CDP destination

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **Sendlane&#x20;**&#x66;rom the destination catalog.
5. Enter in the destination name and the &#x20;
6. Click **"Create"&#x20;**&#x74;o connect.

:::hint{type="danger"}
Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are *disabled.*
**
Running external destinations alongside configured Chord CDP destinations ***can result in duplicate events downstream.&#x20;***
:::


[title] Klaviyo
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

# Introduction

Klaviyo is a marketing automation platform built specifically for e-commerce brands, designed to help them deliver personalized customer experiences through email and SMS. It empowers marketers to build targeted campaigns, automate messaging flows, and measure performance using rich customer data. By integrating directly with e-commerce platforms and pulling in behavioral and transactional data, Klaviyo enables brands to turn insights into action—driving higher engagement, loyalty, and revenue.

# Getting started

Before connecting your Klaviyo account as a CDP destination, a custom ***Private API Key*** must be generated with a specific set of configured scopes:



::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/XqYoeOqe3OBdoRcxm2aPO_image.png" size="80" width="3174" height="1804" position="center" darkWidth="3174" darkHeight="1804" showCaption="false"}

Once you have navigated to create a new private API Key (*Settings&#x20;*> *Account* > *API Keys*), the scopes to configure are:

- **Events API&#x20;**&#x73;cope must be set to `Read/Write Access`
- All other API scopes can be set to `Read Access`

::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-ATniMZHlo2xXr5SwGVX5x-20250514-215853.png" size="80" width="2890" height="1558" position="center" darkWidth="2890" darkHeight="1558" showCaption="false"}

Once configured, click **Create** in the top-right corner. The API key permissions for you newly created key will appear as follows:&#x20;

::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-sPZrWt135KCw2i487GaRk-20250514-220026.png" size="48" width="1398" height="428" position="center" darkWidth="1398" darkHeight="428" showCaption="false"}

# Connecting to the Klaviyo CDP destination

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"&#x20;**&#x62;utton next to Destinations.
4. Select **Klaviyo** from the destination catalog.
5. Enter in the destination name and th&#x65;**&#x20;Klaviyo** API key.
6. Click **"Create"** to connect.

# Chord events relevant for destination

While typically not all Chord Tracking events are used downstream in your configured destinations, Klaviyo is an exception. As a SMS and email marketing platform, Chord passes through all availalbe/possible *track* events that are passed through any configured sources upstream. **All track events are sent to Klaviyo's&#x20;**[Custom Events API](https://developers.klaviyo.com/en/reference/events_api_overview)**&#x20;with their original name.**

The use cases supported by Klaviyo's Custom Events API include:

- *Creating custom events that can be used to trigger flows (e.g., a Reset Password event that triggers an email with a reset password URL).*
- *Getting Klaviyo events that can be used for data analysis (e.g., retrieving engagement events tracked by native Klaviyo metrics, such as Opened Email and Clicked SMS).*
- *Getting a specific profile’s events to power an activity feed.*
- *Getting related profile and/or metric data for a given event.*

Chord will only send events through to Klaviyo if either `email` or `phone` is present in the event payload. Without this identifying attributes, events are skipped.

**Note:&#x20;**&#x41;ttentive's Custom Events API is specifically designed to ingest *user action events*. Considering this, *page view&#x20;*&#x65;vents **are not** passed through.

| **Chord Tracking Event** | *Destination Event/Action*                          |
| ------------------------ | --------------------------------------------------- |
| **All Track Events**     | *Event name passed as is*                           |
| **Identify**             | *Upsert Profile (to create or update user profile)* |

:::hint{type="danger"}
Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are *disabled.*
**
Running external destinations alongside configured Chord CDP destinations ***can result in duplicate events downstream.&#x20;***
:::


[title] Accessing Data Science Features
[path] Chord Data Platform/Predictive Models/

There are minimum data thresholds required to ensure our data science model outputs are accurate.&#x20;

Customer lifetime revenue, purchase likelihood, revenue forecasts, product recommendations, and probability alive are available to Chord customers who have at least:

- 2000 completed transactions and nine months of transaction history
- 90 cumulative days containing transactions
- 500 completed transactions from the last 90 days and
- transactions completed in the past 30 days


[title] Customer Lifetime Revenue (CLR)
[path] Chord Data Platform/Predictive Models/

### What is Customer Lifetime Revenue?

Customer lifetime revenue and purchase likelihood are predictive insights about customers who have made at least one purchase in your online store. While both tools forecast future buying behavior, how you think about them from a marketing perspective may differ.



::::LinkArray
:::LinkArrayItem{headerType="COLOR" headerColor="#f00bf3"}
[Customer Lifetime Revenue and Purchase Likelihood](docId:7C0gpeaYBzjwGadO3t2ib)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#0af130"}
[Customer Lifetime Revenue (CLR) Explanation](docId\:hpoMH0f8yKr1VksnejpEm)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#0a27f1"}
[Recency, Frequency, Monetary Value (RFM)](docId\:L91UpCbIucX4huAP2ByfI)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#f00bf3"}
[CLR and RFM Data Table Glossary](docId\:XzU-KFlDMlty4bseZIAiN)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#0af130"}
[CLR and RFM on the Chord Commerce Data Platform](docId\:soF9HUFLL1N0-7U4NvHro)
:::
::::


[title] Customer Lifetime Revenue and Purchase Likelihood
[path] Chord Data Platform/Predictive Models/Customer Lifetime Revenue (CLR)/

### Introduction

Customer lifetime revenue and purchase likelihood are predictive insights about customers who have made at least one purchase in your online store. While both tools forecast future buying behavior, how you think about them from a marketing perspective may differ.

This article explains how CLR and purchase likelihood work and offers suggestions for using them in marketing engagement, time-based ROI evaluation of marketing channels, and as high-level KPIs.

### About Chord’s Predictive User Features

Chord's Customer Lifetime Revenue (CLR) and purchase likelihood are advanced segmentation tools that use historical data to predict a customer's likely purchase behavior in the future.

CLR and purchase likelihood are commonly applied to segmentation for re-engagement actions, better understanding and targeting of new customer acquisition, and—at a high level—can be used as a nearly real-time metric for predicting a customer's long-term relationship with a brand.

At the core of predictive revenue analysis is the tried-and-true marketing concept of RFM.&#x20;

RFM is a simple measure of a customer's recency, frequency, and monetary statistics. Generally, RFM describes the metrics businesses benefit from optimizing, and CLR is a bundle of tools used to measure progress on those optimizations. These metrics and how they can be used with CLR tools will be covered in more detail below.



### Accessing Chord’s Predictive Data Features

CLR and purchase likelihood are available to Chord customers who have at least:

- 2000 completed transactions and nine months of transaction history
- 90 cumulative days containing transactions
- 500 completed transactions from the last 90 days and
- transactions completed in the past 30 days

RFM is included in Chord’s predictive revenue toolbox and can be combined with CLR and purchase likelihood.

### Predictive Revenue Analysis overview

CLR refers to a customer's total revenue for a business throughout their relationship. This includes all the customer's historical purchases and their predicted future purchases.

Purchase likelihood refers to the probability that a customer will make another purchase from a business in the future. A high purchase likelihood indicates that a customer is likelier to become a loyal, repeat customer. In contrast, a low purchase likelihood suggests that a customer may be less likely to return and make additional purchases.

### Recency, Frequency, and Monetary (RFM)

RFM are staples of predictive marketing segmentation and are core building blocks of CLR and purchase likelihood. They are baked into Chord’s revenue customer segmentation toolbox. These tools are related: RFM represents summary statistics of historical data, while CLR and purchase likelihood model historical data to make future predictions.

RFM consists of the following:

- **Recency**: how recently a customer has made a purchase
- **Frequency**: how often a customer has purchased
- **Monetary Value**: how much the customer has spent

Together these estimates can be combined to create segmentation models.

Chord’s revenue segmentation toolbox includes simplified buckets for generating segments. The categories are broken down into 5 buckets where 1 is always the “best” or most valuable, and 5 is the lowest. For instance, **Recency** bucket 1 represents customers that have purchased most recently, and bucket 5 are those that purchased the least recently. **Frequency** bucket 1 is those customers who buy the most frequently, and 5 is the least frequent. And **Monetary** value bucket 1 represents the highest total spenders while bucket 5 customers are the lowest.

### How RFM categories work

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-HccZAaFm79yfCsd3Bj4Ox-20250312-143240.png "R-F-M Graph: 1 is best; 5 is worst ")

Every customer is categorized into buckets 1-5 for all three categories. The graph above shows groups of customers that fall into each R-F-M bucket. We refer to them in the order R-F-M, so a “1-1-1” is a customer who purchased most recently, is in your store’s highest frequency, and also in your store’s highest monetary spend compared to all customers.

**1-1-1 (top right) are star customers:** they have spent the most with the most transactions and have engaged recently

**5-5-5 (bottom left) are at-risk customers:** they have spent in the lowest 20% of spenders, only made one purchase, and have not purchased in a long time (relative to the store’s age)

In between these two extremes are groups of customers on a gradation of value and engagement. The broad goal of the RFM matrix is to push customers to the upper right of the graph, as represented above.

### How to use RFM

A store’s 1-1-1’s and 5-5-5’s for R-F-M are the most valuable and least valuable customers. Still, the most effective application of R-F-M usually comes with a combination of categories.&#x20;

For example, a 1-3-3 is a very recent customer who spent in the store’s middle statistical range and spent an average amount of money.&#x20;

You might label this customer as a “potential rising star” and plan their marketing engagements accordingly. A 2-1-2 is a high-frequency customer that could be at risk of slipping into an inactive state. You might label this customer as a “high impact potential risk” and tweak their engagement touches accordingly. The core of R-F-M is that these different groups represent different levels of engagement and realized value.

### How CLR and Purchase Likelihood work

To determine CLR and purchase likelihood, a store’s historical data is modeled and then model parameters are applied to individual users. The model considers classic RFM attributes as well as customer segmentation demographics. Some attributes used in the model include:

- Customer age
- How recently the customer has purchased
- How often the customer has purchased
- Total amount the customer has spent
- Customer engagement in promotional events

A customer’s purchase likelihood and corresponding CLR can change based on their attributes and activity. For instance, if a customer makes a new purchase then their CLR will increase both for their historical value and for what we expect them to spend in the future. New predictions are updated weekly and include both new customers over that time period and updated estimates of existing customers.

### Using CLR for advanced segmentation

Segmentation actions from predictive data should be used at a grouping level. For example, you may want to target all customers who have a predicted repurchase percentage between 65% and 75%. This segment can be further spliced by user attributes, such as geographic location or demographics, and can be combined with RFM analysis to generate detailed segments of your data.

Because an idea of future behavior is built into the statistics, one of the most powerful levers of prediction analysis is that it can be used for evaluating the outcome of retargeting events. For example, imagine a company used the purchase likelihood slice mentioned above (repurchase likelihood between 65% and 75%), held out a portion of the segment to calibrate evaluation, and then ran a retargeting campaign for those customers. At the end of the campaign, they can test whether the initial segments stayed true to their predictions—they were expected to repurchase between 65% and 75%—and then compare those with the group that got the campaign (see caveats below). The delta between these two groups is the efficiency measure of the campaign. Relatedly, the delta between the CLR of the two groups at the end of the campaign is the increase in total expected revenue and can be compared to the cost of the campaign to calculate ROI.

### How the models are evaluated

Evaluation of the accuracy of the predictive models is achieved using an out of sample strategy where we hold out a certain portion of the data, make predictions using the training data, and then evaluate how accurate our models were in predicting the evaluation period.

For example, a customer level view of our training and evaluation data is in the graph below.

**Model Evaluation: Customer First and Subsequent Purchases**

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-_HcugGjs8Y-Cw8gbh5-QQ-20250312-143533.png "The x-axis shows time, the dots on the left show the first transaction date for any customer, and a subsequent dot shows the repeat purchase activity for any customer who does purchase again. Training Period data is used to train statistical models, and the holdout period (on the right) is used to evaluate how well the model performs.")

The graph above represents how we use historical data to train models to predict the future purchases.

### Caveats

It is important to note that our models—like all statistical models—cannot perfectly predict the future. Many variables are beyond the control of any store, e.g., macroeconomic influences and ever-changing customer preferences. There are also variables within a store’s control—changes in marketing spend, promotion, price changes, product catalog changes—that Chord has no knowledge of and, therefore, cannot account for in its models.

However, our models use stores’ historical variation to make predictions capturing trends in customer behavior. Batches run at regular intervals to keep predictions fresh and leverage as much data as we have access to deliver the most accurate predictions possible.

### How to find and use CLR metrics

![]()

1. Login to Chord and navigate to **Analytics**.
2. Click on **Explores**.
3. Within the **Users Explore**, navigate to the **User Predictions \[BETA]** to use RFM and CLR metrics for your analysis.&#x20;

### Frequently Asked Questions

**Q: How often is this refreshed / how up to date are the predictions?**

A: Predictions are updated weekly and include both new customers over that time period and updated estimates of existing customers

**Q: How far out are the predictions cast?**

A: Two years

**Q: Is the predicted revenue gross or net?**

A: Our predictions use net revenue.

**Q: Can I filter out / normalize customer lifetime revenue? If we had an initial launch sale or a big holiday promotion, I’d like to exclude those transactions and users from the data set because they’ll skew the averages.**

A: There are no easy controls available for this right now, but Looker’s baked-in filters allow for lots of customization by filtering on date, repeat purchase vs. first-time purchase, promo code applied, etc.

**Q: Is there a glossary for reference?**

A: Check out our [CLR and RFM data table legend](https://app.archbee.com/doc/XzU-KFlDMlty4bseZIAiN/3QtswyzpzkDnu_3-A1nl8)

[title] Braze (Cloud Mode)
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/Untitled/

# Introduction

Braze is a customer engagement platform that helps brands deliver personalized, real-time messaging across channels like email, push notifications, SMS, and in-app messages. It connects user behavior data with messaging tools, enabling marketers to create targeted, automated campaigns that drive retention, conversion, and loyalty—all from a single platform.

# Getting started

You will need the Braze API key to connect this destination. You can find the correct API key under Developer Console in the Braze Dashboard.&#x20;

# Connecting to the Braze (Device Mode) CDP destination

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **Braze&#x20;**&#x66;rom the destination catalog.
5. Enter in the destination name and the **Braze API key**.&#x20;
6. Click **"Create"&#x20;**&#x74;o connect.

:::hint{type="danger"}
Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are *disabled.*
**
Running external destinations alongside configured Chord CDP destinations ***can result in duplicate events downstream.&#x20;***
:::


[title] Get started with Chord CDP
[path] Chord CDP/

# Overview

Getting started with Chord CDP is seamless. In the sections below, we'll guide you through the following:

- Understanding the CDP onboarding process
- Connecting a destination and viewing event streams

# Chord CDP onboarding

All new Chord customers **after January 2025** will be able to leverage Chord CDP upon signing up for the Chord platform. No additional work beyond the initial implementation period will be required from your team.

Legacy Chord customers **prior to January 2025** who are eligible to use Chord CDP will be migrated to the CDP by our implementation team. The Chord team will work with your development team to replace the existing CDP snippet with a Chord CDP snippet and work with you to understand any impacts to how you are currently handling consent management.

# CDP overview

Chord brands will be able to manage their CDP sources and destinations through the CDP page on the Chord data and analytics platform.

With Chord CDP, you will be able to take the following actions:

- View all connected sources and destinations that were set up during initial implementation.
- View event streams for incoming and destination events for event monitoring.
- Add additional destinations using the Chord destination catalog (**admin users only**).
- Edit or delete connected destinations (**admin users only**).

## Connecting a destination

The Chord CDP [destinations catalog](https://docs.chord.co/cdp-destination-catalog) has a number of key destinations that you can connect to, including (but not limited to):&#x20;

- Attentive
- Braze
- Facebook Conversions API
- GA4&#x20;
- GA4 (device mode)
- Klaviyo

:::hint{type="info"}
Note: We will continually add additional destinations to the catalog. Is your desired destination not in our CDP catalog? Send us a note and we’ll consider adding it to our catalog!
:::

See more information about CDP Destinations [here](https://docs.chord.co/cdp-destinations).&#x20;

To add destinations, admin-level users can take the following steps to set up destinations via our [destination catalog](https://docs.chord.co/cdp-destination-catalog):

1. On the CDP overview page, click the “**Add”** button on the right.
2. You will be taken to the destinations catalog. Scroll to view the destination options in the catalog and select the destination you’d like to connect.
3. Complete the destination connection steps as provided on the screen. Click “**Create**” to complete your destination set up.

## Event stream monitoring

You can easily view all incoming and destination events through our CDP.

### Incoming events

To view all incoming events (tracked events from both your storefront and checkout), click on the **Incoming Events** tab.

The following filters can be applied to view specific events:

- **Sites**: If you have multiple source connectors, you can select to view events from a specific source connector.
- **Status:** Can see all events or filter and see events with errors.
- **Start and End Date:** Can view specific incoming events over a certain timeframe by using these filters.

### Destination events

To view all destination events (events that are getting sent to specific connected destinations), click on the **Destination Events** tab.

The following filters can be applied to view specific events:

- **Connection:** Select a specific destination event stream you’d like to view.
- **Status:** Can see all events or filter and see events with errors.
- **Mode:** Can filter by Batch or Stream options.
- **Start and End Date:** Can view specific destination events over a certain timeframe by using these filters.

# Troubleshooting and FAQs

- **Question: Will there be significant differences in tracked events with Chord CDP?**
  - There will be no differences in tracked events. The events API will remain exactly the same.
- **Question: Will there be any differences in user identification or how Chord unifies customer profiles given Chord CDP?**
  - There will be no differences in user identification or user stitching processes on the Chord side, as this is all handled by our data modeling layer which is unchanged.


[title] CDP Destination Catalog
[path] Chord CDP/CDP Destinations/

# Device destinations

::::LinkArray{contentSource="CUSTOM" customOrder="R4OKP4ffx1pNDT-ZwwPMG,ykuQMuPYW8PblgAreH5IH,jVNF8w1pP-PKfwfKINCqq,rPexaM_8wFKGNMzOcsPkw,D-RKZ03ASKFuIEwrpEO0F,ST5yB093YlPRC-JQREqTu,x5gf1fKT6Y-c6A_WHpAFV,HuGHwsvLWpjDafq3khdIH,8MYKM1vxrVYG7x0V7ShqA,FxmnHFvqPuo4chfgYucaw,Ri3yWjZz0EX__cbER1Mmv,5_QyVzBuGCGba6AZVU-5H,n4uhWoDevZc6ILiSmz1pE,lntZ-JXJ5LGgoa8ZtqJxE,SjTe0dO6KP5XRxDrLSqT5,qYma637j_lTx56RT7tw7E,s_sDV-V_FTkAsd5uDra3U,n5NCS7h7P-0siZKjUAuEU"}
:::LinkArrayItem{headerType="COLOR" headerColor="#BBF7D0"}
[AWIN Pixel](https://docs.chord.co/awin-pixel) (formerly ShareASale)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#2166AE"}
[Bing Ads (UET Tag)](https://docs.chord.co/bing-ads-uet-tag)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#FEF08A"}
[Braze (Device Mode)](https://docs.chord.co/braze-device-mode)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#4283c7"}
[Facebook Pixel](https://docs.chord.co/taVg-facebook-pixel)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#C2410C"}
[Google Ads (Gtag)](https://docs.chord.co/google-ads-gtag)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#F97316"}
[Google Analytics 4 (GA4) (Device Mode)](https://docs.chord.co/google-analytics-4-device-mode)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#15803D"}
[Google Tag Manager](https://docs.chord.co/google-tag-manager)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#14B8A6"}
[MNTN Conversions Pixel (Server-Side)](docId\:oeKn-iJzS28Zoh2nItI6l)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#EAB308"}
[MNTN Tracking Pixel (Web Pixel)](docId\:yf_xZW39g5pSAu1Jw5U9_)
:::

:::LinkArrayItem{headerType="COLOR"}
[ShopMy](https://docs.chord.co/shopmy)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#B91C1C"}
[Pinterest Tag](https://docs.chord.co/pinterest-tag)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#2166AE"}
[Tag](https://docs.chord.co/tag)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#c69f26"}
[Snap Pixel](https://docs.chord.co/snap-pixel)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#FEF08A"}
[TikTok Pixel](https://docs.chord.co/tiktok-pixel)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#0F766E"}
[The Trade Desk](docId:9YFdZUyypJU4EPpFLQiH7)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#4338CA"}
[Triple Whale](https://docs.chord.co/triple-whale)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#4283c7"}
[Twitter Ads](https://docs.chord.co/twitter-ads)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#CA8A04"}
[Yahoo Pixel](docId:91Cwg330CzifsMuUed_WP)
:::
::::

# E-mail / SMS marketing tools

::::LinkArray{contentSource="CUSTOM"}
:::LinkArrayItem{headerType="COLOR" headerColor="#EAB308"}
[Attentive](https://docs.chord.co/attentive)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#EC4899"}
[Klaviyo](https://docs.chord.co/aI8D-klaviyo)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#A855F7"}
[Iterable](https://docs.chord.co/iterable)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#822626"}
[Contentsquare (Hotjar)](https://docs.chord.co/contentsquare-hotjar)
:::
::::

# Customer experience

::::LinkArray{contentSource="CUSTOM"}
:::LinkArrayItem{headerType="COLOR" headerColor="#4F73FA"}
[Delighted](https://docs.chord.co/delighted)
:::
::::

# Product analytics

::::LinkArray{contentSource="CUSTOM" customOrder="UzWNv5fyq7lhqppkUL2hQ,ONISEiwIW5wCeHCdFJZ4S,MDbrzw5P_2C9tbGp9xyTN,4EreGIYuzhew8ffMWr1LY,pT_QAFb-IvPKKXHedSvB3,AMEnk3v894Ek_EhBwBX4e,Y7Nwc5CsoSv6DMWLEVu5F,Wg1petbnBYhV9yGqxAZI0,5oeldhFG7FPdOIGcElU5-,lZGxbAm3qRWfp8Na5Mbl_"}
:::LinkArrayItem{headerType="COLOR" headerColor="#020033"}
[Algolia](https://docs.chord.co/algolia)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#2166AE"}
[Amplitude](docId\:pICB7I_HAiKft2UvXtlpl)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#FEF08A"}
[Braze](https://docs.chord.co/braze)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#A5F3FC"}
[Facebook Conversions API](https://docs.chord.co/facebook-conversions-api)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#EF4444"}
[Google Analytics 4 (Measurement Protocol)](https://docs.chord.co/google-analytics-4-measurement-protocol)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#EC4899"}
[Pinterest Conversions](https://docs.chord.co/pinterest-conversions)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#4283c7"}
[Microsoft CAPI](docId\:NfPi24WyuJZmrVwZL4-j-)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#BBF7D0"}
[PostHog](https://docs.chord.co/posthog)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#6366F1"}
[Snapchat Conversions API](https://docs.chord.co/snapchat-conversions-api)
:::

:::LinkArrayItem{headerType="COLOR" headerColor="#CA8A04"}
[TikTok Conversions](https://docs.chord.co/tiktok-conversions)
:::
::::

:::hint{type="warning"}
***Do not see the Chord  CDP Destination you are looking for?***

Please reach out to `help@chord.co` to request to add a destination to the Chord CDP catalog!
:::


[title] Building Cart Abandonment Audiences with the Product Abandoned Explore
[path] Chord Data Platform/Analytics Features/

# Building Cart Abandonment audiences with the product abandoned Explore

This guide explains how to use the Products Abandoned Explore to build targeted abandonment audiences.

## Explore overview

The **Products Abandoned** Explore tracks user sessions from the last 72 hours and provides:

- Session activity metrics (products viewed, added to cart, checkout started, orders completed)
- Ranked product lists (top 6 viewed and top 6 added products per user)
- User identification (email, anonymous ID, CDP User ID)
- Backend order validation via OMS data

## Audience segmentation

The Explore supports three types of abandonment audiences based on how far users progressed in the funnel:

| Audience Type            | Description                                          | Key Filters                                                              |
| ------------------------ | ---------------------------------------------------- | ------------------------------------------------------------------------ |
| **Browse Abandonment**   | Users who viewed products                            | Session Product Viewed Count > 0                                         |
| **Cart Abandonment**     | Users who added to cart                              | Session Product Added Count > 0                                          |
| **Checkout Abandonment** | Users who started checkout but didn't complete order | Session Checkout Started Count > 0 AND Session Order Completed Count = 0 |

## Building an audience: Filter configuration

### Cart abandonment filters

| Field                          | Operator             | Value       | Purpose                                       |
| ------------------------------ | -------------------- | ----------- | --------------------------------------------- |
| Session Product Added Count    | >                    | 0           | Added at least one product to cart            |
| Session Checkout Started Count | >                    | 0           | User Started checkout                         |
| Email or User ID               | is not null          | -           | Identifiable users only                       |
| Session End Time               | is before            | X hours ago | Session has ended (cooldown period)           |
| Last Order Completed Time      | is null OR is before | X days ago  | Exclude recent purchasers (backend OMS check) |

## Key fields reference

### Session activity fields

- **Session Product Viewed Count**: Total product views in the session
- **Session Product Added Count**: Products added to cart in the session
- **Session Cart Viewed Count**: Times cart was viewed in the session
- **Session Checkout Started Count**: Checkout initiations in the session
- **Session Order Completed Count**: Orders completed in the session (frontend events)

### Product fields

- **Viewed Product 1-6**: Top 6 most viewed products (ranked by view count)
- **Added Product 1-6**: Top 6 most added products (ranked by add-to-cart count)

### Time fields

- **Session Start Time**: When the session began
- **Session End Time**: When the session ended (30+ min of inactivity or 3 hours total duration)
- **Last Order Completed Time**: Most recent backend order completion timestamp

### Identification fields

- **Email**: User's email address
- **Anonymous ID**: Browser anonymous identifier
- **CDP User ID**: Unique user identifier from the CDP

## Best practices

1. **Always filter for identifiable users** - Include Email or User ID is not null to ensure you can reach the audience
2. **Use Session End Time for cooldown** - Filter Session End Time is before X hours ago to give users time to return on their own before targeting
3. **Check Last Order Completed Time** - This field checks backend OMS events to see when a user last completed any order. Use is null OR is before X days ago to:&#x20;
   - Include users who have never purchased (is null)
   - Include users whose last purchase was long enough ago to re-engage (is before X days ago)
   - Exclude very recent purchasers who may have completed via a different session
4. **Differentiate Cart vs Checkout abandonment** - The key differentiator is Session Checkout Started Count:&#x20;
   - \= 0 means they abandoned at the cart stage
   - \> 0 means they started checkout but abandoned
5. **Use product fields for personalization** - Include Viewed Product 1-6 or Added Product 1-6 in your export to personalize abandonment emails with the actual products
6. **Join with OMS Users** - For additional user context, join with the OMS Users Explore to access customer lifetime value, order history, and other profile data

## Example: Cart Abandonment Flow

Cart Abandonment flow:

1. **Trigger**: User adds product to cart but doesn't complete checkout within 2 hours
2. **Audience Filters**:&#x20;
   - Session Product Added Count > 0
   - Session Order Completed Count = 0
   - Email is not null
   - Session End Time is before 2 hours ago
   - Last Order Completed Time is null OR is before 30 days ago
3. **Personalization**: Include Added Product 1-3 for product recommendations in the email
4. **Exclusions**: Recent purchasers (via Last Order Completed Time filter)


[title] Google Analytics 4 (Device Mode)
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

Google Analytics 4 (GA4) is a web and app analytics tool that tracks user behavior across digital properties. The platform enables event-based tracking, cross-platform insights, and predictive metrics to help organizations understand and optimize customer journeys.

# Getting Started

This is a device mode destination requiring the Measurement ID from your Google Analytics property. To locate this identifier, refer to [Google's support documentation](https://support.google.com/analytics/answer/9539598?hl=en).

# Connecting to the Google Analytics 4 (Device Mode) CDP destination

:::BlockQuote
**Warning:** Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are **disabled**. Running external destinations alongside configured Chord CDP destinations **can result in duplicate events downstream.**
:::

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **Google Analytics 4** from the destination catalog.
5. Enter the destination name and **Measurement ID**.
6. Click **"Create"** to connect.

# Event Mapping

Not all Chord Tracking events are used downstream in your configured destinations. The most relevant and important events in the Chord tracking plan are mapped within the CDP destination, relayed and then ingested in the destination.

# Supported Events

| Chord Tracking Event      | GA4 Event                 |
| ------------------------- | ------------------------- |
| Cart Viewed               | `view_cart`               |
| Checkout Started          | `begin_checkout`          |
| Custom Events             | snake\_case name (direct) |
| Generate Lead             | `generate_lead`           |
| Order Completed           | `purchase`                |
| Order Refunded            | `refund`                  |
| Page                      | `page_view`               |
| Payment Info Entered      | `add_payment_info`        |
| Product Added             | `add_to_cart`             |
| Product Added to Wishlist | `add_to_wishlist`         |
| Product Clicked           | `select_item`             |
| Product List Viewed       | `view_item_list`          |
| Product Removed           | `remove_from_cart`        |
| Product Viewed            | `view_item`               |
| Products Searched         | `search`                  |
| Promotion Clicked         | `select_promotion`        |
| Promotion Viewed          | `view_promotion`          |
| Signed In                 | `login`                   |
| Signed Up                 | `sign_up`                 |

# Event Attributes

# Order Completed (`purchase`)

| GA4 Attribute    | Chord Source (in priority order)                                            | Notes                                     |
| ---------------- | --------------------------------------------------------------------------- | ----------------------------------------- |
| `transaction_id` | `properties.order_id` / `properties.orderId`                                | Order identifier                          |
| `value`          | `properties.total` > `properties.revenue`                                   | Conversion value                          |
| `currency`       | `properties.currency` > `properties.meta.i18n.currency` > `"USD"` (default) |                                           |
| `coupon`         | `properties.coupon`                                                         | Coupon code; omitted if not present       |
| `shipping`       | `properties.shipping`                                                       | Shipping cost; omitted if not present     |
| `tax`            | `properties.tax`                                                            | Tax amount; omitted if not present        |
| `discount`       | `properties.discount`                                                       | Discount amount; omitted if not present   |
| `affiliation`    | `properties.affiliation`                                                    | Store affiliation; omitted if not present |
| `items`          | `properties.products[]`                                                     | Array of product items (see below)        |

# Product Added (`add_to_cart`)

| GA4 Attribute | Chord Source (in priority order)                                            | Notes                                   |
| ------------- | --------------------------------------------------------------------------- | --------------------------------------- |
| `value`       | `properties.value` > `properties.total` > `properties.revenue`              | Conversion value                        |
| `currency`    | `properties.currency` > `properties.meta.i18n.currency` > `"USD"` (default) |                                         |
| `discount`    | `properties.discount`                                                       | Discount amount; omitted if not present |
| `items`       | `properties.products[]`                                                     | Array of product items (see below)      |

# Checkout Started (`begin_checkout`)

| GA4 Attribute | Chord Source (in priority order)                                            | Notes                               |
| ------------- | --------------------------------------------------------------------------- | ----------------------------------- |
| `value`       | `properties.value` > `properties.total` > `properties.revenue`              | Conversion value                    |
| `currency`    | `properties.currency` > `properties.meta.i18n.currency` > `"USD"` (default) |                                     |
| `coupon`      | `properties.coupon`                                                         | Coupon code; omitted if not present |
| `items`       | `properties.products[]`                                                     | Array of product items (see below)  |

# Order Refunded (`refund`)

| GA4 Attribute    | Chord Source (in priority order)                                            | Notes            |
| ---------------- | --------------------------------------------------------------------------- | ---------------- |
| `transaction_id` | `properties.order_id` / `properties.orderId`                                | Order identifier |
| `value`          | `properties.total` > `properties.revenue`                                   | Refund value     |
| `currency`       | `properties.currency` > `properties.meta.i18n.currency` > `"USD"` (default) |                  |
| `coupon`         | `properties.coupon`                                                         |                  |
| `shipping`       | `properties.shipping`                                                       |                  |
| `tax`            | `properties.tax`                                                            |                  |
| `affiliation`    | `properties.affiliation`                                                    |                  |
| `items`          | `properties.products[]`                                                     |                  |

# Product Viewed (`view_item`), Cart Viewed (`view_cart`), Product Removed (`remove_from_cart`), Product Added to Wishlist (`add_to_wishlist`)

| GA4 Attribute | Chord Source (in priority order)                                            | Notes |
| ------------- | --------------------------------------------------------------------------- | ----- |
| `value`       | `properties.value` > `properties.total` > `properties.revenue`              |       |
| `currency`    | `properties.currency` > `properties.meta.i18n.currency` > `"USD"` (default) |       |
| `items`       | `properties.products[]`                                                     |       |

# Payment Info Entered (`add_payment_info`)

| GA4 Attribute  | Chord Source (in priority order)                                            | Notes |
| -------------- | --------------------------------------------------------------------------- | ----- |
| `value`        | `properties.value` > `properties.total` > `properties.revenue`              |       |
| `currency`     | `properties.currency` > `properties.meta.i18n.currency` > `"USD"` (default) |       |
| `coupon`       | `properties.coupon`                                                         |       |
| `payment_type` | `properties.payment_method`                                                 |       |
| `items`        | `properties.products[]`                                                     |       |

# Products Searched (`search`)

| GA4 Attribute | Chord Source       | Notes |
| ------------- | ------------------ | ----- |
| `search_term` | `properties.query` |       |

# Signed In (`login`) / Signed Up (`sign_up`)

| GA4 Attribute | Chord Source                            | Notes |
| ------------- | --------------------------------------- | ----- |
| `method`      | `properties.type` > `properties.method` |       |

# Product Item Attributes

Each item in the `items` array contains:

| GA4 Item Attribute | Chord Source                    | Notes            |
| ------------------ | ------------------------------- | ---------------- |
| `item_id`          | product `id`                    | Required         |
| `item_name`        | product `name`                  | Required         |
| `item_brand`       | product `brand`                 |                  |
| `item_category`    | product `category`              |                  |
| `item_variant`     | product `variant`               |                  |
| `price`            | product `price`                 |                  |
| `quantity`         | product `quantity`              |                  |
| `coupon`           | product `coupon`                |                  |
| `discount`         | product `discount`              |                  |
| `affiliation`      | product `affiliation`           |                  |
| `index`            | product `position`              |                  |
| `currency`         | Inherited from order `currency` | Set on each item |

# Identify

Identify events set GA4 user properties from `context.traits`. Reserved properties (`first_open_time`, `first_visit_time`, `last_deep_link_referrer`, `user_id`, `first_open_after_install`) and properties prefixed with `google_`, `ga_`, or `firebase_` are excluded.

# CSP Requirements

If your site uses a Content Security Policy, allow the following domains:

| Directive     | Domain                                                                 |
| ------------- | ---------------------------------------------------------------------- |
| `script-src`  | `https://www.googletagmanager.com`                                     |
| `connect-src` | `https://www.googletagmanager.com`, `https://www.google-analytics.com` |

***

**Updated 09 Mar 2026**

[title] Facebook Conversions API Diagnostic Guide
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/Facebook (Meta) CAPI/

If you're experiencing issues with your Facebook Conversions API (CAPI) destination, this guide will walk you through common problems and how to resolve them. Each flow below addresses a specific issue with step-by-step troubleshooting instructions.

## Events not appearing in events manager

**Symptoms:**

- Expected server events (like `Purchase`) are not visible in Meta Events Manager.
- You’ve recently configured CAPI but see no activity.

**How to troubleshoot:**

1. Confirm the CAPI destination is created in Chord CDP and has an active connection with a back end source.&#x20;
   1. Verify the Pixel ID and Access Token values for the destination correspond with the values listed in your Meta Business/Events Manager account
2. Go to Meta’s **Test Events tool** and trigger a known action.
3. Look for **HTTP 200 responses** and verify no errors like:&#x20;
   - `401 Unauthorized` → Invalid token or app config
   - `400 Bad Request `→ Missing or incomplete payload
4. Retry with a minimal payload (just `event_name`, `event_time`, and `user_data`) to isolate the issue.

## Duplicate events or overcounting

**Symptoms:**

- Conversion counts appear inflated in Meta Ads Manager.
- Same action appears twice under “Received Events.”

**How to troubleshoot:**

1. Check whether **Pixel and CAPI are both firing** the same event.
2. Confirm the `event_id` field is included in both and matches exactly.
3. Visit Meta Events Manager → **Diagnostics tab** to see any deduplication warnings.
4. Use the **Test Events tool** and look for a single deduplicated instance of the event.

## Low match rate or inaccurate attribution

**Symptoms:**

- Meta Ads Manager reports poor attribution for key campaigns.
- Low conversion match rates despite CAPI being enabled.

**How to troubleshoot:**

1. Confirm that `user_data `includes identifiers like:&#x20;
   - `fbc `/ `fbp`
   - Array of hashed external\_ids including Anonymous ID and User ID
   - Hashed email (`em`)
   - Hashed Phone (`ph`)
   - Hashed zip code (`zp`)
   - Hashed country (`ct`)
   - Hashed first name (`fn`)
   - Hashed last name (`ln`)
2. Turn on **Advanced Matching** in the Meta Pixel settings.
3. Optionally, A/B test campaigns with vs. without CAPI enabled to evaluate impact.

## Best practices recap

| **Recommendation**       | **Why It Helps**                      |
| ------------------------ | ------------------------------------- |
| Use CAPI + Pixel         | Covers blind spots, improves accuracy |
| Use matching `event_id`  | Prevents overcounting                 |
| Include full `user_data` | Boosts attribution match rates        |
| Monitor Diagnostics tab  | Flags misconfigurations               |
| Test frequently          | Verifies end-to-end setup             |


[title] Pinterest Conversions
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

The **Pinterest Conversions API** destination sends event data directly from Chord CDP to Pinterest's servers, bypassing the browser entirely. Unlike the [Pinterest Tag (device mode)](), server-side events are immune to ad blockers and browser tracking restrictions, providing more reliable signal for campaign measurement, audience building, and automated bidding optimization.

Use this destination alongside the [Pinterest Tag destination]() for maximum data coverage. Pinterest deduplicates events using the `event_id` field.

# Getting Started

This is a cloud-mode destination. You will need:

- **Ad Account ID** — your Pinterest Ads account ID, found in your Pinterest Ads dashboard URL or under **Ads > Account settings**.
- **Conversion Token** — a conversion access token generated in **Pinterest Ads > Conversions**. See [Pinterest's documentation](https://developers.pinterest.com/docs/conversions/conversions/) for instructions on creating a server-side access token.
- **App Name** — a name identifying your application or integration (e.g. `"my-storefront"`). Used as the `partner_name` in the event payload.

# Connecting to the Pinterest Conversions API CDP Destination

:::BlockQuote
**Warning:** Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are **disabled**. Running external destinations alongside configured Chord CDP destinations **can result in duplicate events downstream.**
:::

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **Pinterest Conversions API** from the destination catalog.
5. Enter the destination name, **Ad Account ID**, **Conversion Token**, and **App Name**.
6. Click **"Create"** to connect.

# Events

# Event Mapping

| Chord Event                 | Pinterest Event               |
| --------------------------- | ----------------------------- |
| `page`                      | `PageVisit`                   |
| `Order Completed`           | `checkout`                    |
| `Checkout Started`          | `InitiateCheckout`            |
| `Product Added`             | `AddToCart`                   |
| `Product Viewed`            | `ViewContent`                 |
| `Products Searched`         | `Search`                      |
| `Product Added to Wishlist` | `AddToWishlist`               |
| *(other track events)*      | Chord event name passed as-is |

Page, track, and screen events are forwarded. Identify events are ignored.

# User Data (All Events)

All personally identifiable information (PII) is sent to Pinterest as raw values; Pinterest's API hashes them server-side according to its data processing requirements. Fields that cannot be resolved are omitted.

| Pinterest Field     | Chord Source (Priority Order)                                         | Notes                                      |
| ------------------- | --------------------------------------------------------------------- | ------------------------------------------ |
| `email`             | `properties.email` > `context.traits.email`                           | Array; omitted if not present              |
| `phone`             | `properties.phone` > `context.traits.phone`                           | Array; omitted if not present              |
| `first_name`        | `properties.first_name` > `context.traits.firstName`                  | Array; omitted if not present              |
| `last_name`         | `properties.last_name` > `context.traits.lastName`                    | Array; omitted if not present              |
| `city`              | `context.traits.address.city` > `properties.address.city`             | Array; omitted if not present              |
| `state`             | `context.traits.address.state` > `properties.address.state`           | Array; omitted if not present              |
| `zip`               | `context.traits.address.postalCode` > `properties.address.postalCode` | Array; omitted if not present              |
| `country`           | `context.traits.address.country` > `properties.address.country`       | Array; omitted if not present              |
| `external_id`       | `userId` > `anonymousId`                                              | Array; omitted if neither is present       |
| `client_ip_address` | `context.ip`                                                          | Not hashed                                 |
| `client_user_agent` | `context.userAgent`                                                   | Defaults to `"Mozilla/5.0"` if not present |
| `click_id`          | `epik` query parameter from `context.page.url`                        | Pinterest click ID                         |
| `partner_id`        | `properties.partner_id` > `context.campaign.name`                     |                                            |

# Custom Data (Track Events)

Track events include a `custom_data` block with the following structured schema fields. Additionally, any `properties.*` destination mappings configured in Hub that target non-schema fields are forwarded as custom properties alongside the structured fields.

| Pinterest Field | Chord Source (Priority Order)                                                                              | Notes                                    |
| --------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------- |
| `value`         | `properties.value` > `properties.price` > `properties.revenue` > sum of `price × quantity` across products | String; omitted if not resolvable        |
| `currency`      | `properties.currency` > `properties.meta.i18n.currency`                                                    | Defaults to `"USD"`                      |
| `order_id`      | `properties.order_id` > `properties.cart_id`                                                               |                                          |
| `content_ids`   | Product IDs from `properties.products[]` or `properties.product_id` / `properties.sku`                     | Falls back to page title for page events |
| `contents`      | Array of `{ id, item_price, quantity, item_name, item_category, item_brand }` per product                  | Omitted if no products                   |
| `num_items`     | `properties.quantity` > sum of quantities across `properties.products[]`                                   |                                          |
| `search_string` | `properties.query` > `properties.search_term`                                                              | Relevant for Products Searched           |

# Custom Property Forwarding

Configure destination mappings in Hub with `properties.*` destination paths to forward additional event properties into `custom_data`. Only explicitly-configured non-schema fields are forwarded — nothing flows through automatically.

**How to configure:**

1. Open the destination's **Mappings** tab in Hub.
2. Add a mapping with source path `properties.loyalty_tier` and destination path `properties.loyalty_tier`.
3. On the next event, `custom_data.loyalty_tier` will appear in the payload sent to Pinterest.

**What is excluded:**

- Schema fields already handled by the destination transform (e.g. `currency`, `value`, `order_id`, `content_ids`, `contents`) — these flow through the structured transform
- PII fields (`email`, `phone`, `first_name`, `last_name`) — these are handled via `user_data`

When a custom mapping targets a schema field (e.g. `properties.value → properties.value`), the customer-configured value overrides the destination's computed default. This allows schema fields to be sourced from a different event property — for example, mapping `properties.total → properties.value` to use your order total as the conversion value.

# Testing and Validation

After connecting the destination:

1. Trigger events from your storefront or use the **Live Events** tab in the Chord CDP to confirm events are flowing.
2. In Pinterest Ads Manager, navigate to **Ads > Conversions** and open your conversion tag to verify events are received.
3. Confirm revenue values and order counts align with your expectations.
4. If you are running both the Conversions API and the Pinterest Tag, ensure `event_id` values match across both to prevent duplicate counting. Chord CDP handles this automatically by using `messageId` as the `event_id` for both destinations.

***

**Updated 27 May 2026**

[title] Using Quickstarts
[path] Chord Data Platform/Analytics Features/

# Introduction

Ready to hit the ground running? Our Quickstarts are designed to take the guesswork out of your analytics reporting setup, so you can focus on what really matters—growing your business. Whether you're setting up a recurring report or organizing data for deep analysis, these templates get you from zero to launch in no time.

# Feature overview

::loom[]{url="https://www.loom.com/embed/42a4d8def942440eb7bd8fcac5ecb3db?sid=0dc6bae4-d552-4a1a-a684-86a0115bfff6"}

# Getting started

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-R6Y5oWknC0X11piAQyFx8-20241022-150130.png)

1. Navigate to the **Analytics** page on the Chord platform.
2. Locate the **Quickstarts** tab.
3. Search, browse, and filter Chord’s quickstart library for a dashboard or Look (explore).
4. Select any dashboard or Look (explore) to copy into **My Folder**.
5. You’re now ready to create and build your custom dashboard or Look!

# Troubleshooting and FAQs

- **What are the different categories I can search?**
  - You can search for different quickstarts in the following categories:
    - Customer
    - E-Commerce
    - Marketing
    - Product
    - Sales
- **How can I tell what type of quickstart I am looking at on this page?**

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-Y04pbehtcB2vVcp7Kj4vT-20241018-144855.png "Example quickstart tile.")

- Take the following example tile:

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-yy3URvO0fdRkeBRQbFPRZ-20241018-145019.png "Sample tile description.")

- The icon on the left indicates that this is a dashboard quickstart template. If this were a Look template, the icon would change to this bar icon:&#x20;

::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-4G128p1D5m6wkyF-Mq4tM-20241018-145109.png" size="10" width="55" height="53" position="center" darkWidth="55" darkHeight="53" showCaption="false"}


[title] Messaging Segments
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Shopify/

| Name                  | Description                                                                                                                                                                                   |
| --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Total Subscribers     | Shows the total number of subscribers. For completed periods, this is the value at the end of the period. For the current, in-progress period, this is the value as of the last complete day. |
| Average Profile Count | The average number of profiles (subscribers) in the Klaviyo segment at the time the data was loaded. This column is used to track the growth or decline of the segment over time.             |
| Profile Count         | The total number of profiles (subscribers) in the Klaviyo segment at the time the data was loaded. This column is used to track the growth or decline of the segment over time.               |
| Segment Id            | The unique identifier for a segment within Klaviyo. This is the primary key for a segment as provided by the Klaviyo API.                                                                     |
| Segment Name          | The user-defined name of the Klaviyo segment.                                                                                                                                                 |
| Segment Created At    | The timestamp indicating when the segment was originally created in Klaviyo.                                                                                                                  |
| Segment Updated At    | The timestamp indicating when the segment was last updated in Klaviyo.                                                                                                                        |
| Subscribers Date      | The specific date for the segment's historical data.                                                                                                                                          |
| Subscribers Count     | The number of subscribers in the segment for the given date.                                                                                                                                  |


[title] Conversions
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Shopify/

### **x\_fct\_trans\_activities**

| Name                                                  | Description                                                                                                                                                                                                                                                                                                                          |
| ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Activity Event Text                                   | The name of the event.                                                                                                                                                                                                                                                                                                               |
| Activity Event Text Id                                | The slug of the event name, mapping to the page or track event table.                                                                                                                                                                                                                                                                |
| Activity Id                                           | The unique identifier of an activities (i.e. Track or Page event).                                                                                                                                                                                                                                                                   |
| Activity Page Path                                    | The page path part of the URL. A page path is the part of URL that comes after the hostname (domain) and before the query parameters, URL fragment, or port. (e.g. `/pages/contact-us/` for `https://chord.co/pages/contact-us/?ref=internal-banner`.)                                                                               |
| Activity Page Query                                   | The query string portion of the URL of the page.                                                                                                                                                                                                                                                                                     |
| Activity Page Title                                   | The title/name of the page.                                                                                                                                                                                                                                                                                                          |
| Activity Page Url                                     | The URL of the page.                                                                                                                                                                                                                                                                                                                 |
| Activity Session Activity Count                       | Total count of activities, pave views and tracked events within the session.                                                                                                                                                                                                                                                         |
| Activity Session Attribution Channel                  | The attribution channel for the first page event of the session. Sessions with an attribution of 'Unknown' indicates that there is no attributable data for that session.                                                                                                                                                            |
| Activity Session Attribution Channel Paid Or Organic  | Indicates if the session's first page attribution is paid or organic. Attribution is considered Organic if the attribution channel is 'Direct', 'Other', 'Organic Search', 'Organic Social', 'Email', or 'SMS'.                                                                                                                      |
| Activity Session Attribution First Page Url Has Gclid | Indicates if the first page event of the session has a Google Click ID.                                                                                                                                                                                                                                                              |
| Activity Session Attribution First Page Url Has Utm   | Indicates if the first page event of the session has any utm information.                                                                                                                                                                                                                                                            |
| Activity Session Attribution Has Referrer             | Indicates if the first page event of the session has a referrer host.                                                                                                                                                                                                                                                                |
| Activity Session Attribution Medium                   | The campaign medium represented by the UTM tags for the first page event of the session.                                                                                                                                                                                                                                             |
| Activity Session Attribution Source                   | The campaign source represented by the UTM tags for the first page event of the session.                                                                                                                                                                                                                                             |
| Activity Session Attribution Sub Channel              | Sub-Channel is a granular level of attribution.                                                                                                                                                                                                                                                                                      |
| Activity Session Completed Oms Order Ids              | Array of OMS Order IDs associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                        |
| Activity Session Completed Order Ids                  | Array of order IDs associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                            |
| Activity Session Completed Order Numbers              | Array of order numbers associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                        |
| Activity Session Days Since Last Session End          | The days between the last session's end and the start of this session.                                                                                                                                                                                                                                                               |
| Activity Session Device                               | The device on which the event was sent from.                                                                                                                                                                                                                                                                                         |
| Activity Session Device Category                      | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                            |
| Activity Session Duration In Seconds                  | Total seconds between start and end activities within the session.                                                                                                                                                                                                                                                                   |
| Activity Session Duration In Seconds Tiers            | Total seconds between start and end activities within the session, aggregated into tiers: 0-9s, 10-29s, 30-59s, and 60s or more.                                                                                                                                                                                                     |
| Activity Session Has Order Completion                 | Flag for sessions with an order completed or checkout completed front-end events                                                                                                                                                                                                                                                     |
| Activity Session Id                                   | Unique ID for the session.                                                                                                                                                                                                                                                                                                           |
| Activity Session Number                               | Session number per anonymous id.                                                                                                                                                                                                                                                                                                     |
| Activity Session Unique Completed Order Count         | Count of unique order ids associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                     |
| Activity Session Unique Completed Order Number Count  | Count of unique order numbers associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                 |
| Activity Utm Campaign                                 | The campaign name represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Activity Utm Content                                  | The campaign content represented by the UTM tags.                                                                                                                                                                                                                                                                                    |
| Activity Utm Medium                                   | The campaign medium represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Activity Utm Source                                   | The campaign source represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Activity Utm Term                                     | The campaign term represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Activity Website Locale                               | Locale of website. This will either be collected from the url or from the drop-down link on the store                                                                                                                                                                                                                                |
| Anonymous Completed Oms Order Ids                     | Array of OMS Order IDs associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                           |
| Anonymous Completed Order Ids                         | Array of order IDs associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                               |
| Anonymous Completed Order Numbers                     | Array of order numbers associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                           |
| Anonymous Current Blended User Id                     | Unique id derived from the user\_id and the anonymous\_id. Whenever a customer has a user\_id, the user\_anonymous\_id will be constant for                                                                                                                                                                                          |
| Anonymous Current User Id                             | The current user\_id associated with the anonymous\_id. This unique user\_id is created by Segment's Identify call. A user\_id can be associated to many anonymous\_ids.                                                                                                                                                             |
| Anonymous Id                                          | Unique id created by Chord for each anonymous visitor per store.                                                                                                                                                                                                                                                                     |
| Anonymous Segment Anonymous Id                        | Id created by Segment for each anonymous visitor. This id gets created as soon as a customer's browser loads the analytics javascript widget. The anonymous\_id remains unchanged through the entire browsing session from a single device. Depending on configuration, two stores connected stores may have the same anonymous\_id. |
| Anonymous Unique User Ids                             | Array of user IDs mapped to an anonymous ID.                                                                                                                                                                                                                                                                                         |
| Date Day Num Of Year                                  | The number representing the day of the year.                                                                                                                                                                                                                                                                                         |
| Date Id                                               | Unique key that uniquify a date.                                                                                                                                                                                                                                                                                                     |
| Date Month Num Of Year                                | The month number of the year.                                                                                                                                                                                                                                                                                                        |
| Last Seen Page Browser Locale                         | Locale of browser.                                                                                                                                                                                                                                                                                                                   |
| Last Seen Page Device                                 | The device on which the event was sent from.                                                                                                                                                                                                                                                                                         |
| Last Seen Page Device Category                        | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                            |
| Last Seen Page Event Table Name                       | The properly formatted name of the table of the event.                                                                                                                                                                                                                                                                               |
| Last Seen Page Event Text                             | The name of the event.                                                                                                                                                                                                                                                                                                               |
| Last Seen Page Event Text Id                          | The slug of the event name, mapping to the page or track event table.                                                                                                                                                                                                                                                                |
| Last Seen Page Gclid                                  | The Google Click ID. Google Click ID (GCLID) is a parameter passed in the URL with ad clicks, to identify the campaign and other attributes of the click associated with the ad for ad tracking and campaign attribution.                                                                                                            |
| Last Seen Page Id                                     | Unique key generated by Segment for each tracking or page event.                                                                                                                                                                                                                                                                     |
| Last Seen Page Oms Id                                 | Unique key generated by our models that uniquifies an OMS.                                                                                                                                                                                                                                                                           |
| Last Seen Page Host                                   | The host of the event's URL. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                        |
| Last Seen Page Path                                   | The page path part of the URL. A page path is the part of URL that comes after the hostname (domain) and before the query parameters, URL fragment, or port. (e.g. `/pages/contact-us/` for `https://chord.co/pages/contact-us/?ref=internal-banner`.)                                                                               |
| Last Seen Page Query                                  | The query string portion of the URL of the page.                                                                                                                                                                                                                                                                                     |
| Last Seen Page Referrer                               | The referrer of the page. The referrer is the webpage that sends visitors to the site using a link. In                                                                                                                                                                                                                               |
| Last Seen Page Title                                  | The title/name of the page.                                                                                                                                                                                                                                                                                                          |
| Last Seen Page Url                                    | The URL of the page.                                                                                                                                                                                                                                                                                                                 |
| Last Seen Page Referrer Host                          | The host of the referrer. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                           |
| Last Seen Page Segment User Id                        | The unique ID of the user.                                                                                                                                                                                                                                                                                                           |
| Last Seen Page Store Id                               | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Last Seen Page Tenant Id                              | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                              |
| Last Seen Page User Agent                             | The User agent of the device making the request. A User agent request header is a characteristic string that lets servers and                                                                                                                                                                                                        |
| Last Seen Page User Id                                | Unique key generated by Chord to identify the user.                                                                                                                                                                                                                                                                                  |
| Last Seen Page Utm Campaign                           | The campaign name represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Last Seen Page Utm Content                            | The campaign content represented by the UTM tags.                                                                                                                                                                                                                                                                                    |
| Last Seen Page Utm Medium                             | The campaign medium represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Last Seen Page Utm Source                             | The campaign source represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Last Seen Page Utm Term                               | The campaign term represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Last Seen Page Website Locale                         | Locale of website. This will either be collected from the url or from the drop-down link on the store                                                                                                                                                                                                                                |
| Session Landing Page Browser Locale                   | Locale of browser.                                                                                                                                                                                                                                                                                                                   |
| Session Landing Page Device                           | The device on which the event was sent from.                                                                                                                                                                                                                                                                                         |
| Session Landing Page Device Category                  | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                            |
| Session Landing Page Event Table Name                 | The properly formatted name of the table of the event.                                                                                                                                                                                                                                                                               |
| Session Landing Page Event Text                       | The name of the event.                                                                                                                                                                                                                                                                                                               |
| Session Landing Page Event Text Id                    | The slug of the event name, mapping to the page or track event table.                                                                                                                                                                                                                                                                |
| Session Landing Page Gclid                            | The Google Click ID. Google Click ID (GCLID) is a parameter passed in the URL with ad clicks, to identify the campaign and other attributes of the click associated with the ad for ad tracking and campaign attribution.                                                                                                            |
| Session Landing Page Id                               | Unique key generated by Segment for each tracking or page event.                                                                                                                                                                                                                                                                     |
| Session Landing Page Oms Id                           | Unique key generated by our models that uniquifies an OMS.                                                                                                                                                                                                                                                                           |
| Session Landing Page Host                             | The host of the event's URL. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                        |
| Session Landing Page Path                             | The page path part of the URL. A page path is the part of URL that comes after the hostname (domain) and before the query parameters, URL fragment, or port. (e.g. `/pages/contact-us/` for `https://chord.co/pages/contact-us/?ref=internal-banner`.)                                                                               |
| Session Landing Page Query                            | The query string portion of the URL of the page.                                                                                                                                                                                                                                                                                     |
| Session Landing Page Referrer                         | The referrer of the page. The referrer is the webpage that sends visitors to the site using a link. In                                                                                                                                                                                                                               |
| Session Landing Page Title                            | The title/name of the page.                                                                                                                                                                                                                                                                                                          |
| Session Landing Page Url                              | The URL of the page.                                                                                                                                                                                                                                                                                                                 |
| Session Landing Page Referrer Host                    | The host of the referrer. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                           |
| Session Landing Page Segment User Id                  | The unique ID of the user.                                                                                                                                                                                                                                                                                                           |
| Session Landing Page Store Id                         | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Session Landing Page Tenant Id                        | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                              |
| Session Landing Page User Agent                       | The User agent of the device making the request. A User agent request header is a characteristic string that lets servers and                                                                                                                                                                                                        |
| Session Landing Page User Id                          | Unique key generated by Chord to identify the user.                                                                                                                                                                                                                                                                                  |
| Session Landing Page Utm Campaign                     | The campaign name represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Session Landing Page Utm Content                      | The campaign content represented by the UTM tags.                                                                                                                                                                                                                                                                                    |
| Session Landing Page Utm Medium                       | The campaign medium represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Session Landing Page Utm Source                       | The campaign source represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Session Landing Page Utm Term                         | The campaign term represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Session Landing Page Website Locale                   | Locale of website. This will either be collected from the url or from the drop-down link on the store                                                                                                                                                                                                                                |
| Store Id                                              | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Store Name                                            | The name of the store.                                                                                                                                                                                                                                                                                                               |
| Store Oms Admin Url                                   | The Admin URL of that OMS.                                                                                                                                                                                                                                                                                                           |
| Store Oms Id                                          | Unique key generated by Chord that uniquifies an OMS.                                                                                                                                                                                                                                                                                |
| Store Oms Store Id                                    | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Store Oms Type                                        | The type of the OMS.                                                                                                                                                                                                                                                                                                                 |
| Store Id                                              | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Store Tenant Id                                       | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                              |
| Store Url                                             | The Storefront URL of of the store.                                                                                                                                                                                                                                                                                                  |
| User Address 1                                        | The first line of the street address.                                                                                                                                                                                                                                                                                                |
| User Address 2                                        | The optional second line of the address.                                                                                                                                                                                                                                                                                             |
| User Address City                                     | The city of the address.                                                                                                                                                                                                                                                                                                             |
| User Address Country                                  | The country of the address.                                                                                                                                                                                                                                                                                                          |
| User Address Name                                     | The full name of the customer, based on firstName and lastName.                                                                                                                                                                                                                                                                      |
| User Address State                                    | The region of the address, such as the province, state, or district.                                                                                                                                                                                                                                                                 |
| User Address Zip                                      | The postal code of the address.                                                                                                                                                                                                                                                                                                      |
| User Completed Oms Order Ids                          | Array of OMS Order IDs associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                |
| User Completed Order Ids                              | Array of order IDs associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                    |
| User Completed Order Numbers                          | Array of order numbers associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                |
| User Email                                            | The email associated with the user.                                                                                                                                                                                                                                                                                                  |
| User Id                                               | Unique ID per user. It is equal to either 1) a identified\_user\_id as identified by Segment in the Identify call, or 2) an anonynous\_id.                                                                                                                                                                                           |
| User Identified User Id                               | Unique ID per identified user. (See Segment's documentation on user\_id)\[ `https://segment.com/docs/connections/spec/identify/#user-id` ].                                                                                                                                                                                          |
| User Ip                                               | IP address associated with the user.                                                                                                                                                                                                                                                                                                 |
| User Last Anonymous Id                                | Last seen anonymous\_id per user. An anonymous\_id is a unique ID per anonymous visitor. (See Segment's documentation on anonymous\_id)\[ `https://segment.com/docs/connections/spec/identify/#anonymous-id` ].                                                                                                                      |
| User Last Segment Anonymous Id                        | This column is not documented.                                                                                                                                                                                                                                                                                                       |
| User Segment User Id                                  | The unique ID of the user.                                                                                                                                                                                                                                                                                                           |
| User Unique Anonymous Ids                             | Array of all seen anonymous\_ids per user. An anonymous\_id is a unique ID per anonymous visitor. (See Segment's documentation on anonymous\_id)\[ `https://segment.com/docs/connections/spec/identify/#anonymous-id` ].                                                                                                             |
| User Unique Completed Order Count                     | Count of unique order ids associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                             |
| Activity Session End Ts (Universal)                   | Last activity timestamp for a session - Universal Time Zone.                                                                                                                                                                                                                                                                         |
| Activity Session Last Session End Ts (Universal)      | The timestamp of the previous session's end per blended user id, if this is not the user's first session - Universal Time Zone.                                                                                                                                                                                                      |
| Activity Session Last Session Start Ts (Universal)    | The timestamp of the previous session's start per blended user id, if this is not the user's first session - Universal Time Zone.                                                                                                                                                                                                    |
| Activity Session Start Ts (Central)                   | First activity timestamp for a session - Cental Time Zone.                                                                                                                                                                                                                                                                           |
| Activity Session Start Ts (Eastern)                   | First activity timestamp for a session - Eastern Time Zone.                                                                                                                                                                                                                                                                          |
| Activity Session Start Ts (Mountain)                  | First activity timestamp for a session - Mountain Time Zone.                                                                                                                                                                                                                                                                         |
| Activity Session Start Ts (Pacific)                   | First activity timestamp for a session - Pacific Time Zone.                                                                                                                                                                                                                                                                          |
| Activity Session Start Ts (Universal)                 | First activity timestamp for a session - Universal Time Zone.                                                                                                                                                                                                                                                                        |
| Activity Ts (Central)                                 | The timestamp calculated by Segment correcting clock skew - Cental Time Zone.                                                                                                                                                                                                                                                        |
| Activity Ts (Eastern)                                 | The timestamp calculated by Segment correcting clock skew - Eastern Time Zone.                                                                                                                                                                                                                                                       |
| Activity Ts (Mountain)                                | The timestamp calculated by Segment correcting clock skew - Mountain Time Zone.                                                                                                                                                                                                                                                      |
| Activity Ts (Pacific)                                 | The timestamp calculated by Segment correcting clock skew - Pacific Time Zone.                                                                                                                                                                                                                                                       |
| Activity Ts (Universal)                               | The timestamp calculated by Segment correcting clock skew - Universal Time Zone.                                                                                                                                                                                                                                                     |
| Last Seen Page Ts (Universal)                         | The timestamp calculated by Segment correcting clock skew - Universal Time Zone.                                                                                                                                                                                                                                                     |
| Session Landing Page Ts (Universal)                   | The timestamp calculated by Segment correcting clock skew - Universal Time Zone.                                                                                                                                                                                                                                                     |
| User Created At (Universal)                           | The timestamp when the user was created - Universal Time Zone.                                                                                                                                                                                                                                                                       |
| User First Seen At (Universal)                        | The first time the user was seen on the site, identified as either anonymous ID or user ID - Universal Time Zone.                                                                                                                                                                                                                    |

### **x\_fct\_current\_sales\_\_daily**

| Name                          | Description                                                                                                                                                             |
| ----------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Date Day Num Of Year          | The number representing the day of the year.                                                                                                                            |
| Date Id                       | Unique key that uniquify a date.                                                                                                                                        |
| Date Month Num Of Year        | The month number of the year.                                                                                                                                           |
| Store Id                      | Unique key generated by our models that uniquifies a store.                                                                                                             |
| Store Name                    | The name of the store.                                                                                                                                                  |
| Store Oms Admin Url           | The Admin URL of that OMS.                                                                                                                                              |
| Store Oms Id                  | Unique key generated by Chord that uniquifies an OMS.                                                                                                                   |
| Store Oms Store Id            | Unique key generated by our models that uniquifies a store.                                                                                                             |
| Store Oms Type                | The type of the OMS.                                                                                                                                                    |
| Store Id                      | Unique key generated by our models that uniquifies a store.                                                                                                             |
| Store Tenant Id               | Unique key generated by Chord that uniquifies a tenant.                                                                                                                 |
| Store Url                     | The Storefront URL of of the store.                                                                                                                                     |
| Ts (Universal)                | Timestamps representing when the order was completed - Universal Time Zone.                                                                                             |
| Average Completed Order Count | Total count of orders completed per day, according to the orders' latest state. Orders are considered complete if they have been fulfilled.                             |
| Average Created Order Count   | Total count of orders created per day.                                                                                                                                  |
| Average Gross Revenue         | Total gross revenue of orders completed per day. Gross revenue calculated as \`item\_total\` + \`fulfillment\_total\`                                                   |
| Average Gross Sales           |                                                                                                                                                                         |
| Average Net Revenue           | Total gross revenue of orders completed per day. Net revenue of the order calculated as \`item\_total\` + \`fulfillment\_total\` - \`promo\_total\` - \`refund\_total\` |
| Average Placed Gross Revenue  | Total gross revenue of orders placed per day. Gross revenue calculated as \`item\_total\` + \`fulfillment\_total\`                                                      |
| Average Placed Net Revenue    | Total gross revenue of orders placed per day. Net revenue of the order calculated as \`item\_total\` + \`fulfillment\_total\` - \`promo\_total\` - \`refund\_total\`    |
| Completed Order Count         | Total count of orders completed per day, according to the orders' latest state. Orders are considered complete if they have been fulfilled.                             |
| Created Order Count           | Total count of orders created per day.                                                                                                                                  |
| Gross Revenue                 | Total gross revenue of orders completed per day. Gross revenue calculated as \`item\_total\` + \`fulfillment\_total\`                                                   |
| Gross Sales                   |                                                                                                                                                                         |
| Net Revenue                   | Total gross revenue of orders completed per day. Net revenue of the order calculated as \`item\_total\` + \`fulfillment\_total\` - \`promo\_total\` - \`refund\_total\` |
| Placed Gross Revenue          | Total gross revenue of orders placed per day. Gross revenue calculated as \`item\_total\` + \`fulfillment\_total\`                                                      |
| Placed Net Revenue            | Total gross revenue of orders placed per day. Net revenue of the order calculated as \`item\_total\` + \`fulfillment\_total\` - \`promo\_total\` - \`refund\_total\`    |


[title] Advertising Spend
[path] Chord Data Platform/Model Amplifications/

:::hint{type="info"}
Note: Our Model Amplifications feature **only accepts files in CSV format at this time.&#x20;**&#x50;lease make sure the files you upload are CSV files.
:::

# Overview

Many advertising sources provide direct connections to our data warehouse, like Facebook, Google, Pinterest, TikTok, and YouTube. But what if your brand spends advertising dollars on other sources? The Advertising Spend configuration allows you to include any source in our Ads modeling.&#x20;

All that's needed to include a source is the date of the spend, the amount spent, and the name of the source. This allows the model to capture a high-level view of the spend by source.&#x20;

Unlike connected data sources, the configuration is limited to overall spend per source and does not drill down into more detailed information on campaign or metrics like views, clicks, and impressions.&#x20;

## Sample Use Case

Brands can easily extend their enriched Chord data set to include Ad Spend data and answer more robust business questions about return on investment by channel, campaign, and even demonstrate product interests by channel.&#x20;


[title] Chord's Methodology as Compared to Other Platforms
[path] Chord Data Platform/Data Models/

### Overview

Chord ingests raw data from various data sources and then transforms it through a data modeling layer to clean and enrich it for more efficient, meaningful analyses. As a result, Chord's data models can differ from what users see directly in other platforms.&#x20;



:::hint{type="success"}
if you have any questions or need help, please reach out to us at [help@chord.co](mailto\:help@chord.co)
:::


[title] Forecasts
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/

### dim\_tenant\_store\_daily\_forecasts

| Name                                       | Description                                                                                                                                                                                                |
| ------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Forecasted First Month Revenue             | Forecasted First Month Revenue is a sum of the 'best guess' forecasts of net revenue that will generated by users in their first month.                                                                    |
| Forecasted New Users Count                 | Forecasted New Users Count is the 'best guess' forecast for the period. New users is a sum of all first time purchase users in the period.                                                                 |
| Forecasted Re-engaged Users Revenue        | Forecasted Re-engaged Users Revenue is a sum of the 'best guess' forecasted net revenue from non-first time users over the period.                                                                         |
| Forecasted Net Revenue                     | Forecasted Net Revenue is the 'best guess' forecast for the period.                                                                                                                                        |
| Historic New Users Count                   | Historic New Users Count is the sum of all first time purchase users in the period.                                                                                                                        |
| Historic First Month Revenue               | Historic First Month Revenue is the sum all net revenue from users in their first one of purchasing.                                                                                                       |
| Historic Re-engaged Users Revenue          | Historic Re-engaged Users Revenue is a sum of the non-first time user net revenue over the period.                                                                                                         |
| Historical Net Revenue                     | Historical Net Revenue is the sum of historical net revenue for the period.                                                                                                                                |
| Forecasted Lower Bound First Month Revenue | Forecasted Lower Bound First Month Revenue is an estimated lower bound of the forecast, assuming all other factors stay constant and excluding exogenous factors such as the changes in the macro economy. |
| Forecasted Lower Bound New Users           | Forecasted Lower Bound New Users is an estimated lower bound of the forecast, assuming all other factors stay constant and excluding exogenous factors such as the changes in the macro economy.           |
| Forecasted Lower Bound Reengage Revenue    | Forecasted Lower Bound Reengage Revenue is an estimated lower bound of the forecast, assuming all other factors stay constant and excluding exogenous factors such as the changes in the macro economy.    |
| Forecasted Lower Bound Net Revenue         | Forecasted Lower Bound Net Revenue is an estimated lower bound of the forecast, assuming all other factors stay constant and excluding exogenous factors such as the changes in the macro economy.         |
| Forecasted Upper Bound First Month Revenue | Forecasted Upper Bound First Month Revenue is an estimated upper bound of the forecast, assuming all other factors stay constant and excluding exogenous factors such as the changes in the macro economy. |
| Forecasted Upper Bound New Users           | Forecasted Upper Bound New Users is an estimated upper bound of the forecast, assuming all other factors stay constant and excluding exogenous factors such as the changes in the macro economy.           |
| Forecasted Upper Bound Reengage Revenue    | Forecasted Upper Bound Reengage Revenue is an estimated upper bound of the forecast, assuming all other factors stay constant and excluding exogenous factors such as the changes in the macro economy.    |
| Forecasted Upper Bound Net Revenue         | Forecasted Upper Bound Net Revenue is an estimated upper bound of the forecast, assuming all other factors stay constant and excluding exogenous factors such as the changes in the macro economy.         |
| Date (Universal)                           | Date is the day that measure was completed in - Universal Time Zone.                                                                                                                                       |
| Forecasted First Month Revenue             | Forecasted First Month Revenue is a sum of the 'best guess' forecasts of net revenue that will generated by users in their first month.                                                                    |
| Forecasted Lower Bound First Month Revenue | Forecasted Lower Bound First Month Revenue is an estimated lower bound of the forecast, assuming all other factors stay constant and excluding exogenous factors such as the changes in the macro economy. |
| Forecasted Lower bound Net Revenue         | Forecasted Lower Bound Net Revenue is an estimated lower bound of the forecast, assuming all other factors stay constant and excluding exogenous factors such as the changes in the macro economy.         |
| Forecasted Lower Bound New Users           | Forecasted Lower Bound New Users is an estimated lower bound of the forecast, assuming all other factors stay constant and excluding exogenous factors such as the changes in the macro economy.           |
| Forecasted Lower Bound Reengage Revenue    | Forecasted Lower Bound Reengage Revenue is an estimated lower bound of the forecast, assuming all other factors stay constant and excluding exogenous factors such as the changes in the macro economy.    |
| Forecasted Net Revenue                     | Forecasted Net Revenue is the 'best guess' forecast for the period.                                                                                                                                        |
| Forecasted New Users Count                 | Forecasted New Users Count is the 'best guess' forecast for the period. New users is a sum of all first time purchase users in the period.                                                                 |
| Forecasted Reengaged Users Revenue         | Forecasted Re-engaged Users Revenue is a sum of the 'best guess' forecasted net revenue from non-first time users over the period.                                                                         |
| Forecasted Upper Bound First Month Revenue | Forecasted Upper Bound First Month Revenue is an estimated upper bound of the forecast, assuming all other factors stay constant and excluding exogenous factors such as the changes in the macro economy. |
| Forecasted Upper bound Net Revenue         | Forecasted Upper Bound Net Revenue is an estimated upper bound of the forecast, assuming all other factors stay constant and excluding exogenous factors such as the changes in the macro economy.         |
| Forecasted Upper Bound New Users           | Forecasted Upper Bound New Users is an estimated upper bound of the forecast, assuming all other factors stay constant and excluding exogenous factors such as the changes in the macro economy.           |
| Forecasted Upper Bound Reengage Revenue    | Forecasted Upper Bound Reengage Revenue is an estimated upper bound of the forecast, assuming all other factors stay constant and excluding exogenous factors such as the changes in the macro economy.    |
| Historic First Month Revenue               | Historic First Month Revenue is the sum all net revenue from users in their first one of purchasing.                                                                                                       |
| Historic New Users Count                   | Historic New Users Count is the sum of all first time purchase users in the period.                                                                                                                        |
| Historic Reengaged Users Revenue           | Historic Re-engaged Users Revenue is a sum of the non-first time user net revenue over the period.                                                                                                         |
| Historical Net Revenue                     | Historical Net Revenue is the sum of historical net revenue for the period.                                                                                                                                |


[title] Contentsquare (Hotjar)
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

## Introduction

Hotjar is a behavior analytics and feedback tool that helps you understand how users interact with your site through heatmaps, session recordings, and on-site surveys. By tracking user sessions and interactions, Hotjar gives product, UX, and marketing teams a clearer picture of what’s working—and what needs improvement—across the customer journey.

## Getting started

This is a **device-mode** destination, which means Chord helps you send events directly from your site to Hotjar.

To connect Hotjar as a CDP destination, you’ll need your Hotjar Site ID. You can find this in your Hotjar account under **Settings → Sites & Organizations → Tracking code**. The Site ID is the numeric value associated with your site (often shown in or alongside the tracking code, such as the number after `hjid=`).&#x20;

Make sure you have:

- An active Hotjar account and site set up&#x20;
- Permissions to access the Site ID&#x20;
- Any internal approvals required to add or modify tracking on your site&#x20;

## Connecting to the Contentsquare (Hotjar) CDP destination

:::hint{type="danger"}
Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are *disabled.*
**
Running external destinations alongside configured Chord CDP destinations ***can result in duplicate events downstream.&#x20;***
:::

1. Log into the **Chord Data Platform**.&#x20;
2. Navigate to the **CDP**.&#x20;
3. Click the **“Add”** button next to **Destinations**.&#x20;
4. Select **Contentsquare (Hotjar)** from the destination catalog.&#x20;
5. Enter a **Destination name** that your team will recognize (e.g., “Hotjar – Production”).&#x20;
6. Enter your **Contentsquare Site ID**.&#x20;
7. Click **“Create”** to connect the destination.&#x20;

Once connected, Chord will begin sending the relevant events to Hotjar based on your CDP configuration and tracking setup.

## Avoiding duplicate tracking

Before connecting destinations in the Chord CDP, please verify with all destination owners that any **non–Chord CDP–configured Contentsquare (Hotjar) tracking** (for example, legacy tags installed directly on your site, in your tag manager, or via another platform) is disabled or removed where appropriate.

Running external Hotjar tags alongside the configured Chord CDP destination can result in:

- **Duplicate pageview/session data** in Hotjar&#x20;
- Inflated heatmaps and session recordings&#x20;
- Confusing or misleading analytics for product and UX teams&#x20;

If you’re unsure whether legacy Hotjar tracking is still installed, coordinate with your engineering or analytics team to review existing tags and scripts before enabling the destination.

# Events

This destination does not forward individual page, track, or identify events. The Contentsquare SDK is loaded on the first event received from any type, and from that point the SDK handles all behavior tracking autonomously via the `window._uxa` global.

## Initialization

The plugin loads the SDK on the first event it receives, regardless of event type. Unlike other destinations, it does not queue or process subsequent events — its sole purpose is to ensure the Contentsquare script is loaded once.

The plugin manages SDK loading state (`fresh` → `loading` → `loaded`/`failed`) to prevent duplicate script loads. If the script fails to load, a warning is logged and no further load attempts are made.

## CSP requirements

If your site uses a Content Security Policy, allow the following domains:

| Directive     | Domain                        |
| ------------- | ----------------------------- |
| `script-src`  | `https://t.contentsquare.net` |
| `connect-src` | `https://t.contentsquare.net` |


[title] Facebook (Meta) Pixel
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

Facebook Pixel serves as tracking code for websites to monitor visitor behaviors including page views, purchases, and sign-ups. This tool helps advertisers assess Facebook ad effectiveness, refine campaigns through user behavior analysis, and create targeted advertising across Meta platforms.

# Getting Started

This is a device mode destination. One or more Facebook Pixel IDs are required for connection. You can obtain a Pixel ID from the snippet generated on the Facebook Pixel creation page.

# Multiple Pixel IDs

The destination supports any number of Pixel IDs on a single destination. Initialization is lazy — on the first tracked event the Facebook events script is loaded once (shared across all pixel IDs), and each pixel ID is initialized on-demand before its events are sent. All events are dispatched per-pixel using Meta's `trackSingle` API rather than the broadcast `track` API, so each pixel receives exactly the events configured for it with no cross-pixel spillover.

**Common use cases:**

- **Multi-agency setups** — route the same storefront events to pixels owned by different media agencies without creating separate CDP destinations.
- **Brand or market segmentation** — fire events to separate pixels for distinct brands or regional ad accounts that share a single storefront.
- **Parallel testing** — run a new pixel alongside an existing one during a transition period to validate parity before cutting over.

**Adding a second pixel ID:**

1. Open the Edit form for the destination.
2. Click **Add** in the **Pixel IDs** section to add a new row.
3. Enter the additional Pixel ID.
4. Click **Save Changes**.

After saving, the new pixel will be initialized on the next tracked event and will start receiving all mapped events alongside the existing pixels.

**Removing a pixel ID:**

Delete the row from the **Pixel IDs** list and save. The pixel stops receiving events as soon as the updated configuration is picked up — no further events will be sent to it. No data is deleted from Meta — historical events already received by that pixel are unaffected.

## Migrating from a legacy single Pixel ID

Destinations created before multi-pixel support was added store their ID in a legacy `pixelId` field. The Edit form automatically promotes this value into the new **Pixel IDs** list on first open, so no manual migration is needed. Save the form once to persist the promoted value; after that the destination is fully on the new format.

# Connecting to the Facebook Pixel CDP Destination

:::BlockQuote
**Warning:** Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are **disabled**. Running external destinations alongside configured Chord CDP destinations **can result in duplicate events downstream.**
:::

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **Facebook Pixel** from the destination catalog.
5. Enter the destination name and one or more **Facebook Pixel IDs**:
   - Click **Add** to add a row for each Pixel ID.
   - Each ID must be entered on its own row — blank rows are ignored.
   - To send events to a single pixel, add just one ID.
6. Optionally configure:
   - **Product Content ID Field** — which product field to use as the content ID (`sku`, `product_id`, or `variant_id`). Defaults to `sku`. This value will be used in the `contents.[].id` field.
7. Click **"Create"** to connect.

# Events

# Event Mapping

| Chord Event          | Facebook Event   |
| -------------------- | ---------------- |
| Page                 | PageView         |
| Checkout Started     | InitiateCheckout |
| Order Completed      | Purchase         |
| Product Added        | AddToCart        |
| Product Viewed       | ViewContent      |
| Subscription Created | Subscribe        |

# Common Event Options

| Option       | Chord Source (Priority Order) | Notes                         |
| ------------ | ----------------------------- | ----------------------------- |
| eventID      | `messageId`                   | Used for event deduplication  |
| external\_id | `userId` > `anonymousId`      | Omitted if neither is present |

# Event Details

# Page

Fires a Facebook page view event.

**Facebook SDK call:** `fbq("trackSingle", pixelId, "PageView", {}, eventOptions)`

The call is repeated for each configured Pixel ID. No additional attributes accompany page events.

***

# Checkout Started

Fires an initiate checkout event with order and product data.

**Facebook SDK call:** `fbq("trackSingle", pixelId, "InitiateCheckout", orderData, eventOptions)` *(repeated for each configured Pixel ID)*

| Facebook Attribute | Chord Source (Priority Order)                                               | Notes                                                      |
| ------------------ | --------------------------------------------------------------------------- | ---------------------------------------------------------- |
| `content_ids`      | product `sku` > `product_id` (or configured `productContentIdField`)        | Array of all product IDs                                   |
| `content_type`     | *(hardcoded)* `"product"`                                                   |                                                            |
| `content_category` | First product's `category`                                                  |                                                            |
| `contents`         | Array of `{ id, quantity, item_price }` per product                         | `id` uses `sku` > `product_id`; `quantity` defaults to `1` |
| `currency`         | `properties.currency` > `properties.meta.i18n.currency` > `"USD"` (default) |                                                            |
| `value`            | `properties.value` > `properties.total` > `properties.price`                | Formatted to 2 decimal places; defaults to `"0.00"`        |
| `num_items`        | Count of content IDs                                                        |                                                            |
| `order_id`         | `properties.order_id` / `properties.orderId`                                | For deduplication; omitted if not present                  |

Returns empty object if `order.products` is empty.

***

# Order Completed

Fires a purchase conversion event with order and product data.

**Facebook SDK call:** `fbq("trackSingle", pixelId, "Purchase", orderData, eventOptions)` *(repeated for each configured Pixel ID)*

Same attributes as Checkout Started above.

***

# Product Added

Fires an add-to-cart event using the first product from `order.products`.

**Facebook SDK call:** `fbq("trackSingle", pixelId, "AddToCart", productData, eventOptions)` *(repeated for each configured Pixel ID)*

| Facebook Attribute | Chord Source (Priority Order)                                               | Notes                                               |
| ------------------ | --------------------------------------------------------------------------- | --------------------------------------------------- |
| `content_ids`      | product `sku` > `product_id` (or configured `productContentIdField`)        | Single value (not array)                            |
| `content_type`     | *(hardcoded)* `"product"`                                                   |                                                     |
| `content_name`     | product `name`                                                              |                                                     |
| `content_category` | product `category`                                                          |                                                     |
| `currency`         | `properties.currency` > `properties.meta.i18n.currency` > `"USD"` (default) |                                                     |
| `value`            | product `price`                                                             | Formatted to 2 decimal places; defaults to `"0.00"` |
| `contents`         | `[{ id, quantity, item_price }]`                                            | Single-element array; `quantity` defaults to `1`    |

Returns empty object if `order.products` is empty.

***

# Product Viewed

Fires a content view event using the first product from `order.products`.

**Facebook SDK call:** `fbq("trackSingle", pixelId, "ViewContent", productData, eventOptions)` *(repeated for each configured Pixel ID)*

Same attributes as Product Added above.

***

# Subscription Created

Fires a subscribe event with order and product data.

**Facebook SDK call:** `fbq("trackSingle", pixelId, "Subscribe", orderData, eventOptions)` *(repeated for each configured Pixel ID)*

Same attributes as Checkout Started above.

***

All other track events and identify events are silently skipped.

# Custom Property Forwarding

Configure destination mappings in Hub with `properties.*` destination paths to forward additional event properties into the `fbq("trackSingle", ...)` payload. Only explicitly-configured non-schema fields are forwarded — nothing flows through automatically.

**How to configure:**

1. Open the destination's **Mappings** tab in Hub.
2. Add a mapping with source path `properties.loyalty_tier` and destination path `properties.loyalty_tier`.
3. On the next event, `loyalty_tier` will appear in the event data payload sent to Meta.

**What is excluded:**

- Schema fields already handled by the destination transform (e.g. `currency`, `value`, `order_id`, `content_ids`, `contents`) — these flow through the structured transform
- PII fields (`email`, `phone`, `first_name`, `last_name`) — PII is not forwarded by the pixel; use the Facebook Conversions API destination for server-side user matching

When a custom mapping targets a schema field (e.g. `properties.value → properties.value`), the customer-configured value overrides the destination's computed default. This allows schema fields to be sourced from a different event property — for example, mapping `properties.total → properties.value` to use your order total as the conversion value.

# Initialization

The plugin supports one or more Pixel IDs per destination. On the first event, it loads the Facebook events script once (shared across all pixel IDs on the page), then calls `fbq("init", pixelId)` for each configured ID — optionally with `{ external_id }` if `userId` or `anonymousId` is present on the triggering event.

Each Pixel ID has its own initialization lifecycle (`fresh` > `loading` > `loaded`/`failed`), so IDs initialize independently without blocking one another. The script load itself is shared via a single promise — concurrent events during loading queue until the script is ready. If the script fails to load, all subsequent events are silently dropped.

If no valid Pixel IDs are configured, the plugin logs a warning and skips initialization entirely.

# CSP Requirements

If your site uses a Content Security Policy, allow the following domains:

| Directive     | Domain                         |
| ------------- | ------------------------------ |
| `script-src`  | `https://connect.facebook.net` |
| `connect-src` | `https://connect.facebook.net` |

***

**Updated 27 May 2026** — Added multiple Pixel ID support, migration guidance, and custom property forwarding.

[title] Chord Predictive Intelligence Overview
[path] Chord Data Platform/Predictive Models/

Chord’s predictive data science capabilities help brands turn raw customer data into actionable intelligence. With Personas, Churn Predictions, and Purchase-Likelihood modeling available across the Chord platform—and accessible through both Copilot (AI chat) and analytics—teams can quickly activate smarter marketing and retention strategies.

## **1. What Chord Predictive Models Do**

Chord applies machine-learning models to your customer and commerce data to surface insights such as:

- **Customer Personas & Churn Predictions** — Understand who your customers are (e.g., *Deal-Seeker*, *Wellness Enthusiast*, *Loyalist*) and which customers are at risk of dropping off. Personas help you tailor messaging and product experiences, while churn predictions help you intervene proactively.
- **Likelihood to purchase or repurchase** — Identify customers most likely to buy next.
- **Customer lifetime revenue prediction (CLR)** — Determine who will be most valuable long term.
- **Behavioral and commercial patterns** — Insights based on recency, frequency, spend, and engagement trends.

## 2. Why It Matters

Predictive intelligence helps teams:

- Spend smarter on acquisition
- Increase retention and customer lifetime value
- Personalize communication at scale
- Identify the right customers at the right moment
- Make decisions proactively rather than reactively

Chord’s models turn your customer data into a real competitive advantage—helping marketing, product, and analytics teams drive measurable growth.

## **3. How to Use These Insights in Chord**

| Model Name                         | Predict Level | Output Metric Name                  | Description                                           | Notes                                                                                    | Input Metric(s)                                            | Data Source(s)                | Example Use Cases                   | Explore(s)                                                                                    |
| ---------------------------------- | ------------- | ----------------------------------- | ----------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------- | ----------------------------- | ----------------------------------- | --------------------------------------------------------------------------------------------- |
| Customer Lifetime Revenue (CLR)    | User          | Predicted Lifetime Revenue          | Forecasted customer lifetime revenue                  | Based on historical patterns + user-specific behavior                                    | Orders data, predicted customer ML features, sessions data | Orders, sessions, ML features | Retention targeting, VIP perks      | Users                                                                                         |
| RFM                                | User          | Recency                             | Recency, frequency, and monetary scoring              | Days since last order. Higher = more recent                                              | Orders data                                                | Orders                        | Segmentation, churn risk            | Users                                                                                         |
| RFM                                | User          | Frequency                           | Recency, frequency, and monetary scoring              | Number of orders in time window. Higher = more orders                                    | Orders data                                                | Orders                        | Segmentation, churn risk            | Users                                                                                         |
| RFM                                | User          | Monetary                            | Recency, frequency, and monetary scoring              | Total spend in time window. Higher = more spend                                          | Orders data                                                | Orders                        | Segmentation, churn risk            | Users                                                                                         |
| RFM                                | User          | RFM Bucket                          | Recency, frequency, and monetary scoring              | Combined RFM grouping                                                                    | Orders data                                                | Orders                        | Segmentation, churn risk            | Users                                                                                         |
| Predicted Repurchase               | User          | Repurchase Probability              | Probability that the user will repurchase             | Likelihood of buying again                                                               | Orders data, predicted customer ML features, sessions data | Orders, sessions, ML features | Win-back campaigns                  |                                                                                               |
| Product Recommendations            | User          | Recommendations 1-5                 | Top 5 recommended items for user                      | Top 5 predicted next purchases                                                           | Orders data, predicted customer ML features, sessions data | Orders, catalog, ML features  | Cross-sell, personalization         | Users                                                                                         |
| Segmentation Clustering            | User          | Marketing Segment ID                | Unstructured hierarchical cluster assignments         | Used for targeting/lookalike audiences/personalization                                   | Orders data, predicted customer ML features, sessions data | Orders, sessions, ML features | Audience targeting                  |                                                                                               |
| Revenue Forecast                   | Company       | Forecasted Revenue                  | Forecasted top-level revenue                          | Time series prediction                                                                   | Time series order data                                     | Orders                        | Budgeting, forecasting              | Predicted Forecasts                                                                           |
| New Customer Forecast              | Company       | Forecasted New Customer Count       | Forecasted count of new customers                     | Time series prediction                                                                   | Time series order data                                     | Orders                        | Acquisition planning                | Predicted Forecasts                                                                           |
| Returning Customer Forecast        | Company       | Forecasted Returning Customer Count | Forecasted count of returning customers               | Time series prediction                                                                   | Time series order data                                     | Orders                        | Retention planning                  | Predicted Forecasts                                                                           |
| Probability to Convert             | Sessions      | Conversion Probability              | Probability a session will convert to a paid customer | Likelihood session converts                                                              | Sessions and orders data                                   | Sessions, orders              | On-site personalization             | Sessions, Marketing Attribution - Order Attribution, Marketing Attribution - User Attribution |
| Predictive Marketing Attribution   | Orders        | Attribution % by Channel            | Fractional revenue attribution by channel             | Model-weighted attribution                                                               | Marketing spend, conversions                               | Spend, conversions            | Channel optimization                | Marketing Attribution - Order Attribution, Marketing Attribution - User Attribution           |
| Customer Personas                  | Users         | User Persona Name                   | Customer segment grouping based on purchase behavior  | Personas group customers with similar purchasing patterns and predicted lifetime value.  | Customer email                                             | Customer email                | Personalization, audience targeting |                                                                                               |
| Likelihood to Churn (Percentile)   | Users         | User Churn Propensity Percentile    | Identify customers at risk of churning                | Higher percentiles = higher likelihood of churning                                       | Customer email                                             | Customer email                | Retention planning, churn risk      |                                                                                               |
| Likelihood to Churn (Probability)  | Users         | User Churn Propensity Percentile    | Identify customers at risk of churning                | Higher values = higher probability of churning                                           | Customer email                                             | Customer email                | Retention planning, churn risk      |                                                                                               |




[title] Session Conversion Probability
[path] Chord Data Platform/Predictive Models/

### Introduction

Session Conversion Probability refers to predicting the likelihood that a customer will purchase during their session. Chord’s session conversion probability feature leverages your store’s data into deep insights about your customers’ behavior. In turn, this rich data can help operators, marketers, and analysts to create and optimize business strategies to improve conversion rates to bolster your store’s performance.

### How the Model Works

Chord’s session conversion probability feature takes data inputs from session activity and session events and page views to create the predictive models.

We model session conversion as a function of session activity (including activity count, session duration, time of session, and device) and marketing inputs (such as source, channel, and medium).

### Interpreting Chord’s Conversion Probability&#x20;

This new predictive feature is composed of the following summary statistics:

- **Session activity count:** Marketers can compare session activity counts understand likelihood to convert. Chord will provide different buckets of session activity counts and the conversion predictions. This is different than the metrics related to `Number of Sessions` (see below).
- **Session duration:** Chord’s session conversion probability will display a chart that shows conversion probability associated with different session durations.
- **Number of Sessions:** This value refers to the the aggregate number of sessions for an anonymous user ID.
- **Has Referral:** This value indicates if the first page event of the session has a referrer host.
- **Has UTM:** This measure indicates if the session first page has a UTM.
- **Has GCLID:** Similar to `Has UTM`, this measure indicates that first session has a Google click ID.
- **Device Type:** Displays session conversions by device used (ex. desktop, tablet, Android, iPhone).
- **Session Attribution Channel:** Displays session conversions by attribution channel (ex. SMS, e-mail, organic search, paid search, etc).
- **Session Medium:** Displays session conversions by session medium (ex. Affiliate, CPC, e-mail, paid, etc).
- **Session Source:** Displays session conversion by session source (TikTok, Instagram, Facebook, Google, etc).
- **Paid or Organic Search:** Displays session conversion by paid or organic search.

### Use Cases and Applications

Chord’s session conversion predictions can be applied to many business scenarios. A few examples are included below.

- **On-Site Personalization:** Brands can dynamically adjust the customer experience in real-time using Chord’s session conversion predictions. For example, stores can offer a discount code if conversion probability is high using Chord's Audiences API.
- **Personalized Marketing:** Similar to adjusting customer experience in real-time, brands can use Chord’s predictive feature to send targeted offers or reminders to customers to further engage them to get them closer to checking out.
- **Ad Spend Optimization:** Take advantage of high-probability conversion sessions by setting up smart retargeting efforts via ad spend.

### Getting Started

The session prediction feature is available for all Chord brands that are qualified to unlock our baseline data science features. Brands must have the following requirements:

- 2,000 completed CDP-attributed session transactions;
- At least 90 days of event data collected through our CDP;
- At least 200k sessions; and
- Session conversions greater than or equal to 1% (or, at least 2k converted sessions).

If you have any questions, please reach out to your account manager.

### Glossary

- **Session:** A time-bounded period during which an anonymous user interacts with your website.
- **Conversion:** When a session results in a paid event, such as a checkout or subscription.


[title] Marketing Attribution
[path] Chord Data Platform/Data Models/Chord Data Attribute Definitions/Shopify/

### **x\_fct\_trans\_order**

| Name                                                   | Description                                                                                                                                                                                                                                                                                                                              |
| ------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Billing Address 1                                      | The street address of the billing address.                                                                                                                                                                                                                                                                                               |
| Billing Address 2                                      | An additional field for the street address of the billing address.                                                                                                                                                                                                                                                                       |
| Billing Address City                                   | The city, town, or village of the billing address.                                                                                                                                                                                                                                                                                       |
| Billing Address Company                                | The company associated to this billing address.                                                                                                                                                                                                                                                                                          |
| Billing Address Country                                | The name of the country of the billing address.                                                                                                                                                                                                                                                                                          |
| Billing Address Country Code                           | The two-letter code (ISO 3166-1 format) for the country of the billing address.                                                                                                                                                                                                                                                          |
| Billing Address First Name                             | The first name of the person associated to this billing address.                                                                                                                                                                                                                                                                         |
| Billing Address Id                                     | Unique identifier generated by Chord for a Billing Address.                                                                                                                                                                                                                                                                              |
| Billing Address Last Name                              | The last name of the person associated to this billing address.                                                                                                                                                                                                                                                                          |
| Billing Address Latitude                               | The latitude of the billing address.                                                                                                                                                                                                                                                                                                     |
| Billing Address Longitude                              | The longitude of the billing address.                                                                                                                                                                                                                                                                                                    |
| Billing Address Name                                   | The full name of the person associated to this billing address.                                                                                                                                                                                                                                                                          |
| Billing Address Oms Billing Address Id                 | Unique key generated by Shopify that identifies a billing address.                                                                                                                                                                                                                                                                       |
| Billing Address Phone                                  | The phone number associated to this billing address.                                                                                                                                                                                                                                                                                     |
| Billing Address Province                               | The name of the region (province, state, prefecture, …) of the billing address.                                                                                                                                                                                                                                                          |
| Billing Address Province Code                          | The two-letter abbreviation of the region of the billing address.                                                                                                                                                                                                                                                                        |
| Billing Address Zip                                    | The postal code of the billing address.                                                                                                                                                                                                                                                                                                  |
| First Fulfillment Id                                   | Unique identifier for a Shopify Fulfillment at a specific point in time                                                                                                                                                                                                                                                                  |
| First Fulfillment Oms Fulfillment Id                   | Unique key generated by Shopify that identifies a fulfillment.                                                                                                                                                                                                                                                                           |
| First Fulfillment Shipment Status                      | Represent the status of the shipment.                                                                                                                                                                                                                                                                                                    |
| First Fulfillment Status                               | The status of the fulfillment.                                                                                                                                                                                                                                                                                                           |
| First Fulfillment Tracking Company                     | The name of the tracking company.                                                                                                                                                                                                                                                                                                        |
| First Fulfillment Tracking Numbers                     | A list of tracking numbers provided by the tracking company.                                                                                                                                                                                                                                                                             |
| First Fulfillment Tracking Urls                        | The URLs of tracking pages for the fulfillment.                                                                                                                                                                                                                                                                                          |
| Last Transaction Amount                                | The amount of money included in the transaction.                                                                                                                                                                                                                                                                                         |
| Last Transaction Error Code                            | The error code explaining why the transaction failed.                                                                                                                                                                                                                                                                                    |
| Last Transaction Gateway                               | The name of the gateway the transaction was issued through.                                                                                                                                                                                                                                                                              |
| Last Transaction Id                                    | Unique identifier for a Shopify Transaction at a specific point in time                                                                                                                                                                                                                                                                  |
| Last Transaction Is Failed                             | Whether or not the transaction / payment has failed.                                                                                                                                                                                                                                                                                     |
| Last Transaction Is Successful                         | Whether or not the transaction / payment has succeeded.                                                                                                                                                                                                                                                                                  |
| Last Transaction Is Test                               | Whether this is a test transaction or not.                                                                                                                                                                                                                                                                                               |
| Last Transaction Kind                                  | The type of transaction.                                                                                                                                                                                                                                                                                                                 |
| Last Transaction Message                               | Additional information provided the payment provider about the transaction.                                                                                                                                                                                                                                                              |
| Last Transaction Oms Transaction Id                    | Unique key generated by Shopify that identifies a transaction.                                                                                                                                                                                                                                                                           |
| Last Transaction Status                                | The status of the transaction.                                                                                                                                                                                                                                                                                                           |
| Location Id                                            | Unique identifier for a Shopify Location at a specific point in time                                                                                                                                                                                                                                                                     |
| Location Is Active                                     | Whether the location is active or not.                                                                                                                                                                                                                                                                                                   |
| Location Is Online                                     | Whether or not this location represents an online location.                                                                                                                                                                                                                                                                              |
| Location Is Physical                                   | Whether or not this location represents a physical location.                                                                                                                                                                                                                                                                             |
| Location Name                                          | The name of a location.                                                                                                                                                                                                                                                                                                                  |
| Location Oms Location Id                               | Unique key generated by Shopify that identifies a location.                                                                                                                                                                                                                                                                              |
| Order Admin Url                                        | Contains the full URL directing to the admin dashboard of Shopify for that given order.                                                                                                                                                                                                                                                  |
| Order App Id                                           | The ID of the app from Shopify that created the order.                                                                                                                                                                                                                                                                                   |
| Order App Name                                         | App name associated with the app id. This field will be generated if the Hub Configuration is enabled and the value has been set.                                                                                                                                                                                                        |
| Order Applied Discount Codes                           | The discount 'codes' applied or a given order.                                                                                                                                                                                                                                                                                           |
| Order Applied Discount Codes Count                     | The total number of applied discount code for a given order.                                                                                                                                                                                                                                                                             |
| Order Cancel Reason                                    | The reason as to why the order was cancelled.                                                                                                                                                                                                                                                                                            |
| Order Cart Website Locale                              | When available, this is the shopify international site activated prior to cart creation.                                                                                                                                                                                                                                                 |
| Order Completed Order Rank By User                     | Allows to rank customer carts by completion date. In other words, this will rank the customer's completed order from 1 to X (X being the most recent order that was completed).                                                                                                                                                          |
| Order Completed Subscription Order Rank By User        | Allows to rank customer subscription orders by completion date.                                                                                                                                                                                                                                                                          |
| Order Contains First Subscription Order                | A boolean value to indicate whether an order contains the first subscription order or not. An order may contain a mix of first and recurring subscriptions.                                                                                                                                                                              |
| Order Created Order Rank By User                       | Allows to rank customer carts by creation date. In other words, this will rank the customer's creation order from 1 to X (X being the last order that was created). An order can be created but never completed.                                                                                                                         |
| Order Created Subscription Order Rank By User          | Allows to rank customer subscription orders by creation date.                                                                                                                                                                                                                                                                            |
| Order Customer Lifetime Month                          | Number of months between the current order's creation date and the user's first order creation date. First orders have a value of 1.                                                                                                                                                                                                     |
| Order Customer Lifetime Week                           | Number of weeks between the current order's creation date and the user's first order creation date. First orders always have a value of 1.                                                                                                                                                                                               |
| Order Filtered Order                                   | Whether or not this order will be flagged by custom filter.                                                                                                                                                                                                                                                                              |
| Order Financial State                                  | The status of transaction associated with the order.                                                                                                                                                                                                                                                                                     |
| Order Fulfillment State                                | The summarized status of the 'shipment/fulfillment' associated with the order.                                                                                                                                                                                                                                                           |
| Order Has Discount                                     | Whether or not the order has had a discount applied to it.                                                                                                                                                                                                                                                                               |
| Order Has Order Tag                                    | Whether or not the order has an order tag applied to it.                                                                                                                                                                                                                                                                                 |
| Order Id                                               | Unique identifier generated by Chord for an order.                                                                                                                                                                                                                                                                                       |
| Order Included Fulfillment Codes                       | Aggregated array of fulfillment codes, represented as a string.                                                                                                                                                                                                                                                                          |
| Order Included Fulfillment Methods                     | Aggregated array of fulfillment methods, represented as a string.                                                                                                                                                                                                                                                                        |
| Order Included Payment Gateways                        | This is the rolled up successful payment gateway for an order. Successful payments are included if they are sale or capture transactions.                                                                                                                                                                                                |
| Order Included Source Subscription Ids                 | String list of included source subscription ids per order. Subscription information received from tenant-enabled platforms including Recharge and Shopify Plus.                                                                                                                                                                          |
| Order Included Subscription Ids                        | String list of included subscription ids per order. Subscription information received from tenant-enabled platforms including Recharge and Shopify Plus.                                                                                                                                                                                 |
| Order Is Admin                                         | Whether or not the order was created by an admin.                                                                                                                                                                                                                                                                                        |
| Order Is Cancelled                                     | Whether or not the order was cancelled. If \`cancelled\_at\` is non-null then we consider the order has being cancelled.                                                                                                                                                                                                                 |
| Order Is Completed                                     | Whether or not the order was completed. An order is considered completed if it has a closed\_at timestamp and has been fully fulfilled. Closed\_at is generated for orders in Shopify that are automatically archived. If this feature is not enabled, the last updated closed fulfillment date is used as the completed at date.        |
| Order Is First Completed Order                         | Whether the order was the customer's first completed order or not.                                                                                                                                                                                                                                                                       |
| Order Is First Order                                   | Whether the order was the customer's first order or not.                                                                                                                                                                                                                                                                                 |
| Order Is First Subscription Completed Order            | Whether the order was the customer's first completed subscription order or not.                                                                                                                                                                                                                                                          |
| Order Is First Subscription Order                      | Whether the order was the customer's first subscription order or not.                                                                                                                                                                                                                                                                    |
| Order Is Part Of Subscription                          | Boolean flag to indicate whether the order was a part of a subscription plan or not.                                                                                                                                                                                                                                                     |
| Order Is Test                                          | Whether this is a test order or not.                                                                                                                                                                                                                                                                                                     |
| Order Item Id                                          | Unique identifier generated by Chord for an order.                                                                                                                                                                                                                                                                                       |
| Order Item Is First Product Type Order                 | Whether this order contains the first product type basket for the user.                                                                                                                                                                                                                                                                  |
| Order Item Is Last Product Type Order                  | Whether this order contains the last, most recent, product type basket for the user.                                                                                                                                                                                                                                                     |
| Order Item Is Repeat Product Type Order                | Whether this order contains a repeat product type basket for the user.                                                                                                                                                                                                                                                                   |
| Order Item Product Basket Count                        | The count of products for a given order.                                                                                                                                                                                                                                                                                                 |
| Product Basket                                         | The titles of products for a given orderarray converted to a string.                                                                                                                                                                                                                                                                     |
| Order Item Product Purchased Quantity                  | The total number of product purchased for a given order.                                                                                                                                                                                                                                                                                 |
| Order Item Rank Product Type Order                     | Rank orders with the same product type basket per user.                                                                                                                                                                                                                                                                                  |
| Order Item Unique Product Basket Count                 | The count of unique products for a given order.                                                                                                                                                                                                                                                                                          |
| Unique Product Basket                                  | The unique titles of products for a given order array converted to a string.                                                                                                                                                                                                                                                             |
| Order Item Unique Product Type                         | The unique line item product types for a given order.                                                                                                                                                                                                                                                                                    |
| Order Item Unique Variant Basket Count                 | The count of unique SKUs for a given order.                                                                                                                                                                                                                                                                                              |
| Unique Variant Basket                                  | The unique SKUs of variants for a given order array converted to a string.                                                                                                                                                                                                                                                               |
| Order Item Variant Basket Count                        | The count of variants for a given order.                                                                                                                                                                                                                                                                                                 |
| Variant Basket                                         | The SKUs of variants for a given order array converted to a string.                                                                                                                                                                                                                                                                      |
| Order Item Variant Purchased Quantity                  | The total number of variants purchased for a given order.                                                                                                                                                                                                                                                                                |
| Order Name                                             | Unique name generated by Shopify that is displayed to the customer (e.g.                                                                                                                                                                                                                                                                 |
| Order Number Of Non Reactivated Subscriptions          | Number of non reactivated subscriptions per order. Reactivation is a customer who returned after having canceled the first subscription.                                                                                                                                                                                                 |
| Order Number Of Reactivated Subscriptions              | Number of reactivated subscriptions per order. Reactivation is a customer who returned after having canceled the first subscription.                                                                                                                                                                                                     |
| Order Oms Order Id                                     | Unique key generated by Shopify that identifies an order.                                                                                                                                                                                                                                                                                |
| Order Tags                                             | The order tags applied to a given order, in alphabetical order.                                                                                                                                                                                                                                                                          |
| Order Tags Count                                       | The total number of order tags for a given order.                                                                                                                                                                                                                                                                                        |
| Order Processing Method                                | How the payment was processed.                                                                                                                                                                                                                                                                                                           |
| Order Segment Anonymous Id                             | When available, this is where we store Segment's anonymous\_id at the time of checkout.                                                                                                                                                                                                                                                  |
| Order Source Name                                      | Where did the order get created from.                                                                                                                                                                                                                                                                                                    |
| Shipping Address 1                                     | The street address of the shipping address.                                                                                                                                                                                                                                                                                              |
| Shipping Address 2                                     | An additional field for the street address of the shipping address.                                                                                                                                                                                                                                                                      |
| Shipping Address City                                  | The city, town, or village of the shipping address.                                                                                                                                                                                                                                                                                      |
| Shipping Address Company                               | The company associated to this shipping address.                                                                                                                                                                                                                                                                                         |
| Shipping Address Country                               | The name of the country of the shipping address.                                                                                                                                                                                                                                                                                         |
| Shipping Address Country Code                          | The two-letter code (ISO 3166-1 format) for the country of the shipping address.                                                                                                                                                                                                                                                         |
| Shipping Address First Name                            | The first name of the person associated to this shipping address.                                                                                                                                                                                                                                                                        |
| Shipping Address Id                                    | Unique identifier generated by Chord for a Shipping Address.                                                                                                                                                                                                                                                                             |
| Shipping Address Last Name                             | The last name of the person associated to this shipping address.                                                                                                                                                                                                                                                                         |
| Shipping Address Latitude                              | The latitude of the shipping address.                                                                                                                                                                                                                                                                                                    |
| Shipping Address Longitude                             | The longitude of the shipping address.                                                                                                                                                                                                                                                                                                   |
| Shipping Address Name                                  | The full name of the person associated to this shipping address.                                                                                                                                                                                                                                                                         |
| Shipping Address Oms Shipping Address Id               | Unique key generated by Shopify that identifies a shipping address.                                                                                                                                                                                                                                                                      |
| Shipping Address Phone                                 | The phone number associated to this shipping address.                                                                                                                                                                                                                                                                                    |
| Shipping Address Province                              | The name of the region (province, state, prefecture, ...) of the shipping address.                                                                                                                                                                                                                                                       |
| Shipping Address Province Code                         | The two-letter abbreviation of the region of the shipping address.                                                                                                                                                                                                                                                                       |
| Shipping Address Zip                                   | The postal code of the shipping address.                                                                                                                                                                                                                                                                                                 |
| Store Id                                               | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                              |
| Store Name                                             | The name of the store.                                                                                                                                                                                                                                                                                                                   |
| Store Oms Admin Url                                    | The Admin URL of that OMS.                                                                                                                                                                                                                                                                                                               |
| Store Oms Id                                           | Unique key generated by Chord that uniquifies an OMS.                                                                                                                                                                                                                                                                                    |
| Store Oms Store Id                                     | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                              |
| Store Oms Type                                         | The type of the OMS.                                                                                                                                                                                                                                                                                                                     |
| Store Id                                               | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                              |
| Store Tenant Id                                        | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                                  |
| Store Url                                              | The Storefront URL of of the store.                                                                                                                                                                                                                                                                                                      |
| User Completed Oms Order Ids                           | List of all completed OMS order ids for a user.                                                                                                                                                                                                                                                                                          |
| User Completed Order Names                             | List of all completed order names for a user.                                                                                                                                                                                                                                                                                            |
| User Email                                             | The email of the customer.                                                                                                                                                                                                                                                                                                               |
| User First Completed Oms Order Id                      | Order id from the OMS for the first completed order.                                                                                                                                                                                                                                                                                     |
| User First Completed Order Name                        | Order name for the first completed order.                                                                                                                                                                                                                                                                                                |
| User First Name                                        | The first name of the customer.                                                                                                                                                                                                                                                                                                          |
| User First Name Last Initial                           | The first name and last name initials of the customer. This appends the value of \`first\_name\` and the first character of \`last\_name\` together.                                                                                                                                                                                     |
| User First Order Unique Ordered Products               | List of unique products purchased by the user in their first completed order.                                                                                                                                                                                                                                                            |
| User First Order Unique Ordered Skus                   | List of unique variant SKUs purchased by the user in their first completed order.                                                                                                                                                                                                                                                        |
| User First Subscription Ids                            | Array of first subscription ids purchased by the user. The user may have more than one subscription created at the same time, resulting in more than one subscription counted as first.                                                                                                                                                  |
| User Full Name                                         | The full name of the customer. This appends the value of \`first\_name\` and \`last\_name\` together.                                                                                                                                                                                                                                    |
| User Has Ordered A La Carte                            | Whether or not the user has had at least one order that is not a part of a subscription.                                                                                                                                                                                                                                                 |
| User Has Promo Applied In First Order                  | Whether the first completed order has a promo applied or not.                                                                                                                                                                                                                                                                            |
| User Has Reactivation Subscription                     | Whether or not the user has at least one subscription created after the first subscription is cancelled.                                                                                                                                                                                                                                 |
| User Has Subscription In First Order                   | Whether or not the user's first order is linked to a subscription.                                                                                                                                                                                                                                                                       |
| User Has Verified Email                                | Whether the customer has verified their email address.                                                                                                                                                                                                                                                                                   |
| User Id                                                | Unique identifier generated by Chord to identify the user.                                                                                                                                                                                                                                                                               |
| User Is Active Subscriber                              | Whether or not the user has an active subscription with at least one completed subscription order. An active subscription is one that is not cancelled or paused. Subscribers may have completed subscription orders on inactive subscriptions, but will not be considered active if their current subscription has no completed orders. |
| User Is Customer                                       | Whether the user has completed at least one order or not.                                                                                                                                                                                                                                                                                |
| User Is New Customer                                   | Whether the user has completed one order or not.                                                                                                                                                                                                                                                                                         |
| User Is Not Customer                                   | Whether the user has no completed orders or not.                                                                                                                                                                                                                                                                                         |
| User Is Returning Customer                             | Whether the user has completed more than one order or not.                                                                                                                                                                                                                                                                               |
| User Is Subscriber                                     | Whether or not the user has completed at least one subscription order.                                                                                                                                                                                                                                                                   |
| User Last Name                                         | The last name of the customer.                                                                                                                                                                                                                                                                                                           |
| User Last Subscription Ids                             | Array of last subscription ids purchased by a user. The user may have more than one subscription created at the same time, resulting in more than one subscription counted as last.                                                                                                                                                      |
| User Number Of Cancelled Subscriptions                 | Total number of subscriptions the user has cancelled.                                                                                                                                                                                                                                                                                    |
| User Number Of Completed A La Carte Orders             | Total number of orders completed by a user that are a la carte.                                                                                                                                                                                                                                                                          |
| User Number Of Completed Orders                        | Total count of completed orders by the user.                                                                                                                                                                                                                                                                                             |
| User Number Of Completed Subscription Orders           | Total number of orders completed by a user that are part of a subscription.                                                                                                                                                                                                                                                              |
| User Number Of Created Subscription Orders             | Total number of orders created by a user that are part of a subscription.                                                                                                                                                                                                                                                                |
| User Number Of Orders With Promos                      | Count of completed orders with a promo applied.                                                                                                                                                                                                                                                                                          |
| User Number Of Reactivated Subscriptions               | Total number of subscriptions for a user that are reactivations. These subscriptions may be active, inactive, or concurrent.                                                                                                                                                                                                             |
| User Number Of Subscriptions                           | Total number of subscriptions linked to a user. These subscriptions may be active, inactive, or concurrent.                                                                                                                                                                                                                              |
| User Oms User Id                                       | Unique identifier generated by the OMS to identify the user.                                                                                                                                                                                                                                                                             |
| User Phone                                             | The phone number of the customer.                                                                                                                                                                                                                                                                                                        |
| User Unique Ordered Product Type                       | List of unique product types purchased by the user across all completed orders.                                                                                                                                                                                                                                                          |
| User Unique Ordered Products                           | List of unique products purchased by the user across all completed orders.                                                                                                                                                                                                                                                               |
| User Unique Ordered Skus                               | List of unique variant SKUs purchased by the user across all completed orders.                                                                                                                                                                                                                                                           |
| Order Cancelled At (Universal)                         | Reflects when the order was cancelled in Shopify - Universal Time Zone.                                                                                                                                                                                                                                                                  |
| Order Completed At (Central)                           | The timestamp when this order became completed - Cental Time Zone.                                                                                                                                                                                                                                                                       |
| Order Completed At (Eastern)                           | The timestamp when this order became completed - Eastern Time Zone.                                                                                                                                                                                                                                                                      |
| Order Completed At (Mountain)                          | The timestamp when this order became completed - Mountain Time Zone.                                                                                                                                                                                                                                                                     |
| Order Completed At (Pacific)                           | The timestamp when this order became completed - Pacific Time Zone.                                                                                                                                                                                                                                                                      |
| Order Completed At (Universal)                         | The timestamp when this order became completed - Universal Time Zone.                                                                                                                                                                                                                                                                    |
| Order Created At (Central)                             | Reflects when the entity was first created in Shopify - Cental Time Zone.                                                                                                                                                                                                                                                                |
| Order Created At (Eastern)                             | Reflects when the entity was first created in Shopify - Eastern Time Zone.                                                                                                                                                                                                                                                               |
| Order Created At (Mountain)                            | Reflects when the entity was first created in Shopify - Mountain Time Zone.                                                                                                                                                                                                                                                              |
| Order Created At (Pacific)                             | Reflects when the entity was first created in Shopify - Pacific Time Zone.                                                                                                                                                                                                                                                               |
| Order Created At (Universal)                           | Reflects when the entity was first created in Shopify - Universal Time Zone.                                                                                                                                                                                                                                                             |
| Order Last Fulfillment At (Universal)                  | The maximum timestamp for the last update order fulfillment - Universal Time Zone.                                                                                                                                                                                                                                                       |
| Order Updated At (Universal)                           | Reflects when the entity was last updated in Shopify - Universal Time Zone.                                                                                                                                                                                                                                                              |
| User First Completed Order Completed At (Universal)    | Timestamp for the first order completed - Universal Time Zone.                                                                                                                                                                                                                                                                           |
| User First Completed Order Created At (Universal)      | Timestamp for the first completed order created - Universal Time Zone.                                                                                                                                                                                                                                                                   |
| User First Order Created At (Universal)                | Timestamp of the first created order for the user - Universal Time Zone.                                                                                                                                                                                                                                                                 |
| User First Subscription Created At (Universal)         | Timestamp of when the first subscription was created per user - Universal Time Zone.                                                                                                                                                                                                                                                     |
| User First Subscription Order Completed At (Universal) | The timestamp of the user's first completed subscription order, regardless of subsequent subscriptions - Universal Time Zone.                                                                                                                                                                                                            |
| User First Subscription Order Created At (Universal)   | The timestamp of the user's first completed subscription order, regardless of subsequent subscriptions - Universal Time Zone.                                                                                                                                                                                                            |
| User Last Completed Order Completed At (Universal)     | Timestamp for the most recent order completed - Universal Time Zone.                                                                                                                                                                                                                                                                     |
| User Last Completed Order Created At (Universal)       | Timestamp for the most recent completed order created - Universal Time Zone.                                                                                                                                                                                                                                                             |
| Average Additional Tax Total                           | When taxes are not included in the subtotal, this is total tax added to the order.                                                                                                                                                                                                                                                       |
| Average Fulfillment Tax Total                          | Total tax applied to the order's fulfillment fee.                                                                                                                                                                                                                                                                                        |
| Average Fulfillment Total                              | The sum of all shipping prices in the location's currency.                                                                                                                                                                                                                                                                               |
| Average Gross Revenue                                  | Gross revenue of the order calculated as \`item\_total\` + \`fulfillment\_total\`                                                                                                                                                                                                                                                        |
| Average Included Tax Total                             | When taxes are included in the subtotal, this is the total tax included in the order.                                                                                                                                                                                                                                                    |
| Average Item Total                                     | The sum of all line item prices in the location's currency.                                                                                                                                                                                                                                                                              |
| Average Line Item Tax Total                            | Total tax applied to the line items of the order.                                                                                                                                                                                                                                                                                        |
| Average Manual Transaction Total                       | Sum of all sales transaction with gateway of type 'manual'.                                                                                                                                                                                                                                                                              |
| Average Net Revenue                                    | Net revenue of the order calculated as \`item\_total\` + \`fulfillment\_total\` - \`promo\_total\` - \`refund\_total\`                                                                                                                                                                                                                   |
| Average Non Reactivated Subscription Unit Total        | Sum of unit price for non reactivated subscriptions per order. Reactivation is a customer who returned after having canceled the first subscription.                                                                                                                                                                                     |
| Average Payment Capture Total                          | Sum of successful capture transactions.                                                                                                                                                                                                                                                                                                  |
| Average Payment Total                                  | Sum of all sales transaction with gateway of type 'shopify\_payments'.                                                                                                                                                                                                                                                                   |
| Average Product Basket Count                           | The count of products for a given order.                                                                                                                                                                                                                                                                                                 |
| Average Product Purchased Quantity                     | The total number of product purchased for a given order.                                                                                                                                                                                                                                                                                 |
| Average Promo Total                                    | The total discounts applied to the price of the order in the location's currency.                                                                                                                                                                                                                                                        |
| Average Reactivated Subscription Unit Total            | Sum of unit price for reactivated subscriptions per order. Reactivation is a customer who returned after having canceled the first subscription.                                                                                                                                                                                         |
| Average Refund Total                                   | Sum of all the transactions that are of kind 'refund' applied to the order.                                                                                                                                                                                                                                                              |
| Average Tax Total                                      | The sum of all the taxes applied to the order in the location's currency.                                                                                                                                                                                                                                                                |
| Average Total Price                                    | The sum of all line item prices, discounts, shipping, taxes, and tips in the                                                                                                                                                                                                                                                             |
| Average Transaction Total                              | Sum of all sale transactions for the order.                                                                                                                                                                                                                                                                                              |
| Average Variant Basket Count                           | The count of variants for a given order.                                                                                                                                                                                                                                                                                                 |
| Average Variant Purchased Quantity                     | The total number of variants purchased for a given order.                                                                                                                                                                                                                                                                                |
| Additional Tax Total                                   | When taxes are not included in the subtotal, this is total tax added to the order.                                                                                                                                                                                                                                                       |
| Fulfillment Tax Total                                  | Total tax applied to the order's fulfillment fee.                                                                                                                                                                                                                                                                                        |
| Fulfillment Total                                      | The sum of all shipping prices in the location's currency.                                                                                                                                                                                                                                                                               |
| Gross Revenue                                          | Gross revenue of the order calculated as \`item\_total\` + \`fulfillment\_total\`                                                                                                                                                                                                                                                        |
| Included Tax Total                                     | When taxes are included in the subtotal, this is the total tax included in the order.                                                                                                                                                                                                                                                    |
| Item Total                                             | The sum of all line item prices in the location's currency.                                                                                                                                                                                                                                                                              |
| Line Item Tax Total                                    | Total tax applied to the line items of the order.                                                                                                                                                                                                                                                                                        |
| Manual Transaction Total                               | Sum of all sales transaction with gateway of type 'manual'.                                                                                                                                                                                                                                                                              |
| Net Revenue                                            | Net revenue of the order calculated as \`item\_total\` + \`fulfillment\_total\` - \`promo\_total\` - \`refund\_total\`                                                                                                                                                                                                                   |
| Non Reactivated Subscription Unit Total                | Sum of unit price for non reactivated subscriptions per order. Reactivation is a customer who returned after having canceled the first subscription.                                                                                                                                                                                     |
| Payment Capture Total                                  | Sum of successful capture transactions.                                                                                                                                                                                                                                                                                                  |
| Payment Total                                          | Sum of all sales transaction with gateway of type 'shopify\_payments'.                                                                                                                                                                                                                                                                   |
| Total Price                                            | The sum of all line item prices, discounts, shipping, taxes, and tips in the                                                                                                                                                                                                                                                             |
| Product Basket Count                                   | The count of products for a given order.                                                                                                                                                                                                                                                                                                 |
| Product Purchased Quantity                             | The total number of product purchased for a given order.                                                                                                                                                                                                                                                                                 |
| Promo Total                                            | The total discounts applied to the price of the order in the location's currency.                                                                                                                                                                                                                                                        |
| Reactivated Subscription Unit Total                    | Sum of unit price for reactivated subscriptions per order. Reactivation is a customer who returned after having canceled the first subscription.                                                                                                                                                                                         |
| Refund Total                                           | Sum of all the transactions that are of kind 'refund' applied to the order.                                                                                                                                                                                                                                                              |
| Tax Total                                              | The sum of all the taxes applied to the order in the location's currency.                                                                                                                                                                                                                                                                |
| Transaction Total                                      | Sum of all sale transactions for the order.                                                                                                                                                                                                                                                                                              |
| Variant Basket Count                                   | The count of variants for a given order.                                                                                                                                                                                                                                                                                                 |
| Variant Purchased Quantity                             | The total number of variants purchased for a given order.                                                                                                                                                                                                                                                                                |

### **x\_fct\_acc\_anonymous**

| Name                                               | Description                                                                                                                                                                                                                                                                                                                          |
| -------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Anonymous Completed Oms Order Ids                  | Array of OMS Order IDs associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                           |
| Anonymous Completed Order Ids                      | Array of order IDs associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                               |
| Anonymous Completed Order Numbers                  | Array of order numbers associated to the anonymous\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                           |
| Anonymous Current Blended User Id                  | Unique id derived from the user\_id and the anonymous\_id. Whenever a customer has a user\_id, the user\_anonymous\_id will be constant for                                                                                                                                                                                          |
| Anonymous Current User Id                          | The current user\_id associated with the anonymous\_id. This unique user\_id is created by Segment's Identify call. A user\_id can be associated to many anonymous\_ids.                                                                                                                                                             |
| Anonymous Id                                       | Unique id created by Chord for each anonymous visitor per store.                                                                                                                                                                                                                                                                     |
| Anonymous Segment Anonymous Id                     | Id created by Segment for each anonymous visitor. This id gets created as soon as a customer's browser loads the analytics javascript widget. The anonymous\_id remains unchanged through the entire browsing session from a single device. Depending on configuration, two stores connected stores may have the same anonymous\_id. |
| Anonymous Unique User Ids                          | Array of user IDs mapped to an anonymous ID.                                                                                                                                                                                                                                                                                         |
| Current User Address 1                             | The first line of the street address.                                                                                                                                                                                                                                                                                                |
| Current User Address 2                             | The optional second line of the address.                                                                                                                                                                                                                                                                                             |
| Current User Address City                          | The city of the address.                                                                                                                                                                                                                                                                                                             |
| Current User Address Country                       | The country of the address.                                                                                                                                                                                                                                                                                                          |
| Current User Address Name                          | The full name of the customer, based on firstName and lastName.                                                                                                                                                                                                                                                                      |
| Current User Address State                         | The region of the address, such as the province, state, or district.                                                                                                                                                                                                                                                                 |
| Current User Address Zip                           | The postal code of the address.                                                                                                                                                                                                                                                                                                      |
| Current User Completed Oms Order Ids               | Array of OMS Order IDs associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                |
| Current User Completed Order Ids                   | Array of order IDs associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                    |
| Current User Completed Order Numbers               | Array of order numbers associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                                |
| Current User Email                                 | The email associated with the user.                                                                                                                                                                                                                                                                                                  |
| Current User Id                                    | Unique ID per user. It is equal to either 1) a identified\_user\_id as identified by Segment in the Identify call, or 2) an anonynous\_id.                                                                                                                                                                                           |
| Current User Identified User Id                    | Unique ID per identified user. (See Segment's documentation on user\_id)\[ `https://segment.com/docs/connections/spec/identify/#user-id` ].                                                                                                                                                                                          |
| Current User Ip                                    | IP address associated with the user.                                                                                                                                                                                                                                                                                                 |
| Current User Last Anonymous Id                     | Last seen anonymous\_id per user. An anonymous\_id is a unique ID per anonymous visitor. (See Segment's documentation on anonymous\_id)\[ `https://segment.com/docs/connections/spec/identify/#anonymous-id` ].                                                                                                                      |
| Current User Last Segment Anonymous Id             | This column is not documented.                                                                                                                                                                                                                                                                                                       |
| Current User Segment User Id                       | The unique ID of the user.                                                                                                                                                                                                                                                                                                           |
| Current User Unique Anonymous Ids                  | Array of all seen anonymous\_ids per user. An anonymous\_id is a unique ID per anonymous visitor. (See Segment's documentation on anonymous\_id)\[ `https://segment.com/docs/connections/spec/identify/#anonymous-id` ].                                                                                                             |
| Current User Unique Completed Order Count          | Count of unique order ids associated to the user\_id, as collected by order completed or checkout completed front-end events, over time.                                                                                                                                                                                             |
| First Page Browser Locale                          | Locale of browser.                                                                                                                                                                                                                                                                                                                   |
| First Page Date Day Num Of Year                    | The number representing the day of the year.                                                                                                                                                                                                                                                                                         |
| First Page Date Id                                 | Unique key that uniquify a date.                                                                                                                                                                                                                                                                                                     |
| First Page Date Month Num Of Year                  | The month number of the year.                                                                                                                                                                                                                                                                                                        |
| First Page Device                                  | The device on which the event was sent from.                                                                                                                                                                                                                                                                                         |
| First Page Device Category                         | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                            |
| First Page Event Table Name                        | The properly formatted name of the table of the event.                                                                                                                                                                                                                                                                               |
| First Page Event Text                              | The name of the event.                                                                                                                                                                                                                                                                                                               |
| First Page Event Text Id                           | The slug of the event name, mapping to the page or track event table.                                                                                                                                                                                                                                                                |
| First Page Gclid                                   | The Google Click ID. Google Click ID (GCLID) is a parameter passed in the URL with ad clicks, to identify the campaign and other attributes of the click associated with the ad for ad tracking and campaign attribution.                                                                                                            |
| First Page Id                                      | Unique key generated by Segment for each tracking or page event.                                                                                                                                                                                                                                                                     |
| First Page Oms Id                                  | Unique key generated by our models that uniquifies an OMS.                                                                                                                                                                                                                                                                           |
| First Page Host                                    | The host of the event's URL. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                        |
| First Page Path                                    | The page path part of the URL. A page path is the part of URL that comes after the hostname (domain) and before the query parameters, URL fragment, or port. (e.g. `/pages/contact-us/` for `https://chord.co/pages/contact-us/?ref=internal-banner`.)                                                                               |
| First Page Query                                   | The query string portion of the URL of the page.                                                                                                                                                                                                                                                                                     |
| First Page Referrer                                | The referrer of the page. The referrer is the webpage that sends visitors to the site using a link. In                                                                                                                                                                                                                               |
| First Page Title                                   | The title/name of the page.                                                                                                                                                                                                                                                                                                          |
| First Page Url                                     | The URL of the page.                                                                                                                                                                                                                                                                                                                 |
| First Page Referrer Host                           | The host of the referrer. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                           |
| First Page Segment User Id                         | The unique ID of the user.                                                                                                                                                                                                                                                                                                           |
| First Page Store Id                                | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| First Page Tenant Id                               | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                              |
| First Page User Agent                              | The User agent of the device making the request. A User agent request header is a characteristic string that lets servers and                                                                                                                                                                                                        |
| First Page User Id                                 | Unique key generated by Chord to identify the user.                                                                                                                                                                                                                                                                                  |
| First Page Utm Campaign                            | The campaign name represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| First Page Utm Content                             | The campaign content represented by the UTM tags.                                                                                                                                                                                                                                                                                    |
| First Page Utm Medium                              | The campaign medium represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| First Page Utm Source                              | The campaign source represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| First Page Utm Term                                | The campaign term represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| First Page Website Locale                          | Locale of website. This will either be collected from the url or from the drop-down link on the store                                                                                                                                                                                                                                |
| First Session Activity Count                       | Total count of activities, pave views and tracked events within the session.                                                                                                                                                                                                                                                         |
| First Session Attribution Channel                  | The attribution channel for the first page event of the session. Sessions with an attribution of 'Unknown' indicates that there is no attributable data for that session.                                                                                                                                                            |
| First Session Attribution Channel Paid Or Organic  | Indicates if the session's first page attribution is paid or organic. Attribution is considered Organic if the attribution channel is 'Direct', 'Other', 'Organic Search', 'Organic Social', 'Email', or 'SMS'.                                                                                                                      |
| First Session Attribution First Page Url Has Gclid | Indicates if the first page event of the session has a Google Click ID.                                                                                                                                                                                                                                                              |
| First Session Attribution First Page Url Has Utm   | Indicates if the first page event of the session has any utm information.                                                                                                                                                                                                                                                            |
| First Session Attribution Has Referrer             | Indicates if the first page event of the session has a referrer host.                                                                                                                                                                                                                                                                |
| First Session Attribution Medium                   | The campaign medium represented by the UTM tags for the first page event of the session.                                                                                                                                                                                                                                             |
| First Session Attribution Source                   | The campaign source represented by the UTM tags for the first page event of the session.                                                                                                                                                                                                                                             |
| First Session Attribution Sub Channel              | Sub-Channel is a granular level of attribution.                                                                                                                                                                                                                                                                                      |
| First Session Completed Oms Order Ids              | Array of OMS Order IDs associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                        |
| First Session Completed Order Ids                  | Array of order IDs associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                            |
| First Session Completed Order Numbers              | Array of order numbers associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                        |
| First Session Days Since Last Session End          | The days between the last session's end and the start of this session.                                                                                                                                                                                                                                                               |
| First Session Device                               | The device on which the event was sent from.                                                                                                                                                                                                                                                                                         |
| First Session Device Category                      | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                            |
| First Session Duration In Seconds                  | Total seconds between start and end activities within the session.                                                                                                                                                                                                                                                                   |
| First Session Duration In Seconds Tiers            | Total seconds between start and end activities within the session, aggregated into tiers: 0-9s, 10-29s, 30-59s, and 60s or more.                                                                                                                                                                                                     |
| First Session Has Order Completion                 | Flag for sessions with an order completed or checkout completed front-end events                                                                                                                                                                                                                                                     |
| First Session Id                                   | Unique ID for the session.                                                                                                                                                                                                                                                                                                           |
| First Session Number                               | Session number per anonymous id.                                                                                                                                                                                                                                                                                                     |
| First Session Unique Completed Order Count         | Count of unique order ids associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                     |
| First Session Unique Completed Order Number Count  | Count of unique order numbers associated to the session\_id, as collected by order completed or checkout completed front-end events.                                                                                                                                                                                                 |
| Last Page Browser Locale                           | Locale of browser.                                                                                                                                                                                                                                                                                                                   |
| Last Page Date Day Num Of Year                     | The number representing the day of the year.                                                                                                                                                                                                                                                                                         |
| Last Page Date Id                                  | Unique key that uniquify a date.                                                                                                                                                                                                                                                                                                     |
| Last Page Date Month Num Of Year                   | The month number of the year.                                                                                                                                                                                                                                                                                                        |
| Last Page Device                                   | The device on which the event was sent from.                                                                                                                                                                                                                                                                                         |
| Last Page Device Category                          | The device category of the device on which the event was sent from. There are multiple supported values for this column such as 'iPhone',                                                                                                                                                                                            |
| Last Page Event Table Name                         | The properly formatted name of the table of the event.                                                                                                                                                                                                                                                                               |
| Last Page Event Text                               | The name of the event.                                                                                                                                                                                                                                                                                                               |
| Last Page Event Text Id                            | The slug of the event name, mapping to the page or track event table.                                                                                                                                                                                                                                                                |
| Last Page Gclid                                    | The Google Click ID. Google Click ID (GCLID) is a parameter passed in the URL with ad clicks, to identify the campaign and other attributes of the click associated with the ad for ad tracking and campaign attribution.                                                                                                            |
| Last Page Id                                       | Unique key generated by Segment for each tracking or page event.                                                                                                                                                                                                                                                                     |
| Last Page Oms Id                                   | Unique key generated by our models that uniquifies an OMS.                                                                                                                                                                                                                                                                           |
| Last Page Host                                     | The host of the event's URL. For example `https://www.store-staging.assembly.dev/myPage`  would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                       |
| Last Page Path                                     | The page path part of the URL. A page path is the part of URL that comes after the hostname (domain) and before the query parameters, URL fragment, or port. (e.g. `/pages/contact-us/` for `https://chord.co/pages/contact-us/?ref=internal-banner`.)                                                                               |
| Last Page Query                                    | The query string portion of the URL of the page.                                                                                                                                                                                                                                                                                     |
| Last Page Referrer                                 | The referrer of the page. The referrer is the webpage that sends visitors to the site using a link. In                                                                                                                                                                                                                               |
| Last Page Title                                    | The title/name of the page.                                                                                                                                                                                                                                                                                                          |
| Last Page Url                                      | The URL of the page.                                                                                                                                                                                                                                                                                                                 |
| Last Page Referrer Host                            | The host of the referrer. For example `https://www.store-staging.assembly.dev/myPage` would become `store-staging.assembly.dev`. This facilitates grouping events by host.                                                                                                                                                           |
| Last Page Segment User Id                          | The unique ID of the user.                                                                                                                                                                                                                                                                                                           |
| Last Page Store Id                                 | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Last Page Tenant Id                                | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                              |
| Last Page User Agent                               | The User agent of the device making the request. A User agent request header is a characteristic string that lets servers and                                                                                                                                                                                                        |
| Last Page User Id                                  | Unique key generated by Chord to identify the user.                                                                                                                                                                                                                                                                                  |
| Last Page Utm Campaign                             | The campaign name represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Last Page Utm Content                              | The campaign content represented by the UTM tags.                                                                                                                                                                                                                                                                                    |
| Last Page Utm Medium                               | The campaign medium represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Last Page Utm Source                               | The campaign source represented by the UTM tags.                                                                                                                                                                                                                                                                                     |
| Last Page Utm Term                                 | The campaign term represented by the UTM tags.                                                                                                                                                                                                                                                                                       |
| Last Page Website Locale                           | Locale of website. This will either be collected from the url or from the drop-down link on the store                                                                                                                                                                                                                                |
| Store Id                                           | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Store Name                                         | The name of the store.                                                                                                                                                                                                                                                                                                               |
| Store Oms Admin Url                                | The Admin URL of that OMS.                                                                                                                                                                                                                                                                                                           |
| Store Oms Id                                       | Unique key generated by Chord that uniquifies an OMS.                                                                                                                                                                                                                                                                                |
| Store Oms Store Id                                 | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Store Oms Type                                     | The type of the OMS.                                                                                                                                                                                                                                                                                                                 |
| Store Id                                           | Unique key generated by our models that uniquifies a store.                                                                                                                                                                                                                                                                          |
| Store Tenant Id                                    | Unique key generated by Chord that uniquifies a tenant.                                                                                                                                                                                                                                                                              |
| Store Url                                          | The Storefront URL of of the store.                                                                                                                                                                                                                                                                                                  |
| Current User Created At (Universal)                | The timestamp when the user was created - Universal Time Zone.                                                                                                                                                                                                                                                                       |
| Current User First Seen At (Universal)             | The first time the user was seen on the site, identified as either anonymous ID or user ID - Universal Time Zone.                                                                                                                                                                                                                    |
| First Page Ts (Universal)                          | The timestamp calculated by Segment correcting clock skew - Universal Time Zone.                                                                                                                                                                                                                                                     |
| First Session End Ts (Universal)                   | Last activity timestamp for a session - Universal Time Zone.                                                                                                                                                                                                                                                                         |
| First Session Last Session End Ts (Universal)      | The timestamp of the previous session's end per blended user id, if this is not the user's first session - Universal Time Zone.                                                                                                                                                                                                      |
| First Session Last Session Start Ts (Universal)    | The timestamp of the previous session's start per blended user id, if this is not the user's first session - Universal Time Zone.                                                                                                                                                                                                    |
| First Session Start Ts (Central)                   | First activity timestamp for a session - Cental Time Zone.                                                                                                                                                                                                                                                                           |
| First Session Start Ts (Eastern)                   | First activity timestamp for a session - Eastern Time Zone.                                                                                                                                                                                                                                                                          |
| First Session Start Ts (Mountain)                  | First activity timestamp for a session - Mountain Time Zone.                                                                                                                                                                                                                                                                         |
| First Session Start Ts (Pacific)                   | First activity timestamp for a session - Pacific Time Zone.                                                                                                                                                                                                                                                                          |
| First Session Start Ts (Universal)                 | First activity timestamp for a session - Universal Time Zone.                                                                                                                                                                                                                                                                        |
| Last Page Ts (Universal)                           | The timestamp calculated by Segment correcting clock skew - Universal Time Zone.                                                                                                                                                                                                                                                     |
| User Anonymous Last Seen Ts (Central)              | The last timestamp the anonymous ID was registered, seen, on the site - Cental Time Zone.                                                                                                                                                                                                                                            |
| User Anonymous Last Seen Ts (Eastern)              | The last timestamp the anonymous ID was registered, seen, on the site - Eastern Time Zone.                                                                                                                                                                                                                                           |
| User Anonymous Last Seen Ts (Mountain)             | The last timestamp the anonymous ID was registered, seen, on the site - Mountain Time Zone.                                                                                                                                                                                                                                          |
| User Anonymous Last Seen Ts (Pacific)              | The last timestamp the anonymous ID was registered, seen, on the site - Pacific Time Zone.                                                                                                                                                                                                                                           |
| User Anonymous Last Seen Ts (Universal)            | The last timestamp the anonymous ID was registered, seen, on the site - Universal Time Zone.                                                                                                                                                                                                                                         |


[title] Facebook (Meta) CAPI
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

The **Facebook Conversions API** (also known as **Meta CAPI**) is a server-side integration that sends event data directly from Chord CDP to Meta's servers. Unlike the Facebook Pixel (which runs in the browser), the Conversions API operates in cloud mode — events are sent server-to-server, making them immune to ad blockers and browser tracking restrictions.

Meta recommends using the Conversions API alongside the Facebook Pixel for maximum data coverage. When both are configured, Meta automatically deduplicates events using the `event_id` field.

# Best Practices

- **Use CAPI alongside the Meta Pixel** — provides redundancy and better coverage
- **Enable Automatic Advanced Matching** — increases match quality without compromising privacy
- **Send rich user data** — the more hashed identifiers (email, phone, name, address) you provide, the higher your match rates

# Expected Results

After enabling CAPI, you should see:

- **Higher match rates** in Meta Events Manager, as server-side events are not blocked by browsers
- **Extended cookie lifespan** for attribution, since `fbc`/`fbp` identifiers are sent server-side

# Getting Started

This is a cloud-mode destination. You will need:

- **Facebook Pixel ID** — found in Meta Events Manager under your pixel settings
- **Access Token** — a system user token generated in Meta Business Settings. See [Meta's documentation](https://developers.facebook.com/docs/marketing-api/conversions-api/get-started) for instructions on generating a server-side access token

# Connecting to the Facebook Conversions API CDP Destination

:::BlockQuote
**Warning:** Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are **disabled**. Running external destinations alongside configured Chord CDP destinations **can result in duplicate events downstream.**
:::

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **Facebook Conversions API** from the destination catalog.
5. Enter the destination name, **Pixel ID**, and **Access Token**.
6. Optionally configure:
   - **Action Source** — defaults to `website`. Change to `app`, `email`, etc. if events originate from non-web sources
   - **Events filter** — restrict which events are forwarded (empty sends all)
   - **Product Content ID Field** — which product field to use as the content ID (`sku`, `product_id`, or `variant_id`). Defaults to `sku`. This value will be used in the `contents.[].id` field.
   - **Phone Field Name** — the trait field containing phone numbers (leave empty to skip phone matching)
7. Click **"Create"** to connect.

# Events

# Event Mapping

| Chord Event            | Facebook Event                     |
| ---------------------- | ---------------------------------- |
| Page                   | `PageView`                         |
| Checkout Started       | `InitiateCheckout`                 |
| Order Completed        | `Purchase`                         |
| Product Added          | `AddToCart`                        |
| Product Viewed         | `ViewContent`                      |
| Products Searched      | `Search`                           |
| Product Clicked        | `ViewContent`                      |
| Subscription Created   | `Subscribe`                        |
| *(other track events)* | Original event name passed through |

Page, track, and screen events are forwarded. Identify events are ignored.

# Common Event Fields

These fields are included on every event sent to Meta.

| Facebook Field     | Chord Source (Priority Order)           | Notes                                         |
| ------------------ | --------------------------------------- | --------------------------------------------- |
| `event_name`       | *(mapped from event — see table above)* |                                               |
| `event_time`       | `timestamp`                             | Converted to Unix seconds                     |
| `event_id`         | `messageId`                             | Used for deduplication with the browser pixel |
| `action_source`    | Configured action source                | Defaults to `website`                         |
| `event_source_url` | `context.page.url`                      |                                               |

# User Data

All personally identifiable information (PII) is SHA256-hashed before being sent to Meta, in compliance with Meta's data processing requirements.

| Facebook Field      | Chord Source (Priority Order)                                     | Notes                                                                                                  |
| ------------------- | ----------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
| `em` (email)        | `properties.email` > `context.traits.email`                       | Lowercased and SHA256-hashed                                                                           |
| `ph` (phone)        | `properties.{phoneFieldName}` > `context.traits.{phoneFieldName}` | Non-digits removed, leading zeros stripped, SHA256-hashed. Only sent if phone field name is configured |
| `fn` (first name)   | `properties.first_name` > first word of `context.traits.name`     | SHA256-hashed                                                                                          |
| `ln` (last name)    | `properties.last_name` > second word of `context.traits.name`     | SHA256-hashed                                                                                          |
| `zp` (zip code)     | `properties.shipping_zipcode` > `context.traits.address.zipcode`  | SHA256-hashed                                                                                          |
| `ct` (city)         | `properties.shipping_city` > `context.traits.address.city`        | SHA256-hashed; also enriched from server-side geo lookup                                               |
| `country`           | `properties.shipping_country` > `context.traits.address.country`  | SHA256-hashed; also enriched from geo lookup                                                           |
| `st` (state)        | *(geo lookup)*                                                    | SHA256-hashed region code from IP geolocation                                                          |
| `external_id`       | `userId`, `anonymousId`                                           | Array of SHA256-hashed values                                                                          |
| `client_ip_address` | `context.ip`                                                      | Not hashed                                                                                             |
| `client_user_agent` | `context.userAgent`                                               | Not hashed                                                                                             |
| `fbc`               | `properties.fbc` > `context.clientIds.fbc`                        | Facebook click ID                                                                                      |
| `fbp`               | `properties.fbp` > `context.clientIds.fbp`                        | Facebook browser ID                                                                                    |

# Custom Data (Track Events)

Track events include a `custom_data` block with the following structured schema fields. Additionally, any `properties.*` destination mappings configured in Hub that target non-schema fields are forwarded as custom properties alongside the structured fields.

| Facebook Field     | Chord Source (Priority Order)                                                       | Notes                                                          |
| ------------------ | ----------------------------------------------------------------------------------- | -------------------------------------------------------------- |
| `value`            | `properties.total`                                                                  | String; defaults to `"0"`                                      |
| `currency`         | `properties.currency` > `properties.meta.i18n.currency`                             |                                                                |
| `content_ids`      | Each product's `sku` > `product_id` > `variant_id` (or configured content ID field) | Array of product IDs                                           |
| `contents`         | Array of `{ id, quantity, item_price }` per product                                 | `quantity` defaults to `1`                                     |
| `content_type`     | *(derived)*                                                                         | `"product"` for single product, `"product_group"` for multiple |
| `content_name`     | First product's `name`                                                              |                                                                |
| `content_category` | First product's `category`                                                          |                                                                |
| `num_items`        | Count of products                                                                   |                                                                |

When no `properties.products` array is present but `properties.sku` exists, a single `content_ids` entry is created from that SKU.

# App Data (App Action Source Only)

When **Action Source** is set to `app`, an additional `app_data` block is included in the event payload. This is populated from `context.app`, `context.os`, `context.device`, and `context.screen`.

| Field                          | Chord Source             | Notes                                    |
| ------------------------------ | ------------------------ | ---------------------------------------- |
| `advertiser_tracking_enabled`  | *(hardcoded)* `0`        |                                          |
| `application_tracking_enabled` | *(hardcoded)* `0`        |                                          |
| `extinfo[0]`                   | `context.os.name`        | `"i2"` for iOS/macOS, `"a2"` for Android |
| `extinfo[1]`                   | `context.app.namespace`  | App bundle ID                            |
| `extinfo[2]`                   | `context.app.version`    | App version string                       |
| `extinfo[4]`                   | `context.os.version`     | OS version                               |
| `extinfo[5]`                   | `context.device.model`   | Device model name                        |
| `extinfo[6]`                   | `context.locale`         | Device locale                            |
| `extinfo[9]`                   | `context.screen.width`   | Screen width in pixels                   |
| `extinfo[10]`                  | `context.screen.height`  | Screen height in pixels                  |
| `extinfo[11]`                  | `context.screen.density` | Screen density                           |
| `extinfo[15]`                  | `context.timezone`       | Device timezone                          |

# Custom Property Forwarding

Configure destination mappings in Hub with `properties.*` destination paths to forward additional event properties into `custom_data`. Only explicitly-configured non-schema fields are forwarded — nothing flows through automatically.

**How to configure:**

1. Open the destination's **Mappings** tab in Hub.
2. Add a mapping with source path `properties.loyalty_tier` and destination path `properties.loyalty_tier`.
3. On the next event, `custom_data.loyalty_tier` will appear in the payload sent to Meta.

**What is excluded:**

- Schema fields already handled by the destination transform (e.g. `currency`, `value`, `order_id`, `products`) — these flow through the structured transform
- PII fields (`email`, `phone`, `first_name`, `last_name`) — these are handled via `user_data` with SHA-256 hashing

When a custom mapping targets a schema field (e.g. `properties.value → properties.value`), the customer-configured value overrides the destination's computed default. This allows schema fields to be sourced from a different event property — for example, mapping `properties.total → properties.value` to use your order total as the conversion value.

# Testing and Validation

After connecting the destination:

1. Use the **Diagnostics** tab in Meta Events Manager to confirm events are being received
2. Use the **Test Events** tab to validate event payloads in real time
3. Verify match rates — higher rates indicate user identifiers are being sent correctly
4. Confirm revenue values and order counts align with your expectations
5. Check the Facebook Developer Console for any API errors or authentication issues

If you are running both CAPI and the Facebook Pixel, ensure `event_id` values match across both to prevent duplicate counting. Chord CDP handles this automatically by using `messageId` as the `event_id` for both destinations.

# Implementation Checklist

| Task                                           | Why It Matters                                       |
| ---------------------------------------------- | ---------------------------------------------------- |
| Enable both CAPI and Pixel                     | Provides redundancy and better coverage              |
| Activate advanced matching                     | Increases match quality without compromising privacy |
| Test events via Diagnostics + Test Events tab  | Ensures proper delivery and deduplication            |
| Monitor developer console metrics              | Proactively identifies API errors or auth issues     |
| Match event IDs across Pixel and server events | Prevents data duplication or mismatches              |

# Property Mappings

Use custom property mappings if the default field resolution does not match your data model:

| Destination Path                 | Description                 |
| -------------------------------- | --------------------------- |
| `properties.email`               | Email for user matching     |
| `properties.total`               | Conversion value            |
| `properties.currency`            | Currency code (e.g., `USD`) |
| `properties.products[].sku`      | Product content IDs         |
| `properties.products[].price`    | Per-item price              |
| `properties.products[].quantity` | Per-item quantity           |

Any destination path of the form `properties.<field>` that does not match a schema field listed above is treated as a custom property and promoted into `custom_data`. See [Custom Property Forwarding]().

***

**Updated 27 May 2026**

[title] Google Tag Manager
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

# Introduction

**Google Tag Manager (GTM)&#x20;**&#x69;s a tag management system that lets you add and update website tags—like tracking pixels and analytics scripts—without changing the site’s code. It simplifies tracking setup and improves marketing agility.

# Getting started

This is a **device-mode** destination. You will need the relevant **Container ID** of your Google Tag Manager Workspace to connect this destination. You can find this information by following the steps below:&#x20;

- Log into your Google Tag Manager Workspace homepage.
- Navigate to the upper right-hand corner of the page and locate the Container ID.

# Connecting to the Google Tag Manager CDP destination

:::hint{type="danger"}
Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are *disabled.*
**
Running external destinations alongside configured Chord CDP destinations ***can result in duplicate events downstream.&#x20;***
:::

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"&#x20;**&#x62;utton next to Destinations.
4. Select **Google Tag Manager&#x20;**&#x66;rom the destination catalog.
5. Enter in the **Destination Name, the Container ID, and Data Layer Name**&#x20;
   - `Destination Name`- The arbitrary name you give to the destination
   - `Container ID`- The GTM Container ID is found in your ***Google Tag Manager*** account.
     - **How to Find It**
       1. Go to [https://tagmanager.google.com](https://tagmanager.google.com)
       2. Select your account and container
       3. The Container ID is displayed at the top of the workspace - it looks like **GTM-XXXXXXX**
   - `Data Layer Name`- The *dataLayerName* field specifies the name of the JavaScript array that GTM uses to receive data on the page.
     - **How to Find It**
       1. Go to [https://tagmanager.google.com](https://tagmanager.google.com)
       2. Navigate to the *Variables&#x20;*&#x73;ettings in the left-hand pane
       3. Look for any configured `Data Layer Variables`&#x20;
       4. If there isn't an explicit variable configured, this value will **default to&#x20;**`dataLayer`

::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/wHPDEFXafVQ1aEqYjSJj-_image-5.png" size="80" width="1922" height="1110" position="center" darkWidth="1922" darkHeight="1110" showCaption="false" indent="3"}

::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/QvlFXMXOESTSbgTETGzpd_image-6.png" size="80" width="615" height="533" position="center" darkWidth="615" darkHeight="533" showCaption="false" indent="2"}

6. Click **"Create"&#x20;**&#x74;o connect.

# Events

All events push data to the Data Layer via `dataLayer.push(eventData)`, followed by a `dataLayer.push(function() { this.reset() })` call to clear the Data Layer state for the next event.

## Page

Pushes a page event to the Data Layer.

**Data Layer push:**

| Data Layer Key | Chord Source                          | Notes                  |
| -------------- | ------------------------------------- | ---------------------- |
| `event`        | *(hardcoded)* `"page"`                |                        |
| `userId`       | `userId` > `""`                       |                        |
| `anonymousId`  | `anonymousId` > `""`                  |                        |
| `name`         | `properties.title` > `""`             |                        |
| `url`          | `properties.url` > `""`               |                        |
| `title`        | `properties.title` > `""`             |                        |
| `properties`   | `properties`                          | Full properties object |
| `traits`       | `traits` merged with `context.traits` |                        |

***

## Identify

Pushes an identify event to the Data Layer.

**Data Layer push:**

| Data Layer Key | Chord Source                          | Notes |
| -------------- | ------------------------------------- | ----- |
| `event`        | *(hardcoded)* `"identify"`            |       |
| `userId`       | `userId` > `""`                       |       |
| `anonymousId`  | `anonymousId` > `""`                  |       |
| `email`        | `properties.email` > `""`             |       |
| `name`         | `properties.name` > `""`              |       |
| `traits`       | `traits` merged with `context.traits` |       |

***

## Track

Pushes the track event to the Data Layer using the Chord event name directly.

**Data Layer push:**

| Data Layer Key | Chord Source                               | Notes                                                                                                      |
| -------------- | ------------------------------------------ | ---------------------------------------------------------------------------------------------------------- |
| `event`        | `event` (the Chord event name) > `"track"` |                                                                                                            |
| `userId`       | `userId` > `""`                            |                                                                                                            |
| `anonymousId`  | `anonymousId` > `""`                       |                                                                                                            |
| `currency`     | `properties.currency` > `""`               |                                                                                                            |
| `properties`   | `properties`                               | Full properties object, including `properties.products[]`, `properties.total`, `properties.order_id`, etc. |
| `traits`       | `traits` merged with `context.traits`      |                                                                                                            |

All track events are forwarded with no event-name-specific mapping. GTM tags and triggers handle the routing. All tracking plan fields are available under the `properties` key in the Data Layer (e.g., `properties.products[0].name`, `properties.products[0].price`, `properties.total`).

## Initialization

The plugin initializes the Data Layer array with the `user_id` from the first event, pushes a `gtm.start` timestamp event, then loads the GTM container script from `googletagmanager.com/gtm.js?id={containerId}`. If a custom `dataLayerName` is configured, it is passed as the `&l=` parameter.

The plugin manages SDK loading state (`fresh` → `loading` → `loaded`/`failed`) to prevent duplicate script loads. If the script fails to load, subsequent events are silently dropped.

## CSP Requirements

If your site uses a Content Security Policy, allow the following domains:

| Directive     | Domain                             |
| ------------- | ---------------------------------- |
| `script-src`  | `https://www.googletagmanager.com` |
| `connect-src` | `https://www.googletagmanager.com` |


[title] Insider Pixel
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

The **Insider Pixel** destination loads the Insider One Web SDK (`ins.js`) directly in the visitor's browser (device mode) and sends page views, ecommerce events, and user profile updates client-side via `window.InsiderQueue`. Unlike the [server-side Insider One destination](), device-mode events originate from the browser and are subject to ad blockers, but enable richer client-side context such as session data and browser fingerprinting.

Use this destination alongside the [server-side Insider One destination]() for maximum coverage.

# Getting Started

This is a device-mode destination. The Insider One Web SDK (`ins.js`) is loaded automatically — no manual script installation is required. You will need:

- **Partner Name** — your Insider partner name (account slug). This is the subdomain used in the SDK URL, e.g. `mystore` in `mystore.api.useinsider.com`. Found in **InOne Panel > Settings > Account Preferences**.
- **Partner ID** *(optional)* — your Insider partner ID. When provided, it is appended as the `id` query parameter on the SDK script URL (`ins.js?id=<partnerId>`).

# Connecting to the Insider Pixel CDP Destination

:::BlockQuote
**Warning:** Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are **disabled**. Running external destinations alongside configured Chord CDP destinations **can result in duplicate events downstream.**
:::

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **Insider Pixel** from the destination catalog.
5. Enter the destination name and **Partner Name**.
6. Optionally enter a **Partner ID** if your Insider account requires the `id` parameter on the SDK URL.
7. Click **"Create"** to connect.

# Events

# Event Mapping

| Chord Event Type    | `InsiderQueue` push type             | Notes                                         |
| ------------------- | ------------------------------------ | --------------------------------------------- |
| `identify`          | `user` → `init`                      | Updates user attributes; no event recorded    |
| `page`              | `user` → `other` → `init`            | Sends a generic page view with the page title |
| `track` (ecommerce) | `user` → *(event-specific)* → `init` | See ecommerce event mapping below             |
| `track` (other)     | `user` → `custom_event` → `init`     | Sent as a custom event                        |

Unsupported event types (e.g. `group`, `alias`) are silently dropped.

# Ecommerce Event Mapping

Six Chord ecommerce track event names map to dedicated Insider SDK queue types:

| Chord Event Name      | `InsiderQueue` type | Notes                                                                      |
| --------------------- | ------------------- | -------------------------------------------------------------------------- |
| `Product Viewed`      | `product`           | First product in `properties.products`                                     |
| `Product List Viewed` | `category`          | Category breadcrumb from `properties.category` or first product's category |
| `Cart Viewed`         | `cart`              | Full product list with totals                                              |
| `Product Added`       | `add_to_cart`       | First product in `properties.products`                                     |
| `Product Removed`     | `remove_from_cart`  | First product in `properties.products`                                     |
| `Order Completed`     | `purchase`          | Full product list with order totals                                        |

All other track event names are sent as `custom_event` (see Custom Events below).

# User Data

User data is pushed on **every** event (not only `identify`), so Insider always has the latest profile context regardless of event order.

| `InsiderQueue` user field     | Chord Source (Priority Order)                                   | Notes                                                    |
| ----------------------------- | --------------------------------------------------------------- | -------------------------------------------------------- |
| `uuid`                        | `userId`                                                        | Primary user identifier                                  |
| `email`                       | `context.traits.email` > `traits.email`                         |                                                          |
| `phone_number`                | `context.traits.phone` > `traits.phone` > `traits.phone_number` |                                                          |
| `name`                        | `traits.firstName`                                              |                                                          |
| `surname`                     | `traits.lastName`                                               |                                                          |
| `gender`                      | `traits.gender`                                                 |                                                          |
| `birthday`                    | `traits.birthday`                                               |                                                          |
| `city`                        | `traits.address.city`                                           |                                                          |
| `country`                     | `traits.address.country`                                        |                                                          |
| `language`                    | `traits.locale`                                                 | Hyphens converted to underscores, e.g. `en-US` → `en_US` |
| `custom.segment_anonymous_id` | `anonymousId`                                                   | Always included                                          |

# Identify Events

Identify events push user attributes then trigger an `init` flush:

```javascript
InsiderQueue.push({ type: "user", value: <user object> })
InsiderQueue.push({ type: "init" })
```

See the User Data table above for the full field mapping.

# Page Events

Page events push a generic page view using the `other` queue type:

```javascript
InsiderQueue.push({ type: "user", value: <user object> })
InsiderQueue.push({ type: "other", value: { name: <page title> } })
InsiderQueue.push({ type: "init" })
```

| `InsiderQueue` field | Chord Source (Priority Order)             | Notes                                     |
| -------------------- | ----------------------------------------- | ----------------------------------------- |
| `other.name`         | `properties.title` > `context.page.title` | Page title sent as the `other` event name |

URL and referrer are not included in the queue push — the Insider SDK reads these automatically from the browser.

# Track Events

# Ecommerce Events

Each ecommerce event type pushes a specific SDK payload. Currency is pushed separately when present. See the User Data table above for user field mappings shared across all events.

**Product Viewed (**`product`**&#x20;type)**

Uses the first product from `properties.products`. See the Product Object table below for field mappings.

```javascript
InsiderQueue.push({ type: "user", value: <user object> })
InsiderQueue.push({ type: "currency", value: <currency> })   // if present
InsiderQueue.push({ type: "product", value: <product object> })
InsiderQueue.push({ type: "init" })
```

| `InsiderQueue` field | Chord Source (Priority Order)       | Notes                    |
| -------------------- | ----------------------------------- | ------------------------ |
| `currency`           | `properties.currency`               | Only pushed when present |
| `product.*`          | First item in `properties.products` | See Product Object below |

**Product List Viewed (**`category`**&#x20;type)**

```javascript
InsiderQueue.push({ type: "user", value: <user object> })
InsiderQueue.push({ type: "category", value: { breadcrumb: [<category>] } })
InsiderQueue.push({ type: "init" })
```

| `InsiderQueue` field  | Chord Source (Priority Order)                      | Notes            |
| --------------------- | -------------------------------------------------- | ---------------- |
| `category.breadcrumb` | `properties.category` > first product's `category` | Wrapped in array |

**Cart Viewed (**`cart`**&#x20;type)**

```javascript
InsiderQueue.push({ type: "user", value: <user object> })
InsiderQueue.push({ type: "currency", value: <currency> })   // if present
InsiderQueue.push({ type: "cart", value: { total, items, shipping_cost } })
InsiderQueue.push({ type: "init" })
```

| `InsiderQueue` field | Chord Source (Priority Order)             | Notes                                               |
| -------------------- | ----------------------------------------- | --------------------------------------------------- |
| `currency`           | `properties.currency`                     | Only pushed when present                            |
| `cart.total`         | `properties.total` > `properties.revenue` | Cart subtotal                                       |
| `cart.shipping_cost` | `properties.shipping`                     |                                                     |
| `cart.items`         | `properties.products`                     | Array of product objects — see Product Object below |

**Product Added / Product Removed (**`add_to_cart`**&#x20;/&#x20;**`remove_from_cart`**&#x20;type)**

Uses the first product from `properties.products`. See the Product Object table below for field mappings.

```javascript
InsiderQueue.push({ type: "user", value: <user object> })
InsiderQueue.push({ type: "add_to_cart" | "remove_from_cart", value: <product object> })
InsiderQueue.push({ type: "init" })
```

**Order Completed (**`purchase`**&#x20;type)**

```javascript
InsiderQueue.push({ type: "user", value: <user object> })
InsiderQueue.push({ type: "currency", value: <currency> })   // if present
InsiderQueue.push({ type: "purchase", value: { order_id, total, items, shipping_cost } })
InsiderQueue.push({ type: "init" })
```

| `InsiderQueue` field     | Chord Source (Priority Order)             | Notes                                               |
| ------------------------ | ----------------------------------------- | --------------------------------------------------- |
| `currency`               | `properties.currency`                     | Only pushed when present                            |
| `purchase.order_id`      | `properties.order_id`                     |                                                     |
| `purchase.total`         | `properties.total` > `properties.revenue` | Order total                                         |
| `purchase.shipping_cost` | `properties.shipping`                     |                                                     |
| `purchase.items`         | `properties.products`                     | Array of product objects — see Product Object below |

# Product Object

The product object is used for `product`, `add_to_cart`, `remove_from_cart`, and each item in the `cart` and `purchase` `items` arrays.

| Field               | Chord Source (Priority Order) | Notes                                    |
| ------------------- | ----------------------------- | ---------------------------------------- |
| `id`                | `product_id` > `sku` > `id`   | At least one identifier required         |
| `name`              | `name`                        |                                          |
| `taxonomy`          | `category`                    | Wrapped in array; omitted if not present |
| `unit_sale_price`   | `unit_sale_price` > `price`   | Actual price paid                        |
| `unit_price`        | `unit_price` > `price`        | List/original price                      |
| `quantity`          | `quantity`                    |                                          |
| `url`               | `url`                         |                                          |
| `product_image_url` | `image_url`                   |                                          |

Products without a resolvable ID are filtered out.

# Custom Events

All track events not in the ecommerce map are sent as `custom_event`:

```javascript
InsiderQueue.push({ type: "user", value: <user object> })
InsiderQueue.push({ type: "custom_event", value: [{ event_name, event_parameters }] })
InsiderQueue.push({ type: "init" })
```

| Field                     | Chord Source | Notes                                                        |
| ------------------------- | ------------ | ------------------------------------------------------------ |
| `event_name`              | `event`      | Lowercased, spaces replaced with underscores                 |
| `event_parameters.custom` | `properties` | All properties forwarded as-is; the `meta` field is excluded |

Property keys are not lowercased or aliased for custom events — they are forwarded as received.

# Initialization

On the first event, the plugin:

1. Sets `window.InsiderQueue = window.InsiderQueue || []` to ensure the queue exists before the SDK loads
2. Constructs the SDK URL: `https://<partnerName>.api.useinsider.com/ins.js` — with `?id=<partnerId>` appended if a Partner ID is configured
3. Loads the script via a `<script>` tag injection
4. Tracks SDK loading state (`fresh` → `loading` → `loaded` / `failed`) using `window.__chordCDPInsiderPixelState` to prevent duplicate script loads

Events arriving after the first load reuse the already-loaded SDK. If the script fails to load, subsequent events are silently dropped.

# CSP Requirements

If your site uses a Content Security Policy, allow the following domains:

| Directive     | Domain                         |
| ------------- | ------------------------------ |
| `script-src`  | `https://*.api.useinsider.com` |
| `connect-src` | `https://*.api.useinsider.com` |
| `img-src`     | `https://*.api.useinsider.com` |

# Combining with Server-Side Insider One

Running both Insider Pixel (device mode) and the [server-side Insider One destination]() provides redundancy:

- **Device mode** captures browser-native session context and sends events directly from the browser
- **Server-side** captures events that may be blocked by ad blockers or occur outside the browser

# Testing and Validation

Because this is a device-mode destination, events are sent directly from the browser — they do not appear in the Chord CDP Live Events tab. Validate using browser developer tools instead.

After connecting the destination:

1. Load your storefront and open browser developer tools (**Network** tab, filter by `useinsider`).
2. Confirm `ins.js` is loaded from `<partnerName>.api.useinsider.com` and the **Initiator** column points to the Chord CDP snippet.
3. In the browser **Console**, inspect `window.InsiderQueue` immediately after page load (before the SDK initializes) to verify queue items are being pushed with the correct `type` and `value` structure.
4. Check the network requests the SDK fires after initialization: `hit` and `insert` for page and user events, `set-purchase-stats` for purchase events.
5. In Insider One, navigate to **InOne Panel > Audience** and verify the user profile was created or updated.

# Troubleshooting

# SDK not loading

**Problem:** The Insider SDK script is not being injected into the page.

- Confirm the destination is enabled in Chord and that your storefront is loading the Chord CDP snippet.
- Verify the **Partner Name** is correct — it must match the subdomain of your Insider account (e.g. `mystore`, not `mystore.api.useinsider.com`).
- Check your browser's Content Security Policy — a missing `script-src` or `connect-src` allowance for `*.api.useinsider.com` will block the script.
- Inspect the browser console for script load errors.

# Events not appearing in Insider One

**Problem:** The SDK loads but events do not appear in the Insider One panel.

- In the browser console, inspect `window.InsiderQueue` before SDK initialization to confirm queue items are being pushed.
- Verify that Insider's Web SDK "new IO mode" (`inioa`) is enabled for your account. The `InsiderQueue` integration requires this to be active — contact Insider support to confirm or enable it.
- Confirm that a `userId` is present on events. Without a UUID, Insider cannot match events to a profile.

# Duplicate profiles

**Problem:** Insider One is creating multiple profiles for the same customer.

- Confirm that events consistently include the same `userId`. Inconsistent identifiers cause Insider to create separate profiles.
- If your store captures both anonymous and logged-in sessions, ensure an identify call is sent when a user logs in.

# Existing Insider pixel conflict

**Problem:** The Insider SDK was already installed directly on the storefront before switching to Chord CDP device mode.

- Remove the native `ins.js` script tag (or tag manager rule) from the storefront. Running both the native pixel and the Chord CDP device-mode destination simultaneously causes duplicate SDK loads and can prevent Chord CDP's queue items from being processed correctly.

***

**Updated 05 May 2026**

[title] Northbeam Pixel
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

**Northbeam Pixel** is Northbeam's JavaScript tag for client-side attribution tracking. This destination loads the Northbeam pixel in the browser and forwards page view, identity, and ecommerce events to Northbeam. For server-side order reporting, see the [Northbeam]() destination.

# Getting Started

This is a device-mode destination. The Northbeam pixel is loaded automatically — no manual script installation is required. You will need:

- **Data Client ID** — the UUID that identifies your Northbeam account. Found in the Northbeam dashboard under **Settings > API Keys**.

Optionally, configure custom goal IDs for ecommerce funnel events (see [Custom Goals]() below).

# Connecting to the Northbeam Pixel CDP Destination

:::BlockQuote
**Warning:** Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are **disabled**. Running external destinations alongside configured Chord CDP destinations **can result in duplicate events downstream.**
:::

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **Northbeam Pixel** from the destination catalog.
5. Enter the destination name and your **Data Client ID**.
6. Optionally configure custom goal IDs for Product Viewed, Add to Cart, and Checkout Started events.
7. Click **"Create"** to connect.

# Using Alongside the Northbeam (Cloud-Mode) Destination

The Northbeam Pixel and the [Northbeam]() server-side destination can be used together. Both send purchase data to Northbeam — the pixel via `firePurchaseEvent` and the cloud-mode destination via the Orders API. Northbeam deduplicates purchases by order ID, so running both should not result in double-counted orders.

If you are using only the pixel destination (no cloud-mode), note that **Order Refunded** events are not reported — refunds require the server-side Orders API.

# Event Mapping

| Chord Event        | Northbeam Call                                             |
| ------------------ | ---------------------------------------------------------- |
| `page`             | `trackPageView()`                                          |
| `identify`         | `identify(email)` + `identifyCustomerId("custom", userId)` |
| `Order Completed`  | `firePurchaseEvent(orderData)`                             |
| `Product Viewed`   | `fireCustomGoal(productViewedGoalId, {})`                  |
| `Product Added`    | `fireCustomGoal(addToCartGoalId, {})`                      |
| `Checkout Started` | `fireCustomGoal(checkoutStartedGoalId, {})`                |
| `Email Captured`   | `fireEmailCaptureEvent(email, {})`                         |

# Page Events

**Northbeam call:** `window.Northbeam.trackPageView()`

Called on every `page` event after the initial page load. The Northbeam pixel fires `trackPageViewInitial` automatically during initialization to capture the first page view — subsequent SPA navigations fire `trackPageView()`.

No additional attributes are sent with page events.

# Identify Events

Updates the Northbeam identity graph for the current visitor.

**Northbeam calls:**

- `window.Northbeam.identify(email)` — fires when `context.traits.email` is present
- `window.Northbeam.identifyCustomerId("custom", userId)` — fires when `userId` is present

Both calls are made independently if their respective fields are available.

| Northbeam Parameter | Chord Source           |
| ------------------- | ---------------------- |
| `email`             | `context.traits.email` |
| `customerId`        | `userId`               |

# Order Completed

Fires a purchase conversion event with full order and line item data.

**Northbeam call:** `window.Northbeam.firePurchaseEvent(orderData)`

| Northbeam Field           | Chord Source                                                   | Notes                                   |
| ------------------------- | -------------------------------------------------------------- | --------------------------------------- |
| `id`                      | `properties.order_id`                                          | Required by Northbeam for deduplication |
| `totalPrice`              | `properties.total` → `properties.revenue` → `properties.value` | Defaults to `0`                         |
| `shippingPrice`           | `properties.shipping`                                          | Defaults to `0`                         |
| `taxPrice`                | `properties.tax`                                               | Defaults to `0`                         |
| `coupons`                 | `properties.coupon`                                            | Empty string if absent                  |
| `currency`                | `properties.currency`                                          | Defaults to `"USD"`                     |
| `lineItems[].productId`   | `product.product_id` → `product.sku` → `product.id`            |                                         |
| `lineItems[].variantId`   | `product.variant_id` → `product.sku` → `product.product_id`    |                                         |
| `lineItems[].productName` | `product.name`                                                 |                                         |
| `lineItems[].variantName` | `product.variant` → `product.name`                             |                                         |
| `lineItems[].price`       | `product.price`                                                | Defaults to `0`                         |
| `lineItems[].quantity`    | `product.quantity`                                             | Defaults to `1`                         |

# Custom Goals

Northbeam tracks **Product Viewed**, **Product Added**, and **Checkout Started** events as custom goals. Custom goals count event occurrences only — they do not carry revenue or product data. Goal names must be registered with the Northbeam team before they appear in your Northbeam dashboard.

Configure goal IDs in the destination settings to match what you have registered with Northbeam:

| Setting                  | Default Value        | Chord Event        |
| ------------------------ | -------------------- | ------------------ |
| Product Viewed Goal ID   | `product_viewed`     | `Product Viewed`   |
| Add to Cart Goal ID      | `add_to_cart`        | `Product Added`    |
| Checkout Started Goal ID | `checkout_initiated` | `Checkout Started` |

**Northbeam call:** `window.Northbeam.fireCustomGoal(goalId, {})`

# Email Captured

Fires when an `Email Captured` track event includes a user email address. This both records the email capture goal and links the email to the current visitor in Northbeam.

**Northbeam call:** `window.Northbeam.fireEmailCaptureEvent(email, {})`

The event is skipped if no email is present on the event.

# Initialization

The plugin loads `//j.northbeam.io/ota-sp/{dataClientId}.js` and sets up a command queue to buffer calls before the script loads. `trackPageViewInitial` fires automatically during initialization to capture the first page view.

The plugin manages SDK loading state (`fresh` → `loading` → `loaded`/`failed`) to prevent duplicate script loads. If the script fails to load, subsequent events are silently dropped.

# CSP Requirements

If your site uses a Content Security Policy, allow the following domains:

| Directive     | Domain                   |
| ------------- | ------------------------ |
| `script-src`  | `https://j.northbeam.io` |
| `connect-src` | `https://j.northbeam.io` |

***

**Updated 11 May 2026**

[title] Order Filter
[path] Chord Data Platform/Model Amplifications/

:::hint{type="info"}
Note: Our Model Amplifications feature **only accepts files in CSV format at this time.&#x20;**&#x50;lease make sure the files you upload are CSV files.
:::

# Overview

At Chord, we currently surface Orders and Sales that includes completed and not canceled orders. Additionally, our Orders model includes all orders in our database regardless of processing state.&#x20;

However, some brands have different needs with regard to orders are filtered. The Order Filter configuration adds a flag for orders that a brand would like to easily remove from analysis.&#x20;

:::hint{type="info"}
**Note:** Orders that are flagged `filtered_order = true` are orders that the brand would like to filter **out** of their analysis.&#x20;
:::

## Sample Use Cases&#x20;

:::hint{type="info"}
Chord has listed several attributes and conditions to create the filter. These are a few sample use cases. However, if a brand needs a an attribute included, these may be expanded by reaching out to [help@chord.co](mailto\:help@chord.co).
:::

Brands may want to exclude orders that meet conditions like:

- Contain certain products, like gift cards or samples. &#x20;
- Users with emails like `test@`.
- Orders prior to a certain date.
- Specific problematic order numbers.&#x20;
- Fulfillment state is `fulfilled`.

The configuration allows for conditions to the different dimensions including Equals, Does not Equal, Greater Than, Less Than, Greater Than or Equal to, Less Than of Equal to, Is, and Is Not. Additionally, the configuration allows for dependent conditions.

In the Analytics explores, this filter can be applied to filter out these orders to reduce noise in the analysis.&#x20;




[title] Creating Custom Fields
[path] Chord Data Platform/Analytics Features/



:::ExpandableHeading
### Introduction&#x20;

You can create new ad hoc custom dimensions and measures in any explore using custom fields. This page discusses creating and using custom fields to enhance your data analysis.
:::

:::ExpandableHeading
### What are custom fields?

You can create and utilize ad hoc fields for richer data analysis. This is done by creating custom measures, dimensions, and table calculations and using custom groupings to narrow down data to match specific conditions.&#x20;
:::

::::ExpandableHeading
### Filtering with a custom field

Suppose we retrieve all orders created on the 10th of each month this current year and see the associated order numbers and created date.&#x20;

Click on Explore --> Orders, expand the Filters section, and click the Custom checkbox in the upper right.



![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/K5tHNCWlXIg5LoSzbxKCr_screen-recording-12-14-2022-at-808-am.gif "Custom Filter")



When you start typing, Looker prompts you with operators, functions, and field names that you might want to use in your filters business logic. You can also see that when you hover over the function you are typing, Looker will tell what these functions, operators, and field names do.&#x20;



![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/-SCVJ3AyJfsMmYIsreLTc_screen-recording-12-14-2022-at-811-am.gif "Custom Filter functions")



Type in **extract\_days($\{x\_fct\_trans\_orders.order\_created\_at\_date}) = 10&#x20;**

Click on Visualization and click Columns&#x20;

On the Explore click Order Number to include it to your report along with any Order Created Date

Click on Order Created Date again and click Filter By field icon



::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/CuI2IeFJEdSTJaSGvH_xJ_image-12-14-2022-at-841-am.jpg" size="28" width="605" height="1318" caption="Order Number" position="flex-start" darkWidth="605" darkHeight="1318" showCaption="true"}









::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/PX1Cv0LyYgsjex3tH3RY8_image-12-14-2022-at-844-am.jpg" size="30" width="600" height="520" caption="Order Created Date" position="flex-start" darkWidth="600" darkHeight="520" showCaption="true"}



Click Run&#x20;

You can see all created orders on the 10th of each month for this current year&#x20;





::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/-g0wK3N0eH0ItEigJlUsP_image-12-14-2022-at-845-am.jpg" size="44" width="3384" height="1118" caption="Orders created every 10th of the month " position="flex-start" darkWidth="3384" darkHeight="1118" showCaption="true"}





:::hint{type="info"}
This [document](https://cloud.google.com/looker/docs/functions-and-operators) will further describe the functions available&#x20;
:::

You can also add the custom filters to your custom field

Click Custom Fields and click Add&#x20;





::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/DDMbbnvr3D6riw5KAVkAy_image-12-14-2022-at-900-am-1.jpg" size="30" width="630" height="556" caption="Add Custom Fields" position="flex-start" darkWidth="630" darkHeight="556" showCaption="true"}



Select Dimension and paste the function used above **extract\_days($\{x\_fct\_trans\_orders.order\_created\_at\_date}) = 10&#x20;**

Provide the Custom Dimension a Name and click Save



You've just created and saved a custom dimension field!&#x20;




::::

::::ExpandableHeading
### What are Measure and Dimension fields?&#x20;

You can use Dimensions to categorize, segment, and reveal the details in your data. Dimensions affect the level of detail in the view.&#x20;
Measures contain numeric, quantitative values that you can measure. Dimensions include qualitative values (names, dates, or geographical data).

A **measure** is a field that can be aggregated in some way, such as a sum or an average. Think of it as something that can be collected, counted, or combined in some way to return a single value



We saw above an example of a Custom Dimension with retrieving Orders every 10th of the month.  An example of a **Measure** would be if you wanted to know the average count of Product in your customers' cart&#x20;



::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/tfK1W783g6wWlcIzIZ4wu_image-12-14-2022-at-1245-pm.jpg" size="42" width="1564" height="1058" caption="Custom Measure" position="flex-start" darkWidth="1564" darkHeight="1058" showCaption="true"}



:::hint{type="info"}
For more information about Custom fields and Measure Vs Dimension fields please refer to [Looker documentation ](https://cloud.google.com/looker/docs/custom-fields)
:::





:::hint{type="success"}
if you have any questions or need help, please reach out to us at [help@chord.co](mailto\:help@chord.co)
:::




::::




[title] Marketing Mix Modeling (MMM)
[path] Chord Data Platform/Predictive Models/

### Introduction

**Marketing Mix Modeling (MMM)** is a statistical approach used to measure the impact of various marketing activities, like digital ads, influencer campaigns, email, TV, or even promotions, on business outcomes, such as sales or conversions. MMM is a top-down approach to estimating the impact of marketing efforts. This approach is *top-down* because it aggregates summary data to estimate correlations between the time that marketing dollars were spent and corresponding outcomes (conversions, revenue, etc). This model estimates what impact a $1 of marketing spend in channel X had on time period Y, while taking into account all other factors (including other marketing efforts in that time period). We are left with a baseline demand plus the impact of marketing. In combination with client-side event attribution analytics, we can plug in our estimates and obtain marketing spend optimizations and recommendations for future spend.  



**Why It Matters for E-commerce Operators & Analysts**

1\. **Channel-Level ROI, Even Without Granular Attribution**

MMM doesn’t rely on user-level tracking (like pixels or cookies). That makes it especially powerful in a **privacy-first world**, where attribution data is increasingly limited. It helps answer:

:::BlockQuote
“How much incremental revenue came from Meta ads vs. organic email?”
:::

2\. **Full-Funnel Visibility**

MMM accounts for both **upper-funnel (brand awareness)** and **lower-funnel (conversions)** activities. It allows you to assign value to **non-clickable** channels like influencer marketing, PR, or even SMS campaigns that can’t be tracked with standard click-based attribution.

3\. **Scenario Planning & Budget Optimization**

Operators can use MMM to run **“what-if” simulations**:

:::BlockQuote
“What would happen if we moved 15% of our TikTok budget to Meta?”This is valuable for quarterly planning, budget allocation, and pitching leadership on spend strategy.
:::

While we don’t yet offer scenario-based simulations, the current model lays the foundation for future “what-if” capabilities by establishing channel-level response curves and measurable marginal returns. This positions Chord well to support simulation use cases in future iterations.

4\. **De-biasing Attribution Models**

Most e-commerce attribution tools overvalue last-click or post-purchase touchpoints. MMM helps **balance that bias** by taking a step back and analyzing **macro-level trends** in your marketing and sales data.



**Why MMM vs. Multi-Touch Attribution (MTA)**

But why not use direct marketing attribution via multi-touch attribution (MTA) instead? The short answer is that we would love to. It is directly measurable and provides a detailed order-level interpretation. However, unfortunately, the world is messy and we often cannot often 100% attribute a sale directly to its source. The classic example of the need for MMM analysis is print or TV advertising. In these cases, while the marketing events may have led potential customers to a desired sales outcome, the digital breadcrumbs of the events may not be preserved. However, in reality, this type of unobservability also plagues most of our online marketing efforts. Opt-outs, VPNs, tech stack issues, and numerous other factors contribute to the potential for unobservability across all our marketing channels. In reality, we should make both top-down and bottom-up estimates to help drive better decisions. At Chord, we empower you by bringing your client-side eventing, order management system, and ad spend data all to one trusted place, where you can combine sources of truth to obtain the most accurate view of your marketing spend analysis.

## How it Works 

At its most basic, an MMM model is simply correlating the spend in time t with sales events in that time period. We feed the spend data and the outcome data into the model, and estimate the weights. 

**Outputs&#xA0;**

After estimating the weights for each marketing input above, we can generate the contribution for each input:

- **Historical Contribution**: allotted channel contribution to KPI via estimated weight and actual spend in time period t.
  - By baseline and marketing channels
  - Over time, by baseline and marketing channels
  -  Ranked over time by baseline and marketing channels
- **Return on Investment**
  - **ROI vs Effectiveness:** Effectiveness measures the incremental outcome generated per impression.
  - **ROI vs Marginal ROI**: the additional return generated for every additional dollar spent.
  - **ROI by Channel with forecast intervals**: credible range of channel’s return over time. 
  - **Cost per incremental KPI** for each channel.
- **Response Curves for Each Channel:** Response curves illustrate the incremental revenue generated for each dollar spent. 
- **Spend Optimization**
  - Recommended change in spend per channel 
  - Optimized incremental revenue across all channels
  - Optimize spend response curves 

## In Conclusion

Over the past few years, the industry has seen a resurgence of MMM modeling techniques emerge that leverage advances in ML and AI, offering flexibility and power that would have been hard to imagine even a few years ago. With Bayesian simulation now available on GPU chip acceleration, along with the release of powerful open-source packages from both Facebook and Google that have seen widespread adoption, it is becoming increasingly common for MMM to be a trusted modeling tool in the tool chests of most advanced marketing teams.&#x20;

## Eligibility

Interested in adding this tool to your marketing tool chest today? To get started:

- Connect your ad spend sources in Chord's "Data Sources."
- For any spend sources not covered in "Data Sources," utilize the Ad Spend Amplification in the "Amplifications" portion of the platform, especially for offline or manual spend.

Then, reach out to help\@chord.co to join the beta!


[title] AWIN Pixel
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

# Introduction

The AWIN Pixel (formerly the ShareASale Pixel) is a piece of tracking code used to record conversions and attribute sales or leads generated through affiliate marketing campaigns on the AWIN network. It enables advertisers to measure which publishers or partners drove each transaction, track performance metrics like order value and commission, and optimize affiliate payouts accordingly.

# Getting started

You will need the AWIN Merchant ID in order to connect this destination. You can find this ID in your AWIN Account under the drop-down menu when you click on the tab labeled "Overview". Your Merchant ID (MID) will be shown underneath your account name.

# Connecting to the AWIN Pixel CDP destination

:::hint{type="danger"}
Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are *disabled.*
**
Running external destinations alongside configured Chord CDP destinations ***can result in duplicate events downstream.&#x20;***
:::

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"&#x20;**&#x62;utton next to Destinations.
4. Select **AWIN Pixel&#x20;**&#x66;rom the destination catalog.
5. Enter in the destination name and the AWIN Merchant ID.&#x20;
6. Click **"Create"&#x20;**&#x74;o connect.

# Events

This destination does not forward individual page, track, or identify events. The Awin SDK is loaded on the first event received from any type, and from that point the SDK handles all affiliate tracking autonomously.

## Initialization

The plugin loads the SDK on the first event it receives, regardless of event type. It does not queue or process subsequent events — its sole purpose is to ensure the Awin script is loaded once.

The plugin manages SDK loading state (`fresh` → `loading` → `loaded`/`failed`) to prevent duplicate script loads. If the script fails to load, no further load attempts are made.

## CSP requirements

If your site uses a Content Security Policy, allow the following domains:

| Directive     | Domain                  |
| ------------- | ----------------------- |
| `script-src`  | `https://www.dwin1.com` |
| `connect-src` | `https://www.dwin1.com` |


[title] Order App Name
[path] Chord Data Platform/Model Amplifications/

:::hint{type="info"}
Note: Our Model Amplifications feature **only accepts files in CSV format at this time.&#x20;**&#x50;lease make sure the files you upload are CSV files.
:::

# Overview&#x20;

Shopify records the ID of the App that creates an order as the `app_id`. Brands want to be able to set the name associated with the id for easier readability and functionality in reporting. Some apps may be defined by the `source_name` while others are null.&#x20;

## Sample Use Case

This configuration allows Shopify brands to easily add or update their `app_ids`. If new apps are utilized by the brand, the new ID and name just need to be added to the configuration and will then process in the next scheduled data run.

[title] Installation
[path] Chord Event Tracking/Using with Shopify/Web Pixel/

To install the Chord web pixel on your Shopify store:

1. Ask the Chord team for the full web pixel code (see the example below).
2. Navigate to **Settings** > **Customer events** in your Shopify store.
3. Select **Add custom pixel**.
4. Enter "Chord Analytics" as the name for your pixel.
5. Select **Add pixel**.
6. Review the customer privacy settings, and see our guide to [consent management](docId\:dbKzUyYJsHKX7dzHiSfeZ) to understand how these settings will impact your event tracking.
7. In the **Code** text box, copy and paste the provided web pixel code.
8. Before you publish the provided web pixel, you need to update the settings `const` variables at the very top of the JavaScript code. See the [configuration guide](docId\:qMM8Kz1WShyJhs9qbh0vm) for a detailed explanation of each `const` variable. After you've updated the `const` variables, select **Save**.
9. Once the pixel has been saved successfully, you can select **Connect** to enable the pixel on your Shopify store. Once you select **Connect**, the pixel will immediately load and start tracking events, so make sure you finalize the pixel settings first.

::::CodeDrawer{title="Shopify web pixel code (EXAMPLE ONLY)" codeEditorData="[object Object]" responsesEditorData="[object Object]" isResponseExpanded="false" autoGeneratedAnchorSlug="shopify-web-pixel-code-example-only" legacyHash="6FPBlIHJ__YC4LBSYdosk"}
:::CodeblockTabsExamples
```javascript
// SETTINGS
const CHORD_OMS_ID = ''
const CHORD_STORE_ID = ''
const CHORD_TENANT_ID = ''
const DEFAULT_LOCALE = 'en-US'
const CDP_DOMAIN = ''
const CDP_WRITE_KEY = ''
const STORE_DOMAIN = ''

const PIXEL_VERSION = '0.1.0'
let customerPrivacyStatus = init.customerPrivacy
let currency = init.data.cart?.cost?.totalAmount.currencyCode
let locale = DEFAULT_LOCALE
api.customerPrivacy.subscribe('visitorConsentCollected', (event) => {
  customerPrivacyStatus = event.customerPrivacy
})

analytics.subscribe('page_viewed', page)

// This code is for illustrative purposes and is not to be used as-is.
// Please ask the Chord team for the full snippet.

async function getCategoryPreferences() {
  return {
    analytics: customerPrivacyStatus?.analyticsProcessingAllowed,
    marketing: customerPrivacyStatus?.marketingAllowed,
    preferences: customerPrivacyStatus?.preferencesProcessingAllowed,
    sale_of_data: customerPrivacyStatus?.saleOfDataAllowed,
  }
}
async function getOptions() {
  const categoryPreferences = (await getCategoryPreferences()) || {}
  return {
    consent: {
      categoryPreferences,
    },
    page: {
      path: init.context.document.location.pathname,
      url: init.context.document.location.href,
    },
  }
}
async function getMeta() {
  if (!currency) {
    currency = await browser.cookie.get('cart_currency')
  }
  return {
    i18n: {
      currency,
      locale,
    },
    ownership: {
      oms_id: CHORD_OMS_ID,
      store_id: CHORD_STORE_ID,
      tenant_id: CHORD_TENANT_ID,
    },
    platform: {
      name: 'Shopify',
      type: 'web',
    },
    store: {
      domain: STORE_DOMAIN,
    },
    version: {
      major: 3,
      minor: 0,
      patch: 0,
    },
  }
}
async function page() {
  const options = await getOptions()
  const meta = await getMeta()
  return segment.page(
    {
      ...options.page,
      meta,
    },
    options
  )
}
```
:::

:::CodeblockTabsResponses
```javascript
```
:::
::::


[title] Google Analytics 4
[path] Chord Event Tracking/Guides/Integrations/

Segment has two GA4 destinations, the [Google Analytics 4 Web Destination](https://segment.com/docs/connections/destinations/catalog/actions-google-analytics-4-web/) and the [Google Analytics 4 Cloud Destination](https://segment.com/docs/connections/destinations/catalog/actions-google-analytics-4/). The Google Analytics 4 Web destination can only be connected to website front-end Segment sources. When enabled, Segment will load the gtag.js library for you and sends tracking events to GA4 via gtag.js. The Google Analytics 4 Cloud destination can be connected to any Segment source, and sends tracking events directly to [Google’s Measurement Protocol API](https://developers.google.com/analytics/devguides/collection/protocol/ga4).

We recommend configuring two GA4 Segment destinations to capture events from both the website front-end, which sends events for browsing activity, and from Chord's server source, which sents events for transactions in the OMS. This will give you the fullest picture of user activity in GA4.

## Using with Chord’s server source

Add a [Google Analytics 4 Cloud Destination](https://segment.com/docs/connections/destinations/catalog/actions-google-analytics-4/) destination and connect to your Chord server source. Be sure to enter your **Measurement ID** and **API Secret** in the destination settings.

To send Segment events to GA4 events, we need to add mappings. Select **Add Mapping** in the destination configuration to add pre-built mappings and actions. The following pre-built mappings are supported by the Chord server source:

- `Begin Checkout` maps to Chord’s `Checkout Started`
- `Purchase` maps to Chord’s `Order Completed`
- `Refund` maps to Chord’s `Order Refunded`

### Identifying users

The default mappings for the Google Analytics 4 Cloud destination do not include the enough data for GA4 to be able to connect the events to website front-end activity. There are two additional event mappings you can add to fix this, the Google Client ID and the user's ID.

**Client ID**

To tie together front-end and server Segment events as one session within GA4, you can send the Gtag-generated Client ID from the front end as the Client ID with the server events. Chord includes the Gtag-generated Client ID from the front-end on server events as the property `integrations.Google Analytics.clientId`.

To sent the Client ID to GA4, edit each mapping and find the **Client ID** property. It is blank by default:



![Client ID mapping](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/kyZWmt6cL_U24MzUHZzVg_image.png)

Select the text input to the left, and in the **Event Variables** search bar, enter the text `integrations.Google Analytics.clientId`. Unless you have test data loaded, it will likely say "Not matches found," which is fine. Select **Use "integrations.Google Analytics.clientId" as an event variable**:

![Client ID mapping selected](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/l5BUeghjfg2wz2Xju0FIg_image.png)

Now you should see this:

![Client ID mapping completed](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/pKeccOQrHglXRVJchAMWR_image.png)

If events throw "Client ID is required for web streams" errors, it is because the destination requires a Client ID for all events. This is happening because the corresponding session must not have had front end events with a synced Client ID. To remedy this, you can use Segment's `coalesce` function to fall back to the `userId`, similar to what the destination would have used by default, as documented [here](https://segment.com/docs/connections/destinations/catalog/actions-google-analytics-4/#user-identification).

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/zJp4uRztsWllThUl6jYSn_screenshot-2024-10-10-at-92212-am.png)

**User ID**

Optionally, you can send the Segment user ID, which is typically the user or customer ID from the OMS, to GA4 with every event for an authenticated user. (The user ID is not available for guest activity.) This allows [GA4 to connect user behavior](https://support.google.com/analytics/answer/9213390) across sessions and devices.

To sent the user ID to GA4, edit each mapping and find the **User ID** property. It is blank by default. Select the text input to the left, and in the **Event Variables** search bar, enter the text `userId`. Now you should see:



![User ID mapping](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/8YKex9iXof9wNjfaKXWPX_image.png)

## Using with Chord’s website front-end source

Add a [Google Analytics 4 Web destination](https://segment.com/docs/connections/destinations/catalog/actions-google-analytics-4-web/) and connect to your website front-end source.

Select **Add Mapping** in the destination configuration to add pre-built mappings and actions. The following pre-built actions can be added without any adjustment to the mappings, if Chord is sending the corresponding event to Segment:

- `Add to Cart` maps to Chord’s `Product Added`
- `Search` maps to Chord’s `Products Searched`
- `Select Item`  maps to Chord’s `Product Clicked`
- `View Item List` maps to Chord’s `Product List Viewed`
- `Sign Up` maps to Chord’s `Signed Up`
- `View Cart` maps to Chord’s `Cart Viewed`
- `Purchase` maps to Chord’s `Order Completed`
- `View Promotion` maps to Chord’s `Promotion Viewed`
- `Add to Wishlist` maps to Chord’s `Product Added to Wishlist`
- `Remove from Cart` maps to Chord’s `Product Removed`
- `Select Promotion` maps to Chord’s `Promotion Clicked`
- `View Item` maps to Chord’s `Product Viewed`
- `Begin Checkout` maps to Chord’s `Checkout Started`
- `Login` maps to Chord’s `Signed In`

### Identifying users

Optionally, you can send the Segment user ID, which is typically the user or customer ID from the OMS, to GA4 with every event for an authenticated user. (The user ID is not available for guest activity.) This allows [GA4 to connect user behavior](https://support.google.com/analytics/answer/9213390) across sessions and devices.

To sent the user ID to GA4, edit each mapping and find the **User ID** property. It is blank by default. Select the text input to the left, and in the **Event Variables** search bar, enter the text `userId`. Now you should see:

![User ID mapping](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/8YKex9iXof9wNjfaKXWPX_image.png)


[title] Error handling & retries
[path] Chord CDP/

As events flow through Chord, they are processed (which includes *enrichment*, *transformation & filtering*) and then delivered to one or more destinations. Failure can occur at any stage. This document explains how Chord classifies those failures, which ones are retried, and how retries are scheduled.

## Delivery Model

Chord provides **at-least-once delivery**. When a recoverable failure occurs, the affected event is re-queued and delivered again later. Because of this, an event may occasionally be delivered more than once — see [Deduplication](https://docs.chord.co/event-deduplication) for how destinations should handle duplicates using an event's `messageId`.

Each event is delivered independently per **connection** (a source → destination pairing). Failure to deliver an event to one destination does not affect delivery of the same event to any other destination.

## Recoverable vs. Unrecoverable Errors

Chord divides failures into two categories and only one of them is retried.

**Recoverable (transient) errors** are failures that are expected to resolve on their own without any change to configuration or code — for example, a destination API returning a `5xx`, a request timing out, a rate-limit response, or a temporary network blip. These errors are **retried**.

**Unrecoverable errors** are failures that retrying cannot fix — for example, malformed event data a destination will never accept, an authentication failure, or a logic error in a custom function. These are **not retried**; the event is either delivered as-is or recorded as failed, and a notification is sent to any configured connection monitors.

The table below summarizes how the most common outcomes are handled.

| Outcome                                                                | Source                               | Retried | Result                                                          |
| ---------------------------------------------------------------------- | ------------------------------------ | ------- | --------------------------------------------------------------- |
| Transient delivery failure (`5xx`, timeout, rate limit, network error) | Destination                          | **Yes** | Re-queued with backoff; delivered once the destination recovers |
| Recoverable failure raised by a function                               | UDF (`RetryError`)                   | **Yes** | Re-queued with backoff                                          |
| Unrecoverable data/validation error                                    | Destination or UDF (`NoRetryError`)  | No      | Event dropped, monitors notified                                |
| Unexpected logic error                                                 | UDF (standard `Error`)               | No      | Event still delivered, monitors notified                        |
| Intentional filtering                                                  | UDF (`return null` / `false` / `[]`) | No      | Event silently dropped, no notification                         |

Functions (UDFs) can deliberately raise either a retryable or a non-retryable error to control this behavior. That mechanism is documented in detail in [Functions](https://docs.chord.co/functions).

## How Retries Are Scheduled

When an event fails with a recoverable error, Chord does not retry it immediately. Instead it computes a future **retry time** and re-queues the message on a dedicated retry topic. The message waits there until its scheduled retry time passes, at which point it is reprocessed.

Retries use **exponential backoff** so that a struggling destination is given progressively more time to recover between attempts:

- A fixed number of retry attempts is made per event (default: **3**).
- The delay before each attempt grows exponentially from a base interval (default base: **10 minutes**), so successive attempts are delayed roughly **10 minutes**, then **\~1.7 hours**, then **\~16.7 hours**.
- Every delay is capped at a maximum (default: **24 hours**), so no single retry is ever scheduled further out than the cap.

These values are operational defaults and may be tuned per environment.

On each retry only the stage that failed and everything downstream of it is re-run — a destination-delivery failure re-attempts delivery without re-running earlier transformations, and a function failure resumes from that function onward. This avoids duplicating side effects from stages that already succeeded.

## The Dead-Letter Queue

Retries are not infinite. Once an event has exhausted its retry attempts and still cannot be delivered, it is moved to a **dead-letter queue** rather than being retried forever or silently discarded. This keeps the live pipeline healthy while preserving the failed event for inspection and potential manual replay.

A move to the dead-letter queue is recorded in the pipeline metrics and surfaced to any configured connection monitors, so persistent delivery failures are visible rather than hidden.

## Monitoring Failures

Recoverable and unrecoverable errors alike are recorded in the pipeline's metrics and, where connection monitors are configured, generate notifications. You can inspect individual failures and the errors that caused them in **Live Events** within the Chord Console.

Intentional filtering (an event dropped by a function returning a falsey value) is recorded as `dropped` and does **not** generate a notification — it is treated as normal pipeline behavior, not a failure.

## Related Topics

- [Functions](https://docs.chord.co/functions) — how custom functions raise retryable and non-retryable errors
- [Deduplication](https://docs.chord.co/event-deduplication) — handling the duplicate deliveries that at-least-once retries can produce

## Support

For questions about error handling, retries, or the dead-letter queue, please contact [help@chord.co](mailto\:help@chord.co).

[title] Consent Management
[path] Chord Event Tracking/

Consent Management is the process of informing customers about the data your business collects and how it is used, and giving them the ability to opt in or out. It's important for compliance with data privacy laws, like the General Data Protection Regulation (GDPR) and the California Consumer Privacy Act (CCPA).

You can use a Consent Management Platform (CMP) on your website to collect and store customer data collection preferences. Once you've set up your CMP, you can configure your data collection to respect those preferences.

Chord collects customer data by sending tracking events to Chord CDP. Chord then sends tracking data to other connected platforms, and can also load tracking libraries directly in the browser for enhanced tracking. We recommend [configuring consent management](https://segment.com/docs/privacy/consent-management/) within the CDP to ensure that every step in the data collection process respects the customer's consent.

To configure consent management on your website, you'll add some Javascript to your website front-end that wraps Chord's SDK and appends a consent object to every event with the customer data collection preferences from the CMP. Within Chord, you can define which preferences apply to which destinations with [CDP Consent Categories (Consent Management Category Mapping)](docId\:UvgcOPZTbwtzknU9a1Xar), and then Chord will only send events to destinations that a customer has consented to.

See our guides for consent management with the [Shopify Customer Privacy API](docId\:b3iP-Qogxfdorf_gpavr2) and [OneTrust](docId:_fQJuSTJIGbwcYRBSGK32) for implementation examples.


[title] ShopMy
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

**ShopMy** is an affiliate marketing platform for creator partnerships. This destination loads the ShopMy affiliate click-tracking script in the browser and sends order confirmations to ShopMy when a visitor was referred by a ShopMy affiliate or used a creator's discount code. No credentials are required — ShopMy attribution is based on cookies set by the click-tracking script and/or discount codes on the order.

# Getting Started

This is a device-mode destination. No credentials are required. The ShopMy click-tracking script is loaded automatically.

# Connecting to the ShopMy CDP Destination

:::BlockQuote
**Warning:** Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are **disabled**. Running external destinations alongside configured Chord CDP destinations **can result in duplicate events downstream.**
:::

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **ShopMy** from the destination catalog.
5. Enter the destination name.
6. Click **"Create"** to connect.

# Events

# Event Mapping

| Chord Event       | ShopMy Action                                       | Notes                                                            |
| ----------------- | --------------------------------------------------- | ---------------------------------------------------------------- |
| `page`            | Loads click-tracking script                         | No data forwarded                                                |
| `Order Completed` | `POST https://api.shopmy.us/api/order_confirmation` | Fired if `sms_click_id` cookie **or** a discount code is present |

All other events are silently skipped. Page and identify events do not send data to ShopMy — they only trigger the script to load.

# Page Events

Loads the ShopMy click-tracking script. No data is sent to ShopMy — the script manages affiliate attribution cookies (`sms_click_id`) autonomously.

# Order Completed

Sends an order confirmation to the ShopMy API. The event is **skipped** only if **neither** an `sms_click_id` cookie **nor** a discount code is present. This ensures orders are reported for both click-based attribution (affiliate link) and code-based attribution (creator discount code).

**API call:** `POST https://api.shopmy.us/api/order_confirmation`

| ShopMy Attribute        | Chord Source (Priority Order)                                     | Notes                                           |
| ----------------------- | ----------------------------------------------------------------- | ----------------------------------------------- |
| `orderAmount`           | `properties.subtotal` > `properties.revenue` > `properties.total` | Defaults to `0`                                 |
| `orderId`               | `properties.order_id`                                             |                                                 |
| `clickId`               | `sms_click_id` cookie                                             | Optional; only included in payload when present |
| `currency`              | `properties.currency`                                             | Defaults to `"USD"`                             |
| `is_returning_customer` | `properties.is_returning_customer`                                | Defaults to `false`                             |
| `page_url`              | `window.location.href`                                            | Current page URL at time of event               |
| `code`                  | `properties.coupon` > `properties.discount_code`                  | Coupon/discount code; `null` if not present     |

The API request has a 5-second timeout. If the request times out or fails, a warning is logged and the event is dropped.

# Initialization

The plugin loads `https://static.shopmy.us/Affiliates/sms_aff_clicktrack.js` on the first event of any type. This script handles affiliate click attribution by reading URL parameters and setting the `sms_click_id` cookie.

The plugin manages SDK loading state (`fresh` → `loading` → `loaded`/`failed`) to prevent duplicate script loads. Concurrent events during loading are queued and processed after initialization completes. If the script fails to load, subsequent events are silently dropped.

# CSP Requirements

If your site uses a Content Security Policy, allow the following domains:

| Directive     | Domain                     |
| ------------- | -------------------------- |
| `script-src`  | `https://static.shopmy.us` |
| `connect-src` | `https://api.shopmy.us`    |

***

**Updated 14 Apr 2026**

[title] Server Events Overview
[path] Chord Event Tracking/Server Events/

In addition to client events, customers may send server events to Chord. These events will be processed by the Chord CDP and forwarded onto connected destinations, just like client events. Server events provide an HTTP endpoint for backend systems to send ad-hoc events or webhooks.

The examples below show the data required for each event to be correctly processed by Chord.

:::hint{type="info"}
Customers using Shopify or Chord OMS have their server events automatically routed to Chord CDP. These documents are for customers using a non-Shopify/non-Chord OMS or want to customize the data sent to Chord.
:::

# Endpoint

The URL to send server events to depends on the type of event being sent:

- Track: `https://production.cdp.ingest.chord.co/api/track`
- Identify: `https://production.cdp.ingest.chord.co/api/identify`

# Authorization

Requests sent to Chord use an API key for authorization. There are multiple options for providing the API key in the request - customers may choose the version that is most compatible with their source system. Chord recommends that, where possible, customers use

1. HTTP header `X-Write-Key`
2. `writekey` query parameter (note all characters are lowercase).
3. `writeKey` property in the request body (note the uppercase `K`).

Chord recommends customers use the `X-Write-Key` header for authorization where possible.

# Automatic Properties

When an event is ingested, the properties below are added automatically to the payload. There is no need for customers to include these values, however they can be overridden by equivalent properties in the request payload if required.

```json
{
  ...,
  "timestamp": "2024-01-01T00:00:00.000Z",
  "requestIp": "2604:3d09:1180:1581:3c4a:bc9d:8027:a450",
  "context": {...},
  "receivedAt": "2025-09-12T19:04:50.541Z",
  "messageId": "0c43c13c-692b-46c6-9152-3962871b1009"
}
```

# Event Types

- [Track](docId\:z57EPqMJDr7cJ3wQ1JxDO)


[title] Introduction
[path] Chord Event Tracking/Using with Shopify/

## Client events

Adding Chord tracking to a Shopify storefront differs based on whether it uses a Shopify theme or is "headless".

### 1. Web pixel (all stores)

All Shopify stores - Shopify theme or headless - will need to install the [Shopify custom web pixel](docId\:YbZ9CC0qUadUpZfcfvO96).

On stores built with a Shopify theme, this will handle all tracking events.

On headless stores, this will only handle tracking in checkout.

In both cases, the checkout events will work regardless of whether you're on Checkout Extensibility or checkout.liquid.

### 2. Analytics SDK (headless stores only)

Headless stores will need to implement the [analytics SDK npm package](docId\:XDo-mGzIP_SQ_feVf6RUI) within the codebase that serves the storefront.

:::hint{type="info"}
On headless stores, it is important to add both the web pixel and Analytics SDK to accurately track the full conversion journey.
:::

## Server events

In addition to the client tracking events from your store, Chord also sends server events to the CDP in response to webhook triggers from Shopify. Currently, Chord's server events include `identify` events and these `track` events:

- "Checkout Started"
- "Order Completed"
- "Order Refunded"
- "Order Cancelled"

Server events need to be configured for all Shopify sites. The process is the same for headless sites and sites using Shopify themes. For instructions on configuring, see [enabling server events](docId\:q6xVtfkfFiPMHVVI2QcG0).


[title] TikTok Pixel
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

The **TikTok Pixel** destination loads the TikTok Pixel JavaScript SDK in the browser and forwards ecommerce and engagement events client-side to TikTok Ads. Unlike the [server-side TikTok Conversions API destination](), device-mode events originate from the browser and can leverage the full TikTok Pixel feature set.

Use this destination alongside the [TikTok Conversions API destination]() for maximum signal coverage.

# Getting Started

This is a device-mode destination. The TikTok Pixel SDK is loaded automatically — no manual script installation is required. You will need:

- **Pixel Code** — your TikTok Pixel ID, found in your TikTok Ads Manager under **Assets > Events > Web Events**.

Optionally:

- **Limited Data Use (LDU)** — enable Limited Data Use mode for CCPA compliance. Defaults to `false`.
- **Auto Page View** — automatically fire a page view on pixel initialization. Defaults to `true`.
- **Product Content ID Field** — which product field to use as the content ID: `product_id`, `sku`, `variant_id`, or `id`. Defaults to `sku` > `product_id` > `id` fallback chain.

# Connecting to the TikTok Pixel CDP Destination

:::BlockQuote
**Warning:** Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are **disabled**. Running external destinations alongside configured Chord CDP destinations **can result in duplicate events downstream.**
:::

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **TikTok Pixel** from the destination catalog.
5. Enter the destination name and your **Pixel Code**.
6. Configure optional settings as needed.
7. Click **"Create"** to connect.

# Events

Every event first calls `ttq.identify()` with available user data before sending the conversion event.

# Event Mapping

| Chord Event                 | TikTok Event                  | Notes                                                                                                               |
| --------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| `page`                      | *(auto page view on init)*    | Fires during initialization when **Auto Page View** is `true`; subsequent page events send user identification only |
| `identify`                  | `ttq.identify()`              | Sets user data; no conversion event fired                                                                           |
| `Order Completed`           | `CompletePayment`             | Multi-product                                                                                                       |
| `Checkout Started`          | `InitiateCheckout`            | Multi-product                                                                                                       |
| `Payment Info Entered`      | `AddPaymentInfo`              | Multi-product                                                                                                       |
| `Product Added`             | `AddToCart`                   | Single-product                                                                                                      |
| `Product Viewed`            | `ViewContent`                 | Single-product                                                                                                      |
| `Product Clicked`           | `ClickButton`                 | Single-product                                                                                                      |
| `Product Added to Wishlist` | `AddToWishlist`               | Single-product                                                                                                      |
| `Products Searched`         | `Search`                      | Single-product                                                                                                      |
| `Signed Up`                 | `CompleteRegistration`        | No product data                                                                                                     |
| `Subscription Created`      | `Subscribe`                   | No product data                                                                                                     |
| *(any other track event)*   | Chord event name passed as-is | See [Custom Events]()                                                                                               |

# Identify

Sets user identity on the TikTok pixel for enhanced matching. No conversion event is fired.

**TikTok SDK call:** `ttq.identify(userData)`

| TikTok Attribute                        | Chord Source (Priority Order)                                                              | Notes                                                                                                            |
| --------------------------------------- | ------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------- |
| `email` or `sha256_email`               | `properties.email` > `context.traits.email` > `traits.email`                               | Routed to `sha256_email` if value is a SHA-256 digest; otherwise sent to `email` and TikTok hashes automatically |
| `phone_number` or `sha256_phone_number` | `properties.phone` > `context.traits.phone` > `traits.phone`                               | Routed to `sha256_phone_number` if value is a SHA-256 digest; otherwise sent to `phone_number` in E.164 format   |
| `external_id`                           | `userId` > `anonymousId`                                                                   |                                                                                                                  |
| `first_name`                            | `properties.first_name` > `context.traits.first_name` > `traits.first_name`                | Lowercased, whitespace removed                                                                                   |
| `last_name`                             | `properties.last_name` > `context.traits.last_name` > `traits.last_name`                   | Lowercased, whitespace removed                                                                                   |
| `city`                                  | `properties.address.city` > `context.traits.address.city`                                  | Lowercased, non-alphanumeric chars removed                                                                       |
| `state`                                 | `properties.address.state` > `context.traits.address.state`                                | Lowercased, non-alphanumeric chars removed                                                                       |
| `country`                               | `properties.address.country` > `context.traits.address.country`                            | Lowercased, non-alphanumeric chars removed                                                                       |
| `zip_code`                              | `properties.address.zipcode` > `context.traits.address.zipcode` > `traits.address.zipcode` | Lowercased, whitespace removed                                                                                   |

Identify is automatically called before every track event if any user data is available.

# PII Handling

TikTok's `track()` event schema does not include PII fields. Email, phone, and name belong exclusively in `ttq.identify()`, where TikTok automatically hashes them client-side using SHA-256 before transmission.

To prevent accidental PII exposure, the following fields are **always stripped** from track event payloads even if they appear in `event.properties` or are written there by a property mapping:

| Field          | Why stripped                |
| -------------- | --------------------------- |
| `email`        | Handled by `ttq.identify()` |
| `phone`        | Handled by `ttq.identify()` |
| `phone_number` | Handled by `ttq.identify()` |
| `first_name`   | Handled by `ttq.identify()` |
| `last_name`    | Handled by `ttq.identify()` |

If you have a property mapping that writes to one of these fields (e.g. `properties.email → properties.email`), the value will still flow to `ttq.identify()` through the normal user data extraction path — it will not appear in the `track()` payload.

# Multi-Product Events (Order Completed, Checkout Started, Payment Info Entered)

**TikTok SDK call:** `ttq.instance(pixelCode).track(eventName, eventProperties, { event_id: messageId })`

| TikTok Attribute | Chord Source (Priority Order)           | Notes                                                   |
| ---------------- | --------------------------------------- | ------------------------------------------------------- |
| `content_type`   | *(hardcoded)* `"product"`               |                                                         |
| `currency`       | `properties.currency`                   | Defaults to `"USD"`                                     |
| `value`          | `properties.value` > `properties.total` | Falls back to sum of `price × quantity` across products |
| `order_id`       | `properties.order_id`                   |                                                         |
| `shop_id`        | `properties.shop_id`                    |                                                         |
| `description`    | `properties.products[0].description`    | From first product                                      |
| `contents`       | `properties.products[]` mapped as below |                                                         |

**Product contents** — each item in `properties.products[]`:

| TikTok Attribute   | Chord Source                                                         |
| ------------------ | -------------------------------------------------------------------- |
| `content_id`       | Configured field from `properties.products[]` > `sku` > `product_id` |
| `content_name`     | `properties.products[].name`                                         |
| `content_category` | `properties.products[].category`                                     |
| `price`            | `properties.products[].price`                                        |
| `quantity`         | `properties.products[].quantity`                                     |
| `brand`            | `properties.products[].brand`                                        |

# Single-Product Events (Product Added, Product Viewed, Product Clicked, Product Added to Wishlist, Products Searched)

Product data is extracted from top-level `properties` (not `properties.products[]`).

**TikTok SDK call:** `ttq.instance(pixelCode).track(eventName, eventProperties, { event_id: messageId })`

| TikTok Attribute | Chord Source (Priority Order)                                | Notes                  |
| ---------------- | ------------------------------------------------------------ | ---------------------- |
| `content_type`   | *(hardcoded)* `"product"`                                    |                        |
| `currency`       | `properties.currency`                                        | Defaults to `"USD"`    |
| `value`          | `properties.value` > `properties.total` > `properties.price` |                        |
| `order_id`       | `properties.cart_id` / `properties.order_id`                 | Omitted if not present |
| `shop_id`        | `properties.shop_id`                                         | Omitted if not present |
| `description`    | `properties.description`                                     |                        |
| `query`          | `properties.query`                                           | Products Searched only |
| `contents`       | Single-element array from top-level `properties`             |                        |

**Single product content:**

| TikTok Attribute   | Chord Source (Priority Order)                                                   |
| ------------------ | ------------------------------------------------------------------------------- |
| `content_id`       | Configured field from `properties` > `properties.sku` > `properties.product_id` |
| `content_name`     | `properties.name`                                                               |
| `content_category` | `properties.category`                                                           |
| `price`            | `properties.price`                                                              |
| `quantity`         | `properties.quantity` — defaults to `1`                                         |
| `brand`            | `properties.brand`                                                              |

# No-Product Events (Signed Up, Subscription Created)

Same event-level attributes as multi-product events above, but `contents` is an empty array.

# Custom Events

Any `track` event that does not match a Chord tracking plan event name is forwarded to TikTok using the Chord event name as-is. This includes events like `Form Submitted`, `Callback Started`, `Download Link Clicked`, and any other custom event names your storefront fires.

**TikTok SDK call:** `ttq.instance(pixelCode).track(eventName, eventProperties, { event_id: messageId })`

The payload uses the same structure as multi-product events — if the event carries `products`, `currency`, `value`, or order data in its properties, those are extracted and forwarded. Custom properties from property mappings are also included.

| TikTok Attribute | Chord Source                                              | Notes                                                       |
| ---------------- | --------------------------------------------------------- | ----------------------------------------------------------- |
| `content_type`   | *(hardcoded)* `"product"`                                 |                                                             |
| `currency`       | `properties.currency`                                     | Defaults to `"USD"`                                         |
| `value`          | `properties.value` > `properties.total`                   | Falls back to sum of `price × quantity` if products present |
| `order_id`       | `properties.order_id`                                     | Omitted if not present                                      |
| `contents`       | `properties.products[]` if present, otherwise empty array |                                                             |

If the TikTok event name you want to fire does not match your Chord event name, use a property mapping in the Hub to rename the event before it reaches this destination.

# Custom Property Forwarding

Configure destination mappings in Hub with `properties.*` destination paths to forward additional event properties alongside the computed schema fields in the `ttq.instance(...).track(...)` payload. Only explicitly-configured non-schema fields are forwarded — nothing flows through automatically.

**How to configure:**

1. Open the destination's **Mappings** tab in Hub.
2. Add a mapping with source path `properties.loyalty_tier` and destination path `properties.loyalty_tier`.
3. On the next event, `loyalty_tier` will appear in the event properties payload sent to TikTok.

**What is excluded:**

- Schema fields already handled by the destination transform (e.g. `currency`, `value`, `order_id`, `contents`) — these flow through the structured transform
- PII fields (`email`, `phone`, `first_name`, `last_name`) — see [PII Handling](); these are always stripped from track event payloads and handled by `ttq.identify()` instead

When a custom mapping targets a schema field (e.g. `properties.value → properties.value`), the customer-configured value overrides the destination's computed default. This allows schema fields to be sourced from a different event property — for example, mapping `properties.total → properties.value` to use your order total as the conversion value.

# Initialization

The plugin sets up the `ttq` function queue, then loads `https://analytics.tiktok.com/i18n/pixel/events.js`. The partner name is set to `"Chord"`. If **Auto Page View** is `true` (default), an initial page view is fired immediately after initialization.

The plugin manages SDK loading state (`fresh` → `loading` → `loaded`/`failed`) to prevent duplicate script loads. If the script fails to load, subsequent events are silently dropped.

# CSP Requirements

If your site uses a Content Security Policy, allow the following domains:

| Directive     | Domain                         |
| ------------- | ------------------------------ |
| `script-src`  | `https://analytics.tiktok.com` |
| `connect-src` | `https://analytics.tiktok.com` |

***

**Updated 27 May 2026**

[title] The Trade Desk
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

**The Trade Desk** is a programmatic advertising platform for display, video, audio, and connected TV campaigns. This destination loads The Trade Desk Universal Pixel JavaScript SDK in the browser and forwards page views, e-commerce events, and conversion data for measurement and audience targeting. There is no server-side component.

# Getting Started

This is a device-mode destination. The Trade Desk Universal Pixel SDK is loaded automatically — no manual script installation is required. You will need:

- **Advertiser ID** — your Trade Desk advertiser ID, found in your Trade Desk account.
- **Universal Pixel ID** — your Trade Desk Universal Pixel ID, found in your Trade Desk account under **Pixels**. All page views and conversion events fire against this single pixel. TTD classifies conversion events based on URL patterns and dynamic parameters (such as `order_id` and `revenue`).

# Connecting to the Trade Desk Pixel CDP Destination

:::BlockQuote
**Warning:** Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are **disabled**. Running external destinations alongside configured Chord CDP destinations **can result in duplicate events downstream.**
:::

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **The Trade Desk Pixel** from the destination catalog.
5. Enter the destination name, **Advertiser ID**, and **Universal Pixel ID**.
6. Click **"Create"** to connect.

# Events

# Event Mapping

All events include the TTD `event_name` field, mapped from the CDP event name to a [TTD predefined event name](https://partner.thetradedesk.com/v3/portal/data/doc/TrackingTagsEvents#predefined-item-events). Every forwarded event also includes a `pixelIds` array scoped to the Universal Pixel ID.

| Chord Event                 | TTD `event_name`     | Revenue Data | Item Data | Notes                      |
| --------------------------- | -------------------- | ------------ | --------- | -------------------------- |
| `page`                      | `sitevisit`          |              |           |                            |
| `Order Completed`           | `purchase`           | Yes          | Yes       |                            |
| `Checkout Started`          | `startcheckout`      | Yes          | Yes       |                            |
| `Product Added`             | `addtocart`          |              | Yes       |                            |
| `Product Viewed`            | `viewitem`           |              | Yes       |                            |
| `Cart Viewed`               | `viewcart`           |              | Yes       |                            |
| `Product Added to Wishlist` | `addtowishlist`      |              | Yes       |                            |
| `Products Searched`         | `searchitem`         |              |           | Search query sent as `td1` |
| `identify`                  | *(not forwarded)*    |              |           |                            |
| *(other track events)*      | *(silently skipped)* |              |           |                            |

All events fire against the Universal Pixel ID. TTD infers the conversion type based on URL patterns and dynamic parameters included with each event.

# Page Events

Fires a conversion event with `event_name: "sitevisit"`, scoped to the Universal Pixel ID.

**TTD SDK call:** `ttdConversionEvents("event", { event_name: "sitevisit", pixelIds: ["<universalPixelId>"] })`

# Revenue Data

For `purchase` and `startcheckout` events, order-level revenue data is included:

| TTD Attribute | Chord Source (Priority Order)             | Notes                  |
| ------------- | ----------------------------------------- | ---------------------- |
| `order_id`    | `properties.order_id`                     | Omitted if not present |
| `value`       | `properties.total` > `properties.revenue` | Omitted if not present |
| `currency`    | `properties.currency`                     | Omitted if not present |

# Item Data

For events with product information, an `items` array is sent with item-level detail. Multi-product events (`Order Completed`, `Cart Viewed`, `Checkout Started`) map from `properties.products[]`. Single-product events (`Product Added`, `Product Viewed`, `Product Added to Wishlist`) extract from the event properties directly.

| TTD Item Attribute | Chord Source                | Notes                                                 |
| ------------------ | --------------------------- | ----------------------------------------------------- |
| `item_code`        | `product_id` / `sku` / `id` | Required; products without an identifier are excluded |
| `name`             | `name`                      | Defaults to empty string                              |
| `qty`              | `quantity`                  | Defaults to `1`                                       |
| `price`            | `price`                     | Defaults to `0`                                       |
| `cat`              | `category`                  | Defaults to empty string                              |

# Products Searched

Fires an event with `event_name: "searchitem"`. If `properties.query` is present, it is included as the `td1` dynamic parameter.

# Unmapped Events

Track events not listed above are silently skipped. Identify events are not forwarded.

# Initialization

The plugin loads `https://js.adsrvr.org/up_loader.3.0.0.js` and calls `ttdConversionEvents("init", { advertiserId, pixelIds: ["<universalPixelId>"] })`. Before the script loads, a queue (`ttdConversionEventsLayer`) buffers any events.

The plugin manages SDK loading state (`fresh` → `loading` → `loaded`/`failed`) to prevent duplicate script loads. Concurrent events during loading are queued and processed after initialization completes. If the script fails to load, subsequent events are silently dropped.

# CSP Requirements

If your site uses a Content Security Policy, allow the following domains:

| Directive     | Domain                  |
| ------------- | ----------------------- |
| `script-src`  | `https://js.adsrvr.org` |
| `connect-src` | `https://js.adsrvr.org` |

***

**Updated 5 May 2026**

[title] Server Event Tracking
[path] Chord Event Tracking/Using with Shopify/

When installed on your storefront, Chord typically sends tracking events to the CDP from two sources:

- Your website front-end, either using the Chord Shopify web pixel or `@chordcommerce/analytics`, and
- Chord's server events service, which sends tracking events from a Shopify custom source function in your CDP workspace in response to webhook triggers from Shopify.&#x20;

When Chord provisions your CDP workspace, it will include Chord's Shopify webhook source. This code listens for webhook events from Shopify and transforms them into CDP events.

## Requirements

Locate Chord's webhook source in your CDP workspace, named "Shopify Webhooks." Chord typically creates this webhook source as part of your CDP workspace provisioning. You'll need to update the settings of this source during the **Create an Admin API Key** step, and you'll need the webhook URL of this source during the **Create Webhook Subscriptions** step. If you can't find the source or aren't sure which one it is, please contact Chord.

## Installation

There are two steps to configuring server events: creating an Admin API key and adding it to the CDP source; and subscribing the CDP source to Shopify webhook events.

### Creating an Admin API key

Chord's CDP source requires an admin API key with the `read_orders` scope to retrieve order details from Shopify. To generate this admin API key, we recommend creating a custom Shopify app in your Shopify account for Chord, and using the Admin API access token from this custom app. This makes it easy to manage access.

Create a new custom app in your Shopify admin by navigating to **Settings** > **Apps and sales channels** > **Develop apps** > **Create an app**. Once the app is created, click **Configure Admin API Scopes**. Choose `read_orders` only and hit **Save.**

On the **Overview** tab, you should see a prompt to **Install to get your access token**. Click **Install app**. Now you should see this:

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/-HtEyo6KDxhwiwkkLSvnM_untitled-5.png)

Copy the Admin API access token. In your CDP workspace, navigate to your Chord webhook source and view the settings under **Settings** > **Connection**. Enter the Admin API access token you just created in the **Access Token** or **accessToken** settings field, and **Save Changes**.

### Creating Webhook Subscriptions

In your CDP workspace, navigate to your Chord webhook source and find the webhook URL for the source under the **Configure your webhook** heading.

Now you'll create webhook subscriptions in Shopify. You can create webhook subscriptions either via the [Shopify admin](https://help.shopify.com/en/manual/orders/notifications/webhooks) or the [Admin API](https://shopify.dev/docs/api/admin-rest/2024-01/resources/webhook#post-webhooks). You can use the Admin API access token you created for Chord to create the subscription via the Admin API.

Create a subscription for each server event you'd like Chord to send to the CDP. Each subscription will have the same address, which is the URL you copied from your CDP source. The following webhook topics are supported:

- **checkouts/create**: sends Chord's "Checkout Created" event
- **orders/create**: sends Chord's "Order Completed" event
- **refunds/create**: sends Chord's "Order Refunded" event

Shopify's webhook testing doesn't include a payload that matches a real webhook payload, so we recommend completing a test transaction in your Shopify store to verify that server events are flowing as expected. You can view the CDP events in the **Debugger** tab of the Shopify webhook source in your CDP workspace.

## Storefront configuration

To associate server events and front-end storefront events with the same session, the website front-end needs to save a few browser identifiers as attributes on the cart or order, so they can be retrieved later by the server source and included in CDP events. See [Unifying Data Across Sources](docId\:FYmI5G8eWB-YYpyh-GU4o) for more details.

[title] Web Pixel
[path] Chord Event Tracking/Using with Shopify/

Chord's tracking can be easily installed on Shopify stores using a Shopify custom web pixel. A Shopify custom web pixel is a JavaScript code snippet that runs on Shopify themes and on Shopify checkouts. Pixels are managed through the **Customer events** page in Shopify.

Chord's web pixel includes:

- Pre-checkout tracking from the Shopify theme storefront (e.g., "Product Viewed" track events, page views)
- Checkout tracking from Shopify checkout (e.g., "Payment Info Entered" track events, page views)

Chord's web pixel can only add pre-checkout tracking to your storefront if your storefront uses a Shopify theme. If your storefront is headless:

1. add pre-checkout tracking using the [analytics SDK npm package](docId\:XDo-mGzIP_SQ_feVf6RUI) instead.
2. continue to use the web pixel for checkout tracking.

Keep reading to for an in-depth guide to adding the Chord web pixel to your Shopify store:

- [Installation](docId\:zuG-19SU0RUfAEs0k_0Ix)
- [Configuration](docId\:qMM8Kz1WShyJhs9qbh0vm)
- [Usage](docId\:gvuGCbQHfkHEUhE58wpKe)
- [Consent Management](docId\:dbKzUyYJsHKX7dzHiSfeZ)


[title] Server Events
[path] Chord Event Tracking/

In addition to client events, customers may sent server events to Chord. These events will be processed by the Chord CDP and forwarded onto connected destinations, just like client events. Server events provide an HTTP endpoint for backend systems to send ad-hoc events or webhooks.

The examples below show the data required for each event to be correctly processed by Chord.

# Authorization

Each request must include a `X-Write-Key` HTTP header with a valid write key. This key is used to authorize connections into Chord. Please contact Chord to receive your write key.

# Automatic Properties

When an event is ingested, the properties below are added automatically to the payload. There is no need for customers to include these values, however they can be overridden by equivalent properties in the request payload if required.

```json
{
  ...,
  "timestamp": "2024-01-01T00:00:00.000Z",
  "requestIp": "2604:3d09:1180:1581:3c4a:bc9d:8027:a450",
  "context": {...},
  "receivedAt": "2025-09-12T19:04:50.541Z",
  "messageId": "0c43c13c-692b-46c6-9152-3962871b1009"
}
```

# Track Events

## Order Completed

```json
{
  "type": "track",
  "event": "Order Completed",
  "properties": {
    "affiliation": "Afilliation",
    "checkout_id": "40854979018855",
    "checkout_type": "Shopify | OMS | Other",
    "currency": "USD",
    "discount": 5,
    "email": "user@example.com",
    "first_name": "John",
    "last_name": "Doe",
    "order_date": "2025-09-12T11:45:45-07:00",
    "order_id": "6736819880039",
    "order_number": "1895671",
    "phone": "+15555555555",
    "revenue": 219,
    "shipping": 9.9,
    "shipping_city": "Fall River",
    "shipping_country": "US",
    "shipping_state": "MA",
    "shipping_zipcode": "02720",
    "subtotal": 219,
    "tax": 13.69,
    "total": 237.59,
    "products": [
      {
        "affiliation": "Affiliation",
        "brand": "Brand",
        "line_item_id": "16207084552295",
        "name": "Product Name",
        "position": 1,
        "price": 219,
        "product_id": "7036464939671",
        "quantity": 1,
        "revenue": 219,
        "sku": "SKU123",
        "variant": "Variant Name",
        "variant_id": "40952658057847"
      }
    ],
    "meta": {
      "i18n": {
        "currency": "USD",
        "locale": "en-US"
      },
      "platform": {
        "name": "Shopify | OMS | Other",
        "type": "web"
      },
      "store": {
        "domain": "domain"
      },
      "version": {
        "major": 3,
        "minor": 0,
        "patch": 0
      }
    }
  },
  "userId": "8046328840295",
  "anonymousId": "7a76b270-c318-4477-b1e1-33eac94dbd1e",
}

```


[title] Release Notes
[path] Chord Event Tracking/


[title] Shopify Customer Privacy API
[path] Chord Event Tracking/Consent Management/

Shopify's [Customer Privacy API](https://shopify.dev/docs/api/customer-privacy) is available as a Javascript API on Shopify themes. If you have enabled Shopify's default cookie banner or data sales opt-out page, or you have installed a cookie banner or consent management Shopify app, you're likely capturing customer data preferences with the Customer Privacy API.

Chord offers a consent management wrapper that retrieves customer data preferences from the Customer Privacy API and adds them to Chord CDP events as the [consent object](https://docs.chord.co/installation). Within Chord CDP, you can map how data preferences should be applied to Chord CDP destinations.

Follow these steps to configure consent management with Shopify's Customer Privacy API and Chord CDP:

1. Configure customer privacy in Shopify.
2. Configure consent categories in Chord CDP and map to destinations.
3. Implement Chord's Web Pixel which integrates native consent management features from Shopify and the CDP.

## Configuring Shopify

To implement consent management on a Shopify site using the Customer Privacy API, navigate to **Settings > Customer privacy** in your Shopify store admin. You’ll see three available privacy settings. The cookie banner privacy setting **must** be enabled if you’re using Chord's Web Pixel. If it isn’t, the Customer Privacy API is unavailable, and Chord will never send events to Chord CDP for any visitor. Learn more about [Shopify’s customer privacy settings](https://help.shopify.com/en/manual/privacy-and-security/privacy/customer-privacy-settings).

The following two privacy settings are recommended by Shopify and should be configured:

### Cookie banner

Add a banner to ask visitors for permission to manage their data. You can either enable Shopify’s default cookie banner, or add a custom cookie banner from the Shopify app store.

To enable Shopify’s cookie banner, select **Cookie banner** > **Activate cookie banner**, choose regions, and select **Activate**. To use a custom cookie banner, select **Cookie banner** > **More actions** > **Use custom cookie banner**, choose regions, and select **Activate**.

### Data sales opt-out page

Allow visitors to define how their data can be shared.

To enable Shopify’s data sales opt-out page, select **Data-sales opt-out page**, choose regions, and select **Activate.**

## Configuring Chord CDP

Shopify’s Customer Privacy API supports four categories of consent from users:

- `analytics`: Customer analytics about how the storefront was used and interactions made on the storefront. By default, this preference is collected by Shopify’s cookie banner as “performance cookies.”
- `marketing`: Marketing, attribution and targeted advertising from the merchant. By default, this preference is collected by Shopify’s cookie banner as “marketing cookies.”
- `preferences`: Customer preferences such as language, currency, size, and more. By default, this preference is collected by Shopify’s cookie banner as “preference cookies.”
- `sale_of_data`: Sharing data with third parties, usually for behavioral advertising. By default, this preference is collected by Shopify’s data sales opt-out page.

You can decide how these four categories map to your Chord CDP destinations.

Add the four categories below as category mappings in the Chord CDP by navigating to **CDP** > **Consent Categories** > **Create Your First Consent Category**. You can customize the “Category name” for these category mappings, but the “Category ID” must be exactly the values listed below to connect preferences from Shopify to Chord CDP:

| Category Name (can be customized) | Category ID       |
| --------------------------------- | ----------------- |
| Performance cookies<br />         | `analytics`       |
| Marketing cookies                 | `marketing`<br /> |
| Preference cookies                | `preferences`     |
| Sale of data                      | `sale_of_data`    |

For each category, choose the mapped destinations. Mapping a destination to a category means that the destination will only receive the Chord CDP event if Shopify’s Customer Privacy API reports that processing is allowed for that category.

Once you’ve created and enabled the four categories, you should see this in Chord CDP:

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/rjNjq-Bb3Rotg4XiHKf2R_image.png)

## Installing on your site

The [Chord web pixel integrates](https://docs.chord.co/dbKz-consent-management) native consent management features from Shopify and the CDP so you can accurately comply with your customer's privacy preferences.

Before the Chord Web Pixel is loaded is loaded, Chord's checks to see if user tracking is allowed at all. The Chord Web Pixel will load and send events to the Chord CDP only if `window.Shopify.customerPrivacy.marketingAllowed()` and `window.Shopify.customerPrivacy.analyticsProcessingAllowed()` both return `true`. This typically means the customer is:

- Browsing from a region that does not require a cookie banner, or;
- In a region that does require a cookie banner, but has consented to both analytics and marketing cookies.

If the Customer Privacy API doesn't allow user tracking, Chord will silently fail and events will not be sent.

Next, if the Chord Web Pixel is loaded, a `consent` object is added describing the customer’s consent preferences to each Chord CDP event. Chord CDP will use the consent category mapping we configured earlier in the Chord CDP consent categories configuration along with the destination-level configuration to determine which destinations will receive events based on this `consent` object.

The pixel uses the `Allowed` methods of Shopify’s Customer Privacy API to construct the `consent`object and [obtain the values for each category](https://shopify.dev/docs/api/customer-privacy#check-data-processing-permissions):

```jsx
{
	analytics: window.Shopify.customerPrivacy.analyticsProcessingAllowed(),
	marketing: window.Shopify.customerPrivacy.marketingAllowed(),
	preferences: window.Shopify.customerPrivacy.preferencesProcessingAllowed(),
	sale_of_data: window.Shopify.customerPrivacy.saleOfDataAllowed()
}
```

## FAQs

**Is Global Privacy Control (GPC) supported?**

Chord CDP recognizes the [Global Privacy Control signal](https://globalprivacycontrol.org/) as an opt-out of data sales in regions where opting out is supported. The `sale_of_data` category in the `consent` object will be `false` if the customer has activated the Global Privacy Control signal in their browser and is browsing from a region where opting out of data sales is an option.

&#x20;&#x20;

[title] Klaviyo
[path] Chord Event Tracking/Guides/Integrations/

Klaviyo has a [Segment destination](https://segment.com/docs/connections/destinations/catalog/klaviyo/) that can be connected to both website front-end and server Chord Segment sources. We recommend connecting both sources for maximum reliability.

When the destination is enabled, Klaviyo will receive customer information and tracking events from your Segment sources after an email address has been captured for the user. A customer typically provides their phone number or email address either by logging in, entering this information in some other field like a newsletter signup, or placing an order.

## Configuration

We recommend the following Klaviyo destination configuration, available under **Other Settings** in the Segment destination settings:

![Klaviyo settings](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/PUwtk7dPj75uz3g8S20_e_untitled-3.png)

### Confirm Optin

This flag determines whether someone is sent an email with a confirmation link before they are added to the list. Defaults to true (checked). This should only be set to false or unchecked if you have already received explicit permission from that person to add them to this list.

### Enforce Email as Primary Identifier

This option is enabled by default to ensure duplicate profiles are not being created inside of Klaviyo. This option ensures email addresses are treated as the unique primary identifier. If this setting is enabled, Klaviyo will ignore any events that don’t have a customer email address attached. This means Chord tracking events received before an email address is known will be ignored.

### Fallback on Anonymous ID

This option should always be “Off”.

### Send Placed Order Events as Order Completed

This option should always be “On”.

## Order Completed

When Chord sends Segment an `Order Completed` event, Segment sends Klaviyo a `Placed Order` event and a `Ordered Product` event for each item listed in the `properties.products` array. Segment also attaches `customer_properties` with the `userId` set as `$id` for each of those Klaviyo events.

## Implementation Notes

To add a customer to a Klaviyo list from a server event, pass a second argument to the `identify` method that looks like this:

```javascript
{
  integrations: {
    Klaviyo: {
      listId: "ABCDEF",
      // confirmOptin: false, // more details here: https://segment.com/docs/connections/destinations/catalog/klaviyo/#confirm-opt-in
    },
  },
}
```


[title] Shipment Shipped
[path] Chord Event Tracking/Server Events/Track/

This event is triggered when an order shipment has shipped.

# Properties

| **Name**       | **Type** | **Description**                                   | **Required** |
| -------------- | -------- | ------------------------------------------------- | ------------ |
| `currency`     | `string` | ISO currency code of the transaction (e.g. `USD`) | Yes          |
| `email`        | `string` | Email address associated with the order           | No           |
| `first_name`   | `string` | Customer's first name                             | No           |
| `last_name`    | `string` | Customer's last name                              | No           |
| `order_date`   | `date`   | Date and time the order was placed                | Yes          |
| `order_number` | `string` | Order ID or number                                | Yes          |
| `shipment`     | `object` | Products in the order                             | Yes          |

## Shipment

| **Name**                | **Type**   | **Description**                                                                            | **Required** |
| ----------------------- | ---------- | ------------------------------------------------------------------------------------------ | ------------ |
| `tracking`              | `string`   | Tracking code of the shipment                                                              | No           |
| `carrier`               | `string`   | Name of the carrier fulfilling the shipment                                                | No           |
| `number`                | `string`   | Shipment ID/number                                                                         | Yes          |
| `cost`                  | `number`   | Shipment cost                                                                              | No           |
| `adjustment_total`      | `number`   | Total of all adjustments/discounts of the shipment                                         | No           |
| `additional_tax_total`  | `number`   |                                                                                            | No           |
| `promo_total`           | `number`   | Total of all promotions of the shipment                                                    | No           |
| `included_tax_total`    | `number`   |                                                                                            | No           |
| `pushed`                | `string`   | Indicates if the shipment record has been sent to the warehouse/fulfillment centre/carrier | No           |
| `fulfilled_by`          | `string`   | ISO date when the shipment was fulfilled/pushed                                            | No           |
| `tracking_detail`       | `string`   | Additional tracking information                                                            | No           |
| `external_tracking_url` | `string`   | URL for customer to tracking shipping status                                               | No           |
| `label_url`             | `string`   | URL of electronically generated label                                                      | No           |
| `products`              | `object[]` | Products/inventory in the shipment                                                         | No           |
| `address`               | `object`   | Shipping address                                                                           | No           |

## Products array

| **Name**       | **Type** | **Description**                                                                          | **Required** |
| -------------- | -------- | ---------------------------------------------------------------------------------------- | ------------ |
| `affiliation`  | `string` | Store or affiliation from which this transaction occurred (for example, "Google Store"). | No           |
| `brand`        | `string` | Brand associated with the product                                                        | No           |
| `line_item_id` | `string` | ID of the line item in the database                                                      | No           |
| `name`         | `string` | Name of the product                                                                      | Yes          |
| `position`     | `number` | Position in the product list                                                             | No           |
| `price`        | `number` | Price of the product                                                                     | Yes          |
| `product_id`   | `string` | ID of the product in the database                                                        | Yes          |
| `quantity`     | `number` | The quantity of products purchased in this line item                                     | Yes          |
| `revenue`      | `number` | Revenue ($) associated with this line item (excluding shipping and tax)                  | Yes          |
| `sku`          | `string` | SKU of the variant                                                                       | Yes          |
| `variant_name` | `string` | Name of the variant                                                                      | No           |
| `variant_id`   | `string` | ID of the variant in the database                                                        | No           |

## Address

| **Name**            | **Type** | **Description**                                          | **Required** |
| ------------------- | -------- | -------------------------------------------------------- | ------------ |
| `address1`          | `string` | The street address of the customer                       | No           |
| `address2`          | `string` | Additional street address of the customer (if necessary) | No           |
| `alternative_phone` | `string` | Customer's alternative phone number                      | No           |
| `phone`             | `string` | Customer's phone number                                  | No           |
| `city`              | `string` | City of the shipping address                             | No           |
| `company`           | `string` | Name of the company, if applicable                       | No           |
| `country`           | `string` | ISO country code for the shipping address                | No           |
| `name`              | `string` | Customer name                                            | No           |
| `state_name`        | `string` | ISO state code for the shipping address                  | No           |
| `zipcode`           | `string` | Zip or postal code for the shipping address              | No           |

# Sample Payload

```json
{
  "type": "track",
  "event": "Shipment Shipped",
  "properties": {
    "currency": "USD",
    "email": "test@example.com",
    "order_number": "O1234567890",
    "first_name": "John",
    "last_name": "Doe",
    "shipment": {
      "tracking": "T1234567890",
      "carrier": "UPS",
      "number": "H1234567890",
      "cost": 9.99,
      "state": "ready",
      "adjustment_total": 9.99,
      "additional_tax_total": 9.99,
      "promo_total": 9.99,
      "included_tax_total": 9.99,
      "pushed": "true",
      "fulfilled_by": "2026-01-01T00:00:00.000Z",
      "tracking_detail": null,
      "external_tracking_url": null,
      "label_url": null,
      "products": [
        {
          "affiliation": "Affiliation",
          "brand": "Brand",
          "line_item_id": "16207084552295",
          "name": "Product Name",
          "position": 1,
          "price": 219,
          "product_id": "7036464939671",
          "quantity": 1,
          "revenue": 219,
          "sku": "SKU123",
          "variant": "Variant Name",
          "variant_id": "40952658057847"
        }
      ],
      "address": {
        "name": "John Doe",
        "address1": "123 Fake St",
        "address2": null,
        "city": "Oak Lawn",
        "zipcode": "60532",
        "phone": "1234567890",
        "state_name": "IL",
        "company": null
      }
    }
  }
}
```

# Example

```bash
curl https://production.cdp.ingest.chord.co/api/track \
--header "Content-Type: application/json" \
--header "X-Write-Key: $CDP_WRITE_KEY" \
--data-raw '
{
  "type": "track",
  "event": "Shipment Shipped",
  "properties": {
    "currency": "USD",
    "email": "test@example.com",
    "order_number": "O1234567890",
    "first_name": "John",
    "last_name": "Doe",
    "shipment": {
      "tracking": "T1234567890",
      "carrier": "UPS",
      "number": "H1234567890",
      "cost": 9.99,
      "state": "ready",
      "adjustment_total": 9.99,
      "additional_tax_total": 9.99,
      "promo_total": 9.99,
      "included_tax_total": 9.99,
      "pushed": "true",
      "fulfilled_by": "2026-01-01T00:00:00.000Z",
      "tracking_detail": null,
      "external_tracking_url": null,
      "label_url": null,
      "products": [
        {
          "affiliation": "Affiliation",
          "brand": "Brand",
          "line_item_id": "16207084552295",
          "name": "Product Name",
          "position": 1,
          "price": 219,
          "product_id": "7036464939671",
          "quantity": 1,
          "revenue": 219,
          "sku": "SKU123",
          "variant": "Variant Name",
          "variant_id": "40952658057847"
        }
      ],
      "address": {
        "name": "John Doe",
        "address1": "123 Fake St",
        "address2": null,
        "city": "Oak Lawn",
        "zipcode": "60532",
        "phone": "1234567890",
        "state_name": "IL",
        "company": null
      }
    }
  }
}
'
```


[title] Formatters
[path] Chord Event Tracking/Getting started/

Formatters are Javascript functions that are used to construct tracking event data. There are two types of formatters, `objects` and `events`. You must define `object` formatters. `event` formatters are optional.

## Object formatters

When you look at Chord's tracking events, you'll see some event properties are used over and over. Names and values of event properties are expected to be consistent between events. In other words, different events have different properties, but a given property name should have the same value wherever it's used.

For example, the two events `Product Added` and `Product Clicked` share most of the same event properties. `product_id` is a property of both events, and the value of `product_id` is expected to be the same for both events. It should not be a product SKU for one event and a database identifier for another event.&#x20;

Chord ensures consistency in property names and values by creating a standard set of object models that are used over and over throughout events. There are four: `cart`, `checkout`, `lineItem`, and `product`. When you install Chord's analytics library, you write a formatter function for each of these four types. Your formatter function will receive as an argument the input from the event tracking function, and your formatter must return an object in the format that Chord expects. Then Chord uses this formatter to generate the correct event payload.

### Available object formatters

| Method   | Type                                   | Description                        |
| -------- | -------------------------------------- | ---------------------------------- |
| cart     | (props: `CartInput`) => `Cart`         | Returns a Chord `Cart` object.     |
| checkout | (props: `CheckoutInput`) => `Checkout` | Returns a Chord `Checkout` object. |
| lineItem | (props: `LineItemInput`) => `LineItem` | Returns a Chord `LineItem` object. |
| product  | (props: `ProductInput`) => `Product`   | Returns a Chord `Product` object.  |

### Example object formatter

Let's walk through an example of a `cart` formatter.

In your website code, you might want to send a `Cart Viewed` tracking event. The code used to send `Cart Viewed` looks like this:

```typescript
var cart = await getCartFromShopifyStorefrontApi() // the `cart` object here can be any type
chord.trackCartViewed({ cart })
```

But how does Chord create a standard `Cart Viewed` event when you can pass any arbitrary cart object as the value? You'll define a formatter that converts your `cart` object into a format that Chord understands. See the `Cart` Typescript type exported by `@chordcommerce/analytics` to see what the return type of the cart formatter should be. Here's an example of a cart formatter that converts a [Shopify Storefront API cart response](https://shopify.dev/docs/api/storefront/2023-10/objects/Cart) into Chord's `Cart` object:

```typescript
import { CartInput, Cart, ChordAnalytics } from '@chordcommerce/analytics'

const cartFormatter: (props: CartInput) => Cart = ({ cart }) => {
  const products = cart?.lines?.map((line, i) => {
    const lineItem = line?.node
    return {
      ...lineItemFormatter({ lineItem }), // your `lineItem` formatter
      position: i + 1,
    }
  })

  return {
    cart_id: cart?.id?.replace('gid://shopify/Cart/', ''),
    currency: 'USD',
    products,
    value: Number(cart?.cost?.subtotalAmount?.amount) || 0,
  }
}

// When creating an instance of `ChordAnalytics`, set `formatters.objects.cart` to `cartFormatter`
const chord = new ChordAnalytics({
  ...
  formatters: {
    objects: {
      cart: cartFormatter,
      ...
    },
  }
})
```

## Event formatters

Event formatters are optional. You can supply an event formatter for any event-specific tracking method of `ChordAnalytics`; for example, for `chord.trackProductAdded`, you can set an event formatter with the key `productAdded`.

Chord's library will call your event formatter after constructing the tracking event but before sending to the CDP. This is the easiest way to customize a Chord tracking event, if you're not able to get the effect you want with object formatters. A common use case is to add additional properties to a specific tracking event.

### Available event formatters

All event formatters are optional. Event formatters have two arguments: `props`, which is the argument passed to the related tracking function (for example, `chord.trackProductClicked(props))`, and `event`, which is the finished event payload Chord has constructed to send to the CDP.

| Method                | Type                                                                                   | Description                                              |
| --------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------- |
| `cartViewed`          | `(props: CartViewedInput, event: CartViewed) => CartViewed`                            | Event triggered when a cart is viewed.                   |
| `checkoutStarted`     | `(props: CheckoutStartedInput, event: CheckoutStarted) => CheckoutStarted`             | Event triggered when the checkout process starts.        |
| `couponApplied`       | `(props: CouponAppliedInput, event: CouponApplied) => CouponApplied`                   | Event triggered when a coupon is successfully applied.   |
| `couponDenied`        | `(props: CouponDeniedInput, event: CouponDenied) => CouponDenied`                      | Event triggered when a coupon is denied.                 |
| `couponEntered`       | `(props: CouponEnteredInput, event: CouponEntered) => CouponEntered`                   | Event triggered when a coupon code is entered.           |
| `couponRemoved`       | `(props: CouponRemovedInput, event: CouponRemoved) => CouponRemoved`                   | Event triggered when a coupon is removed.                |
| `emailCaptured`       | `(props: EmailCapturedInput, event: EmailCaptured) => EmailCaptured`                   | Event triggered when an email is captured.               |
| `productAdded`        | `(props: ProductAddedInput, event: ProductAdded) => ProductAdded`                      | Event triggered when a product is added to the cart.     |
| `productClicked`      | `(props: ProductClickedInput, event: ProductClicked) => ProductClicked`                | Event triggered when a product is clicked.               |
| `productListFiltered` | `(props: ProductListFilteredInput, event: ProductListFiltered) => ProductListFiltered` | Event triggered when a product list is filtered.         |
| `productListViewed`   | `(props: ProductListViewedInput, event: ProductListViewed) => ProductListViewed`       | Event triggered when a product list is viewed.           |
| `productRemoved`      | `(props: ProductRemovedInput, event: ProductRemoved) => ProductRemoved`                | Event triggered when a product is removed from the cart. |
| `productViewed`       | `(props: ProductViewedInput, event: ProductViewed) => ProductViewed`                   | Event triggered when a product is viewed.                |
| `productsSearched`    | `(props: ProductsSearchedInput, event: ProductsSearched) => ProductsSearched`          | Event triggered when products are searched.              |
| `signedIn`            | `(props: SignedInInput, event: SignedIn) => SignedIn`                                  | Event triggered when a user signs in.                    |
| `signedOut`           | `(props: SignedOutInput, event: SignedOut) => SignedOut`                               | Event triggered when a user signs out.                   |
| `signedUp`            | `(props: SignedUpInput, event: SignedUp) => SignedUp`                                  | Event triggered when a user signs up.                    |

### Example event formatter

In this example, let's add an additional property to the "Signed In" event to track whether the user signed in by clicking the yellow button or the purple button.

The code used to send "Signed In" looks like this:

```typescript
chord.trackSignedIn({ email: 'hello@chord.co', button: 'purple' }) 
```

As written, Chord will ignore the `button` property and not include it in the event sent to the CDP, because it's not part of Chord's tracking plan. To include the `button` property in the event, add an event formatter:

```typescript
import { CartInput, Cart, ChordAnalytics } from '@chordcommerce/analytics'

const signedInFormatter: (props: SignedInInput, event: SignedIn) => SignedIn = (props, event) => {
  return {
    ...event,
    button: props.button
  }
}

const chord = new ChordAnalytics({
  ...
  formatters: {
    events: {
      signedIn: signedInFormatter,
      ...
    },
  }
})
```

#


[title] Subscription Order Skipped
[path] Chord Event Tracking/Server Events/Track/

This event is triggered when a customer skips their upcoming installment.

# Properties

| **Name**              | **Type**   | **Description**                                                                                                                        | **Required** |
| --------------------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
| `subscription_id`     | `string`   | Unique ID of the subscription                                                                                                          | Yes          |
| `interval_length`     | `number`   | Combined with `interval_units`, specifies the cadence of the subscription. E.g. for a **3 week** cadence, this value will be `3`.      | No           |
| `interval_units`      | `string`   | Combined with `interval_length`, specifies the cadence of the subscription. E.g. for a **3 week** cadence, this value will be `weeks`. | No           |
| `actionable_date`     | `string`   | ISO date when the next installment order will be generated.                                                                            | No           |
| `state`               | `string`   | State of the subscription (e.g. `active`, `paused`, `canceled`).                                                                       | No           |
| `payment_method_name` | `string`   | Name of the payment method for installment orders.                                                                                     | No           |
| `email`               | `string`   | Email address associated with the subscription                                                                                         | No           |
| `canceled_at`         | `string`   | ISO date when the subscription was canceled, if applicable                                                                             | No           |
| `canceled_by`         | `string`   | Email address of the user who canceled the subscription, if applicable                                                                 | No           |
| `activated_at`        | `string`   | ISO date when the subscription was activated                                                                                           | Yes          |
| `address`             | `object`   | Shipping address of the subscription.                                                                                                  | Yes          |
| `products`            | `object[]` | Products in the subscription                                                                                                           | Yes          |

## Address

| **Name**            | **Type** | **Description**                                          | **Required** |
| ------------------- | -------- | -------------------------------------------------------- | ------------ |
| `address1`          | `string` | The street address of the customer                       | No           |
| `address2`          | `string` | Additional street address of the customer (if necessary) | No           |
| `alternative_phone` | `string` | Customer's alternative phone number                      | No           |
| `phone`             | `string` | Customer's phone number                                  | No           |
| `city`              | `string` | City of the shipping address                             | No           |
| `company`           | `string` | Name of the company, if applicable                       | No           |
| `country`           | `string` | ISO country code for the shipping address                | No           |
| `name`              |          | Customer name                                            | No           |
| `state`             | `string` | ISO state code for the shipping address                  | No           |
| `zipcode`           | `string` | Zip or postal code for the shipping address              | No           |

## Products array

| **Name**       | **Type** | **Description**                                                                          | **Required** |
| -------------- | -------- | ---------------------------------------------------------------------------------------- | ------------ |
| `affiliation`  | `string` | Store or affiliation from which this transaction occurred (for example, "Google Store"). | No           |
| `brand`        | `string` | Brand associated with the product                                                        | No           |
| `line_item_id` | `string` | ID of the line item in the database                                                      | No           |
| `name`         | `string` | Name of the product                                                                      | Yes          |
| `position`     | `number` | Position in the product list                                                             | No           |
| `price`        | `number` | Price of the product                                                                     | Yes          |
| `product_id`   | `string` | ID of the product in the database                                                        | Yes          |
| `quantity`     | `number` | The quantity of products purchased in this line item                                     | Yes          |
| `revenue`      | `number` | Revenue ($) associated with this line item (excluding shipping and tax)                  | Yes          |
| `sku`          | `string` | SKU of the variant                                                                       | Yes          |
| `variant_name` | `string` | Name of the variant                                                                      | No           |
| `variant_id`   | `string` | ID of the variant in the database                                                        | No           |

# Sample Payload

```json
{
  "type": "track",
  "event": "Subscription Order Skipped",
  "properties": {
    "subscription_id": "1",
    "interval_length": 3,
    "interval_units": "weeks",
    "actionable_date": "2026-01-01T00:00:00.000Z",
    "state": "active",
    "payment_method_name": "Stripe",
    "email": "user@example.com",
    "canceled_at": null,
    "canceled_by": null,
    "activated_at": "2026-01-01T00:00:00.000Z",
    "address": {
      "address1": "123 Fake St",
      "address2": null,
      "alternative_phone": null,
      "phone": "123456789",
      "city": "Oak Lawn",
      "state": "IL",
      "country": "US",
      "name": "John Doe",
      "zipcode": "60532"
    },
    "products": [
      {
        "affiliation": "Affiliation",
        "brand": "Brand",
        "line_item_id": "16207084552295",
        "name": "Product Name",
        "position": 1,
        "price": 219,
        "product_id": "7036464939671",
        "quantity": 1,
        "revenue": 219,
        "sku": "SKU123",
        "variant": "Variant Name",
        "variant_id": "40952658057847"
      }
    ]
  }
}
```

# Example

```bash
curl https://production.cdp.ingest.chord.co/api/track \
--header "Content-Type: application/json" \
--header "X-Write-Key: $CDP_WRITE_KEY" \
--data-raw '
{
  "type": "track",
  "event": "Subscription Order Skipped",
  "properties": {
    "subscription_id": "1",
    "interval_length": 3,
    "interval_units": "weeks",
    "actionable_date": "2026-01-01T00:00:00.000Z",
    "state": "active",
    "payment_method_name": "Stripe",
    "email": "user@example.com",
    "canceled_at": null,
    "canceled_by": null,
    "activated_at": "2026-01-01T00:00:00.000Z",
    "address": {
      "address1": "123 Fake St",
      "address2": null,
      "alternative_phone": null,
      "phone": "123456789",
      "city": "Oak Lawn",
      "state": "IL",
      "country": "US",
      "name": "John Doe",
      "zipcode": "60532"
    },
    "products": [
      {
        "affiliation": "Affiliation",
        "brand": "Brand",
        "line_item_id": "16207084552295",
        "name": "Product Name",
        "position": 1,
        "price": 219,
        "product_id": "7036464939671",
        "quantity": 1,
        "revenue": 219,
        "sku": "SKU123",
        "variant": "Variant Name",
        "variant_id": "40952658057847"
      }
    ]
  }
}
'
```


[title] Granting Chord Access to Your Shopify Store
[path] Chord Event Tracking/Using with Shopify/

## Overview

Follow the steps below to grant Chord access to your Shopify store. This allows us to install custom apps, set up event tracking, and support your implementation.

:::hint{type="info"}
**Note:&#x20;**&#x53;hopify updated their permissions structure on January 1, 2026. The steps below reflect the current process for granting access.
:::

**All steps in this guide must be completed** before the Chord team can verify access to your store. Once complete, we'll confirm that we have:

- The ability to add custom pixels via Customer Events; and
- Access to the developer dashboard via Apps.

### Step 1: Create a custom Store role for Chord

1. Your brand's Shopify Store Admin should log into your Shopify store.
2. Once logged in, your brand’s Store Admin can navigate to **Users** on the lefthand menu and click **Roles**.
3. The Store Admin should **add a role** using the **Add role** button on the top right.
4. The new role should be for `access@chord.co` created under the **Store role** category. Your store admin can name this custom role whatever they would like. In the example above, we created a **Chord Commerce Test** role under **Store**.&#x20;
5. Additionally, your store admin will need to assign the following scopes to this specific role **(if a scope is not listed, it is not required):&#x20;**

::::ExpandableHeading
### Scopes (expand for full list)

:::Paragraph{indent="2"}
**A. Orders**
:::

:::Paragraph{listStyleType="disc" indent="3"}
View
:::

:::Paragraph{listStyleType="disc" listStart="2" indent="3"}
Cancel
:::

:::Paragraph{listStyleType="disc" listStart="3" indent="3"}
Returns and refunds&#x20;
:::

:::Paragraph{listStyleType="disc" indent="4"}
Return
:::

:::Paragraph{listStyleType="disc" listStart="2" indent="4"}
Refund to original payment
:::

:::Paragraph{listStyleType="disc" listStart="3" indent="4"}
Refund to store credit
:::

:::Paragraph{indent="2"}
**B. Drafts**
:::

:::Paragraph{listStyleType="disc" indent="3"}
View
:::

:::Paragraph{indent="2"}
**C. Products**
:::

:::Paragraph{listStyleType="disc" indent="3"}
View&#x20;
:::

:::Paragraph{listStyleType="disc" indent="4"}
View Cost
:::

:::Paragraph{indent="2"}
**D. Gift cards**
:::

:::Paragraph{listStyleType="disc" indent="3"}
View
:::

:::Paragraph{listStyleType="disc" listStart="2" indent="3"}
Create and edit
:::

:::Paragraph{indent="2"}
**E. Customers**
:::

:::Paragraph{listStyleType="disc" indent="3"}
View
:::

:::Paragraph{indent="2"}
**F. Marketing**
:::

:::Paragraph{listStyleType="disc" indent="3"}
View, create, and delete marketing activities and automations
:::

:::Paragraph{listStyleType="disc" listStart="2" indent="3"}
Campaigns&#x20;
:::

:::Paragraph{listStyleType="disc" indent="4"}
View
:::

:::Paragraph{listStyleType="disc" listStart="2" indent="4"}
Create and edit
:::

:::Paragraph{listStyleType="disc" listStart="3" indent="4"}
Delete
:::

:::Paragraph{indent="2"}
**G. Discounts**
:::

:::Paragraph{listStyleType="disc" indent="3"}
View, create, and delete
:::

:::Paragraph{indent="2"}
**H. Content**
:::

:::Paragraph{listStyleType="disc" indent="3"}
Files&#x20;
:::

:::Paragraph{listStyleType="disc" indent="4"}
View
:::

:::Paragraph{listStyleType="disc" listStart="2" indent="4"}
Create
:::

:::Paragraph{listStyleType="disc" listStart="3" indent="4"}
Edit
:::

:::Paragraph{listStyleType="disc" listStart="4" indent="4"}
Delete
:::

:::Paragraph{indent="2"}
**I. Finance**
:::

:::Paragraph{listStyleType="disc" indent="3"}
View Shopify Payments payouts
:::

:::Paragraph{indent="2"}
**J. Analytics**
:::

:::Paragraph{listStyleType="disc" indent="3"}
Reports
:::

:::Paragraph{listStyleType="disc" listStart="2" indent="3"}
Dashboards
:::

:::Paragraph{indent="2"}
**K. Online Store**
:::

:::Paragraph{listStyleType="disc" indent="3"}
Themes&#x20;
:::

:::Paragraph{listStyleType="disc" indent="4"}
Edit code (including generating theme blocks)
:::

:::Paragraph{listStyleType="disc" listStart="2" indent="3"}
Blog posts and pages
:::

:::Paragraph{indent="2"}
**L. App development**
:::

:::Paragraph{listStyleType="disc" indent="3"}
View apps developed by staff and collaborators&#x20;
:::

:::Paragraph{listStyleType="disc" indent="4"}
Develop
:::

:::Paragraph{listStyleType="disc" listStart="2" indent="4"}
Enable development
:::

:::Paragraph{indent="2"}
**M. Store settings**
:::

:::Paragraph{listStyleType="disc" indent="3"}
Manage settings
:::

:::Paragraph{listStyleType="disc" listStart="2" indent="3"}
Locations
:::

:::Paragraph{listStyleType="disc" listStart="3" indent="3"}
View customer events&#x20;
:::

:::Paragraph{listStyleType="disc" indent="4"}
Manage and add custom pixels
:::

:::Paragraph{indent="2"}
**N. App and sales channel permissions**
:::

:::Paragraph{listStyleType="disc" indent="3"}
Manage and install apps and channels
:::
::::

### Step 2: Assign App Developer - Organization role for Chord

Your brand’s Store Admin will also need to assign `access@chord.co` to a&#x6E;**&#x20;App Developer** role under the **Organization role** category. *This should be a default role that is available.* This role will allow Chord to access the developer dashboard to create custom apps for eventing webhooks and Chord Ingestor.


[title] Subscription Auto-Renewed
[path] Chord Event Tracking/Server Events/Track/

This event is triggered when a customer subscription auto-renews.

# Properties

| **Name**              | **Type**   | **Description**                                                                                                                        | **Required** |
| --------------------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
| `subscription_id`     | `string`   | Unique ID of the subscription                                                                                                          | Yes          |
| `interval_length`     | `number`   | Combined with `interval_units`, specifies the cadence of the subscription. E.g. for a **3 week** cadence, this value will be `3`.      | No           |
| `interval_units`      | `string`   | Combined with `interval_length`, specifies the cadence of the subscription. E.g. for a **3 week** cadence, this value will be `weeks`. | No           |
| `actionable_date`     | `string`   | ISO date when the next installment order will be generated.                                                                            | No           |
| `state`               | `string`   | State of the subscription (e.g. `active`, `paused`, `canceled`).                                                                       | No           |
| `payment_method_name` | `string`   | Name of the payment method for installment orders.                                                                                     | No           |
| `email`               | `string`   | Email address associated with the subscription                                                                                         | No           |
| `canceled_at`         | `string`   | ISO date when the subscription was canceled, if applicable                                                                             | No           |
| `canceled_by`         | `string`   | Email address of the user who canceled the subscription, if applicable                                                                 | No           |
| `activated_at`        | `string`   | ISO date when the subscription was activated                                                                                           | Yes          |
| `address`             | `object`   | Shipping address of the subscription.                                                                                                  | Yes          |
| `products`            | `object[]` | Products in the subscription                                                                                                           | Yes          |

## Address

| **Name**            | **Type** | **Description**                                          | **Required** |
| ------------------- | -------- | -------------------------------------------------------- | ------------ |
| `address1`          | `string` | The street address of the customer                       | No           |
| `address2`          | `string` | Additional street address of the customer (if necessary) | No           |
| `alternative_phone` | `string` | Customer's alternative phone number                      | No           |
| `phone`             | `string` | Customer's phone number                                  | No           |
| `city`              | `string` | City of the shipping address                             | No           |
| `company`           | `string` | Name of the company, if applicable                       | No           |
| `country`           | `string` | ISO country code for the shipping address                | No           |
| `name`              |          | Customer name                                            | No           |
| `state`             | `string` | ISO state code for the shipping address                  | No           |
| `zipcode`           | `string` | Zip or postal code for the shipping address              | No           |

## Products array

| **Name**       | **Type** | **Description**                                                                          | **Required** |
| -------------- | -------- | ---------------------------------------------------------------------------------------- | ------------ |
| `affiliation`  | `string` | Store or affiliation from which this transaction occurred (for example, "Google Store"). | No           |
| `brand`        | `string` | Brand associated with the product                                                        | No           |
| `line_item_id` | `string` | ID of the line item in the database                                                      | No           |
| `name`         | `string` | Name of the product                                                                      | Yes          |
| `position`     | `number` | Position in the product list                                                             | No           |
| `price`        | `number` | Price of the product                                                                     | Yes          |
| `product_id`   | `string` | ID of the product in the database                                                        | Yes          |
| `quantity`     | `number` | The quantity of products purchased in this line item                                     | Yes          |
| `revenue`      | `number` | Revenue ($) associated with this line item (excluding shipping and tax)                  | Yes          |
| `sku`          | `string` | SKU of the variant                                                                       | Yes          |
| `variant_name` | `string` | Name of the variant                                                                      | No           |
| `variant_id`   | `string` | ID of the variant in the database                                                        | No           |

# Sample Payload

```json
{
  "type": "track",
  "event": "Subscription Auto-Renewed",
  "properties": {
    "subscription_id": "1",
    "interval_length": 3,
    "interval_units": "weeks",
    "actionable_date": "2026-01-01T00:00:00.000Z",
    "state": "active",
    "payment_method_name": "Stripe",
    "email": "user@example.com",
    "canceled_at": null,
    "canceled_by": null,
    "activated_at": "2026-01-01T00:00:00.000Z",
    "address": {
      "address1": "123 Fake St",
      "address2": null,
      "alternative_phone": null,
      "phone": "123456789",
      "city": "Oak Lawn",
      "state": "IL",
      "country": "US",
      "name": "John Doe",
      "zipcode": "60532"
    },
    "products": [
      {
        "affiliation": "Affiliation",
        "brand": "Brand",
        "line_item_id": "16207084552295",
        "name": "Product Name",
        "position": 1,
        "price": 219,
        "product_id": "7036464939671",
        "quantity": 1,
        "revenue": 219,
        "sku": "SKU123",
        "variant": "Variant Name",
        "variant_id": "40952658057847"
      }
    ]
  }
}
```

# Example

```bash
curl https://production.cdp.ingest.chord.co/api/track \
--header "Content-Type: application/json" \
--header "X-Write-Key: $CDP_WRITE_KEY" \
--data-raw '
{
  "type": "track",
  "event": "Subscription Auto-renewed",
  "properties": {
    "subscription_id": "1",
    "interval_length": 3,
    "interval_units": "weeks",
    "actionable_date": "2026-01-01T00:00:00.000Z",
    "state": "active",
    "payment_method_name": "Stripe",
    "email": "user@example.com",
    "canceled_at": null,
    "canceled_by": null,
    "activated_at": "2026-01-01T00:00:00.000Z",
    "address": {
      "address1": "123 Fake St",
      "address2": null,
      "alternative_phone": null,
      "phone": "123456789",
      "city": "Oak Lawn",
      "state": "IL",
      "country": "US",
      "name": "John Doe",
      "zipcode": "60532"
    },
    "products": [
      {
        "affiliation": "Affiliation",
        "brand": "Brand",
        "line_item_id": "16207084552295",
        "name": "Product Name",
        "position": 1,
        "price": 219,
        "product_id": "7036464939671",
        "quantity": 1,
        "revenue": 219,
        "sku": "SKU123",
        "variant": "Variant Name",
        "variant_id": "40952658057847"
      }
    ]
  }
}
'
```


[title] Subscription Reminder Sent
[path] Chord Event Tracking/Server Events/Track/

This event is triggered when a reminder about an upcoming subscription installment is generated/sent.

# Properties

| **Name**              | **Type**   | **Description**                                                                                                                        | **Required** |
| --------------------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
| `subscription_id`     | `string`   | Unique ID of the subscription                                                                                                          | Yes          |
| `interval_length`     | `number`   | Combined with `interval_units`, specifies the cadence of the subscription. E.g. for a **3 week** cadence, this value will be `3`.      | No           |
| `interval_units`      | `string`   | Combined with `interval_length`, specifies the cadence of the subscription. E.g. for a **3 week** cadence, this value will be `weeks`. | No           |
| `actionable_date`     | `string`   | ISO date when the next installment order will be generated.                                                                            | No           |
| `state`               | `string`   | State of the subscription (e.g. `active`, `paused`, `canceled`).                                                                       | No           |
| `payment_method_name` | `string`   | Name of the payment method for installment orders.                                                                                     | No           |
| `email`               | `string`   | Email address associated with the subscription                                                                                         | No           |
| `canceled_at`         | `string`   | ISO date when the subscription was canceled, if applicable                                                                             | No           |
| `canceled_by`         | `string`   | Email address of the user who canceled the subscription, if applicable                                                                 | No           |
| `activated_at`        | `string`   | ISO date when the subscription was activated                                                                                           | Yes          |
| `address`             | `object`   | Shipping address of the subscription.                                                                                                  | Yes          |
| `products`            | `object[]` | Products in the subscription                                                                                                           | Yes          |

## Address

| **Name**            | **Type** | **Description**                                          | **Required** |
| ------------------- | -------- | -------------------------------------------------------- | ------------ |
| `address1`          | `string` | The street address of the customer                       | No           |
| `address2`          | `string` | Additional street address of the customer (if necessary) | No           |
| `alternative_phone` | `string` | Customer's alternative phone number                      | No           |
| `phone`             | `string` | Customer's phone number                                  | No           |
| `city`              | `string` | City of the shipping address                             | No           |
| `company`           | `string` | Name of the company, if applicable                       | No           |
| `country`           | `string` | ISO country code for the shipping address                | No           |
| `name`              |          | Customer name                                            | No           |
| `state`             | `string` | ISO state code for the shipping address                  | No           |
| `zipcode`           | `string` | Zip or postal code for the shipping address              | No           |

## Products array

| **Name**       | **Type** | **Description**                                                                          | **Required** |
| -------------- | -------- | ---------------------------------------------------------------------------------------- | ------------ |
| `affiliation`  | `string` | Store or affiliation from which this transaction occurred (for example, "Google Store"). | No           |
| `brand`        | `string` | Brand associated with the product                                                        | No           |
| `line_item_id` | `string` | ID of the line item in the database                                                      | No           |
| `name`         | `string` | Name of the product                                                                      | Yes          |
| `position`     | `number` | Position in the product list                                                             | No           |
| `price`        | `number` | Price of the product                                                                     | Yes          |
| `product_id`   | `string` | ID of the product in the database                                                        | Yes          |
| `quantity`     | `number` | The quantity of products purchased in this line item                                     | Yes          |
| `revenue`      | `number` | Revenue ($) associated with this line item (excluding shipping and tax)                  | Yes          |
| `sku`          | `string` | SKU of the variant                                                                       | Yes          |
| `variant_name` | `string` | Name of the variant                                                                      | No           |
| `variant_id`   | `string` | ID of the variant in the database                                                        | No           |

# Sample Payload

```json
{
  "type": "track",
  "event": "Subscription Reminder Sent",
  "properties": {
    "subscription_id": "1",
    "interval_length": 3,
    "interval_units": "weeks",
    "actionable_date": "2026-01-01T00:00:00.000Z",
    "state": "active",
    "payment_method_name": "Stripe",
    "email": "user@example.com",
    "canceled_at": null,
    "canceled_by": null,
    "activated_at": "2026-01-01T00:00:00.000Z",
    "address": {
      "address1": "123 Fake St",
      "address2": null,
      "alternative_phone": null,
      "phone": "123456789",
      "city": "Oak Lawn",
      "state": "IL",
      "country": "US",
      "name": "John Doe",
      "zipcode": "60532"
    },
    "products": [
      {
        "affiliation": "Affiliation",
        "brand": "Brand",
        "line_item_id": "16207084552295",
        "name": "Product Name",
        "position": 1,
        "price": 219,
        "product_id": "7036464939671",
        "quantity": 1,
        "revenue": 219,
        "sku": "SKU123",
        "variant": "Variant Name",
        "variant_id": "40952658057847"
      }
    ]
  }
}
```

# Example

```bash
curl https://production.cdp.ingest.chord.co/api/track \
--header "Content-Type: application/json" \
--header "X-Write-Key: $CDP_WRITE_KEY" \
--data-raw '
{
  "type": "track",
  "event": "Subscription Reminder Sent",
  "properties": {
    "subscription_id": "1",
    "interval_length": 3,
    "interval_units": "weeks",
    "actionable_date": "2026-01-01T00:00:00.000Z",
    "state": "active",
    "payment_method_name": "Stripe",
    "email": "user@example.com",
    "canceled_at": null,
    "canceled_by": null,
    "activated_at": "2026-01-01T00:00:00.000Z",
    "address": {
      "address1": "123 Fake St",
      "address2": null,
      "alternative_phone": null,
      "phone": "123456789",
      "city": "Oak Lawn",
      "state": "IL",
      "country": "US",
      "name": "John Doe",
      "zipcode": "60532"
    },
    "products": [
      {
        "affiliation": "Affiliation",
        "brand": "Brand",
        "line_item_id": "16207084552295",
        "name": "Product Name",
        "position": 1,
        "price": 219,
        "product_id": "7036464939671",
        "quantity": 1,
        "revenue": 219,
        "sku": "SKU123",
        "variant": "Variant Name",
        "variant_id": "40952658057847"
      }
    ]
  }
}
'
```


[title] Shipment Delivered
[path] Chord Event Tracking/Server Events/Track/

This event is triggered when an order shipment was delivered to the customer.

# Properties

| **Name**       | **Type** | **Description**                                   | **Required** |
| -------------- | -------- | ------------------------------------------------- | ------------ |
| `currency`     | `string` | ISO currency code of the transaction (e.g. `USD`) | Yes          |
| `email`        | `string` | Email address associated with the order           | No           |
| `first_name`   | `string` | Customer's first name                             | No           |
| `last_name`    | `string` | Customer's last name                              | No           |
| `order_date`   | `date`   | Date and time the order was placed                | Yes          |
| `order_number` | `string` | Order ID or number                                | Yes          |
| `shipment`     | `object` | Products in the order                             | Yes          |

## Shipment

| **Name**                | **Type**   | **Description**                                                                            | **Required** |
| ----------------------- | ---------- | ------------------------------------------------------------------------------------------ | ------------ |
| `tracking`              | `string`   | Tracking code of the shipment                                                              | No           |
| `carrier`               | `string`   | Name of the carrier fulfilling the shipment                                                | No           |
| `number`                | `string`   | Shipment ID/number                                                                         | Yes          |
| `cost`                  | `number`   | Shipment cost                                                                              | No           |
| `adjustment_total`      | `number`   | Total of all adjustments/discounts of the shipment                                         | No           |
| `additional_tax_total`  | `number`   |                                                                                            | No           |
| `promo_total`           | `number`   | Total of all promotions of the shipment                                                    | No           |
| `included_tax_total`    | `number`   |                                                                                            | No           |
| `pushed`                | `string`   | Indicates if the shipment record has been sent to the warehouse/fulfillment centre/carrier | No           |
| `fulfilled_by`          | `string`   | ISO date when the shipment was fulfilled/pushed                                            | No           |
| `tracking_detail`       | `string`   | Additional tracking information                                                            | No           |
| `external_tracking_url` | `string`   | URL for customer to tracking shipping status                                               | No           |
| `label_url`             | `string`   | URL of electronically generated label                                                      | No           |
| `products`              | `object[]` | Products/inventory in the shipment                                                         | No           |
| `address`               | `object`   | Shipping address                                                                           | No           |

## Products array

| **Name**       | **Type** | **Description**                                                                          | **Required** |
| -------------- | -------- | ---------------------------------------------------------------------------------------- | ------------ |
| `affiliation`  | `string` | Store or affiliation from which this transaction occurred (for example, "Google Store"). | No           |
| `brand`        | `string` | Brand associated with the product                                                        | No           |
| `line_item_id` | `string` | ID of the line item in the database                                                      | No           |
| `name`         | `string` | Name of the product                                                                      | Yes          |
| `position`     | `number` | Position in the product list                                                             | No           |
| `price`        | `number` | Price of the product                                                                     | Yes          |
| `product_id`   | `string` | ID of the product in the database                                                        | Yes          |
| `quantity`     | `number` | The quantity of products purchased in this line item                                     | Yes          |
| `revenue`      | `number` | Revenue ($) associated with this line item (excluding shipping and tax)                  | Yes          |
| `sku`          | `string` | SKU of the variant                                                                       | Yes          |
| `variant_name` | `string` | Name of the variant                                                                      | No           |
| `variant_id`   | `string` | ID of the variant in the database                                                        | No           |

## Address

| **Name**            | **Type** | **Description**                                          | **Required** |
| ------------------- | -------- | -------------------------------------------------------- | ------------ |
| `address1`          | `string` | The street address of the customer                       | No           |
| `address2`          | `string` | Additional street address of the customer (if necessary) | No           |
| `alternative_phone` | `string` | Customer's alternative phone number                      | No           |
| `phone`             | `string` | Customer's phone number                                  | No           |
| `city`              | `string` | City of the shipping address                             | No           |
| `company`           | `string` | Name of the company, if applicable                       | No           |
| `country`           | `string` | ISO country code for the shipping address                | No           |
| `name`              | `string` | Customer name                                            | No           |
| `state_name`        | `string` | ISO state code for the shipping address                  | No           |
| `zipcode`           | `string` | Zip or postal code for the shipping address              | No           |

# Sample Payload

```json
{
  "type": "track",
  "event": "Shipment Delivered",
  "properties": {
    "currency": "USD",
    "email": "test@example.com",
    "order_number": "O1234567890",
    "first_name": "John",
    "last_name": "Doe",
    "shipment": {
      "tracking": "T1234567890",
      "carrier": "UPS",
      "number": "H1234567890",
      "cost": 9.99,
      "state": "ready",
      "adjustment_total": 9.99,
      "additional_tax_total": 9.99,
      "promo_total": 9.99,
      "included_tax_total": 9.99,
      "pushed": "true",
      "fulfilled_by": "2026-01-01T00:00:00.000Z",
      "tracking_detail": null,
      "external_tracking_url": null,
      "label_url": null,
      "products": [
        {
          "affiliation": "Affiliation",
          "brand": "Brand",
          "line_item_id": "16207084552295",
          "name": "Product Name",
          "position": 1,
          "price": 219,
          "product_id": "7036464939671",
          "quantity": 1,
          "revenue": 219,
          "sku": "SKU123",
          "variant": "Variant Name",
          "variant_id": "40952658057847"
        }
      ],
      "address": {
        "name": "John Doe",
        "address1": "123 Fake St",
        "address2": null,
        "city": "Oak Lawn",
        "zipcode": "60532",
        "phone": "1234567890",
        "state_name": "IL",
        "company": null
      }
    }
  }
}
```

# Example

```bash
curl https://production.cdp.ingest.chord.co/api/track \
--header "Content-Type: application/json" \
--header "X-Write-Key: $CDP_WRITE_KEY" \
--data-raw '
{
  "type": "track",
  "event": "Shipment Delivered",
  "properties": {
    "currency": "USD",
    "email": "test@example.com",
    "order_number": "O1234567890",
    "first_name": "John",
    "last_name": "Doe",
    "shipment": {
      "tracking": "T1234567890",
      "carrier": "UPS",
      "number": "H1234567890",
      "cost": 9.99,
      "state": "ready",
      "adjustment_total": 9.99,
      "additional_tax_total": 9.99,
      "promo_total": 9.99,
      "included_tax_total": 9.99,
      "pushed": "true",
      "fulfilled_by": "2026-01-01T00:00:00.000Z",
      "tracking_detail": null,
      "external_tracking_url": null,
      "label_url": null,
      "products": [
        {
          "affiliation": "Affiliation",
          "brand": "Brand",
          "line_item_id": "16207084552295",
          "name": "Product Name",
          "position": 1,
          "price": 219,
          "product_id": "7036464939671",
          "quantity": 1,
          "revenue": 219,
          "sku": "SKU123",
          "variant": "Variant Name",
          "variant_id": "40952658057847"
        }
      ],
      "address": {
        "name": "John Doe",
        "address1": "123 Fake St",
        "address2": null,
        "city": "Oak Lawn",
        "zipcode": "60532",
        "phone": "1234567890",
        "state_name": "IL",
        "company": null
      }
    }
  }
}
'
```


[title] User Created
[path] Chord Event Tracking/Server Events/Track/

This event is triggered when a customer creates a user account.

# Properties

| **Name**               | **Type**   | **Description**                               | **Required** |
| ---------------------- | ---------- | --------------------------------------------- | ------------ |
| `user_id`              | `string`   | Unique ID of the user                         | Yes          |
| `email`                | `string`   | Email of the user                             | Yes          |
| `roles`                | `string[]` | List of roles assigned to the user            | No           |
| `ship_address`         | `object`   | Shipping address of the user                  | No           |
| `bill_address`         | `object`   | Billing address of the user                   | No           |
| `store_credit_balance` | `number`   | Balance of store credit available to the user | No           |

## Ship address

| **Name**            | **Type** | **Description**                                          | **Required** |
| ------------------- | -------- | -------------------------------------------------------- | ------------ |
| `address1`          | `string` | The street address of the customer                       | No           |
| `address2`          | `string` | Additional street address of the customer (if necessary) | No           |
| `alternative_phone` | `string` | Customer's alternative phone number                      | No           |
| `phone`             | `string` | Customer's phone number                                  | No           |
| `city`              | `string` | City of the shipping address                             | No           |
| `company`           | `string` | Name of the company, if applicable                       | No           |
| `country`           | `string` | ISO country code for the shipping address                | No           |
| `name`              | `string` | Customer name                                            | No           |
| `state_name`        | `string` | ISO state code for the shipping address                  | No           |
| `zipcode`           | `string` | Zip or postal code for the shipping address              | No           |

## Bill address

| **Name**            | **Type** | **Description**                                          | **Required** |
| ------------------- | -------- | -------------------------------------------------------- | ------------ |
| `address1`          | `string` | The street address of the customer                       | No           |
| `address2`          | `string` | Additional street address of the customer (if necessary) | No           |
| `alternative_phone` | `string` | Customer's alternative phone number                      | No           |
| `phone`             | `string` | Customer's phone number                                  | No           |
| `city`              | `string` | City of the shipping address                             | No           |
| `company`           | `string` | Name of the company, if applicable                       | No           |
| `country`           | `string` | ISO country code for the shipping address                | No           |
| `name`              | `string` | Customer name                                            | No           |
| `state_name`        | `string` | ISO state code for the shipping address                  | No           |
| `zipcode`           | `string` | Zip or postal code for the shipping address              | No           |

# Sample Payload

```json
{
  "type": "track",
  "event": "User Created",
  "properties": {
    "user_id": "U1234",
    "email": "test@example.com",
    "roles": [],
    "store_credit_balance": 0.00,
    "ship_address": {
        "name": "John Doe",
        "address1": "123 Fake St",
        "address2": null,
        "city": "Oak Lawn",
        "zipcode": "60532",
        "phone": "1234567890",
        "state_name": "IL",
        "company": null
    },
    "bill_address": {
        "name": "John Doe",
        "address1": "123 Fake St",
        "address2": null,
        "city": "Oak Lawn",
        "zipcode": "60532",
        "phone": "1234567890",
        "state_name": "IL",
        "company": null
    }
  }
}
```

# Example

```bash
curl https://production.cdp.ingest.chord.co/api/track \
--header "Content-Type: application/json" \
--header "X-Write-Key: $CDP_WRITE_KEY" \
--data-raw '{
{
  "type": "track",
  "event": "User Created",
  "properties": {
    "user_id": "U1234",
    "email": "test@example.com",
    "roles": [],
    "store_credit_balance": 0.00,
    "ship_address": {
        "name": "John Doe",
        "address1": "123 Fake St",
        "address2": null,
        "city": "Oak Lawn",
        "zipcode": "60532",
        "phone": "1234567890",
        "state_name": "IL",
        "company": null
    },
    "bill_address": {
        "name": "John Doe",
        "address1": "123 Fake St",
        "address2": null,
        "city": "Oak Lawn",
        "zipcode": "60532",
        "phone": "1234567890",
        "state_name": "IL",
        "company": null
    }
  }
}
```


[title] Consent Management
[path] Chord Event Tracking/Using with Shopify/Web Pixel/

The Chord web pixel integrates native consent management features from Shopify and the CDP so you can accurately comply with your customer's privacy preferences.&#x20;

On your Shopify storefront, you will typically gather data processing permissions from your customers using Shopify's [Customer Privacy API](https://shopify.dev/docs/api/customer-privacy). It's available on both Shopify themes and headless Shopify sites.

When you install the Chord web pixel on your Shopify storefront, you can configure the customer privacy settings for the web pixel. These settings control whether the Chord tracking pixel will capture data and send it to the CDP. For example, to require customer consent for data collection for marketing and analytics purposes before any data is captured, you can adjust your web pixel settings to load the web pixel only after receiving this consent.

The Chord web pixel also includes granular information about the customer's data processing permissions on every tracking event that goes to the CDP. In the CDP, you can configure how these customer permissions should impact data delivery to CDP destinations. For example, if you use a destination where data could be considered as being sold, you can configure consent in the CDP to ensure that tracking events from customers who have consented to their data being sold are the only ones sent to this specific CDP destination.

Please reach out to a local attorney who may be better equipped to answer any specific questions you may have concerning data privacy laws and applicability.

## Customer privacy settings for web pixel

You can configure the customer privacy setting of the Chord web pixel on your store. This will determine when the pixel code actually executes and can collect tracking data.

### Configuring in Shopify

To configure the customer privacy setting for the web pixel, go to **Settings** > **Customer events** in your Shopify store admin and select the Chord web pixel. Review the customer privacy settings. There are two main categories:

- **Permission**: Controls whether the pixel collects data in cases where customer permission has been granted.
- **Data sale**: Controls whether the pixel collects data in cases where the customer has opted out of their data being sold.

Configure the settings and select **Save**. The settings will take effect immediately, so make sure you are gathering customer preferences with the Customer Privacy API before you do so.

For more details about the functionality, see Shopify's documentation on [pixel customer privacy settings](https://help.shopify.com/en/manual/promoting-marketing/pixels/custom-pixels/manage#customer-privacy) and an overview of Shopify [customer privacy](https://help.shopify.com/en/manual/privacy-and-security/privacy/customer-privacy-settings/privacy-settings).

## CDP consent management

The Chord web pixel automatically adds customer privacy preferences from Shopify's Customer Privacy API to a consent object on all CDP events. This allows you to enforce the customer's privacy preferences when routing events to CDP destinations. It won't have an impact until you configure consent management in the CDP. *Please ask the Chord team for assistance in doing so.*

[title] Untitled
[path] /


[title] Subscription Paused
[path] Chord Event Tracking/Server Events/Track/

This event is triggered when a subscription is paused.

# Properties

| **Name**              | **Type**   | **Description**                                                                                                                        | **Required** |
| --------------------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
| `subscription_id`     | `string`   | Unique ID of the subscription                                                                                                          | Yes          |
| `interval_length`     | `number`   | Combined with `interval_units`, specifies the cadence of the subscription. E.g. for a **3 week** cadence, this value will be `3`.      | No           |
| `interval_units`      | `string`   | Combined with `interval_length`, specifies the cadence of the subscription. E.g. for a **3 week** cadence, this value will be `weeks`. | No           |
| `actionable_date`     | `string`   | ISO date when the next installment order will be generated.                                                                            | No           |
| `state`               | `string`   | State of the subscription (e.g. `active`, `paused`, `canceled`).                                                                       | No           |
| `payment_method_name` | `string`   | Name of the payment method for installment orders.                                                                                     | No           |
| `email`               | `string`   | Email address associated with the subscription                                                                                         | No           |
| `canceled_at`         | `string`   | ISO date when the subscription was canceled, if applicable                                                                             | No           |
| `canceled_by`         | `string`   | Email address of the user who canceled the subscription, if applicable                                                                 | No           |
| `activated_at`        | `string`   | ISO date when the subscription was activated                                                                                           | Yes          |
| `address`             | `object`   | Shipping address of the subscription.                                                                                                  | Yes          |
| `products`            | `object[]` | Products in the subscription                                                                                                           | Yes          |

## Address

| **Name**            | **Type** | **Description**                                          | **Required** |
| ------------------- | -------- | -------------------------------------------------------- | ------------ |
| `address1`          | `string` | The street address of the customer                       | No           |
| `address2`          | `string` | Additional street address of the customer (if necessary) | No           |
| `alternative_phone` | `string` | Customer's alternative phone number                      | No           |
| `phone`             | `string` | Customer's phone number                                  | No           |
| `city`              | `string` | City of the shipping address                             | No           |
| `company`           | `string` | Name of the company, if applicable                       | No           |
| `country`           | `string` | ISO country code for the shipping address                | No           |
| `name`              |          | Customer name                                            | No           |
| `state`             | `string` | ISO state code for the shipping address                  | No           |
| `zipcode`           | `string` | Zip or postal code for the shipping address              | No           |

## Products array

| **Name**       | **Type** | **Description**                                                                          | **Required** |
| -------------- | -------- | ---------------------------------------------------------------------------------------- | ------------ |
| `affiliation`  | `string` | Store or affiliation from which this transaction occurred (for example, "Google Store"). | No           |
| `brand`        | `string` | Brand associated with the product                                                        | No           |
| `line_item_id` | `string` | ID of the line item in the database                                                      | No           |
| `name`         | `string` | Name of the product                                                                      | Yes          |
| `position`     | `number` | Position in the product list                                                             | No           |
| `price`        | `number` | Price of the product                                                                     | Yes          |
| `product_id`   | `string` | ID of the product in the database                                                        | Yes          |
| `quantity`     | `number` | The quantity of products purchased in this line item                                     | Yes          |
| `revenue`      | `number` | Revenue ($) associated with this line item (excluding shipping and tax)                  | Yes          |
| `sku`          | `string` | SKU of the variant                                                                       | Yes          |
| `variant_name` | `string` | Name of the variant                                                                      | No           |
| `variant_id`   | `string` | ID of the variant in the database                                                        | No           |

# Sample Payload

```json
{
  "type": "track",
  "event": "Subscription Paused",
  "properties": {
    "subscription_id": "1",
    "interval_length": 3,
    "interval_units": "weeks",
    "actionable_date": "2026-01-01T00:00:00.000Z",
    "state": "active",
    "payment_method_name": "Stripe",
    "email": "user@example.com",
    "canceled_at": null,
    "canceled_by": null,
    "activated_at": "2026-01-01T00:00:00.000Z",
    "address": {
      "address1": "123 Fake St",
      "address2": null,
      "alternative_phone": null,
      "phone": "123456789",
      "city": "Oak Lawn",
      "state": "IL",
      "country": "US",
      "name": "John Doe",
      "zipcode": "60532"
    },
    "products": [
      {
        "affiliation": "Affiliation",
        "brand": "Brand",
        "line_item_id": "16207084552295",
        "name": "Product Name",
        "position": 1,
        "price": 219,
        "product_id": "7036464939671",
        "quantity": 1,
        "revenue": 219,
        "sku": "SKU123",
        "variant": "Variant Name",
        "variant_id": "40952658057847"
      }
    ]
  }
}
```

# Example

```bash
curl https://production.cdp.ingest.chord.co/api/track \
--header "Content-Type: application/json" \
--header "X-Write-Key: $CDP_WRITE_KEY" \
--data-raw '
{
  "type": "track",
  "event": "Subscription Paused",
  "properties": {
    "subscription_id": "1",
    "interval_length": 3,
    "interval_units": "weeks",
    "actionable_date": "2026-01-01T00:00:00.000Z",
    "state": "active",
    "payment_method_name": "Stripe",
    "email": "user@example.com",
    "canceled_at": null,
    "canceled_by": null,
    "activated_at": "2026-01-01T00:00:00.000Z",
    "address": {
      "address1": "123 Fake St",
      "address2": null,
      "alternative_phone": null,
      "phone": "123456789",
      "city": "Oak Lawn",
      "state": "IL",
      "country": "US",
      "name": "John Doe",
      "zipcode": "60532"
    },
    "products": [
      {
        "affiliation": "Affiliation",
        "brand": "Brand",
        "line_item_id": "16207084552295",
        "name": "Product Name",
        "position": 1,
        "price": 219,
        "product_id": "7036464939671",
        "quantity": 1,
        "revenue": 219,
        "sku": "SKU123",
        "variant": "Variant Name",
        "variant_id": "40952658057847"
      }
    ]
  }
}
'
```


[title] Setting Up a Shopify Custom App for Chord
[path] Chord Event Tracking/Getting started/Shopify/Shopify installation/

# Creating Custom Shopify Apps on behalf of Chord

## Step 1: Create the App

1. Go to your **Shopify Dev Dashboard**
2. In the navigation menu, click **Apps** → **Create app**
3. Under **Start from Dev Dashboard**, enter an app name
4. Click **Create**

## Step 2: Configure Access Scopes

1. Leave the form settings as-is
2. In the **Access** section, paste the following scopes:

:::BlockQuote
read\_all\_orders,read\_assigned\_fulfillment\_orders,read\_customers,read\_discounts,read\_fulfillments,read\_inventory,read\_locations,read\_merchant\_managed\_fulfillment\_orders,read\_orders,read\_product\_feeds,read\_product\_listings,read\_products,read\_returns,read\_shipping,read\_third\_party\_fulfillment\_orders
:::

1. Click **Release**

## Step 3: Install the App

1. On the app **Home** page, click **Install app**
2. Select your store
3. Review the application scopes
4. Click **Install**

## Step 4: Store your client credentials in Hub data sources

You can find the client credentials by visiting the app **Settings** page. You will need both the “Client ID” and “Secret”.

![]()

You will also need your store URL in the following format: your-store-url.myshopify.com. You can find your-store-url by visiting the store Admin page. The Admin landing page URL will look similar to the following:

:::BlockQuote
\<https\://admin.shopify.com/store/\{\{your-store-url}>}/orders
:::

The portion of the URL after store, is your store name that you will want to provide.

Now with the requisite information, navigate to the Hub data sources page. Click “Add New Source”, select “Shopify” and complete the form with the client ID, secret and URL.

[title] Subscription Created
[path] Chord Event Tracking/Server Events/Track/

Fired when a **regular (non-prepaid, non-gifted)&#x20;**&#x73;ubscription is created after an order is completed. This event does **not&#x20;**&#x66;ire for prepaid subscriptions, gifted subscriptions, or subscriptions converted from prepaid.

# Properties

| **Name**              | **Type**   | **Description**                                                                                                                        | **Required** |
| --------------------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
| `subscription_id`     | `string`   | Unique ID of the subscription                                                                                                          | Yes          |
| `interval_length`     | `number`   | Combined with `interval_units`, specifies the cadence of the subscription. E.g. for a **3 week** cadence, this value will be `3`.      | No           |
| `interval_units`      | `string`   | Combined with `interval_length`, specifies the cadence of the subscription. E.g. for a **3 week** cadence, this value will be `weeks`. | No           |
| `actionable_date`     | `string`   | ISO date when the next installment order will be generated.                                                                            | No           |
| `state`               | `string`   | State of the subscription (e.g. `active`, `paused`, `canceled`).                                                                       | No           |
| `payment_method_name` | `string`   | Name of the payment method for installment orders.                                                                                     | No           |
| `email`               | `string`   | Email address associated with the subscription                                                                                         | No           |
| `canceled_at`         | `string`   | ISO date when the subscription was canceled, if applicable                                                                             | No           |
| `canceled_by`         | `string`   | Email address of the user who canceled the subscription, if applicable                                                                 | No           |
| `activated_at`        | `string`   | ISO date when the subscription was activated                                                                                           | Yes          |
| `address`             | `object`   | Shipping address of the subscription.                                                                                                  | Yes          |
| `products`            | `object[]` | Products in the subscription                                                                                                           | Yes          |

## Address

| **Name**            | **Type** | **Description**                                          | **Required** |
| ------------------- | -------- | -------------------------------------------------------- | ------------ |
| `address1`          | `string` | The street address of the customer                       | No           |
| `address2`          | `string` | Additional street address of the customer (if necessary) | No           |
| `alternative_phone` | `string` | Customer's alternative phone number                      | No           |
| `phone`             | `string` | Customer's phone number                                  | No           |
| `city`              | `string` | City of the shipping address                             | No           |
| `company`           | `string` | Name of the company, if applicable                       | No           |
| `country`           | `string` | ISO country code for the shipping address                | No           |
| `name`              |          | Customer name                                            | No           |
| `state`             | `string` | ISO state code for the shipping address                  | No           |
| `zipcode`           | `string` | Zip or postal code for the shipping address              | No           |

## Products array

| **Name**       | **Type** | **Description**                                                                          | **Required** |
| -------------- | -------- | ---------------------------------------------------------------------------------------- | ------------ |
| `affiliation`  | `string` | Store or affiliation from which this transaction occurred (for example, "Google Store"). | No           |
| `brand`        | `string` | Brand associated with the product                                                        | No           |
| `line_item_id` | `string` | ID of the line item in the database                                                      | No           |
| `name`         | `string` | Name of the product                                                                      | Yes          |
| `position`     | `number` | Position in the product list                                                             | No           |
| `price`        | `number` | Price of the product                                                                     | Yes          |
| `product_id`   | `string` | ID of the product in the database                                                        | Yes          |
| `quantity`     | `number` | The quantity of products purchased in this line item                                     | Yes          |
| `revenue`      | `number` | Revenue ($) associated with this line item (excluding shipping and tax)                  | Yes          |
| `sku`          | `string` | SKU of the variant                                                                       | Yes          |
| `variant_name` | `string` | Name of the variant                                                                      | No           |
| `variant_id`   | `string` | ID of the variant in the database                                                        | No           |

# Sample Payload

```json
{
  "type": "track",
  "event": "Subscription Created",
  "properties": {
    "subscription_id": "1",
    "interval_length": 3,
    "interval_units": "weeks",
    "actionable_date": "2026-01-01T00:00:00.000Z",
    "state": "active",
    "payment_method_name": "Stripe",
    "email": "user@example.com",
    "canceled_at": null,
    "canceled_by": null,
    "activated_at": "2026-01-01T00:00:00.000Z",
    "address": {
      "address1": "123 Fake St",
      "address2": null,
      "alternative_phone": null,
      "phone": "123456789",
      "city": "Oak Lawn",
      "state": "IL",
      "country": "US",
      "name": "John Doe",
      "zipcode": "60532"
    },
    "products": [
      {
        "affiliation": "Affiliation",
        "brand": "Brand",
        "line_item_id": "16207084552295",
        "name": "Product Name",
        "position": 1,
        "price": 219,
        "product_id": "7036464939671",
        "quantity": 1,
        "revenue": 219,
        "sku": "SKU123",
        "variant": "Variant Name",
        "variant_id": "40952658057847"
      }
    ]
  }
}
```

# Example

```bash
curl https://production.cdp.ingest.chord.co/api/track \
--header "Content-Type: application/json" \
--header "X-Write-Key: $CDP_WRITE_KEY" \
--data-raw '
{
  "type": "track",
  "event": "Subscription Created",
  "properties": {
    "subscription_id": "1",
    "interval_length": 3,
    "interval_units": "weeks",
    "actionable_date": "2026-01-01T00:00:00.000Z",
    "state": "active",
    "payment_method_name": "Stripe",
    "email": "user@example.com",
    "canceled_at": null,
    "canceled_by": null,
    "activated_at": "2026-01-01T00:00:00.000Z",
    "address": {
      "address1": "123 Fake St",
      "address2": null,
      "alternative_phone": null,
      "phone": "123456789",
      "city": "Oak Lawn",
      "state": "IL",
      "country": "US",
      "name": "John Doe",
      "zipcode": "60532"
    },
    "products": [
      {
        "affiliation": "Affiliation",
        "brand": "Brand",
        "line_item_id": "16207084552295",
        "name": "Product Name",
        "position": 1,
        "price": 219,
        "product_id": "7036464939671",
        "quantity": 1,
        "revenue": 219,
        "sku": "SKU123",
        "variant": "Variant Name",
        "variant_id": "40952658057847"
      }
    ]
  }
}
'
```


[title] Functions
[path] Chord CDP/

:::hint{type="info"}
Due to the technical nature of this feature, functions are only available to Chord users who are assigned a **Team Admin** or **Developer&#x20;**&#x70;latform role.&#x20;

For additional support, please reach out to [help@chord.co](mailto\:help@chord.co).&#x20;
:::

# Introduction

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-Z-iOdsI4OZ8xa0W0Q2dqS-20250911-211622.png)

Functions are customizable data workflows that process, transform, or enrich the raw event data flowing through the CDP. Functions are written in JavaScript and run before data is sent to destinations. They let you tailor how data is handled—whether it's standardizing event names, enriching user profiles, or formatting data for downstream tools—so you can keep your insights clean, consistent, and actionable.

In other words...

- For **Marketers**, CDP functions are more like custom-built control panels. They give your team the flexibility to reshape data in real time, enrich it with external info, or even decide what gets sent where—perfect for brands needing more control, precision, and adaptability.
- For **Developers**, CDP functions offer broader execution power. They act like real-time serverless functions with support for external API calls, persistent key-value storage, and conditional logic. You can reshape event streams on the fly, enrich payloads, or build highly dynamic routing logic—ideal for engineering teams looking for full control over their pipeline behavior.

Some additional use cases for functions include:&#x20;

- **Filtering** - Exclude unwanted events, such as dropping events from test sources or internal traffic
- **Normalizing** - Standardize event data (e.g., "page\_view", "pageview", "pageView" → "page") to keep downstream schemas clean
- **Enrichment** - Add geo-location data, parse user agents, or pull additional data from external APIs
- **Routing** - Dynamically change which table or destination an event is sent to based on event properties

## Function Anatomy

Every CDP function follows this structure:

```javascript
export default async function(event, context) {
  // Your transformation logic here
  return event; // or "drop" to filter out the event
}
```

## Parameters

### event (Object)

The event object being processed. This is the raw event data coming from your sources. Common properties include:

- event (string) - The event name (e.g., "Page Viewed", "Product Added")
- userId (string) - The unique identifier for the user
- anonymousId (string) - Anonymous identifier if userId is not available
- timestamp (string) - ISO 8601 timestamp of when the event occurred
- properties (object) - Custom properties associated with the event
- context (object) - Contextual information about the event (IP, user agent, etc.)
- type (string) - The event type (e.g., "track", "identify", "page")

### context (Object)

The function context provides access to various services:

**Logging**

- context.log.debug(message) - Debug-level logging
- context.log.info(message) - Info-level logging
- context.log.warn(message) - Warning-level logging
- context.log.error(message) - Error-level logging

**Storage**

- context.store - Persistent key-value storage that maintains data between function calls

**Network & External Services**

- context.fetch(url, options) - Standard Fetch API for making HTTP requests to external services

### Return Values

The function's return value controls what happens to the event:

- **Return an object** - The returned object becomes the new event sent to destinations
- **Retun an array of objects -&#x20;**&#x4F;nly the final function in a function chain can return an array of objects. Each object becomes a new event sent to destinations.
- **Return "drop"** - The event is filtered out and won't be forwarded to the downstream destination
- **Return nothing/undefined** - The original event (or its modified copy) is used

# Create a Function

To create a function, follow the steps below:&#x20;

1. Navigate to **CDP**.&#x20;
2. Navigate to the **Functions** tab.
3. Click the **"+ New Function"** button.
4. Click into the function name field at the top left and give your function a name. Click the ✔️ icon to save the function name.
5. Add your function code into the WYSIWYG editor.&#x20;
6. Click the **"Save"** button to save your function.

# Debugging Functions

Chord CDP comes with a debugger and editor that allows you to run a function on sample data.&#x20;

Within a function, you have access to **Logs** which will emit debug / information messages. Here, you can instrument your JavaScript to print out event contents, branching logic, and intermediate values to help trace what the function is doing.

Additionally, you can check the **Last Run Result** tab within a specific Function to see what the function returned - whether it dropped the event, modified it, or forwarded it. This tab will include logs, errors, or additional metadata about that run. You will be able to see exactly how the function behaved for the latest event and catch transform/filter mistakes.

# Edit Functions

1. Navigate to **CDP**.&#x20;
2. Navigate to the **Functions** tab.
3. Find the existing function you'd like to edit.&#x20;
4. Click the ✏️ icon under the **Actions** column next to the function you want to edit.

# Delete Functions

1. Navigate t&#x6F;**&#x20;CDP**.&#x20;
2. Navigate to the **Functions** tab.
3. Find the existing function you'd like to delete.&#x20;
4. Click on the three vertical dots under the **Actions** column next to the function you want to delete.
5. Click the 🗑️ icon to delete the desired function.

# **Connecting / Environment Variables**

Functions chains are created on connections between sources and destinations.

1. Navigate t&#x6F;**&#x20;CDP**.&#x20;
2. For a given destination, click the three dots next to the destination title then select **"View Connected Streams"**.
3. Select the ✏️ icon under **Actions** to edit the connection.
4. Functions can be added to the pipeline from the functions library. Functions will run in the order specified in this interface.
5. Click **"Save changes"**.

Environment variables are configured on a **per connection basis**. Define envrionment variable names and values for the connection below the function library in the **"Edit Connection"** drawer.

Environment variables may be referenced in code like so:

```javascript
process.env.VARIABLE_NAME
```

# Persistent Storage for Custom Functions

Persistent Storage allows functions to cache data between invocations, enabling use cases like rate limiting, deduplication, enrichment caching, and maintaining state across events.

When enabled, your CDP functions have access to a `store` object that provides a key-value cache with TTL (time-to-live) support. The store is backed by an in-memory cache and persists data across function invocations within the same workspace.

## Using the Store in Custom Functions

### Basic Operations

The store provides the following methods:

```javascript
// Get a value (returns undefined if not found or expired)
const value = await store.get("my-key");

// Set a value with default TTL (31 days)
await store.set("my-key", { foo: "bar" });

// Set a value with custom TTL
await store.set("my-key", { foo: "bar" }, "1h");      // 1 hour
await store.set("my-key", { foo: "bar" }, "7d");      // 7 days
await store.set("my-key", { foo: "bar" }, 3600);      // 3600 seconds
await store.set("my-key", { foo: "bar" }, "inf");     // No expiration

// Delete a value
await store.del("my-key");

// Get TTL remaining (in seconds)
const ttl = await store.ttl("my-key");
// Returns: positive number = seconds remaining, -1 = no expiry, -2 = key doesn't exist

// Get value with TTL info
const result = await store.getWithTTL("my-key");
// Returns: { value: any, ttl: number } or undefined
```

### Complete Example

```javascript
export default async function(event, { log, fetch, store }) {
  let key = "my-key";
  let ttl = "10s";

  // Retrieve the value from the cache
  let value = await store.get(key);

  // If the value was cached, display it.
  // Else, put the value in the cache that will expire in 10s.
  if (value) {
    log.info(`Cache hit! Value is ${value}`);
  } else {
    let newValue = Math.random().toString(36).substring(2)
    log.info(`Cache miss! Adding ${newValue} to cache; TTL ${ttl}.`);
    await store.set(key, newValue, ttl);
  }
}
```

## TTL Format

The TTL parameter accepts several formats:

| Format          | Example                         | Description             |
| --------------- | ------------------------------- | ----------------------- |
| Number          | `3600`                          | Seconds                 |
| Duration string | `"30s"`, `"5m"`, `"2h"`, `"7d"` | Human-readable duration |
| Infinite        | `"inf"`                         | No expiration           |
| Default         | (omitted)                       | 31 days                 |

Maximum TTL is approximately 68 years (2,147,483,647 seconds).

## Cache Availability and Graceful Degradation

The Persistent Storage feature is designed to be resilient. If the cache becomes temporarily unavailable:

- **Functions continue to work**: Your custom functions will not fail or be retried due to cache issues
- **Cache operations degrade gracefully**:
  - `get()` returns `undefined` (treated as a cache miss)
  - `set()` silently fails (data won't be cached)
  - `del()` silently fails (key may not be deleted)
  - `ttl()` returns `-2` (key doesn't exist)
- **Warnings are logged**: Cache failures are logged for monitoring, but don't interrupt event processing

This means your functions should be written to handle cache misses gracefully, as they may occur due to:

1. Key not existing (normal cache miss)
2. Key expired (TTL reached)
3. Cache temporarily unavailable (graceful degradation)

### Writing Resilient Functions

Always write your functions assuming the cache might be empty:

```javascript
// Good: Handles cache miss gracefully
const cached = await ctx.store.get("my-key");
if (!cached) {
  // Regenerate or fetch the data
  const freshData = await fetchData();
  await ctx.store.set("my-key", freshData, "1h");
  return processEvent(event, freshData);
}
return processEvent(event, cached);

// Avoid: Assuming cache always has data
const cached = await ctx.store.get("my-key");
return processEvent(event, cached.someProperty); // May fail if cached is undefined
```

### Key Naming and Uniqueness

**Important:** Storage keys are shared across all functions in your CDP workspace. This means:

- A key set by one function can be read, modified, or deleted by any other function in the same workspace
- You must ensure your keys are unique to avoid unintended collisions between functions

### Best Practices for Key Naming

**Use function-specific prefixes** to namespace your keys:

```javascript
// Good: Namespaced keys
await store.set("rate-limiter:user:123", count);
await store.set("enrichment-cache:company:456", data);

// Avoid: Generic keys that might collide
await store.set("user:123", count);
await store.set("cache:456", data);
```

**Use environment variables** when you have multiple versions of the same function (e.g., development and production):

```javascript
// Set FUNCTION_ENV as an environment variable: "dev" or "prod"
const keyPrefix = process.env.FUNCTION_ENV || "dev";

await store.set(`${keyPrefix}:rate-limit:${userId}`, count);
// Results in "dev:rate-limit:123" or "prod:rate-limit:123"
```

# Code Examples

### Basic Filter: Drop Events Without User IDs

```javascript
export default async function(event, context) {
  // Filter out any events that don't have a userId
  if (!event.userId) {
    context.log.debug(`Dropped event without userId: ${event.event}`);
    return "drop";
  }
  
  return event;
}
```

### Allowlist Filter: Only Forward Specific Events

```javascript
export default async function(event, context) {
  // Define which events should be forwarded
  const allowedEvents = [
    "Order Completed",
    "Product Viewed",
    "Cart Updated"
  ];
  
  if (!allowedEvents.includes(event.event)) {
    context.log.debug(`Dropped disallowed event: ${event.event}`);
    return "drop";
  }
  
  return event;
}
```

### **External API Enrichment**

```javascript
export default async function(event, context) {
  // Enrich user data with information from an external API
  // Uses environment variables for secure credential management
  try {
    const userId = event.userId;
    
    if (!userId) {
      return event; // Skip enrichment if no userId
    }
    
    // Access environment variables via context.props
    // These are configured in the Chord CDP UI for each function
    const apiKey = process.env.API_KEY;
    const apiBaseUrl = process.env.API_BASE_URL;
    
    if (!apiKey) {
      context.log.warn('API_KEY not configured, skipping enrichment');
      return event;
    }
    
    const response = await context.fetch(
      `${apiBaseUrl}/users/${userId}`,
      {
        headers: {
          'Authorization': `Bearer ${apiKey}`,
          'Content-Type': 'application/json'
        }
      }
    );
    
    if (response.ok) {
      const userData = await response.json();
      
      // Add enriched data to event properties
      event.properties.lifetimeValue = userData.ltv;
      context.log.info(`Enriched user ${userId} with external data`);
    } else {
      context.log.warn(`API returned ${response.status}: ${response.statusText}`);
    }
  } catch (error) {
    context.log.error(`Failed to enrich event: ${error.message}`);
    // Continue processing even if enrichment fails
  }
  
  return event;
}
```

## Support

For questions or assistance with CDP Functions, please contact [help@chord.co](mailto\:help@chord.co).

[title] Triple Whale
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

## Introduction

Triple Whale is a unified e-commerce attribution and analytics platform that offers advanced tracking, attribution modeling, and real-time insights across channels and customer touchpoints.

Connecting Triple Whale as a destination allows you to send user-level events and interactions collected via Chord directly to Triple Whale — enabling centralized attribution, funnel analysis, and behavioral insights while preserving your brand’s data context.

## Getting started

As a **device-mode** destination, Triple Whale receives data from client-side tracking implemented via Chord. Before connecting, ensure:

- You already have a Triple Whale account and the appropriate site or store configured;
- Your site’s frontend includes necessary tracking setup (tracking code or pixel) compatible with Triple Whale; and
- You have authorization to add or change tracking destinations.

## Connecting to the Triple Whale CDP destination

:::hint{type="danger"}
Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are *disabled.*
**
Running external destinations alongside configured Chord CDP destinations ***can result in duplicate events downstream.&#x20;***
:::

1. Log into the **Chord Data Platform.**
2. Go to the **CDP → Destinations** section.
3. Click **“Add”** to browse available destinations.
4. Select **Triple Whale** from the catalog.
5. Enter a **Destination Name** (e.g., “Triple Whale — Production”).
6. Provide the **Store Identifier&#x20;**&#x61;nd **Platform&#x20;**&#x79;our store is running on.
7. Click **Create** to activate the destination.

Once connected, Chord will automatically route relevant user events and interactions (page views, conversions, identity data, etc.) to Triple Whale.

## Best practices & conflict avoidance

Before enabling Triple Whale via Chord, we recommend:

- Disabling any legacy or manually added Triple Whale tracking scripts/pixels to avoid **duplicate event firing and inflated data**&#x20;
- Coordinating with your engineering or analytics team to ensure single source-of-truth for tracking and user identity (avoid multiple overlapping tracking solutions)&#x20;
- Confirming tracking consent and privacy compliance if you manage user data under GDPR/CCPA or similar regulations&#x20;

Running parallel tracking outside of Chord’s configuration may lead to inconsistent analytics, inaccurate attribution, or data duplication.

## Troubleshooting & FAQs

**Q: I’m seeing duplicate pageviews or conversions in Triple Whale — what should I check?**

- Verify that you haven’t also installed Triple Whale tracking manually (outside of Chord). Duplicate scripts/pixels can cause double-counting.

**Q. What if some user attributes or events aren’t appearing in Triple Whale?**

- Ensure that the Chord tracking configuration includes the necessary signals, and that your user identity mapping (e.g., user ID, email) is properly populated in Chord before events fire.

**Q. Does Triple Whale overwrite my existing data warehouse or analytics stack?**

- No — Triple Whale operates as a destination for analytic and attribution data. If you rely on a separate warehouse or BI stack, treat Triple Whale as a complementary analytics solution rather than a full replacement.






[title] Using with Shopify
[path] Chord Event Tracking/


[title] OMS Schema
[path] Chord Event Tracking/Getting started/

# Overview

This document outlines the complete data schema requirements for integrating custom OMS data into the Chord analytics pipeline. Each section represents a different data entity with its required and optional fields.

Use this specification to map your source OMS data to Chord’s standardized schema for seamless analytics integration.

# Data Provision Guidelines

**Field Requirements:**

- **Required Fields**: Must be provided with valid, non-null data.
- **Recommended**: Optional, but strongly encouraged. *Omitting these fields reduces accuracy in Chord's data science features, including customer matching and predictive modeling.*
- **Optional Fields**: Can be omitted or provided as null.

**Data Format Standards:**

- **Timestamps**: ISO 8601 format (YYYY-MM-DDTHH\:MM\:SSZ)
- **Numeric values**: Standard decimal notation without currency symbols
- **Boolean values**: Lowercase `true` or `false`
- **String values**: UTF-8 encoded, properly escaped for special characters
- **NULL values**: Use NULL (not empty strings) for missing data in non-string fields

### Data Delivery Requirements

**File Format**:

- Parquet
- One file per data entity (orders, customers, products, etc.)

### Special Considerations

1. **Variant Logic**: If your system doesn’t have separate variant IDs, use product\_id for both id and variant\_id in the variants table
2. **Location Data**: If not tracking physical locations, leave as NULL
3. **Vendor Values**: Provide your company/brand name as the vendor for products and line items, or leave as NULL if not applicable

# Data Transformation Requirements

### Status Mappings Required

**Order Fulfillment Status:** Map your `order_status` values to one of:

- `fulfilled`
- `restocked`
- `partial`

**Product Status:** Map your `item_status` values to one of:

- `active`
- `archived`
- `draft`

**Transaction Kind:** Map your `payment_type` values to one of:

- `capture`
- `void`
- `refund`
- `sale`
- `change`
- `authorization`

**Transaction Status:** Map your `response_code `values to one of:

- `success`
- `pending`
- `failure`
- `error`

**Financial Status (if available):**

- `authorized`
- `partially_paid`
- `paid`
- `refunded`
- `pending`
- `partially_refunded`
- `voided`

### Data Transformation Guidance

**Calculated Fields** (if not available directly in your system):

1. **shipping\_address\_name**: Concatenate shipping\_first\_name + space + shipping\_last\_name
2. **billing\_address\_name**: Concatenate billing\_first\_name + space + billing\_last\_name
3. **taxes\_included**: Derive from your tax calculation logic (whether product prices include tax)
4. **cancelled\_at**: If order status indicates cancellation, provide the cancellation timestamp

**Address Normalization**:

- Validate country codes against ISO 3166-1 alpha-2 standard
- Validate state/province codes where applicable

### Default Values for Optional Fields

When optional fields are not available in your system:

- **String fields**: NULL
- **Numeric fields**: NULL where appropriate
- **Boolean fields**: false as default
- **Timestamp fields**: NULL
- **Array fields**: Empty array \[]
- **JSONB fields**: NULL

### Note on Fulfillment Data

If your system tracks fulfillment and shipment data, Sections 10-12 (Fulfillments, Fulfillment Order Lines, Fulfillment Orders) are **optional.**

## 1. Orders Data Schema

**Purpose**: Order records represent transaction information, including customer details, pricing, and addresses.

**Primary Key**: id

### Core Order Fields

| Field Name      | Data Type | Description                                     |
| --------------- | --------- | ----------------------------------------------- |
| id              | STRING    | \*Unique order identifier (required)            |
| location\_id    | STRING    | Location/store identifier (optional)            |
| customer\_id    | STRING    | \*Reference to customer record (required)       |
| name            | STRING    | \*Order number displayed to customer (required) |
| email           | STRING    | \*Customer email address (required)             |
| source\_name    | STRING    | Order origination source                        |
| is\_test        | BOOLEAN   | Test order flag                                 |
| app             | STRING    | Application that created the order              |
| tags            | JSONB     | Order tags                                      |
| discount\_codes | JSONB     | Applied discount codes                          |

### Financial Fields

| Field Name                | Data Type | Description                                                 |
| ------------------------- | --------- | ----------------------------------------------------------- |
| total\_price              | NUMERIC   | \*Complete order total including all charges (required)     |
| total\_line\_items\_price | NUMERIC   | \*Sum of all line items before adjustments (required)       |
| total\_tax                | NUMERIC   | Total tax amount (optional, 0 if no tax)                    |
| total\_shipping\_price    | NUMERIC   | Total shipping charges (optional, 0 if free shipping)       |
| total\_discounts          | NUMERIC   | Total discount amount applied (optional, 0 if no discounts) |
| processing\_method        | STRING    | Payment processing method                                   |
| financial\_status         | STRING    | Payment status (authorized, paid, refunded, etc.)           |
| taxes\_included           | BOOLEAN   | Whether taxes are included in subtotal                      |

### Order Status Fields

| Field Name          | Data Type | Description                                        |
| ------------------- | --------- | -------------------------------------------------- |
| fulfillment\_status | STRING    | Fulfillment status (fulfilled, restocked, partial) |
| cancel\_reason      | STRING    | Reason for cancellation if applicable              |

### Shipping Address Fields

| Field Name                        | Data Type | Description            |
| --------------------------------- | --------- | ---------------------- |
| shipping\_address\_name           | STRING    | Full recipient name    |
| shipping\_address\_first\_name    | STRING    | Recipient first name   |
| shipping\_address\_last\_name     | STRING    | Recipient last name    |
| shipping\_address\_company        | STRING    | Company name           |
| shipping\_address\_phone          | STRING    | Contact phone number   |
| shipping\_address\_address\_1     | STRING    | Primary address line   |
| shipping\_address\_address\_2     | STRING    | Secondary address line |
| shipping\_address\_city           | STRING    | City name              |
| shipping\_address\_province       | STRING    | State/Province         |
| shipping\_address\_province\_code | STRING    | Province/state code    |
| shipping\_address\_zip            | STRING    | Postal code            |
| shipping\_address\_country        | STRING    | Country name           |
| shipping\_address\_country\_code  | STRING    | ISO country code       |
| shipping\_address\_latitude       | STRING    | GPS latitude           |
| shipping\_address\_longitude      | STRING    | GPS longitude          |

### Billing Address Fields

| Field Name                       | Data Type | Description               |
| -------------------------------- | --------- | ------------------------- |
| billing\_address\_name           | STRING    | Full billing name         |
| billing\_address\_first\_name    | STRING    | Billing first name        |
| billing\_address\_last\_name     | STRING    | Billing last name         |
| billing\_address\_company        | STRING    | Company name              |
| billing\_address\_phone          | STRING    | Billing phone number      |
| billing\_address\_address\_1     | STRING    | Primary billing address   |
| billing\_address\_address\_2     | STRING    | Secondary billing address |
| billing\_address\_city           | STRING    | Billing city              |
| billing\_address\_province       | STRING    | Billing state/province    |
| billing\_address\_province\_code | STRING    | Province/state code       |
| billing\_address\_zip            | STRING    | Billing postal code       |
| billing\_address\_country        | STRING    | Billing country           |
| billing\_address\_country\_code  | STRING    | Billing ISO country code  |
| billing\_address\_latitude       | STRING    | GPS latitude              |
| billing\_address\_longitude      | STRING    | GPS longitude             |

### Order Timestamps

| Field Name    | Data Type | Description                              |
| ------------- | --------- | ---------------------------------------- |
| created\_at   | TIMESTAMP | \*Order creation timestamp (required)    |
| processed\_at | TIMESTAMP | Order processing timestamp (optional)    |
| updated\_at   | TIMESTAMP | \*Last modification timestamp (required) |
| closed\_at    | TIMESTAMP | Order completion timestamp               |
| cancelled\_at | TIMESTAMP | Cancellation timestamp (if cancelled)    |

## 2. Customers Data Schema

**Purpose**: Customer records contain account and contact information.

**Primary Key**: id

| Field Name           | Data Type | Description                                                                                                         |
| -------------------- | --------- | ------------------------------------------------------------------------------------------------------------------- |
| id                   | STRING    | \*Unique customer identifier (required)                                                                             |
| email                | STRING    | \*Customer email address (required)                                                                                 |
| first\_name          | STRING    | Customer first name <br />*(Recommended - improves accuracy of Chord AI identity matching and predictive modeling)* |
| last\_name           | STRING    | Customer last name <br />*(Recommended - improves accuracy of Chord AI identity matching and predictive modeling)*  |
| phone                | STRING    | Customer phone number                                                                                               |
| type                 | STRING    | Customer account type                                                                                               |
| has\_verified\_email | BOOLEAN   | Email verification status                                                                                           |
| created\_at          | TIMESTAMP | Account creation date                                                                                               |
| updated\_at          | TIMESTAMP | Last account update                                                                                                 |

## 3. Products Data Schema

**Purpose**: Product catalog information for all sellable items.

**Primary Key**: id

| Field Name       | Data Type | Description                            |
| ---------------- | --------- | -------------------------------------- |
| id               | STRING    | \*Unique product identifier (required) |
| title            | STRING    | \*Product display name (required)      |
| handle           | STRING    | URL handle/slug                        |
| product\_type    | STRING    | Product category                       |
| vendor           | STRING    | Product vendor name                    |
| published\_scope | STRING    | Publication scope                      |
| status           | STRING    | Product status (active/archived/draft) |
| created\_at      | TIMESTAMP | Product creation date                  |
| updated\_at      | TIMESTAMP | Last product update                    |

## 4. Product Variants Data Schema

**Purpose**: Product variant details including pricing and inventory attributes.

**Primary Key**: id

**Note**: If your system doesn’t use variants, create one variant per product with the same ID.

| Field Name  | Data Type | Description                                                                |
| ----------- | --------- | -------------------------------------------------------------------------- |
| id          | STRING    | \*Variant identifier (required; use Product ID if no separate variant IDs) |
| product\_id | STRING    | \*Parent product reference (required)                                      |
| title       | STRING    | \*Variant display name (required)                                          |
| sku         | STRING    | Stock keeping unit (optional but recommended)                              |
| barcode     | STRING    | Product barcode                                                            |
| price       | NUMERIC   | Retail price                                                               |
| grams       | NUMERIC   | Weight in grams                                                            |
| option\_1   | STRING    | First variant option                                                       |
| option\_2   | STRING    | Second variant option                                                      |
| option\_3   | STRING    | Third variant option                                                       |
| is\_taxable | BOOLEAN   | Taxability flag                                                            |
| created\_at | TIMESTAMP | Variant creation date                                                      |
| updated\_at | TIMESTAMP | Last variant update                                                        |

## 5. Order Line Items Data Schema

**Purpose**: Individual items within each order.

**Primary Key**: id

| Field Name                     | Data Type | Description                              |
| ------------------------------ | --------- | ---------------------------------------- |
| id                             | STRING    | \*Unique line item identifier (required) |
| order\_id                      | STRING    | \*Parent order reference (required)      |
| product\_id                    | STRING    | \*Product reference (required)           |
| variant\_id                    | STRING    | \*Product variant reference (required)   |
| subscription\_id               | STRING    | \*Parent subscription reference          |
| title                          | STRING    | \*Line item product name (required)      |
| variant\_title                 | STRING    | Line item variant name                   |
| name                           | STRING    | Full line item name with quantity        |
| sku                            | STRING    | Product SKU                              |
| vendor                         | STRING    | Product vendor                           |
| grams                          | NUMERIC   | Total weight in grams                    |
| price                          | NUMERIC   | \*Unit price (required)                  |
| quantity                       | INTEGER   | \*Quantity ordered (required)            |
| is\_taxable                    | BOOLEAN   | Item taxability                          |
| variant\_inventory\_management | STRING    | Inventory management method              |
| properties                     | ARRAY     | Custom properties                        |
| promo\_total                   | NUMERIC   | Line-level discount amount               |

## 6. Locations Data Schema (If Available)

**Purpose**: Location records for stores, warehouses, or other fulfillment locations.

**Primary Key**: id

**Note**: This entity is optional. If you don’t track physical locations, you can omit this table.

| Field Name  | Data Type | Description                |
| ----------- | --------- | -------------------------- |
| id          | STRING    | Unique location identifier |
| name        | STRING    | Location name              |
| is\_active  | BOOLEAN   | Active status              |
| created\_at | TIMESTAMP | Location creation date     |
| updated\_at | TIMESTAMP | Last location update       |

## 7. Payment Transactions Data Schema

**Purpose**: Financial transactions associated with orders.

**Primary Key**: id

| Field Name  | Data Type | Description                                          |
| ----------- | --------- | ---------------------------------------------------- |
| id          | STRING    | \*Transaction identifier (required)                  |
| order\_id   | STRING    | \*Parent order reference (required)                  |
| refund\_id  | STRING    | Associated refund ID if applicable                   |
| amount      | NUMERIC   | \*Transaction amount (required)                      |
| kind        | STRING    | \*Transaction type (required; see status mappings)   |
| status      | STRING    | \*Transaction status (required; see status mappings) |
| is\_test    | BOOLEAN   | Test transaction flag                                |
| created\_at | TIMESTAMP | Transaction timestamp                                |

## 8. Order Line Refunds Data Schema

**Purpose**: Refunded line items from orders.

**Primary Key**: id

**Note**: Only provide if your system tracks refunds.

| Field Name      | Data Type | Description                  |
| --------------- | --------- | ---------------------------- |
| id              | STRING    | Refund line identifier       |
| refund\_id      | STRING    | Parent refund reference      |
| order\_line\_id | STRING    | Original line item reference |
| quantity        | INTEGER   | Quantity refunded            |
| subtotal        | NUMERIC   | Refund amount                |

## 9. Return Line Items Data Schema

**Purpose**: Returned items from orders.

**Primary Key**: id

**Note**: Only provide if your system tracks returns separately from refunds.

| Field Name           | Data Type | Description                  |
| -------------------- | --------- | ---------------------------- |
| id                   | STRING    | Return line identifier       |
| return\_id           | STRING    | Parent return reference      |
| order\_line\_id      | STRING    | Original line item reference |
| quantity             | INTEGER   | Total quantity returned      |
| refundable\_quantity | INTEGER   | Quantity eligible for refund |
| refunded\_quantity   | INTEGER   | Quantity already refunded    |
| return\_reason       | STRING    | Return reason category       |
| return\_reason\_note | STRING    | Detailed return explanation  |

## 10. Fulfillments Data Schema (If Available)

Fulfillment records for order shipments.

| Field Name        | Data Type | Description                   |
| ----------------- | --------- | ----------------------------- |
| id                | STRING    | Unique fulfillment identifier |
| order\_id         | STRING    | Parent order reference        |
| status            | STRING    | Fulfillment status            |
| tracking\_company | STRING    | Shipping carrier name         |
| shipment\_status  | STRING    | Current shipment status       |
| tracking\_numbers | ARRAY     | Array of tracking numbers     |
| tracking\_urls    | ARRAY     | Array of tracking URLs        |
| created\_at       | TIMESTAMP | Fulfillment creation date     |
| updated\_at       | TIMESTAMP | Last fulfillment update       |

## 11. Fulfillment Order Lines Data Schema (If Available)

Links between fulfillments and order line items.

| Field Name      | Data Type | Description                        |
| --------------- | --------- | ---------------------------------- |
| id              | STRING    | Unique fulfillment line identifier |
| fulfillment\_id | STRING    | Parent fulfillment reference       |
| order\_line\_id | STRING    | Order line item reference          |

## 12. Fulfillment Orders Data Schema (If Available)

Fulfillment order groupings for location-based fulfillment.

| Field Name      | Data Type | Description                  |
| --------------- | --------- | ---------------------------- |
| id              | STRING    | Fulfillment order identifier |
| order\_id       | STRING    | Parent order reference       |
| status          | STRING    | Fulfillment order status     |
| request\_status | STRING    | Fulfillment request status   |
| fulfill\_at     | TIMESTAMP | Scheduled fulfillment date   |
| created\_at     | TIMESTAMP | Creation timestamp           |
| updated\_at     | TIMESTAMP | Last update timestamp        |

## 13. Subscription History Data Schema

**Purpose**: Recurring subscription or auto-ship orders.

**Primary Key**: id

**Note**: Only provide if your system supports recurring subscriptions or auto-ship functionality.

| Field Name                                   | Data Type | Description                                                                                       |
| -------------------------------------------- | --------- | ------------------------------------------------------------------------------------------------- |
| id                                           | STRING    | Unique ID per subscription (e.g., subscription\_id + \_ + line\_item\_no if tracking per product) |
| customer\_id                                 | STRING    | Reference to customer record                                                                      |
| address\_id                                  | STRING    | Reference to customer shipping address (if applicable)                                            |
| oms\_product\_id                             | STRING    | Product identifier                                                                                |
| oms\_variant\_id                             | STRING    | Variant identifier (use product\_id if no variants)                                               |
| created\_at                                  | TIMESTAMP | When subscription was created                                                                     |
| price                                        | NUMERIC   | Price per delivery                                                                                |
| quantity                                     | INTEGER   | Units delivered each cycle                                                                        |
| status                                       | STRING    | Status (active, paused, cancelled, etc.)                                                          |
| subscription\_interval\_frequency            | NUMERIC   | How often deliveries occur (e.g., 1, 2, 3)                                                        |
| order\_interval\_unit                        | STRING    | Time unit (day, week, month, year)                                                                |
| order\_interval\_frequency                   | NUMERIC   | Same as subscription\_interval\_frequency                                                         |
| order\_day\_of\_month                        | NUMERIC   | Specific day for monthly subscriptions (1-31)                                                     |
| order\_day\_of\_week                         | NUMERIC   | Specific day for weekly subscriptions (0-6)                                                       |
| expire\_after\_specific\_number\_of\_periods | NUMERIC   | Number of deliveries before auto-cancellation (if applicable)                                     |
| updated\_at                                  | TIMESTAMP | When subscription was last updated                                                                |
| next\_run\_scheduled\_at                     | TIMESTAMP | Scheduled date for next order                                                                     |
| cancelled\_at                                | TIMESTAMP | When subscription was cancelled (if applicable)                                                   |
| cancellation\_reason                         | STRING    | Reason for cancellation                                                                           |
| cancellation\_reason\_comments               | STRING    | Additional cancellation details                                                                   |


[title] @chordcommerce/analytics
[path] Chord Event Tracking/Release Notes/

## **v1.22.2 (2026-05-04)**

**Bug Fixes**

- `identify/track/page` now await in-flight `reset()` before sending, eliminating identity-bleed when events fire immediately after logout

## **v1.22.1 (2026-03-20)**

**Bug Fixes**

- allow postMessages from null-origin sandboxed iframes in web pixel listener

## **v1.22.0 (2026-03-20)**

**Features**

- unified custom web pixel

## **v1.21.3 (2026-03-06)**

**Bug Fixes**

- prevent duplicate CDP script injection in React StrictMode

## **v1.21.2 (2026-02-19)**

**Bug Fixes**

- race condition in OneTrust consent adapter

## **v1.21.1 (2026-02-11)**

*(internal release tooling — no user-facing changes)*

## **v1.21.0 (2026-01-20)**

**Features**

- add `sessionStorage` persistence for consent event queue (events queued during consent wait now survive instance recreation)

## **v1.20.0 (2026-01-12)**

**Features**

- add `trackOrderCompleted` convenience method

## **v1.19.0 (2025-12-08)**

**Features**

- consent: stamp events with fresh consent via CDP configure
- consent: add g`etCategories` / `isConsentReady` to all adapters
- consent: add OneTrust API utilities module

**Bug Fixes**

- add awaits to fix race conditions
- stamp initial consent event after CDP fully initialized

## **v1.18.1 (2025-10-10)**

**Bug Fixes**

- retr&#x79;**&#x20;OneTrust&#x20;**&#x63;onsent handler setup

## **v1.18.0 (2025-09-23)**

**Features**

- create a CommonJS build for sites on older Node/Webpack

## **v1.17.0 (2025-09-04)**

**Features**

- add `addSourceMiddleware` (Segment parity)

## **v1.16.1 (2025-08-28)**

**Bug Fixes**

- track method waits for CDP ready

## **v1.16.0 (2025-08-21)**

**Features**

- add configurable `awaitConsentTimeout` option

## **v1.15.0 (2025-07-31)**

**Features**

- add Segment support

**Bug Fixes**

- guard Chord CDP `dontSend` configuration when API not yet available

## **v1.14.1 (2025-07-23)**

**Bug Fixes**

- normalize `cdpDomain` to avoid double slashes in URLs

## **v1.14.0 (2025-07-21)**

**Features**

- add Consent Preferences Updated event

**Bug Fixes**

- prevent duplicate consent processing on page load

## **v1.13.0 (2025-06-30)**

**Features**

- add optional `props` argument to `page` method

## **v1.12.2 (2025-05-30)**

**Bug Fixes**

- `awaitConsent` option

## **v1.12.1 (2025-05-27)**

**Bug Fixes**

- add `isResetting`
- Chord CDP called first
- resolve event only after both CDP promises resolved
- increase speed of consent management check

## v1.12.0 (2025-05-01)

**Features**

- add support for OneTrust CMP

## v1.11.0 (2025-04-23)

**Bug Fixes**

- wait before setting initial consent

**Features**

- add support for Ketch CMP

## v1.10.0 (2025-04-10)

**Features**

- add built-in consent managment support, Shopify

## v1.9.1 (2025-04-09)

**Bug Fixes**

- support Chord CDP and Segment in parallel

## v1.9.0 (2025-03-24)

**Features**

- add Chord CDP support

## v1.8.0 (2024-03-21)

**Features**

- add `trackNavigationClicked`
- add `trackCheckoutStepCompleted`
- add `trackCheckoutStepViewed`
- add `trackVariantClicked`
- add `trackLoginStarted`
- add `trackSubscriptionCancelled`
- add `trackPaymentInfoEntered`

## v1.7.0 (2024-03-07)

**Features**

- add type parameter to ChordAnalytics

## v1.6.0 (2024-03-05)

**Features**

- publish to npm registry

## v1.5.1 (2024-02-14)

**Bug Fixes**

- address linter errors and warnings
- remove no longer needed eslint disableds

## v1.5.0 (2024-01-19)

**Features**

- add cdp and logger methods to ChordAnalytics
- add comments for cdp() and logger()

## v1.4.0 (2024-01-18)

**Features**

- add enableLogging option

## v1.3.0 (2024-01-17)

**Features**

- add page method to ChordAnalytics

## v1.2.0 (2024-01-16)

**Features**

- support function to return the CDP instance

## v1.1.1 (2023-12-07)

**Bug Fixes**

- clean up input types

## v1.1.0 (2023-12-07)

**Features**

- set up eslint config for core package

## v1.0.3 (2023-12-05)

**Bug Fixes**

- semantic release config file format
- update package for node compatibility

## v1.0.2 (2023-12-05)

**Bug Fixes**

- add missing dep to liquid package
- update module type to support imports

## v1.0.1 (2023-12-05)

**Bug Fixes**

- remove zero price fallback
- strip null values from arrays
- update tracking plan to latest

## v1.0.0 (2023-12-05)

**Features**

- rename package
- initial release


[title] Twitter Ads
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

**Twitter Ads** (now X Ads) is X's advertising platform for promoted content, conversion campaigns, and audience targeting. This destination loads the X/Twitter Universal Website Tag (UWT) JavaScript SDK in the browser and forwards conversion events based on a configurable event mapping. Page and identify events are not forwarded. There is no server-side component.

# Getting Started

This is a device-mode destination. The Twitter/X UWT SDK is loaded automatically — no manual script installation is required. You will need:

- **Pixel ID** — your Twitter/X Pixel ID, found in your X Ads account under **Tools > Conversion Tracking**.

Optionally:

- **Event Mapping** — maps Chord event names to Twitter Event IDs (e.g., `{ "Product Added": "tw-abc12-def34" }`). **Only events with an explicit entry in this mapping are forwarded.** All unmapped events are silently skipped.
- **Identifier** — which product field to use as the content ID (`product_id`, `sku`, or `id`). Defaults to `product_id` > `id` > `sku` fallback chain.

# Connecting to the Twitter Ads CDP Destination

:::BlockQuote
**Warning:** Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are **disabled**. Running external destinations alongside configured Chord CDP destinations **can result in duplicate events downstream.**
:::

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **Twitter Ads** from the destination catalog.
5. Enter the destination name and your **Pixel ID**.
6. Configure the **Event Mapping** to specify which Chord events should fire which Twitter Event IDs.
7. Optionally configure the **Identifier** field.
8. Click **"Create"** to connect.

# Events

Page and identify events are **not** forwarded to Twitter Ads.

Only track events with an explicit entry in the **Event Mapping** configuration are forwarded. All unmapped events are silently skipped.

# Track Events

**Twitter SDK call:** `twq("event", twitterEventId, eventPayload)`

## User Parameters

| Twitter Attribute | Chord Source (Priority Order)                                | Notes                                   |
| ----------------- | ------------------------------------------------------------ | --------------------------------------- |
| `email_address`   | `properties.email` > `context.traits.email` > `traits.email` | Automatically hashed by the Twitter SDK |
| `phone_number`    | `properties.phone` > `context.traits.phone` > `traits.phone` | Automatically hashed by the Twitter SDK |

## Order Parameters

| Twitter Attribute | Chord Source (Priority Order)                                  | Notes                  |
| ----------------- | -------------------------------------------------------------- | ---------------------- |
| `value`           | `properties.revenue` > `properties.total` > `properties.value` |                        |
| `currency`        | `properties.currency`                                          | Defaults to `"USD"`    |
| `conversion_id`   | `properties.cart_id` / `properties.order_id`                   | Used for deduplication |

## Product Contents

Each product in `properties.products[]` is mapped to a Twitter content item:

| Twitter Attribute  | Chord Source (Priority Order)                                                            | Notes |
| ------------------ | ---------------------------------------------------------------------------------------- | ----- |
| `content_id`       | Configured `identifier` field from `properties.products[]` > `product_id` > `id` > `sku` |       |
| `content_name`     | `properties.products[].name`                                                             |       |
| `content_price`    | `properties.products[].price`                                                            |       |
| `num_items`        | `properties.products[].quantity`                                                         |       |
| `content_type`     | `properties.products[].category`                                                         |       |
| `content_group_id` | `properties.products[].variant_id`                                                       |       |

All undefined values are filtered out before sending.

# Initialization

The plugin sets up the `twq` function queue, then loads `https://static.ads-twitter.com/uwt.js`. After the script loads, it calls `twq("config", pixelId)` to initialize the pixel.

The plugin manages SDK loading state (`fresh` → `loading` → `loaded`/`failed`) to prevent duplicate script loads. If the script fails to load, subsequent events are silently dropped.

# CSP Requirements

If your site uses a Content Security Policy, allow the following domains:

| Directive     | Domain                           |
| ------------- | -------------------------------- |
| `script-src`  | `https://static.ads-twitter.com` |
| `connect-src` | `https://static.ads-twitter.com` |

***

**Updated 6 Apr 2026**

[title] Connection property mappings
[path] Chord CDP/

# Connection Property Mappings

Property Mappings let you rename, move, or inject properties on events before they reach a destination — without writing code. Mappings are configured per-connection and work for both **device-mode** (client-side) and **cloud-mode** (server-side) destinations.



## How It Works

Each mapping defines a transformation that copies a value from one path on the event to another, or injects a static string value. Mappings run in order and each one sees the result of the previous mapping.

**Processing order for cloud-mode destinations (Rotor):**

```javascript
Incoming Event → Filters → Property Mappings → Destination Function → Destination API
```

**Processing order for device-mode destinations (jitsu-js):**

```javascript
Incoming Event → Property Mappings → Destination Plugin → Third-Party SDK
```

Mappings are applied **before** destination functions, so any mapped values are available on the event when your function code runs.

## Configuring Mappings

Open a connection in the Console and expand the **Property Mappings** section. Each mapping has the following fields:

| Field                | Description                                                                                                                                                     |
| -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Enabled**          | Toggle to enable or disable the mapping without deleting it                                                                                                     |
| **Event Scope**      | Which events the mapping applies to: All Events, Track, Page, or Identify. For Track events, you can optionally specify an event name (e.g., "Order Completed") |
| **Source**           | Either a **Property** path on the event, or a **Static Value** string                                                                                           |
| **Destination Path** | The path where the value will be written on the event                                                                                                           |



### Path Syntax

Use dot notation to reference nested properties:

- `properties.sku` — the `sku` field inside `properties`
- `context.device.type` — deeply nested path
- `properties.products.0.name` — array index access

Use `[]` to iterate over arrays:

- `properties.products.[].name` — collects `name` from every element, producing an array of values
- `properties.orders.[].items.[].sku` — nested array iteration

### Static Value Mappings

Instead of copying from a source path, you can inject a fixed string value. Toggle the source type to **Static Value** and enter the value. This is useful for tagging events with metadata like a source system identifier.

## Examples

### Renaming a Property

Map `properties.sku` to `properties.product_id`:

**Input:**

```json
{
  "type": "track",
  "event": "Product Viewed",
  "properties": {
    "sku": "ABC-123",
    "name": "Blue Widget"
  }
}
```

**Output:**

```json
{
  "type": "track",
  "event": "Product Viewed",
  "properties": {
    "sku": "ABC-123",
    "name": "Blue Widget",
    "product_id": "ABC-123"
  }
}
```

Note that the original `sku` field is preserved. Mappings copy values — they do not remove the source.

### Array Iteration

Map `properties.products.[].name` to `properties.products.[].title`:

**Input:**

```json
{
  "type": "track",
  "event": "Order Completed",
  "properties": {
    "products": [
      { "name": "Widget", "price": 9.99 },
      { "name": "Gadget", "price": 24.99 }
    ]
  }
}
```

**Output:**

```json
{
  "type": "track",
  "event": "Order Completed",
  "properties": {
    "products": [
      { "name": "Widget", "price": 9.99, "title": "Widget" },
      { "name": "Gadget", "price": 24.99, "title": "Gadget" }
    ]
  }
}
```

### Static Value Injection

Map static value `"jitsu_cdp"` to `properties.source_system`:

**Input:**

```json
{
  "type": "track",
  "event": "Product Viewed",
  "properties": {
    "sku": "ABC-123"
  }
}
```

**Output:**

```json
{
  "type": "track",
  "event": "Product Viewed",
  "properties": {
    "sku": "ABC-123",
    "source_system": "jitsu_cdp"
  }
}
```

### Scoped Mapping

A mapping with **Event Scope** set to `Track` and **Event Name** set to `Order Completed` will only apply to `Order Completed` track events. All other events pass through unchanged.

## Testing Mappings

The mapping editor includes a **Test** panel where you can paste a sample JSON event and preview the transformed output before saving.



## Error Handling

### Missing Source Path

If a source path does not exist on the incoming event, that mapping is **skipped** and a warning is logged — the event continues to the destination with all other mappings applied. This means a misconfigured or overly-broad mapping will not silently block event delivery.

Where the warning appears depends on the destination mode:

- **Cloud-mode (Rotor):** A warning is logged in Live Events: `Mapping "<id>": source path "<path>" does not exist on event — mapping skipped`.
- **Device-mode (browser SDK):** A `console.warn` is emitted in the browser console — this does not appear in Live Events.

Use **Event Scope** to restrict mappings to only the event types and names where the source path is guaranteed to exist. This avoids spurious warnings and keeps your mapping configuration intentional.

### Validation Errors

Mappings are validated when you save the connection. The following conditions will prevent saving:

- A mapping has neither a source path nor a static value
- A mapping has both a source path and a static value
- The destination path is blank
- The destination path targets a protected field (see below)
- Two enabled mappings write to the same destination path within the same event scope
- More than 50 mappings on a single connection

## Mappings and Functions

Mappings run **before** destination functions in the processing chain. This means:

1. Your destination function receives the event with all mappings already applied
2. Mapped properties are available for the function to read and use
3. If a mapping's source path is missing, that mapping is skipped and a warning is logged — the function is still called with the partially-mapped event

This is useful when a destination function expects properties in a specific shape. Instead of modifying the function to handle different source schemas, you can use mappings to normalize the event first.

## Connections Table

Connections with active mappings display badges in the **Mappings** column on the connections list page. Each badge shows the mapping number, and hovering reveals the source-to-destination path.



## Limitations

| Constraint                    | Detail                                                                                                                      |
| ----------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| **Maximum mappings**          | 50 per connection                                                                                                           |
| **Protected fields**          | Cannot write to `type`, `messageId`, `writeKey`, `receivedAt`, or `sentAt`                                                  |
| **Static values are strings** | Static value mappings always inject a string; no type coercion is performed                                                 |
| **No value removal**          | Mappings copy values to new paths but do not delete the original source path                                                |
| **No conditional logic**      | Mappings cannot branch based on values; use Event Scope to filter by event type/name, or write a function for complex logic |
| **Ordering matters**          | Mappings run sequentially; a later mapping can read a path written by an earlier one, but reordering may change results     |
| **Shallow clone**             | The mapping engine creates a shallow clone of the event; deeply nested reference types are shared with the original         |


[title] Yotpo
[path] Chord Event Tracking/Guides/Integrations/



:::ExpandableHeading
### Introduction

This document will walk through integrating Chord's OMS with Yotpo. Once you integrate, your customers will be able to use a powerful data-driven tools that makes it very easy for your customers to provide their feedback so you can transform every purchase made into a review.


:::



:::ExpandableHeading
### What is Yotpo

The Yotpo destination function is used to sync completed orders from the Chord's OMS platform to Yotpo to be able to collect higher-quality reviews addressing high-converting topics that actually inspire purchases and grow your business&#x20;

For more information about Yotpo and custmizing the request flows please refer to their document [here](https://support.yotpo.com/en/article/creating-a-review-request-premium-enterprise)


:::

:::ExpandableHeading
### Creating the function

Before starting the creation of the function ensure that you are using the correct code template. There are two different code templates for [Autonomy](https://github.com/chordcommerce/segment-functions/blob/main/destinations/yotpo-autonomy/index.js) vs [Performance](https://github.com/chordcommerce/segment-functions/blob/main/destinations/yotpo-performance/index.js) customers. It is important to choose the right one.

Copy the correct code&#x20;

Navigate to Segment and click Catalog -> Functions -> New Function



![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/5yqyVsByw_31SELGs438W_image-10-4-2022-at-1040-am.jpg "New Function ")



Select "Destination Function" and click Build&#x20;

Paste in the function code from above

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/akw9ZWt0q02TocpHqE1mm_image-10-4-2022-at-1055-am.jpg "Function Type - Destination")



and click Settings - Add Setting

Label = apikey

Name = apikey

Unanmed = \<apikey> (found in Yotpo settings)

Click **Add Setting**

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/DDXTSLOx6zyThwmXFB_FF_image-10-4-2022-at-337-pm.jpg "Adding Setting")





Label = secretkey

Name = secretkey

Unamed = \<secretkey> (found in Yopto settings)

Click **Add Setting**

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/rhdCDrANUPzxgW-cadGEx_image-10-4-2022-at-344-pm.jpg)



Label = secretkey

Name = secretkey

Unamed = \<secretkey> (found in Yopto settings)

Click Array&#x20;

In the First Item event field paste **Order Completed**

Remove Second and Third Item fields

Click **Add Setting**

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/4ux8VJVTpYnyHPaHrkLOU_image-10-4-2022-at-357-pm.jpg "Events Setting")



Click Configure&#x20;

Provide a Name, we recommend **Yotpo Function**

Provide a Description, and even a logo and click create Function

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/A8d8RnW56Nn07krd-lLWV_image-10-4-2022-at-406-pm.jpg "Creating Function")


:::

::::ExpandableHeading
### Connect Function to Source

Your Function has been created!&#x20;

Click **Connect Destination**

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/8R8opOV4AfB0jX2frZFbq_image-10-4-2022-at-614-pm.jpg "Connecting the Destination")

For Autonomy customers, the destination function should be connected to the **Ruby back-end source**.

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/auXfcHtjZ7IlsN7xTutul_image-10-4-2022-at-630-pm.jpg "example of Ruby autonomy back-end")

For Performance customers, the destination function should be connected to the **Javascript front- end source**.

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/ibn6ZoOD3uJnjjassodZn_image-10-4-2022-at-632-pm.jpg "example of JS Performance front-end")



When you connect the destination function, you'll need to provide values for the settings you configured above.&#x20;

Select your Destination and click Next&#x20;

Provide a Destination Name, we recommend something like "Yotpo Production" Click Save

Enter the Yotpo API key and secret key (found in the Yotpo admin), and Order Completed for the events setting.&#x20;



:::hint{type="info"}
Make sure to enable the function
:::
::::

::::ExpandableHeading
### Verify your Function

You can test that the function is working correctly in the "Event Tester" tab.

You'll need an example event, so find (or place a test order) a recent **Order** **Completed** event in the Segment Debugger for the source that you connected to the Yotpo function, and copy the entire event JSON from the "Raw" tab:

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/I0Yvf_22Yzg_4pp53y9wI_image-10-5-2022-at-859-am.jpg "Order Completed Debugger")

Navigate to the "Event Tester" tab of the Yotpo destination function you just created, and replace the dummy JSON with the event JSON you copied:

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/l-usVHaeU7cUjPUT5zg3U_image-10.png "Event Tester")





:::hint{type="danger"}
The order from the Order Completed event you copied will be synced to Yotpo, so if Yotpo is configured to send automatic review requests, the customer will receive one.


:::

Hit "Send Event" and make sure you see a 200:

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/l9uGJxz6kPvJMpP4PJMhZ_image-11.png "Event Lifecycle")



:::ExpandableHeading
### Verify API Order&#x20;

If you would like to query the Yotpo API to see what orders have been submitted from the function, here's how:

- **Get an access token**

Populate the API\_KEY and the SECRET\_KEY in the code snippet:



<font color="#3b9f0f">curl --request POST \</font>

<font color="#3b9f0f">     --url https://api.yotpo.com/core/v3/stores/API_KEY/access_tokens \</font>

<font color="#3b9f0f">     --header 'Accept: application/json' \</font>

<font color="#3b9f0f">     --header 'Content-Type: application/json' \</font>

<font color="#3b9f0f">     --data '{ "secret": "SECRET_KEY" }'</font>





Copy the `access_token`from the output and use it in the next step.

- **Get the list of orders**

Populate the API\_KEY and the TOKEN (from access\_token above) in the code snippet:

<font color="#3b9f0f">curl --request GET \</font>

<font color="#3b9f0f">--url https://api.yotpo.com/core/v3/stores/API_KEY/orders \</font>

<font color="#3b9f0f">--header 'Accept: application/json' \</font>

<font color="#3b9f0f">--header 'Content-Type: application/json' \</font>

<font color="#3b9f0f">--header 'X-Yotpo-Token: TOKEN'</font>













You should get a JSON list of orders from Yotpo.



Your connection is now successfully created!&#x20;
:::




::::


[title] Subscription Generated
[path] Chord Event Tracking/Server Events/Track/

Fired when **any&#x20;**&#x73;ubscription is created after an order is completed, regardless of type. This includes regular, prepaid, gifted, and converted-from-prepaid subscriptions. For regular subscriptions, this event fires **in addition to&#x20;**`Subscription Created`.

# Properties

| **Name**              | **Type**   | **Description**                                                                                                                        | **Required** |
| --------------------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
| `subscription_id`     | `string`   | Unique ID of the subscription                                                                                                          | Yes          |
| `interval_length`     | `number`   | Combined with `interval_units`, specifies the cadence of the subscription. E.g. for a **3 week** cadence, this value will be `3`.      | No           |
| `interval_units`      | `string`   | Combined with `interval_length`, specifies the cadence of the subscription. E.g. for a **3 week** cadence, this value will be `weeks`. | No           |
| `actionable_date`     | `string`   | ISO date when the next installment order will be generated.                                                                            | No           |
| `state`               | `string`   | State of the subscription (e.g. `active`, `paused`, `canceled`).                                                                       | No           |
| `payment_method_name` | `string`   | Name of the payment method for installment orders.                                                                                     | No           |
| `email`               | `string`   | Email address associated with the subscription                                                                                         | No           |
| `canceled_at`         | `string`   | ISO date when the subscription was canceled, if applicable                                                                             | No           |
| `canceled_by`         | `string`   | Email address of the user who canceled the subscription, if applicable                                                                 | No           |
| `activated_at`        | `string`   | ISO date when the subscription was activated                                                                                           | Yes          |
| `address`             | `object`   | Shipping address of the subscription.                                                                                                  | Yes          |
| `products`            | `object[]` | Products in the subscription                                                                                                           | Yes          |

## Address

| **Name**            | **Type** | **Description**                                          | **Required** |
| ------------------- | -------- | -------------------------------------------------------- | ------------ |
| `address1`          | `string` | The street address of the customer                       | No           |
| `address2`          | `string` | Additional street address of the customer (if necessary) | No           |
| `alternative_phone` | `string` | Customer's alternative phone number                      | No           |
| `phone`             | `string` | Customer's phone number                                  | No           |
| `city`              | `string` | City of the shipping address                             | No           |
| `company`           | `string` | Name of the company, if applicable                       | No           |
| `country`           | `string` | ISO country code for the shipping address                | No           |
| `name`              |          | Customer name                                            | No           |
| `state`             | `string` | ISO state code for the shipping address                  | No           |
| `zipcode`           | `string` | Zip or postal code for the shipping address              | No           |

## Products array

| **Name**       | **Type** | **Description**                                                                          | **Required** |
| -------------- | -------- | ---------------------------------------------------------------------------------------- | ------------ |
| `affiliation`  | `string` | Store or affiliation from which this transaction occurred (for example, "Google Store"). | No           |
| `brand`        | `string` | Brand associated with the product                                                        | No           |
| `line_item_id` | `string` | ID of the line item in the database                                                      | No           |
| `name`         | `string` | Name of the product                                                                      | Yes          |
| `position`     | `number` | Position in the product list                                                             | No           |
| `price`        | `number` | Price of the product                                                                     | Yes          |
| `product_id`   | `string` | ID of the product in the database                                                        | Yes          |
| `quantity`     | `number` | The quantity of products purchased in this line item                                     | Yes          |
| `revenue`      | `number` | Revenue ($) associated with this line item (excluding shipping and tax)                  | Yes          |
| `sku`          | `string` | SKU of the variant                                                                       | Yes          |
| `variant_name` | `string` | Name of the variant                                                                      | No           |
| `variant_id`   | `string` | ID of the variant in the database                                                        | No           |

# Sample Payload

```json
{
  "type": "track",
  "event": "Subscription Created",
  "properties": {
    "subscription_id": "1",
    "interval_length": 3,
    "interval_units": "weeks",
    "actionable_date": "2026-01-01T00:00:00.000Z",
    "state": "active",
    "payment_method_name": "Stripe",
    "email": "user@example.com",
    "canceled_at": null,
    "canceled_by": null,
    "activated_at": "2026-01-01T00:00:00.000Z",
    "address": {
      "address1": "123 Fake St",
      "address2": null,
      "alternative_phone": null,
      "phone": "123456789",
      "city": "Oak Lawn",
      "state": "IL",
      "country": "US",
      "name": "John Doe",
      "zipcode": "60532"
    },
    "products": [
      {
        "affiliation": "Affiliation",
        "brand": "Brand",
        "line_item_id": "16207084552295",
        "name": "Product Name",
        "position": 1,
        "price": 219,
        "product_id": "7036464939671",
        "quantity": 1,
        "revenue": 219,
        "sku": "SKU123",
        "variant": "Variant Name",
        "variant_id": "40952658057847"
      }
    ]
  }
}
```

# Example

```bash
curl https://production.cdp.ingest.chord.co/api/track \
--header "Content-Type: application/json" \
--header "X-Write-Key: $CDP_WRITE_KEY" \
--data-raw '
{
  "type": "track",
  "event": "Subscription Created",
  "properties": {
    "subscription_id": "1",
    "interval_length": 3,
    "interval_units": "weeks",
    "actionable_date": "2026-01-01T00:00:00.000Z",
    "state": "active",
    "payment_method_name": "Stripe",
    "email": "user@example.com",
    "canceled_at": null,
    "canceled_by": null,
    "activated_at": "2026-01-01T00:00:00.000Z",
    "address": {
      "address1": "123 Fake St",
      "address2": null,
      "alternative_phone": null,
      "phone": "123456789",
      "city": "Oak Lawn",
      "state": "IL",
      "country": "US",
      "name": "John Doe",
      "zipcode": "60532"
    },
    "products": [
      {
        "affiliation": "Affiliation",
        "brand": "Brand",
        "line_item_id": "16207084552295",
        "name": "Product Name",
        "position": 1,
        "price": 219,
        "product_id": "7036464939671",
        "quantity": 1,
        "revenue": 219,
        "sku": "SKU123",
        "variant": "Variant Name",
        "variant_id": "40952658057847"
      }
    ]
  }
}
'
```


[title] CDP Live Events
[path] Chord CDP/

The CDP Live Events view provides real-time visibility into all events captured by Chord CDP, filterable by source. Use this view to monitor data collection, debug integration issues, and verify that events are being tracked correctly.

# **Overview**

Incoming events are the raw data signals collected by [CDP Sources](docId\:Ho4HIWVPV4IbGWwn67IAh). These include page views, track events and identify events. Each event is captured, processed, and then routed to your [CDP Destinations](docId:8Q9LBD5xxsaBWfr5xsA1Y).

## **Viewing Events**

The events table displays the following information for each captured event:

- **Date (UTC):** The timestamp when the event was received by Chord CDP
- **Type:** The event type (e.g., page, track, identify)
- **Page Path:** The URL path on your site where the event originated
- **Summary:** Quick reference chips showing key event context

## **Filtering Events**

:::hint{type="info"}
The **Live Events** graph is designed as a **real-time debugging tool&#x20;**&#x73;howing the past 12 hours of data with fast, responsive search.&#x20;

For historical event analysis, we recommend querying your data warehouse (eg. Snowflake) or destination systems, which are optimized for that purpose without impacting real-time event processing
:::

Use the toolbar to filter and search your events:

- **Sites**: Select which source to view events from (if you have multiple sites configured)
- **Status**: Filter by "All" events or only "Errors" to quickly find issues
- **Search**: Search within event data (searches events from the past 12 hours)
- **Refresh**: Reload the event list to see the latest data

## **Event Details**

Click any row to open the event details drawer, which shows:

**Core Information**

- **Date (UTC)**: When the event was received
- **Source**: Origin of the event (browser for client-side, s2s for server-to-server)
- **Message ID**: Unique identifier for this event
- **Type**
- **Event Name**

**User Information**

- User ID / Anonymous ID
- Email

**Page Context**

- Page Title
- Page URL

**Routing Information**

- **Destinations**: Which [CDP Destinations](docId:8Q9LBD5xxsaBWfr5xsA1Y) will receieve this event
- **Chord CDP Domain**: The CDP domain that processed the event
- **Write Key**: The API key used for this event stream

**Technical Details**

- **HTTP Headers**: Request headers sent with the event
- **Event Payload**: The complete raw event data in JSON format

## **Common Use Cases**

**Debugging Integration Issues**

Filter by "Errors" status to quickly find events that failed processing. The error message will help identify configuration problems.

**Verifying Event Tracking**

After implementation, use this view to confirm events are being captured with the correct properties.

**Monitoring Data Flow**

Verify that events are being routed to the expected destinations.


[title] Snapchat Conversions API
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

The **Snapchat Conversions API** (CAPI) is a server-side integration that sends event data directly from Chord CDP to Snapchat's servers. Unlike the Snap Pixel (which runs in the browser), the Conversions API operates in cloud mode — events are sent server-to-server, making them resilient to ad blockers and browser tracking restrictions.

Snapchat recommends using the Conversions API alongside the Snap Pixel for maximum data coverage. When both are configured, Snapchat automatically deduplicates events using the `client_dedup_id` field, which Chord CDP sets to the event's `messageId` on both sides.

# Getting Started

This is a cloud-mode destination. You will need:

- **Pixel ID** — found in your Snapchat Ads Manager under **Events Manager > Pixel Details**
- **Access Token** — your Conversions API token, found in **Snapchat Ads Manager > Business Details**

Optionally:

- **Test Mode** — when enabled, events are sent to Snapchat's `/validate` endpoint and appear in the Snap Events Manager debug tool without affecting live reporting
- **Product Content ID Field** — which product field to use as `item_id` when sending events: `sku`, `product_id`, or `variant_id`. Defaults to `sku`. If the configured field is absent on a product, it falls back through `sku → variant_id → product_id → id`. **This must match the Item ID format in your Snap product catalog and must be set to the same value as the Snap Pixel destination.**

# Connecting to the Snapchat Conversions API CDP Destination

:::BlockQuote
**Warning:** Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are **disabled**. Running external destinations alongside configured Chord CDP destinations **can result in duplicate events downstream.**
:::

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **Snapchat Conversions API** from the destination catalog.
5. Enter the destination name, **Pixel ID**, and **Access Token**.
6. Optionally configure **Test Mode** and **Product Content ID Field**.
7. Click **"Create"** to connect.

# Event Mapping

| Chord Event                 | Snap Event        |
| --------------------------- | ----------------- |
| `page`                      | `PAGE_VIEW`       |
| `Order Completed`           | `PURCHASE`        |
| `Product Added`             | `ADD_CART`        |
| `Product Viewed`            | `VIEW_CONTENT`    |
| `Checkout Started`          | `START_CHECKOUT`  |
| `Subscription Created`      | `SUBSCRIBE`       |
| `Products Searched`         | `SEARCH`          |
| `Payment Info Entered`      | `ADD_BILLING`     |
| `Product Added to Wishlist` | `ADD_TO_WISHLIST` |
| `Signed Up`                 | `SIGN_UP`         |

Page, track, and screen events are forwarded. Identify events are not forwarded.

# Common Event Fields

These fields are included on every event sent to Snapchat.

| Snap Field                | Chord Source                            | Notes                                      |
| ------------------------- | --------------------------------------- | ------------------------------------------ |
| `event_name`              | *(mapped from event — see table above)* |                                            |
| `event_time`              | `timestamp`                             |                                            |
| `event_id`                | `messageId`                             | Used for deduplication with the Snap Pixel |
| `event_source_url`        | `context.page.url`                      |                                            |
| `data_processing_options` | *(hardcoded)* `false`                   |                                            |

# User Data

| Snap Field          | Chord Source (Priority Order)                                                                                   | Notes                     |
| ------------------- | --------------------------------------------------------------------------------------------------------------- | ------------------------- |
| `external_id`       | `userId` > `anonymousId`                                                                                        | Array                     |
| `email`             | `context.traits.email`                                                                                          |                           |
| `phone`             | `context.traits.phone`                                                                                          |                           |
| `gender`            | `context.traits.gender`                                                                                         |                           |
| `firstName`         | `context.traits.firstName`                                                                                      |                           |
| `lastName`          | `context.traits.lastName`                                                                                       |                           |
| `birthday`          | `context.traits.birthday`                                                                                       |                           |
| `city`              | `context.traits.address.city`                                                                                   |                           |
| `state`             | `context.traits.address.state`                                                                                  |                           |
| `zip`               | `context.traits.address.zip` > `context.traits.address.postalCode`                                              |                           |
| `country`           | `context.traits.address.country`                                                                                |                           |
| `client_ip_address` | `context.ip`                                                                                                    | Not hashed                |
| `client_user_agent` | `context.userAgent`                                                                                             | Not hashed                |
| `madid`             | `context.device.advertisingId`                                                                                  | Mobile ad ID              |
| `idfv`              | `context.device.id`                                                                                             | iOS identifier for vendor |
| `sc_click_id`       | `properties.click_id` > `integrations["Snap Conversions Api"].click_id` > `ScCid` query parameter from page URL | Snap click ID             |
| `sc_cookie1`        | `integrations["Snap Conversions Api"].uuid_c1`                                                                  | Snap cookie value         |

# Custom Data

These fields are sent in the `custom_data` block on all events.

| Snap Field      | Chord Source (Priority Order)                   | Notes                                                                  |
| --------------- | ----------------------------------------------- | ---------------------------------------------------------------------- |
| `currency`      | `properties.currency`                           | Defaults to `"USD"`                                                    |
| `value`         | `properties.value`                              | Total value after quantity (`price × qty` per the Chord tracking plan) |
| `num_items`     | Count of products with a resolvable `item_id`   |                                                                        |
| `order_id`      | `properties.order_id`                           |                                                                        |
| `search_string` | `properties.query` > `properties.search_string` |                                                                        |

# Products

Sent as a `products` array on events that include product data. Omitted if no products are present.

| Snap Field      | Chord Source (Priority Order)                                 | Notes                              |
| --------------- | ------------------------------------------------------------- | ---------------------------------- |
| `item_id`       | Configured field → `sku` → `variant_id` → `product_id` → `id` | Must match Item ID in Snap catalog |
| `item_category` | `properties.products[].category`                              |                                    |
| `brand`         | `properties.products[].brand`                                 |                                    |

# Deduplication

Chord CDP sends the same `messageId` as `client_dedup_id` on both the Snap Pixel and the Conversions API. Snapchat uses this field to automatically deduplicate events when both destinations process the same user action.

For **Purchase** events, Snapchat additionally deduplicates on `transaction_id`. Chord CDP sets this to `properties.order_id` on both the Pixel and CAPI, so no additional configuration is required.

For deduplication to work correctly:

- Both the Snap Pixel and Snapchat Conversions API destinations must be enabled in Chord CDP
- **Product Content ID Field** must be set to the same value in both destinations

# Testing and Validation

After connecting the destination:

1. Enable **Test Mode** in the destination settings to send events to Snapchat's `/validate` endpoint
2. Trigger test events and confirm they appear in the **Snap Events Manager debug tool**
3. Disable Test Mode before going live
4. After 24–48 hours, check **Events Manager > Diagnostics** to verify match rates and deduplication rates

***

**Updated 23 Apr 2026**

[title] Order Completed
[path] Chord Event Tracking/Server Events/Track/

This event is triggered when a customer completes a purchase.

# Properties

| **Name**           | **Type**   | **Description**                                                                          | **Required** |
| ------------------ | ---------- | ---------------------------------------------------------------------------------------- | ------------ |
| `affiliation`      | `string`   | Store or affiliation from which this transaction occurred (for example, "Google Store"). | No           |
| `channel`          | `string`   | The sales channel                                                                        | No           |
| `checkout_id`      | `string`   | ID of the checkout session for the purchase                                              | No           |
| `checkout_type`    | `string`   | Checkout provider (e.g. `Stripe`)                                                        | No           |
| `currency`         | `string`   | ISO currency code of the transaction (e.g. `USD`)                                        | Yes          |
| `discount`         | `number`   | The total discount applied to the order                                                  | No           |
| `email`            | `string`   | Email address associated with the order                                                  | No           |
| `first_name`       | `string`   | Customer's first name                                                                    | No           |
| `last_name`        | `string`   | Customer's last name                                                                     | No           |
| `order_date`       | `date`     | Date and time the order was placed                                                       | Yes          |
| `order_id`         | `string`   | Order/transaction ID                                                                     | Yes          |
| `phone`            | `string`   | Customer's phone number                                                                  | No           |
| `products`         | `object[]` | Products in the order                                                                    | Yes          |
| `revenue`          | `number`   | Revenue ($) associated with the transaction (excluding shipping and tax)                 | Yes          |
| `shipping`         | `number`   | The total amount for shipping                                                            | No           |
| `shipping_city`    | `string`   | City of the shipping address                                                             | No           |
| `shipping_country` | `string`   | ISO country code for the shipping address                                                | No           |
| `shipping_state`   | `string`   | ISO state code for the shipping address                                                  | No           |
| `shipping_zipcode` | `string`   | Zip or postal code for the shipping address                                              | No           |
| `subscription_id`  | `string`   | ID of the subscription created from this purchase, if applicable                         | No           |
| `subtotal`         | `number`   | Order total including discounts but excluding shipping and tax                           | No           |
| `tax`              | `number`   | The total tax captured on the order                                                      | No           |
| `total`            | `number`   | The order grand total, summing the subtotal, discount, shipping, and tax                 | Yes          |

## Products array

| **Name**       | **Type** | **Description**                                                                          | **Required** |
| -------------- | -------- | ---------------------------------------------------------------------------------------- | ------------ |
| `affiliation`  | `string` | Store or affiliation from which this transaction occurred (for example, "Google Store"). | No           |
| `brand`        | `string` | Brand associated with the product                                                        | No           |
| `line_item_id` | `string` | ID of the line item in the database                                                      | No           |
| `name`         | `string` | Name of the product                                                                      | Yes          |
| `position`     | `number` | Position in the product list                                                             | No           |
| `price`        | `number` | Price of the product                                                                     | Yes          |
| `product_id`   | `string` | ID of the product in the database                                                        | Yes          |
| `quantity`     | `number` | The quantity of products purchased in this line item                                     | Yes          |
| `revenue`      | `number` | Revenue ($) associated with this line item (excluding shipping and tax)                  | Yes          |
| `sku`          | `string` | SKU of the variant                                                                       | Yes          |
| `variant_name` | `string` | Name of the variant                                                                      | No           |
| `variant_id`   | `string` | ID of the variant in the database                                                        | No           |

# Sample Payload

```json
{
  "type": "track",
  "event": "Order Completed",
  "properties": {
    "affiliation": "Afilliation",
    "checkout_id": "40854979018855",
    "checkout_type": "Shopify | OMS | Other",
    "currency": "USD",
    "discount": 5,
    "email": "user@example.com",
    "first_name": "John",
    "last_name": "Doe",
    "order_date": "2025-09-12T11:45:45-07:00",
    "order_id": "6736819880039",
    "order_number": "1895671",
    "phone": "+15555555555",
    "revenue": 219,
    "shipping": 9.9,
    "shipping_city": "Fall River",
    "shipping_country": "US",
    "shipping_state": "MA",
    "shipping_zipcode": "02720",
    "subtotal": 219,
    "tax": 13.69,
    "total": 237.59,
    "products": [
      {
        "affiliation": "Affiliation",
        "brand": "Brand",
        "line_item_id": "16207084552295",
        "name": "Product Name",
        "position": 1,
        "price": 219,
        "product_id": "7036464939671",
        "quantity": 1,
        "revenue": 219,
        "sku": "SKU123",
        "variant": "Variant Name",
        "variant_id": "40952658057847"
      }
    ],
    "meta": {
      "i18n": {
        "currency": "USD",
        "locale": "en-US"
      },
      "platform": {
        "name": "Shopify | OMS | Other",
        "type": "web"
      },
      "store": {
        "domain": "domain"
      },
      "version": {
        "major": 3,
        "minor": 0,
        "patch": 0
      }
    }
  },
  "userId": "8046328840295",
  "anonymousId": "7a76b270-c318-4477-b1e1-33eac94dbd1e"
}
```

# Example

```bash
curl https://production.cdp.ingest.chord.co/api/track \
--header "Content-Type: application/json" \
--header "X-Write-Key: $CDP_WRITE_KEY" \
--data-raw '{
{
  "type": "track",
  "event": "Order Completed",
  "properties": {}
  "meta": {},
  "userId": "123456",
  "anonymousId": "7a76b270-c318-4477-b1e1-33eac94dbd1e"
}
```


[title] Untitled
[path] Chord Event Tracking/


[title] Attentive Mobile
[path] Chord Event Tracking/Guides/Integrations/

## Overview

Attentive Mobile has a [Segment destination](https://segment.com/docs/connections/destinations/catalog/attentive-mobile/) that can be connected to both website front-end and server Chord Segment sources. We recommend connecting both sources for maximum reliability.

## Sending data to Attentive

Once connected and configured [according to Segment’s documentation](https://segment.com/docs/connections/destinations/catalog/attentive-mobile/), Attentive will automatically receive customer data from Chord events that will be added as attributes to the Attentive subscriber. These attributes are used to target Attentive subscribers in the [Attentive Segments product](https://help.attentivemobile.com/hc/en-us/categories/360004558392-Subscriber-segments).

Attentive will also receive all Chord tracking events and save them as custom events to the Attentive subscriber. These events are usable in both the [Attentive Segments product](https://help.attentivemobile.com/hc/en-us/categories/360004558392-Subscriber-segments) and the [Attentive Journeys product](https://help.attentivemobile.com/hc/en-us/categories/6084285157396).

Tracking events sent before a customer has been identified by a phone number or email address will be ignored. A customer typically provides their phone number or email address either by logging in, entering this information in some other field like a newsletter signup, or placing an order.

[title] CDP Notifications (Event Alerts)
[path] Chord CDP/

# Overview

CDP Event Alerts allow your team to stay informed when specific customer behavior or data events occur in your Chord-connected ecosystem. Whether you’re monitoring for conversion milestones, failed transactions, or custom triggers unique to your brand, Event Alerts provide real-time visibility into what matters most.

:::hint{type="info"}
**No support for client-side destinations**: Chord does **not&#x20;**&#x70;rovide monitoring for events sent directly from the browser to external tools (e.g., client-side destinations), since these events do **not&#x20;**&#x70;ass through the CDP.
:::

# What It Does

Chord CDP Event Alerts notify you via email when a configured event alert is captured by Chord’s data infrastructure. This ensures you can take timely action—or simply stay aware—when high-impact behaviors are observed via Chord CDP.

Event alerts give you peace of mind by making sure your data is always moving where it needs to go. The first set of alerts covers two key failure points: if no source events are recorded for an hour (or other chosen option), or if no events are delivered to a destination for a specified period of time. These alerts act as an early warning system—helping your team catch issues quickly so you can trust that your data is complete and reliable.

Additionally, **users will only receive one notification per site (source) or connection (destination) every 24 hours if an issue is detected**. For example:

1. User subscribes to notifications for missing data on Source A (or Destination A).
2. Source A (or Destination A) doesn't receive any events for over an hour (or other specified timeframe).
3. Chord CDP will send an email notification to the user who set up an alert for Source A (or Destination A).
4. Chord CDP will send another notification in 24 hours (assuming Source A or Destination A continues not to receive any events).

:::hint{type="info"}
**Note:&#x20;**&#x59;ou will not receive an email confirming that the issue has been resolved. Once you receive an alert and resolve it, you will not receive any additional alerts (unless the source or destination error perists or occurs again).
:::

Lastly, this version of CDP alerts **does not include** monitoring for:

- Unexpected spikes or drops in source event volume; or
- Delivery drops or delays for events sent successfully to destinations.

# Getting Started

## Requirements

- Your sites (sources) and destination connections must be instrumented on Chord CDP.
- You must have appropriate permissions to access alert configurations.

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-yVKcz38jJvNuOaJEzhbHE-20250911-211407.png)

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/XDCOCuSoOIte5XF8XUsG2-20260127-225009.png)

:::hint{type="info"}
You can now customize the threshold for when you’ll be alerted if no data is ingested from a source or delivered to a destination. Previously, the default was one hour. This update helps reduce noise from false positives — especially for connections that naturally receive data less frequently.
:::

To access and set event alerts, follow the instructions below:

1. Log into the Chord data platform and navigate to the **Chord CDP** page.
2. Click on the **Notifications** tab on the Chord CDP page.
3. Review the list of available sites (sources) and connections (destinations) that you’d like to receive alerts about.
4. As you check (or uncheck) the alerts you would like to receive, you will see a dropdown menu with timeframes.
5. For each selected source or destination connection, choose the when to be alerted when your data hasn't been flowing from sources or into destinations: **1 hour, 2 hours, 4 hours, or 8 hours**.
6. When no source events are ingested and/or no events are successfully delivered to a destination for the duration of your selected window, you will receive an email from Chord CDP identifying which site or connection is experiencing issues.


[title] Custom storefront consent management
[path] Chord Event Tracking/Getting started/Custom storefront/

For custom storefronts, Chord supports consent management through third-party consent management platforms (CMPs). This guide covers integrating your CMP with Chord's analytics library.

## Supported Consent Providers

The `@chordcommerce/analytics` library supports the following consent adapters:

| Provider | `consent` Value |
| -------- | --------------- |
| OneTrust | `"onetrust"`    |
| Ketch    | `"ketch"`       |

## Configuration

To enable consent management, add the `consent` and optionally `awaitConsent` options when initializing:

```typescript
const chord = new ChordAnalytics({
  consent: 'onetrust',      // Your consent provider
  awaitConsent: true,        // Wait for consent before sending events
  cdpDomain: process.env.CHORD_DOMAIN,
  cdpWriteKey: process.env.CHORD_WRITE_KEY,
  // ... rest of config
})
```

### Options

| Option         | Type      | Default | Description                                                                                                                                                                                                              |
| -------------- | --------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `consent`      | `string`  | —       | The consent adapter to use: `"onetrust"` or `"ketch"`                                                                                                                                                                    |
| `awaitConsent` | `boolean` | `false` | If `true`, delays sending events until consent is given. Events will queue but not forward to destinations until consent is granted. Timeout is 1 minute — if consent is not given within that time, events are dropped. |

## How It Works

When a consent adapter is configured:

1. Chord reads the customer's consent preferences from your CMP.
2. A consent object is attached to every event sent to Chord.
3. Chord uses your configured consent category mappings to determine which destinations receive each event.

## Configuring Consent Categories in Chord

Navigate to **Consent Categories** in the Chord platform to create consent category mappings. Map each category from your CMP to the appropriate destinations.

For each category, choose which destinations should receive events when the customer has consented to that category. Destinations not mapped to any category will receive all events regardless of consent.

## OneTrust

If using OneTrust as your CMP:

1. Install and configure OneTrust on your site according to their documentation.
2. Set `consent: "onetrust"` in your Chord configuration.
3. Chord will automatically read consent preferences from OneTrust's API and include them with events.

## Without a Supported CMP

If your consent management platform is not in the supported list, you can manage consent manually using the generic `track` method to include consent data, or contact [help@chord.co](mailto\:help@chord.co) to discuss adding support for your provider.

[title] Enabling Subscription Events
[path] Chord Event Tracking/Using with Shopify/Server Event Tracking/

Chord typically sends tracking events to the CDP from two sources via your storefront:

- Your **website front-end source**, either using the Chord Shopify web pixel or `@chordcommerce/analytics`, and
- Chord's **server events service source**, which sends tracking events from a Shopify custom source function in your CDP workspace in response to webhook triggers from Shopify.&#x20;

When Chord provisions your CDP workspace, it will include Chord's Shopify webhook source. This code listens for webhook events from Shopify and transforms them into CDP events.

# Subscription Webhook Topics

Shopify makes availalbe *subscription-specific* webhook topics that can be emitted via your store to the Chord CDP (much like order & checkout creation), however **Shopify limits&#x20;**`subscription contracts`**&#x20;events to the app that created the contract (i.e. Shopify Subscriptions, Recharge).**&#x20;

:::hint{type="warning"}
**Shopify limits Subscription Contracts events to the app that created the contract (i.e. Shopify Subscriptions, Recharge).**
:::

As a result, the ***Chord webhook event app*** installed within your Shopify store will be unable to listen for subscription-specific webhook events; given this, a workaround to faciliate ingestion of these events is possible through the use of ***Shopify Flow***.

The following *subscription&#x20;*&#x77;ebhook topics are supported through this implementation:

- `subscription_contracts/create`**:&#x20;**&#x73;ends Chord's `Subscription Created` event
- `subscription_contracts/cancel`**:&#x20;**&#x73;ends Chord's `Subscription Canceled` event
- `subscripton_contracts/pause`**:&#x20;**&#x73;ends Chord's `Subscription Paused` event
- `subscripton_contracts/expire`**:&#x20;**&#x73;ends Chord's `Subscription Expired` event
- `subscription_billing_attempts/failure`: sends Chord's `Subscription Payment Failed` event

# Shopify Flow&#x20;

[Shopify Flow](https://apps.shopify.com/flow) is your automation and integration platform for ecommerce.

Flow makes it easy to build custom workflows to automate marketing, order fulfillment, inventory management, fraud prevention, and more. Boost productivity and reclaim your time by automating tasks, streamlining business processes, customizing how your store works, or connecting to your favorite apps and external services.

- Automate with hundreds of workflow templates for ecommerce tasks.
- Add custom logic and unlimited actions to any automation.
- Integrate with tags, metafields, B2B, Slack, Google Sheets, and more.

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/HxKGnNUVvktvQO9dt5_Ck_image.png)

:::hint{type="info"}
The ***Shopify Flow app*** can be used to create workflows that listen for/ingest Subscription-specific webhook events and sends them through to your Chord CDP backend source.
:::

## Assumptions

Before installing the Shopify Flow App and creation of the subscription-specific webhook events, confirm with your Chord implementation team that the corresponding[ back-end webhook eventing app](https://docs.chord.co/server-event-tracking#creating-an-admin-api-key) has been installed on your Shopify store. **The following steps are assumed:**

- Chord already has access to your Shopify store;
- You have access to the Chord CDP;
- Shopify Flow app is either already in-use or is installed; and
- The subscription events to be configured are:
  - `Subscription Created`
  - `Subscription Cancelled`
  - `Subscription Paused`
  - `Subscription Expired`
  - `Subscription Payment Failed`

## Installation

As a free app, you should be able to easily instal&#x6C;*&#x20;Shopify Flow* within your Shopify store. It is possible that your Chord implementation team has already installed the app and if so, will have already installed the flows below. If there are any questions on whether the app is present or if these flows have already been set-up, please reach out to [help@chord.co](mailto\:help@chord.co)***.***

### **Importing Flows**

Click `Import Flow`and import the provided ***.flow*** files below:

::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/6QkTXuCVCER9C6e-KkZ2y_image.png" size="80" width="1422" height="811" position="center" darkWidth="1422" darkHeight="811" showCaption="false"}



::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/-OEWGi--9ofn5wVQHTC1k_image.png" size="80" width="3326" height="1908" position="center" darkWidth="3326" darkHeight="1908" showCaption="false"}

### .flow Files

Take these .flow files and ipmort them into your Shopify Flow app import modal:

::File[]{src="https://archbee-doc-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/5y7G4qZsJN9ZdROhB0Z04_chord-subscription-contract-created.flow" label="[CHORD] - Subscription Contract Created.flow" isUploading="false"}

::File[]{src="https://archbee-doc-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/yGLJXe9CVt4o1hXUayzka_chord-subscription-updated-cancelled-expired-paused.flow" label="[CHORD] - Subscription Updated (Cancelled __ Expired __ Paused).flow" isUploading="false"}

::File[]{src="https://archbee-doc-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/mUHVzuGKRt8aYNiLFWt-X_chord-subscription-payment-failed.flow" label="[CHORD] - Subscription Payment Failed.flow" isUploading="false"}

**Validate & Review**

- Verify the configuration in Shopify:

::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/L2899i4aO8gZMxQol5edq_image.png" size="100" isUploading="false" width="2808" height="1758" darkWidth="2808" darkHeight="1758" showCaption="false" indent="1"}

- Verify the successful delivery of events in Chord CDP from your configured Back-End Source:

::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/hTPOVXSXnrn61SBlMSjGa_image.png" size="80" width="1433" height="813" position="center" darkWidth="1433" darkHeight="813" showCaption="false"}

::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/TyECDCV4qTEPLCwR4eZEl_image.png" size="80" width="3326" height="1918" position="center" darkWidth="3326" darkHeight="1918" showCaption="false"}

:::hint{type="danger"}
If you are experiencing any issues with configuring webhooks in Shopify or do not see Subscription events in your CDP back-end source, please reach out to [help@chord.co](mailto\:help@chord.co) with any questions/concerns.
:::


[title] Yahoo Pixel
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

**Yahoo Pixel** (Yahoo Dot Tag) is Yahoo's conversion tracking and audience pixel for Yahoo Advertising campaigns. This destination loads the Yahoo Dot Tag JavaScript SDK in the browser and forwards ecommerce events to Yahoo for conversion measurement and audience building. User emails and phone numbers are hashed before sending. There is no server-side component.

# Getting Started

This is a device-mode destination. The Yahoo Dot Tag SDK is loaded automatically — no manual script installation is required. You will need:

- **Pixel ID** — your Yahoo pixel ID, found in your Yahoo Advertising account.
- **Project ID** — your Yahoo project ID, found in your Yahoo Advertising account.

# Connecting to the Yahoo Pixel CDP Destination

:::BlockQuote
**Warning:** Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are **disabled**. Running external destinations alongside configured Chord CDP destinations **can result in duplicate events downstream.**
:::

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **Yahoo Pixel** from the destination catalog.
5. Enter the destination name, **Pixel ID**, and **Project ID**.
6. Click **"Create"** to connect.

# Events

All Yahoo Pixel events include SHA-256 hashed user data when available:

| Yahoo Attribute | Chord Source (Priority Order)                                | Notes                                  |
| --------------- | ------------------------------------------------------------ | -------------------------------------- |
| `he`            | `properties.email` > `context.traits.email` > `traits.email` | SHA-256 hashed, lowercased and trimmed |
| `hph`           | `properties.phone` > `context.traits.phone` > `traits.phone` | SHA-256 hashed, lowercased and trimmed |

# Event Mapping

| Chord Event        | Yahoo Event Action (`ea`)               |
| ------------------ | --------------------------------------- |
| `page`             | *(auto page view on init)*              |
| `identify`         | Re-pushes config with updated user data |
| `Product Viewed`   | `ViewProduct`                           |
| `Product Added`    | `AddToCart`                             |
| `Checkout Started` | `BeginCheckOut`                         |
| `Order Completed`  | `Purchase`                              |

All other track events are silently skipped.

# Page Events

Page views are tracked automatically during pixel initialization. Subsequent page events do not fire additional calls to avoid double-counting.

# Identify Events

Re-pushes the pixel configuration with updated hashed user data (email and phone) for enhanced matching.

**Yahoo SDK call:** `dotq.push({ projectId, properties: { pixelId, he, hph } })`

# Product Viewed

**Yahoo SDK call:** `dotq.push({ projectId, properties: { pixelId, he, hph, qstrings } })`

| Yahoo Attribute (`qstrings`) | Chord Source (Priority Order)                                                                      | Notes                |
| ---------------------------- | -------------------------------------------------------------------------------------------------- | -------------------- |
| `et`                         | *(hardcoded)* `"custom"`                                                                           |                      |
| `ea`                         | *(hardcoded)* `"ViewProduct"`                                                                      |                      |
| `product_id`                 | `properties.product_id` > `properties.sku` > `properties.id` > `properties.products[0].product_id` | Omitted if not found |

# Product Added

Same payload structure as **Product Viewed**, with `ea` set to `"AddToCart"`.

# Checkout Started

Same payload structure as **Product Viewed**, with `ea` set to `"BeginCheckOut"`.

# Order Completed

**Yahoo SDK call:** `dotq.push({ projectId, properties: { pixelId, he, hph, qstrings } })`

| Yahoo Attribute (`qstrings`) | Chord Source (Priority Order)                                  | Notes                                        |
| ---------------------------- | -------------------------------------------------------------- | -------------------------------------------- |
| `et`                         | *(hardcoded)* `"custom"`                                       |                                              |
| `ea`                         | *(hardcoded)* `"Purchase"`                                     |                                              |
| `product_id`                 | Same as Product Viewed above                                   | Omitted if not found                         |
| `gv`                         | `properties.total` > `properties.revenue` > `properties.value` | Conversion value; omitted if not found       |
| `el`                         | `properties.order_id`                                          | Event label (order ID); omitted if not found |

# Initialization

The plugin initializes the `window.dotq` queue with the pixel configuration, then loads `https://s.yimg.com/wi/ytc.js`. After the script loads, it wires up the Yahoo beacon function to process queued events and handle future pushes.

The plugin manages SDK loading state (`fresh` → `loading` → `loaded`/`failed`) to prevent duplicate script loads. If the script fails to load, subsequent events are silently dropped.

# CSP Requirements

If your site uses a Content Security Policy, allow the following domains:

| Directive     | Domain               |
| ------------- | -------------------- |
| `script-src`  | `https://s.yimg.com` |
| `connect-src` | `https://s.yimg.com` |

***

**Updated 6 Apr 2026**

[title] Configuration
[path] Chord Event Tracking/Using with Shopify/Web Pixel/

The Chord web pixel has a few settings that appear as `const` variables at the top of the web pixel code you copied into Shopify:

```javascript
const CHORD_OMS_ID = ''
const CHORD_STORE_ID = ''
const CHORD_TENANT_ID = ''
const DEFAULT_LOCALE = 'en-US'
const CDP_DOMAIN = ''
const CDP_WRITE_KEY = ''
const STORE_DOMAIN = ''
```

All of these variables should be updated with the appropriate values. See the reference below for a description of what

### Configuration variable reference

| Variable          | Type   | Description                                                                                                                                       |
| ----------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| `CHORD_OMS_ID`    | string | A UUID assigned by Chord. This identifier is unique to the store, and will be the same across every environment and CDP source for a given store. |
| `CHORD_STORE_ID`  | string | A UUID assigned by Chord. This identifier is unique to the store, and will be the same across every environment and CDP source for a given store. |
| `CHORD_TENANT_ID` | string | A UUID assigned by Chord. This identifier is unique to the store, and will be the same across every environment and CDP source for a given store. |
| `DEFAULT_LOCALE`  | string | The default order locale. For example, `en-US`. See the [usage guide](docId\:gvuGCbQHfkHEUhE58wpKe) for more details.                             |
| `CDP_DOMAIN`      | string | Provided by Chord. The domain for your CDP website source.                                                                                        |
| `CDP_WRITE_KEY`   | string | Provided by Chord. The write key for your CDP website source.                                                                                     |
| `STORE_DOMAIN`    | string | The store slug that comes before `.myshopify.com` in the Shopify URL.                                                                             |


[title] Chord Event Tracking
[path] /

Chord is a commerce data platform for modern brands that streamlines the unification and activation of data across various business teams. As such, Chord has a recommended set of tracking events that commerce sites can implement to collect transactional and behavioral data. The following documentation enables modern brands to easily implement Chord event tracking on their sites, which in turn powers the comprehensive data analytics and insights presented on the Chord platform.

## How-to guides for the Chord Commerce Event Tracking

### Getting Started

- [Installing Chord Analytics](https://docs.chord.co/analytics-developer-docs)
- [API Reference](https://docs.chord.co/sdk-api-reference)
- [Implementation Checklist](https://docs.chord.co/analytics-developer-docs/implementation-checklist)
- [Formatters](https://docs.chord.co/formatters)

### Server Events

- [Server Events Overview](docId\:IkQZVvht-BFBSKyISgKJo)
- [Track](docId\:z57EPqMJDr7cJ3wQ1JxDO)

### Using with Shopify

- [Introduction](https://docs.chord.co/introduction)
- [Web Pixel](docId\:YbZ9CC0qUadUpZfcfvO96)
- [Server Event Tracking](docId\:q6xVtfkfFiPMHVVI2QcG0)

### Guides

- [Unifying Data Across Sources](https://docs.chord.co/unifying-data-across-sources)
- [Integrations](https://docs.chord.co/integrations)

### Consent Management ([overview](https://docs.chord.co/consent-management))

- [OneTrust](https://docs.chord.co/onetrust)
- [Shopify Customer Privacy API](https://docs.chord.co/shopify-customer-privacy-api)

### Release Notes

- [Chord Commerce Analytics](https://docs.chord.co/chordcommerceanalytics)

### Chord Commerce Tracking Plan

- [Tracking Plan](https://docs.chord.co/tracking-plan)


[title] Facebook Pixel
[path] Chord Event Tracking/Guides/Integrations/

## Overview

Chord’s Facebook integration works best when both browser and server events are sent to Facebook. We recommend configuring two Facebook Segment destinations:

1. A [Facebook Pixel destination](https://segment.com/docs/connections/destinations/catalog/facebook-pixel/), connected to your website front-end Segment source.
2. A [Facebook Conversions API destination](https://segment.com/docs/connections/destinations/catalog/actions-facebook-conversions-api/), connected to your server Segment source.

Alternatively, you can connect a second Facebook Conversions API destination to your website front-end Segment source and omit the Facebook Pixel destination.

This setup results in pre-checkout events (ex. `Product Added`) and one post-checkout event, `Order Completed`, being sent to Facebook from your website front end source, and post-checkout events (ex. `Order Completed`) being sent to Facebook from your server source.

`Order Completed` is duplicated from both sources for maximum reliability. For Chord tracking events, Facebook [handles duplicate events](https://developers.facebook.com/docs/marketing-api/conversions-api/deduplicate-pixel-and-server-events) by comparing the event name and the `external_id` property, which should be set to Segment’s`userId` (or `anonymousId` if not present). See instructions below for how to configure your Facebook Pixel and Conversions API destinations to use `userId`/`anonymousId` as Facebook’s `external_id`.

## Facebook Pixel destination

This destination loads the Facebook Pixel Javascript library in the browser and sends Chord events to it client-side, without hitting Segment’s servers first.

First, configure the Facebook Pixel destination [according to Segment documentation](https://segment.com/docs/connections/destinations/catalog/facebook-pixel/#getting-started).

### Event Mapping

To map Chord Segment events to standard Facebook events, create the mappings in the destination setting “Map Your Events to Standard FB Events”. The following mapping is recommended as a minimum:

- `Order Completed`, which Segment sends to Facebook as `Purchase`
- `Product Added`, which Segment sends as `AddToCart`
- `Product List Viewed`, which Segment sends as `ViewContent`
- `Product Viewed`, which Segment sends as `ViewContent`
- `Products Searched`, which Segment sends as `Search`
- `Checkout Started`, which Segment sends as `InitiateCheckout`

In Segment, this should look like:

![Segment event mapping](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/jW3aAxbCcNouZxbINGWHu_untitled.png "Segment Event Mapping")

You can add additional mappings here if you need them, too.

### External IDs

Enable two settings under **Advanced Settings**: “Enable Advanced Matching” and “Use User ID or Anonymous ID as External ID”. Enabling both of these sends the Segment `userId` (or `anonymousId` if not present) as the `external_id` to Facebook, which improves Facebook’s ability to connect Segment events from various sources to the same user.

### Implementation Checklist

- [ ] Connect Facebook Pixel destination to website front-end source
- [ ] Create event mappings in the destination setting “Map Your Events to Standard FB Events”
- [ ] Enable the destination settings “Enable Advanced Matching” and “Use User ID or Anonymous ID as External ID”

## Facebook Conversions API destination

The [Facebook Conversions API destination](https://segment.com/docs/connections/destinations/catalog/actions-facebook-conversions-api/) sends Chord events to Facebook via Facebook’s Conversions API. Chord events are sent to Segment, and then Segment sends the events to Facebook.

This destination can be connected to either browser or server event sources. If connected to a browser event source, the Facebook Pixel destination should not be used for that same browser event source, because that will gather duplicate data.

First, configure the Facebook Conversions API destination [according to Segment documentation](https://segment.com/docs/connections/destinations/catalog/actions-facebook-conversions-api/#getting-started).

Next, the Facebook Conversions API destination requires you to map Chord Segment events to Facebook standard events.

**Using with Chord’s server source**

At a minimum, we recommend mapping the following Chord server source events to Facebook standard events:

- `Order Completed`, which Segment sends as `Purchase`

When you’re creating event mappings, you’re required to provide a value for the **Action Source** property in the **Select mappings** section. Select “SYSTEM GENERATED” as the action source. See [Facebook’s documentation](https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/server-event) of the `action_source` property for descriptions of the different options.

**Using with Chord’s website front-end source**

At a minimum, we recommend mapping the following Chord website front-end events to Facebook standard events:

- `Order Completed`, which Segment sends as `Purchase`
- `Product Added`, which Segment sends as `AddToCart`
- `Product List Viewed`, which Segment sends as `ViewContent`
- `Product Viewed`, which Segment sends as `ViewContent`
- `Products Searched`, which Segment sends as `Search`
- `Checkout Started`, which Segment sends as `InitiateCheckout`

When you’re creating event mappings, you’re required to provide a value for the **Action Source** property in the **Select mappings** section. Select “WEBSITE” as the action source. See [Facebook’s documentation](https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/server-event) of the `action_source` property for descriptions of the different options.

![Select "WEBSITE" as the action source](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/8LH1VFtngvKWITxV_-cN-_untitled-1.png)

### External IDs

By default, the Conversions API destination correctly maps Facebook’s `external_id` property to Segment’s `userId` (or `anonymousId` if not present). Don’t make changes to this configuration.

![Map to externalID](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/JXY5Vu5KJNttCMBnpiNJQ_untitled-2.png)

### Implementation Checklist

- [ ] Connect the Facebook Conversions API destination to the server source
- [ ] If not using the Facebook Pixel destination, connect the Facebook Conversions API destination to the website front-end source as well
- [ ] Create event mappings, following the minimum recommended mapping listed above, and remember to specify the correct “Action Source” property for each mapping


[title] TikTok
[path] Chord Event Tracking/Guides/Integrations/

## Introduction

Chord supports the [TikTok Conversions Segment destination](https://segment.com/docs/connections/destinations/catalog/tiktok-conversions/). This destination sends website events from your Chord website to the TikTok events API, which allows you to see website events in TikTok.

## Segment Configuration

Review the official [Segment destination](https://segment.com/docs/connections/destinations/catalog/tiktok-conversions/) documentation for general configuration. After you've configured the destination, there are a couple of additional steps that improve the quality of the integration.

### Add event mapping for “Complete Payment” event

The TikTok Segment destination does not include a default mapping for TikTok’s “Complete Payment” event, which is one of the events TikTok uses to measure transactions. This mapping must be added manually in the Segment destination configuration for TikTok to report any transactions.

To configure, navigate to the TikTok destination in Segment and select the “Mappings” tab. Select "New Mapping" and choose "Report Web Event."

First, in the mapping configuration, enter "Order Completed" as the event name:

::Image[]{alt="Enter &#x22;Order Completed&#x22; as the event name." src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/RGRM_1JB3P6UTZpVebfHr_image.png" size="90" width="2203" height="503" position="flex-start" showCaption="false"}

Second, enter "CompletePayment" as the value to map to TikTok's "Event Name":

::Image[]{alt="Enter &#x22;CompletePayment&#x22; as the value to map to TikTok's &#x22;Event Name.&#x22;" src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/yqyrDmFCxd7hHdL5Ej9-T_image.png" size="90" width="2207" height="584" position="flex-start" showCaption="false"}

Now "Order Completed" events will appear as "CompletePayment" events in TikTok.

### Configure content type for events

You might see this error in the TikTok diagnostics tab:

:::BlockQuote
The content type for one or more of your events is invalid. Content type must be either "product" or "product\_group".
:::

To fix this error, navigate to the TikTok destination in Segment and select the “Mappings” tab. For each event that sends product data (by default, "View Content," "Product Added," "Checkout Started," and "Order Completed"), choose “Edit Mapping”.

Find the "Contents" section on the mapping page and make sure "content\_type" is set to "product." (The default is `properties.category`.)

::Image[]{src="https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/fdrqYoehEyMNC7ZT-mOHp_image-3-27-2023-at-1140-am.jpg" size="90" width="2772" height="1508" position="flex-start" showCaption="false"}

## Website Configuration

### Add `ttclid` property to Segment events for attribution

Optionally, you can include a `ttclid` property on Segment events to match website visitor events with clicks from TikTok ads. See [TikTok's documentation](https://ads.tiktok.com/help/article/tiktok-click-id?lang=en) for more background.

To add the `ttclid` property to Segment events that are sent by Chord’s SDKs, we recommend using Segment [analytics.js middleware](https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/middleware/) to add the property. Segment middleware allows you to intercept events before they are sent to Segment and add additional data.

Here's an example of how you might retrieve the `ttclid` from the URL and append it to Segment events:

```javascript
// This React component should be included at the root of the application.
// It should only be mounted once.

import { useEffect } from 'react'

const getCookie = name => {
  return document.cookie.split('; ').reduce((r, v) => {
    const parts = v.split('=')
    return parts[0] === name ? decodeURIComponent(parts[1]) : r
  }, null)
}

const Tracking = () => {
  useEffect(() => {
    try {
      const params = new URLSearchParams(window.location.search)

      // retrieve ttclid
      const ttclid = params.get('ttclid') || getCookie('ttclid')

      // if ttclid is present in the URL, store it in a cookie so it can be accessed later
      if (params.get('ttclid')) {
        document.cookie = `ttclid=${ttclid}`
      }

      // add Segment middleware that adds a ttclid property to every tracking event
      window.analytics?.addSourceMiddleware(({ payload, next }) => {
        if (ttclid) {
          payload.obj.properties.ttclid = ttclid
        }
        next(payload)
      })
    } catch (error) {
      console.error(error)
    }
  }, [])

  return null
}

export default Tracking

```


[title] Usage
[path] Chord Event Tracking/Using with Shopify/Web Pixel/

The Chord web pixel automatically sends the following events to the CDP:

- A `page` event for every page view
- An `identify` event when a customer submits contact information during checkout, or logs into their account
- The following `track` events:
  - "Cart Viewed"
  - "Checkout Started"
  - "Checkout Step Completed"
  - "Order Completed"
  - "Payment Info Entered"
  - "Product List Viewed"
  - "Product Added"
  - "Product Removed"
  - "Product Viewed"
  - "Products Searched"

You can customize the web pixel code to add additional custom events or event properties. We recommend keeping track of changes you make to the web pixel code, so you can upgrade in the future.

## Adding custom events

You may want to add custom events from the [Chord tracking plan](https://docs.chord.co/tracking-plan) to your storefront to track any other events users perform on your store. These custom events will be added to the Chord data warehouse.

:::hint{type="warning"}
Other CDP destinations (e.g. third party services) do not support sending custom events - they will only respond to events within Chord's tracking plan.
:::

**1) Publish custom event from theme**

First, from your Shopify theme, publish a custom Shopify event with all the data you'll need to construct the Chord tracking event, using `Shopify.analytics.publish` in a `<script>` tag. Here's an example:

```javascript
const event_name = 'chord_navigation_clicked';
const event_data = {
  category: 'Support',
  label: 'Contact Us',
  navigation_placement: 'footer',
  navigation_title: 'Contact',
  navigation_url: 'https://example.com/contact',
}

Shopify.analytics.publish(event_name, event_data);
```

See more on publishing custom Shopify events [here](https://shopify.dev/docs/api/web-pixels-api/emitting-data#publishing-custom-events). We recommend prefixing the event name with `chord_` or similar to prevent confusion, because all custom Shopify events are sent to all web pixels.

**2) Subscribe to custom event from web pixel**

Next, you have to update your Chord web pixel code to listen for the new event and sent it to the CDP. Here's an example:

```javascript
analytics.subscribe('chord_navigation_clicked', async (event) => {
  const eventName = 'Navigation Clicked' // CDP event name
  const props = event.customData // CDP event properties
  
  await track(eventName, props)
})
```

Note that `eventName` and `props` are the name and properties of the resulting CDP event, so if you're using an event from the [Chord tracking plan](https://docs.chord.co/tracking-plan), make sure the `eventName` is correct.

## Using with CDP device-mode destinations

You may need to add some extra configuration for CDP device-mode destinations to work with the Chord web pixel.

The Chord web pixel contains a snippet to load a CDP library (e.g. Chord CDP or Segment's [analytics.js](https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/)). That library in turn loads the JavaScript for any [device-mode destinations](https://segment.com/docs/connections/destinations/). For example, the [Google Analytics 4 Web Destination](https://segment.com/docs/connections/destinations/catalog/actions-google-analytics-4-web/#faq-and-troubleshooting) loads the gtag.js library client-side and maps Chord events directly to gtag.js events.&#x20;

Shopify loads web pixel code in an `iframe` element that has the `sandbox` attribute defined with the `allow-scripts` and `allow-forms` values. This prevents web pixel code from accessing the top frame. Some device-mode destination JavaScript may behave unpredictably in this environment. [Shopify's documentation](https://help.shopify.com/en/manual/promoting-marketing/pixels/overview#pixels-sandbox-limitations) lists the following known limitations of the sandbox environment:

- Can't render user interface elements, such as buttons, forms, banners, or modals
- Automatic detection of events from DOM scraping
- Automatic detection of metadata from DOM scraping
- Automatic detection of user information, such as email and phone, from DOM scraping
- Automatic detection of outbound link clicks from DOM scraping
- Automatic detection of page scrolling
- Automatic detection of clicks and mouse movement to create heatmaps from DOM scraping

These limitations extend to any device-mode destinations you connect.

The most notable limitation is that `window.href` returns the sandbox URL instead of the top frame URL. Device-mode destinations that register page views may show a URL that looks like `/wpm@bf0a1c21w3867u34522fdp2197aec3mf92342/custom/web-pixel-87687490@19/sandbox/modern/cart` instead of the expected storefront URL, if they use `window.href` instead of the CDP's pageview event properties.

To fix incorrect page view URLs, check the destination settings, and if the destination supports mappings for page views, adjust the destination mapping to map the pageview event property `properties.url` to the URL property in the destination.

For example, if you're using the [Google Analytics 4 Web Destination](https://segment.com/docs/connections/destinations/catalog/actions-google-analytics-4-web/#faq-and-troubleshooting), navigate to the pre-built "Set Configuration Fields" mapping and map `properties.url` to the "Page Location", as shown here:

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/u7Ah2smOfh73TOgmBCB5G_image.png)

Save the mapping, and the correct URLs will appear in GA4 for future events.

## Including locale in events

Chord tracking events typically include the customer locale (e.g., "en-US") so you can filter your event data using that property. However, Shopify web pixels don't have access to the current locale, so you need to update the web pixel code to detect it accurately.&#x20;

If your store only supports one locale, or you don't need to support locale filtering, just update the value of the `DEFAULT_LOCALE` variable.

If your store supports more than one locale, and you want to filter your event data by locale, you'll need a more customized approach. Shopify web pixels [can access](https://shopify.dev/docs/api/web-pixels-api/standard-api/browser) cookies and `localStorage` from the parent frame, so we recommend setting a cookie or a `localStorage` property with the current locale from your Shopify theme or headless storefront site, and then updating the `getMeta` function in the Chord web pixel code to read the locale. See Shopify's [documentation](https://shopify.dev/docs/api/web-pixels-api/standard-api/browser) of the `browser` API to see how to read cookies or `localStorage` properties.

For example, if your storefront sets a cookie called `locale`, you could include that in tracking events like this:&#x20;

```javascript
async function getMeta() {
  if (!currency) {
    currency = await browser.cookie.get('cart_currency')
  }
  
  /* START CUSTOM CODE */
  locale = await browser.cookie.get('locale');
  /* END CUSTOM CODE */
  
  return {
    i18n: {
      currency,
      locale,
    },
    ... // rest
```

## Known tracking event issues&#x20;

Chord web pixel events use the data provided by Shopify's [web pixel framework](https://shopify.dev/docs/api/web-pixels-api/standard-events). There are some ways in which Chord web pixel events differ from Chord events from other libraries, due to the data that's available from Shopify in the web pixel context. Known differences are listed below:

**All pre-checkout events**

Discounts and coupon data is not available in tracking events until checkout has started. In pre-checkout events like "Cart Viewed", discounts are not factored into the `total` or `value` properties, and the `coupon` property is never populated.

**"Cart Viewed"**

When a “Buy X get Y” promotion is applied, the line item with the discount is not in the `products` array, and the `value` property doesn’t include the value of the discounted line item.

**"Product Added"**

The event is fired both when a product is initially added to the cart and when the quantity of an existing cart line item is increased.

**"Product Removed"**

The event is fired both when a line item is completely removed from the cart and when the quantity of an existing cart line item is decreased.

## Connecting front-end events and server events

Chord typically sends tracking events to the CDP from two sources:

- Your website front-end, either using the Chord Shopify web pixel, theme snippet, or `@chordcommerce/analytics`, and;
- Chord's server events service, which sends tracking events from a Shopify custom source function in your CDP workspace in response to webhook triggers from Shopify.&#x20;

To associate server events and front-end storefront events with the same session, the website front-end needs to save a few browser identifiers as attributes on the cart or order, so they can be retrieved later by the server source and included in CDP events. This needs to be done from the storefront, before the customer reaches checkout.

If you're using the Chord web pixel to instrument your storefront, you will need to add some code to your Shopify theme to handle this. We've created a script that makes this easy. Simply add the following to your theme:

```html
<script src="https://cdn.chord.co/analytics-liquid-identifiers/v1/analytics-liquid-identifiers.min.js" defer="defer"></script>
```

If you'd like to implement this yourself instead, you need to add two attributes:

| Attribute name    | Description                                                              | Example value                          |
| ----------------- | ------------------------------------------------------------------------ | -------------------------------------- |
| `_cdpAnonymousId` | CDP session identifier. Read this from the `ajs_anonymous_id` cookie.    | `32e5434e-ed1a-42bf-acd9-64de286879fa` |
| `_googleClientId` | Google client ID. Read this from the `_ga` cookie, with `.substring(6)`. | `961446296.1716300180`                 |

In a Shopify theme, you can add cart attributes using the [Cart API](https://shopify.dev/docs/api/ajax/reference/cart#update-cart-attributes). We recommend adding these attributes at a time that doesn’t block user interaction with your site, like when the cart page loads or after a product is added to the cart.

See [Unifying Data Across Sources](docId\:FYmI5G8eWB-YYpyh-GU4o) for more details.

[title] TikTok Conversions API
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

The **TikTok Conversions API** destination sends event data directly from Chord CDP to TikTok's servers, bypassing the browser entirely. Unlike the [TikTok Pixel (device mode)](), server-side events are immune to ad blockers and browser tracking restrictions, providing more reliable signal for attribution and optimization.

Use this destination alongside the [TikTok Pixel destination]() for maximum data coverage. TikTok deduplicates events using the `event_id` field.

# Getting Started

This is a cloud-mode destination. You will need:

- **Access Token** — generated via TikTok Ads Manager or the TikTok API. Found in **Assets > Events > Web Events > Settings**.
- **Pixel Code** — your TikTok Pixel ID, found in your TikTok Ads Manager under **Assets > Events > Web Events**.

Optionally:

- **Test Event Code** — a test event code from the TikTok Ads events manager. When set, events are tagged for test mode and will appear in the TikTok test events dashboard.

# Connecting to the TikTok Conversions API CDP Destination

:::BlockQuote
**Warning:** Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are **disabled**. Running external destinations alongside configured Chord CDP destinations **can result in duplicate events downstream.**
:::

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **TikTok Conversions API** from the destination catalog.
5. Enter the destination name, **Access Token**, and **Pixel Code**.
6. Optionally enter a **Test Event Code** during initial setup.
7. Click **"Create"** to connect.

# Events

# Event Mapping

| Chord Event                 | TikTok Event                                             |
| --------------------------- | -------------------------------------------------------- |
| `page`                      | `PageView`                                               |
| `Order Completed`           | `CompletePayment`                                        |
| `Checkout Started`          | `InitiateCheckout`                                       |
| `Product Added`             | `AddToCart`                                              |
| `Product Viewed`            | `ViewContent`                                            |
| `Products Searched`         | `Search`                                                 |
| `Payment Info Entered`      | `AddPaymentInfo`                                         |
| `Product Added to Wishlist` | `AddToWishlist`                                          |
| `Product Clicked`           | `ClickButton`                                            |
| `Signed Up`                 | `CompleteRegistration`                                   |
| `Subscription Created`      | `Subscribe`                                              |
| *(any other track event)*   | Chord event name passed as-is<br />See [Custom Events]() |

# User Data (All Events)

All user data fields are SHA-256 hashed before sending, except where noted.

| TikTok Attribute | Chord Source (Priority Order)                                                                       | Notes                                                   |
| ---------------- | --------------------------------------------------------------------------------------------------- | ------------------------------------------------------- |
| `external_id`    | `userId` > `anonymousId`                                                                            | SHA-256 hashed                                          |
| `email`          | `properties.email` > `context.traits.email`                                                         | SHA-256 hashed, lowercased                              |
| `phone`          | `properties.phone` > `context.traits.phone`                                                         | SHA-256 hashed, E.164 format                            |
| `first_name`     | `properties.first_name` > `context.traits.first_name`                                               | SHA-256 hashed                                          |
| `last_name`      | `properties.last_name` > `context.traits.last_name`                                                 | SHA-256 hashed                                          |
| `city`           | `properties.address.city` > `context.traits.address.city`                                           | Lowercased, non-alphanumeric chars removed (not hashed) |
| `state`          | `properties.address.state` > `context.traits.address.state`                                         | Lowercased, non-alphanumeric chars removed (not hashed) |
| `country`        | `properties.address.country` > `context.traits.address.country`                                     | Lowercased, non-alphanumeric chars removed (not hashed) |
| `zip_code`       | `properties.address.postal_code` / `properties.address.zip_code` > `context.traits.address.zipcode` | SHA-256 hashed                                          |
| `ip`             | `context.ip`                                                                                        | Not hashed                                              |
| `user_agent`     | `context.userAgent`                                                                                 | Not hashed                                              |
| `locale`         | `context.locale`                                                                                    | Not hashed                                              |
| `ttclid`         | `properties.ttclid` > URL query param `ttclid`                                                      | TikTok click ID                                         |
| `ttp`            | `properties.ttp`                                                                                    | TikTok cookie                                           |

# Page Data (All Events)

| TikTok Attribute | Chord Source (Priority Order)                   |
| ---------------- | ----------------------------------------------- |
| `url`            | `properties.url` > `context.page.url`           |
| `referrer`       | `properties.referrer` > `context.page.referrer` |

# Event Data (All Events)

| TikTok Attribute   | Chord Source                                     | Notes                                         |
| ------------------ | ------------------------------------------------ | --------------------------------------------- |
| `event`            | Mapped event name                                | See event mapping above                       |
| `event_time`       | `timestamp`                                      | Unix seconds; falls back to current time      |
| `event_id`         | `messageId`                                      | Used for deduplication with device-mode pixel |
| `limited_data_use` | `event.limited_data_use` (top-level event field) | Defaults to `false`                           |

# Order Properties (All Track Events)

| TikTok Attribute | Chord Source (Priority Order)                                                               | Notes                            |
| ---------------- | ------------------------------------------------------------------------------------------- | -------------------------------- |
| `currency`       | `properties.currency`                                                                       |                                  |
| `value`          | `properties.value` > `properties.revenue` > calculated from `contents` (`price × quantity`) |                                  |
| `order_id`       | `properties.order_id`                                                                       |                                  |
| `shop_id`        | `properties.shop_id`                                                                        |                                  |
| `content_type`   | `properties.content_type`                                                                   | `"product"` or `"product_group"` |
| `description`    | `properties.description`                                                                    |                                  |
| `query`          | `properties.query` > `properties.search_term`                                               | Relevant for Products Searched   |

# Multi-Product Events

For **Order Completed**, **Checkout Started**, and **Payment Info Entered**, products are read from `properties.products[]`:

| TikTok Attribute   | Chord Source                       |
| ------------------ | ---------------------------------- |
| `content_id`       | `properties.products[].product_id` |
| `content_name`     | `properties.products[].name`       |
| `content_category` | `properties.products[].category`   |
| `price`            | `properties.products[].price`      |
| `quantity`         | `properties.products[].quantity`   |
| `brand`            | `properties.products[].brand`      |

# Single-Product Events

For **Product Added**, **Product Viewed**, **Product Clicked**, **Products Searched**, and **Product Added to Wishlist**, product data is read from top-level `properties`:

| TikTok Attribute   | Chord Source            |
| ------------------ | ----------------------- |
| `content_id`       | `properties.product_id` |
| `content_name`     | `properties.name`       |
| `content_category` | `properties.category`   |
| `price`            | `properties.price`      |
| `quantity`         | `properties.quantity`   |
| `brand`            | `properties.brand`      |

# Custom Events

Any `track` event that does not match a Chord tracking plan event name is forwarded to TikTok using the Chord event name as-is. TikTok accepts arbitrary event names for reporting and audience segmentation, though only TikTok standard event names support campaign bid optimization.

The following non-tracking-plan events have explicit TikTok standard event name mappings and will be translated automatically if your storefront fires them:

| Chord Event             | TikTok Event | Notes                                                             |
| ----------------------- | ------------ | ----------------------------------------------------------------- |
| `Form Submitted`        | `SubmitForm` | Sends `form_name` from `properties.form_name` > `properties.name` |
| `Callback Started`      | `Contact`    |                                                                   |
| `Download Link Clicked` | `Download`   |                                                                   |

If the TikTok event name you want to fire does not match your Chord event name, use a property mapping in the Hub to rename the event before it reaches this destination.

# Testing and Validation

After connecting the destination:

1. Set a **Test Event Code** in the destination configuration.
2. Trigger events from your storefront or use the **Live Events** tab in the Chord CDP.
3. In TikTok Ads Manager, navigate to **Assets > Events > Web Events** and open the **Test Events** tab to verify events are received.
4. Remove the **Test Event Code** before going live to avoid events being excluded from campaigns.

# Custom Property Forwarding

Configure destination mappings in Hub with `properties.*` destination paths to forward additional event properties into the TikTok event's `properties` object (the same object that holds `currency`, `value`, `contents`, etc.). Only explicitly-configured non-schema fields are forwarded — nothing flows through automatically.

**How to configure:**

1. Open the destination's **Mappings** tab in Hub.
2. Add a mapping with source path `properties.loyalty_tier` and destination path `properties.loyalty_tier`.
3. On the next event, `loyalty_tier` will appear in the properties payload sent to TikTok.

**What is excluded:**

- Schema fields already handled by the destination transform (e.g. `currency`, `value`, `order_id`, `contents`) — these flow through the structured transform
- PII fields (`email`, `phone`, `first_name`, `last_name`) — these are handled via `user_data` with SHA-256 hashing

When a custom mapping targets a schema field (e.g. `properties.value → properties.value`), the customer-configured value overrides the destination's computed default. This allows schema fields to be sourced from a different event property — for example, mapping `properties.total → properties.value` to use your order total as the conversion value.

***

**Updated 27 May 2026**

[title] StackAdapt Pixel
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

**StackAdapt** is a programmatic advertising platform for native, display, video, and connected TV campaigns. This destination loads the StackAdapt Universal Pixel in the browser and forwards identify and track events for conversion measurement and audience targeting. There is no server-side component.

# Getting Started

This is a device-mode destination. The StackAdapt Universal Pixel is loaded automatically — no manual script installation is required. You will need:

- **Pixel ID** — your Universal Pixel ID, found in the **Pixels** page in your StackAdapt account.

# Connecting to the StackAdapt CDP Destination

:::BlockQuote
**Warning:** Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are **disabled**. Running external destinations alongside configured Chord CDP destinations **can result in duplicate events downstream.**
:::

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **StackAdapt** from the destination catalog.
5. Enter the destination name and your **Pixel ID**.
6. Click **"Create"** to connect.

# Events

# Event Mapping

| Chord Event Type | StackAdapt SDK Call                    | Notes                                                            |
| ---------------- | -------------------------------------- | ---------------------------------------------------------------- |
| `page`           | `saq("ts", pixelId)`                   | Page view tracking call                                          |
| `identify`       | *(stores user traits in memory)*       | Traits attached to subsequent track events; not sent immediately |
| `track`          | `saq("conv", pixelId, conversionData)` | All track events forwarded as conversions                        |

# Page Events

Fires a StackAdapt page view tracking call.

**StackAdapt SDK call:** `saq("ts", pixelId)`

No additional attributes are sent with page events.

# Identify Events

Identify events store user traits in browser memory. These traits are **not** sent to StackAdapt immediately — they are attached to all subsequent track conversion events for the duration of the browser session.

| StackAdapt Trait | Chord Source (Priority Order)                                               |
| ---------------- | --------------------------------------------------------------------------- |
| `email`          | `properties.email` > `context.traits.email` > `traits.email`                |
| `first_name`     | `properties.first_name` > `context.traits.first_name` > `traits.first_name` |
| `last_name`      | `properties.last_name` > `context.traits.last_name` > `traits.last_name`    |
| `phone`          | `properties.phone` > `context.traits.phone` > `traits.phone`                |

# Track Events

Sends a conversion event to StackAdapt with ecommerce data and any previously stored user traits from `identify` calls.

**StackAdapt SDK call:** `saq("conv", pixelId, conversionData)`

## Always Included

| StackAdapt Attribute | Chord Source                   | Notes                                   |
| -------------------- | ------------------------------ | --------------------------------------- |
| `action`             | `event` (the track event name) |                                         |
| `email`              | Stored from `identify`         | Included if an `identify` call was made |
| `first_name`         | Stored from `identify`         | Included if an `identify` call was made |
| `last_name`          | Stored from `identify`         | Included if an `identify` call was made |
| `phone`              | Stored from `identify`         | Included if an `identify` call was made |

## Order-Level Attributes

| StackAdapt Attribute | Chord Source (Priority Order)                                                             | Notes                                     |
| -------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------- |
| `order_id`           | `properties.cart_id` / `properties.order_id`                                              | Included if present                       |
| `revenue`            | `properties.revenue` > `properties.total` > `properties.value` > calculated from products | Prefers subtotal (excluding tax/shipping) |
| `currency`           | `properties.currency`                                                                     | Defaults to `"USD"`                       |

## Product Attributes (Single Product)

When `properties.products[]` contains exactly one product, product fields are sent as flat attributes:

| StackAdapt Attribute | Chord Source (Priority Order)                                                                    |
| -------------------- | ------------------------------------------------------------------------------------------------ |
| `product_id`         | `properties.products[0].product_id` > `properties.products[0].id` > `properties.products[0].sku` |
| `product_category`   | `properties.products[0].category`                                                                |
| `product_name`       | `properties.products[0].name`                                                                    |
| `product_price`      | `properties.products[0].price`                                                                   |
| `product_quantity`   | `properties.products[0].quantity` — defaults to `1`                                              |

## Product Attributes (Multiple Products)

When `properties.products[]` contains two or more products, they are sent as a `products` array. Each element uses the same field mapping as the single product above. Empty product objects are filtered out.

# Initialization

The plugin loads the StackAdapt Universal Pixel script. The plugin manages SDK loading state (`fresh` → `loading` → `loaded`/`failed`) to prevent duplicate script loads. If the script fails to load, subsequent events are silently dropped.

# CSP Requirements

If your site uses a Content Security Policy, allow the following domains:

| Directive     | Domain                                                    |
| ------------- | --------------------------------------------------------- |
| `script-src`  | `https://tags.srv.stackadapt.com`                         |
| `connect-src` | `https://tags.srv.stackadapt.com`, `https://qvdt3feo.com` |
| `style-src`   | `https://tags.srv.stackadapt.com`                         |

***

**Updated 6 Apr 2026**

[title] Integrations
[path] Chord Event Tracking/Guides/

## *What are integrations?*

Integrations connect your software to third-party applications so they can share information with each other. They share data from one system to the next which provides you with more features and options while using your software.


[title] Shopify consent management
[path] Chord Event Tracking/Getting started/Shopify/

Chord integrates with Shopify's Customer Privacy API to manage user consent preferences. This ensures events are only sent to destinations that the customer has consented to, helping you comply with privacy regulations like GDPR and CCPA.

## How It Works

Before sending any events, Chord checks the customer's consent status using Shopify's Customer Privacy API:

1. The custom web pixel checks if tracking is allowed by verifying that both `analyticsProcessingAllowed()` and `marketingAllowed()` return `true`.
2. If tracking is not allowed, no events are sent to the Chord CDP.
3. If tracking is allowed, a consent object is attached to every event describing the customer's preferences for each consent category.
4. The Chord CDP uses the consent category mappings you configure to determine which destinations receive each event.

## Step 1: Confirm Pixel Settings

In your Shopify Admin, go to **Customer Events > Custom Pixels > Your Chord CDP Pixel&#x20;**&#x61;nd confirm the options in the `Customer privacy` configuration above the pixel code

**Note:&#x20;**&#x54;hese settings are ***recommended*** by the Chord team as the CDP pixel is deployed with these permissions in mind. If these need to be set to a different configuration, please reach out to ***help\@chord.co&#x20;***

### Permission

- `Required` - **selected**
  - `Marketing` - **enabled**
  - `Analytics` - **enabled**

**Why "Required" with Marketing + Analytics:**

When set to "Required", Shopify populates the `customerPrivacyStatus` object that the pixel reads. The Marketing and Analytics checkboxes tell Shopify that these are the consent categories relevant to this pixel. Without them, the consent fields may not reflect the visitor's actual choices.

### Data Sale

- `Data collected qualifies as data sale` - **selected**

**Why "Data collected qualifies as data sale":**

This ensures the `saleOfDataAllowed` flag is populated when a visitor opts out of data sale (e.g., under CCPA). If set to "does not qualify", this flag would always return as allowed, even if the visitor opted out.

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/4STyUgw8GnVE79q9eXm9N_image.png)

## Step 2: Configure Customer Privacy in Shopify

In your Shopify Admin, go to **Settings > Customer privacy**.

### Cookie Banner (Required)

The cookie banner **must** be enabled for Chord's consent management to work. Without it, the Customer Privacy API is unavailable and Chord will not send any events.

To enable:

1. Select **Cookie banner** > **Activate cookie banner**.
2. Choose the regions where the banner should appear.
3. Click **Activate**.

Alternatively, to use a custom banner from the Shopify App Store:

1. Select **Cookie banner** > **More actions** > **Use custom cookie banner**.
2. Choose regions and click **Activate**.

### Data Sales Opt-Out Page (Recommended)

Allows visitors to control how their data is shared with third parties.

1. Select **Data-sales opt-out page**.
2. Choose regions and click **Activate**.

## Step 3: Configure Consent Categories in Chord CDP

Shopify's Customer Privacy API provides four consent categories. You need to map these in the Chord CDP so events are routed to the correct destinations based on customer preferences.

In the Chord CDP, navigate to **CDP > Consent Categories > Create Your First Consent Category** and add these four categories:

| Category Name (customizable) | Category ID (must be exact) |
| ---------------------------- | --------------------------- |
| Performance cookies          | `analytics`                 |
| Marketing cookies            | `marketing`                 |
| Preference cookies           | `preferences`               |
| Sale of data                 | `sale_of_data`              |

For each category, choose which destinations should be mapped. Mapping a destination to a category means that destination will only receive events if the customer has consented to that category.

### Consent Category Definitions

- **analytics** — Customer analytics about storefront usage and interactions. Collected by Shopify's cookie banner as "performance cookies."
- **marketing** — Marketing, attribution, and targeted advertising. Collected as "marketing cookies."
- **preferences** — Customer preferences such as language, currency, and size. Collected as "preference cookies."
- **sale\_of\_data** — Sharing data with third parties for behavioral advertising. Collected by Shopify's data sales opt-out page.

## How Consent Is Transmitted

The custom web pixel reads the customer's consent preferences from the Customer Privacy API and constructs a consent object on every event:

```json
{
  "analytics": true,
  "marketing": true,
  "preferences": true,
  "sale_of_data": false
}
```

The values are determined by Shopify's Customer Privacy API methods:

| Category       | Shopify API Method                               |
| -------------- | ------------------------------------------------ |
| `analytics`    | `customerPrivacy.analyticsProcessingAllowed()`   |
| `marketing`    | `customerPrivacy.marketingAllowed()`             |
| `preferences`  | `customerPrivacy.preferencesProcessingAllowed()` |
| `sale_of_data` | `customerPrivacy.saleOfDataAllowed()`            |

## Global Privacy Control (GPC)

Chord CDP recognizes the Global Privacy Control signal as an opt-out of data sales. If a customer has GPC activated in their browser and is browsing from a region where opting out is supported, the `sale_of_data` category will be set to `false`.

## No Additional Code Required

Consent management is handled automatically by the custom web pixel and the Chord CDP. You do not need to add any consent-related code to your storefront — the web pixel reads consent status from Shopify's Customer Privacy API and includes it with every event.

[title] Configuration
[path] Chord Event Tracking/Getting started/

This page documents all configuration options for the `@chordcommerce/analytics` library.

## Initialization Options

| Property                 | Required | Default   | Description                                                                                    |
| ------------------------ | -------- | --------- | ---------------------------------------------------------------------------------------------- |
| `cdpDomain`              | Yes\*    | —         | Your Chord domain (provided by the Chord team)                                                 |
| `cdpWriteKey`            | Yes\*    | —         | Your Chord write key (provided by the Chord team)                                              |
| `cdp`                    | No\*     | —         | Reference to an external analytics library. If provided, events are also sent to that library. |
| `formatters`             | Yes      | —         | Functions for transforming your platform's data into the Chord tracking plan format            |
| `metadata`               | Yes      | —         | Event metadata identifying your store and platform                                             |
| `consent`                | No       | —         | Consent adapter: `"onetrust"`, `"ketch"`, or `"shopify"`                                       |
| `awaitConsent`           | No       | `false`   | If `true`, delays sending events until consent is given (timeout: 1 minute)                    |
| `debug`                  | No       | `false`   | Validates events against the tracking plan and logs warnings. Recommended during development.  |
| `enableLogging`          | No       | `true`    | Logs errors via `console.log`                                                                  |
| `namespace`              | No       | `"chord"` | The global namespace where the Chord instance is available (e.g., `window.chord`)              |
| `stripNull`              | No       | `true`    | Removes properties with null values from events before sending                                 |
| `enableWebPixelListener` | No       | `true`    | Receives events from Chord's Shopify custom web pixel. Disable if not using the web pixel.     |

:::BlockQuote
\*At least one of `cdpDomain`/`cdpWriteKey` or `cdp` must be provided. If all three are omitted, no events are sent.
:::

## Metadata

Metadata is included with every event and identifies your store to Chord.

```typescript
metadata: {
  i18n: {
    currency: 'USD',      // ISO 4217 currency code (uppercase)
    locale: 'en-US',      // Locale string
  },
  ownership: {
    omsId: '...',          // UUID assigned by Chord
    storeId: '...',        // UUID assigned by Chord
    tenantId: '...',       // UUID assigned by Chord
  },
  platform: {
    name: 'Shopify',       // Your commerce platform name
    type: 'web',           // 'web' or 'pos'
  },
  store: {
    domain: 'my-store',    // Store slug (for Shopify: the part before .myshopify.com)
  },
}
```

### Metadata Fields

| Property                      | Required | Description                                                   |
| ----------------------------- | -------- | ------------------------------------------------------------- |
| `metadata.i18n.currency`      | Yes      | ISO 4217 currency code, uppercase (e.g., `USD`, `GBP`, `EUR`) |
| `metadata.i18n.locale`        | Yes      | Locale string (e.g., `en-US`, `fr-FR`)                        |
| `metadata.ownership.omsId`    | Yes      | UUID assigned by Chord (unique per store)                     |
| `metadata.ownership.storeId`  | Yes      | UUID assigned by Chord (unique per store)                     |
| `metadata.ownership.tenantId` | Yes      | UUID assigned by Chord (unique per organization)              |
| `metadata.platform.name`      | Yes      | Commerce platform name (e.g., `Shopify`, `Custom`)            |
| `metadata.platform.type`      | Yes      | Platform type: `web` or `pos`                                 |
| `metadata.store.domain`       | Yes      | Store domain or slug                                          |

## Formatters

Formatters are functions that transform your platform's data structures into the format expected by the Chord tracking plan. There are two types: **object formatters** (required) and **event formatters** (optional).

### Object Formatters (Required)

You must provide formatters for four core data types. Each formatter receives a props object and returns a plain object matching the Chord tracking plan schema.

| Formatter                     | Input          | Description                                           |
| ----------------------------- | -------------- | ----------------------------------------------------- |
| `formatters.objects.cart`     | `{ cart }`     | Transforms your cart object into tracking plan format |
| `formatters.objects.checkout` | `{ checkout }` | Transforms your checkout object                       |
| `formatters.objects.lineItem` | `{ lineItem }` | Transforms a single line item                         |
| `formatters.objects.product`  | `{ product }`  | Transforms a single product                           |

Example:

```typescript
formatters: {
  objects: {
    cart: ({ cart }) => ({
      cart_id: cart.id,
      products: cart.lines.map(line => ({
        product_id: line.merchandise.product.id,
        sku: line.merchandise.sku,
        name: line.merchandise.product.title,
        price: parseFloat(line.merchandise.price.amount),
        quantity: line.quantity,
        category: line.merchandise.product.productType,
      })),
    }),

    checkout: ({ checkout }) => ({
      order_id: checkout.id,
      revenue: parseFloat(checkout.subtotalPrice.amount),
      total: parseFloat(checkout.totalPrice.amount),
      tax: parseFloat(checkout.totalTax.amount),
      shipping: parseFloat(checkout.shippingLine?.price.amount || '0'),
      currency: checkout.currencyCode,
      products: checkout.lineItems.map(item => ({
        product_id: item.variant.product.id,
        sku: item.variant.sku,
        name: item.title,
        price: parseFloat(item.variant.price.amount),
        quantity: item.quantity,
      })),
    }),

    lineItem: ({ lineItem }) => ({
      product_id: lineItem.merchandise.product.id,
      sku: lineItem.merchandise.sku,
      name: lineItem.merchandise.product.title,
      price: parseFloat(lineItem.merchandise.price.amount),
      quantity: lineItem.quantity,
    }),

    product: ({ product }) => ({
      product_id: product.id,
      sku: product.variants?.[0]?.sku,
      name: product.title,
      price: parseFloat(product.priceRange.minVariantPrice.amount),
      category: product.productType,
      brand: product.vendor,
      url: `/products/${product.handle}`,
      image_url: product.featuredImage?.url,
    }),
  },
}
```

### Event Formatters (Optional)

Event formatters run after Chord constructs the event from object formatters, allowing you to transform or enrich specific events before they are sent to Chord. This is useful when you need to add custom properties or override default behavior for specific events.

## TypeScript Support

The library accepts a generic type parameter for type-safe formatter inputs:

```typescript
interface ObjectTypes {
  Cart: ShopifyCart
  Checkout: ShopifyCheckout
  LineItem: ShopifyLineItem
  Product: ShopifyProduct
}

const chord = new ChordAnalytics<ObjectTypes>(options)
```

Individual formatter types are also available:

```typescript
import type { CartFormatter, ProductFormatter } from '@chordcommerce/analytics'

const cartFormatter: CartFormatter<ShopifyCart> = ({ cart }) => {
  // `cart` is typed as ShopifyCart
  return { /* ... */ }
}
```


[title] Custom storefront installation
[path] Chord Event Tracking/Getting started/Custom storefront/

# Custom Storefront Installation

This guide covers adding Chord event tracking to custom-built storefronts, standalone websites, or commerce platforms other than Shopify.

## Prerequisites

Before starting, ensure you have the values listed in [Getting Started]().

## Step 1: Install the Package

```shell
npm install @chordcommerce/analytics@1.21.3
# or
yarn add @chordcommerce/analytics@1.21.3
```

## Step 2: Initialize the Library

`@chordcommerce/analytics` is a browser-side library. It requires access to `window` and the DOM to load destination scripts, listen for events, and send tracking data. **It must not be initialized during server-side rendering (SSR).**

If your framework renders pages on the server (Next.js, Remix, Nuxt, Hydrogen, etc.), you must ensure Chord only initializes in the browser. Here are several approaches:

### Option A: React `useEffect` (Recommended for React frameworks)

`useEffect` only runs in the browser, never during SSR. This is the simplest and most idiomatic approach for React-based frameworks like Next.js and Hydrogen.

```tsx
'use client'

import { ChordAnalytics } from '@chordcommerce/analytics'
import { createContext, useContext, useEffect, useRef } from 'react'

const ChordContext = createContext<ChordAnalytics | null>(null)

export function ChordProvider({ children }: { children: React.ReactNode }) {
  const chordRef = useRef<ChordAnalytics | null>(null)

  useEffect(() => {
    if (!chordRef.current) {
      chordRef.current = new ChordAnalytics({
        cdpDomain: process.env.NEXT_PUBLIC_CHORD_DOMAIN,
        cdpWriteKey: process.env.NEXT_PUBLIC_CHORD_WRITE_KEY,
        formatters: {
          objects: {
            cart: (props) => { /* transform cart data */ },
            checkout: (props) => { /* transform checkout data */ },
            lineItem: (props) => { /* transform line item data */ },
            product: (props) => { /* transform product data */ },
          },
        },
        metadata: {
          i18n: { currency: 'USD', locale: 'en-US' },
          ownership: {
            omsId: process.env.NEXT_PUBLIC_CHORD_OMS_ID!,
            storeId: process.env.NEXT_PUBLIC_CHORD_STORE_ID!,
            tenantId: process.env.NEXT_PUBLIC_CHORD_TENANT_ID!,
          },
          platform: { name: 'Custom', type: 'web' },
          store: { domain: 'your-store-domain' },
        },
      })
    }
  }, [])

  return (
    <ChordContext.Provider value={chordRef.current}>
      {children}
    </ChordContext.Provider>
  )
}

export function useChord() {
  return useContext(ChordContext)
}
```

Then wrap your app in `<ChordProvider>` and use the `useChord()` hook in any component that needs to send tracking events.

### Option B: Next.js Dynamic Import with `ssr: false`

This prevents the Chord module from being imported on the server entirely. Useful when you want to isolate all Chord logic in a single component.

```tsx
import dynamic from 'next/dynamic'

const ChordProvider = dynamic(() => import('./ChordProvider'), { ssr: false })

export default function Layout({ children }) {
  return (
    <ChordProvider>
      {children}
    </ChordProvider>
  )
}
```

### Option C: `typeof window` Guard

The simplest approach for non-React frameworks or plain JavaScript. Check for the browser environment before initializing.

```typescript
import { ChordAnalytics } from '@chordcommerce/analytics'

if (typeof window !== 'undefined') {
  window.chord = new ChordAnalytics({
    cdpDomain: 'your-chord-domain',
    cdpWriteKey: 'your-chord-write-key',
    // ... rest of config
  })
}
```

:::hint{type="info"}
**Important:&#x20;**&#x54;he formatter examples above are illustrative. You must map your platform's specific data structures to the fields expected by the Chord tracking plan. See Configuration for detailed formatter documentation.
:::

## Step 3: Add Tracking Calls

Once initialized, use the SDK methods to track commerce events:

```typescript
// Page views
chord.page()

// Product interactions
chord.trackProductViewed({ cart, product: { product, quantity: 1 } })
chord.trackProductAdded({ cart, product: { product, quantity: 1 } })
chord.trackProductRemoved({ cart, lineitem })

// Cart
chord.trackCartViewed({ cart })

// Checkout
chord.trackCheckoutStarted({ checkout })
chord.trackPaymentInfoEntered({ checkoutId, step: 1, paymentMethod: 'credit_card' })

// Orders
chord.trackOrderCompleted({
  orderId: 'ORD-123',
  orderDate: '2026-03-09',
  currency: 'USD',
  revenue: 89.99,
  total: 99.99,
  products: [{ /* ... */ }],
})

// User identity
chord.identify(userId, { email: 'user@example.com' })
```

See [SDK API Reference]() for the complete list of tracking methods and their parameters.

## Step 4: Add Environment Variables

```javascript
CHORD_DOMAIN=https://your-chord-domain
CHORD_WRITE_KEY=your-write-key
CHORD_OMS_ID=your-oms-id
CHORD_STORE_ID=your-store-id
CHORD_TENANT_ID=your-tenant-id
```

## TypeScript Support

The library supports generic type parameters for improved type safety:

```typescript
interface MyObjectTypes {
  Cart: MyCartType
  Checkout: MyCheckoutType
  LineItem: MyLineItemType
  Product: MyProductType
}

const chord = new ChordAnalytics<MyObjectTypes>(options)

// Now chord.trackProductViewed expects { product: MyProductType }
```

## Verifying the Installation

1. Set `debug: true` in your configuration options during development. This validates events against the tracking plan and logs warnings for missing or incorrect properties.
2. Check the browser console for Chord event logging.
3. Verify events appear in the Chord Live Events view.

[title] SDK API reference
[path] Chord Event Tracking/Getting started/

Complete reference for all tracking methods available in the `@chordcommerce/analytics` library.

## Page Views

### `chord.page()`

Sends a page view event to Chord.

```typescript
chord.page()
```

***

## User Identity

### `chord.identify(userId, traits)`

Sends an identify event to associate a user with their traits. Call this after account creation, login, or when a user submits identifying information.

```typescript
chord.identify(userId, { email, phone, firstName, lastName })
// or without userId:
chord.identify({ email, phone })
```

| Property | Type     | Required | Description                            |
| -------- | -------- | -------- | -------------------------------------- |
| `userId` | `string` | No       | The user's unique identifier           |
| `traits` | `object` | No       | User traits (email, phone, name, etc.) |

:::BlockQuote
**Best practice:** Send `identify` before `track` events when both occur at the same time. Some downstream integrations require identity to be established before processing track events.
:::

### `chord.reset()`

Resets the user session. The user receives a new anonymous identifier and previous user data is cleared. Call this after logout.

```typescript
chord.reset()
```

***

## Product Events

### `chord.trackProductViewed({ cart, product })`

Sends a "Product Viewed" event. Call this whenever a product page is viewed.

| Property            | Type     | Required | Description                 |
| ------------------- | -------- | -------- | --------------------------- |
| `cart`              | `any`    | Yes      | The current cart            |
| `product.product`   | `any`    | Yes      | Product and variant details |
| `product.position`  | `number` | No       | Position in a list          |
| `product.quantity`  | `number` | No       | Quantity                    |
| `product.variantId` | `any`    | No       | Product variant identifier  |

### `chord.trackProductAdded({ cart, product })`

Sends a "Product Added" event when a product is first added to cart (not for quantity changes).

Same parameters as `trackProductViewed`.

### `chord.trackProductRemoved({ cart, lineitem })`

Sends a "Product Removed" event when a product is removed from cart.

| Property   | Type  | Required | Description            |
| ---------- | ----- | -------- | ---------------------- |
| `cart`     | `any` | Yes      | The cart after removal |
| `lineitem` | `any` | Yes      | The removed line item  |

### `chord.trackProductClicked({ cart, product, listId, listName })`

Sends a "Product Clicked" event when a product link is clicked.

| Property           | Type     | Required | Description          |
| ------------------ | -------- | -------- | -------------------- |
| `cart`             | `any`    | Yes      | The current cart     |
| `product.product`  | `any`    | Yes      | Product details      |
| `product.position` | `number` | No       | Position in the list |
| `listId`           | `any`    | No       | List identifier      |
| `listName`         | `string` | No       | List name            |

### `chord.trackProductListViewed({ category, listId, listName, products })`

Sends a "Product List Viewed" event.

| Property   | Type     | Required | Description          |
| ---------- | -------- | -------- | -------------------- |
| `category` | `string` | No       | Product category     |
| `listId`   | `string` | No       | List identifier      |
| `listName` | `string` | No       | List name            |
| `products` | `array`  | Yes      | Products in the list |

### `chord.trackProductListFiltered({ category, listId, listName, filters, sorts })`

Sends a "Product List Filtered" event when filters are applied.

| Property   | Type     | Required | Description                           |
| ---------- | -------- | -------- | ------------------------------------- |
| `category` | `string` | No       | Product category                      |
| `listId`   | `string` | No       | List identifier                       |
| `listName` | `string` | No       | List name                             |
| `filters`  | `array`  | No       | Applied filters (`[{ type, value }]`) |
| `sorts`    | `array`  | No       | Applied sorts (`[{ type, value }]`)   |

### `chord.trackProductsSearched({ query })`

Sends a "Products Searched" event.

| Property    | Type     | Required | Description             |
| ----------- | -------- | -------- | ----------------------- |
| `query`     | `string` | No       | Search query            |
| `productId` | `any`    | No       | Product ID searched for |
| `currency`  | `string` | No       | ISO 4217 currency code  |
| `price`     | `number` | No       | Product price           |
| `quantity`  | `number` | No       | Quantity                |

***

## Cart Events

### `chord.trackCartViewed({ cart })`

Sends a "Cart Viewed" event.

| Property | Type  | Required | Description      |
| -------- | ----- | -------- | ---------------- |
| `cart`   | `any` | Yes      | The current cart |

***

## Checkout Events

### `chord.trackCheckoutStarted({ checkout })`

Sends a "Checkout Started" event.

| Property   | Type  | Required | Description          |
| ---------- | ----- | -------- | -------------------- |
| `checkout` | `any` | Yes      | The current checkout |

### `chord.trackCheckoutStepViewed({ checkoutId, step })`

Sends a "Checkout Step Viewed" event.

| Property         | Type     | Required | Description         |
| ---------------- | -------- | -------- | ------------------- |
| `checkoutId`     | `string` | Yes      | Checkout identifier |
| `step`           | `number` | Yes      | Step number         |
| `paymentMethod`  | `string` | No       | Payment method      |
| `shippingMethod` | `string` | No       | Shipping method     |

### `chord.trackCheckoutStepCompleted({ checkoutId, step })`

Sends a "Checkout Step Completed" event.

Same parameters as `trackCheckoutStepViewed`.

### `chord.trackPaymentInfoEntered({ checkoutId, step })`

Sends a "Payment Info Entered" event.

| Property         | Type     | Required | Description          |
| ---------------- | -------- | -------- | -------------------- |
| `checkoutId`     | `string` | No       | Checkout identifier  |
| `step`           | `number` | Yes      | Step number          |
| `paymentMethod`  | `string` | No       | Payment method used  |
| `shippingMethod` | `string` | No       | Shipping method      |
| `coupon`         | `string` | No       | Coupon code          |
| `currency`       | `string` | No       | Currency code        |
| `orderId`        | `string` | No       | Order identifier     |
| `value`          | `number` | No       | Total value          |
| `products`       | `array`  | No       | Products in checkout |

***

## Order Events

### `chord.trackOrderCompleted({ orderId, orderDate, currency, revenue, total, products })`

Sends an "Order Completed" event.

| Property    | Type     | Required | Description                  |
| ----------- | -------- | -------- | ---------------------------- |
| `orderId`   | `string` | Yes      | Order identifier             |
| `orderDate` | `string` | Yes      | Date of completion           |
| `currency`  | `string` | Yes      | Currency code                |
| `revenue`   | `number` | Yes      | Revenue (subtotal)           |
| `total`     | `number` | Yes      | Total with discounts/coupons |
| `products`  | `array`  | Yes      | Products in the order        |

***

## Coupon Events

### `chord.trackCouponApplied({ cartId, couponId, couponName, discount, orderId })`

Sends a "Coupon Applied" event after successful application.

| Property     | Type     | Required | Description              |
| ------------ | -------- | -------- | ------------------------ |
| `cartId`     | `string` | No       | Cart identifier          |
| `couponId`   | `string` | No       | Coupon identifier        |
| `couponName` | `string` | No       | Coupon name              |
| `discount`   | `number` | No       | Monetary discount amount |
| `orderId`    | `string` | No       | Order identifier         |

### `chord.trackCouponDenied({ cartId, couponId, couponName, orderId, reason })`

Sends a "Coupon Denied" event.

Same parameters as `trackCouponApplied`, plus `reason` (`string`, optional).

### `chord.trackCouponEntered({ cartId, couponId, couponName, discount, orderId })`

Sends a "Coupon Entered" event immediately after entry, before approval/denial.

Same parameters as `trackCouponApplied`.

### `chord.trackCouponRemoved({ cartId, couponId, couponName, discount, orderId })`

Sends a "Coupon Removed" event.

Same parameters as `trackCouponApplied`.

***

## Email & Login Events

### `chord.trackEmailCaptured({ email, placementComponent, placementPage })`

Sends an "Email Captured" event when a customer enters an email address.

| Property             | Type     | Required | Description                                         |
| -------------------- | -------- | -------- | --------------------------------------------------- |
| `email`              | `string` | No       | Email address captured                              |
| `placementComponent` | `string` | No       | UI component identifier (e.g., `footer-newsletter`) |
| `placementPage`      | `string` | No       | Page identifier (e.g., `homepage`)                  |

### `chord.trackLoginStarted({ email })`

Sends a "Login Started" event.

| Property | Type     | Required | Description          |
| -------- | -------- | -------- | -------------------- |
| `email`  | `string` | No       | Email used for login |

***

## Authentication Events

### `chord.trackSignedIn({ email, method })`

Sends a "Signed In" event after successful login.

| Property | Type     | Required | Description  |
| -------- | -------- | -------- | ------------ |
| `email`  | `string` | No       | User's email |
| `method` | `string` | No       | Login method |

### `chord.trackSignedUp({ email, method })`

Sends a "Signed Up" event after successful signup.

Same parameters as `trackSignedIn`.

### `chord.trackSignedOut({ email })`

Sends a "Signed Out" event after successful logout.

| Property | Type     | Required | Description  |
| -------- | -------- | -------- | ------------ |
| `email`  | `string` | No       | User's email |

***

## Navigation Events

### `chord.trackNavigationClicked({ category, label, navigationPlacement, navigationTitle, navigationUrl })`

Sends a "Navigation Clicked" event.

| Property              | Type     | Required | Description                          |
| --------------------- | -------- | -------- | ------------------------------------ |
| `category`            | `string` | No       | Navigation category                  |
| `label`               | `string` | No       | Navigation label                     |
| `navigationPlacement` | `string` | No       | Placement (e.g., `header`, `footer`) |
| `navigationTitle`     | `string` | No       | Navigation title                     |
| `navigationUrl`       | `string` | No       | Target URL                           |

***

## Variant Events

### `chord.trackVariantClicked({ product, cart, lineItemId, coupon })`

Sends a "Variant Clicked" event.

| Property     | Type     | Required | Description          |
| ------------ | -------- | -------- | -------------------- |
| `product`    | `any`    | Yes      | The variant clicked  |
| `cart`       | `any`    | Yes      | The current cart     |
| `lineItemId` | `string` | No       | Line item identifier |
| `coupon`     | `string` | No       | Coupon code          |

***

## Subscription Events

### `chord.trackSubscriptionCancelled({ subscriptionId, ... })`

Sends a "Subscription Cancelled" event.

| Property         | Type     | Required | Description                    |
| ---------------- | -------- | -------- | ------------------------------ |
| `subscriptionId` | `string` | No       | Subscription identifier        |
| `email`          | `string` | No       | Associated email               |
| `brand`          | `string` | No       | Associated brand               |
| `currency`       | `string` | No       | Currency code                  |
| `intervalLength` | `number` | No       | Subscription interval length   |
| `intervalUnits`  | `string` | No       | Interval units (e.g., `month`) |
| `state`          | `string` | No       | Subscription state             |
| `products`       | `array`  | No       | Products in subscription       |
| `actionableDate` | `string` | No       | Actionable date                |
| `endDate`        | `string` | No       | End date                       |
| `address`        | `object` | No       | Associated address             |

***

## Generic Track Method

### `chord.track(eventName, properties)`

Sends a custom event directly to Chord. This bypasses formatters and sends properties as-is.

```typescript
chord.track('Custom Event Name', {
  custom_property: 'value',
  another_property: 123,
})
```

:::hint{type="info"}
**Important:&#x20;**&#x54;his method does not use formatters or transform property names. Use snake\_case for all property names. Prefer event-specific methods when available.
:::


[title] Subscription Resumed
[path] Chord Event Tracking/Server Events/Track/

This event is triggered when a paused subscription was resumed.

# Properties

| **Name**              | **Type**   | **Description**                                                                                                                        | **Required** |
| --------------------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
| `subscription_id`     | `string`   | Unique ID of the subscription                                                                                                          | Yes          |
| `interval_length`     | `number`   | Combined with `interval_units`, specifies the cadence of the subscription. E.g. for a **3 week** cadence, this value will be `3`.      | No           |
| `interval_units`      | `string`   | Combined with `interval_length`, specifies the cadence of the subscription. E.g. for a **3 week** cadence, this value will be `weeks`. | No           |
| `actionable_date`     | `string`   | ISO date when the next installment order will be generated.                                                                            | No           |
| `state`               | `string`   | State of the subscription (e.g. `active`, `paused`, `canceled`).                                                                       | No           |
| `payment_method_name` | `string`   | Name of the payment method for installment orders.                                                                                     | No           |
| `email`               | `string`   | Email address associated with the subscription                                                                                         | No           |
| `canceled_at`         | `string`   | ISO date when the subscription was canceled, if applicable                                                                             | No           |
| `canceled_by`         | `string`   | Email address of the user who canceled the subscription, if applicable                                                                 | No           |
| `activated_at`        | `string`   | ISO date when the subscription was activated                                                                                           | Yes          |
| `address`             | `object`   | Shipping address of the subscription.                                                                                                  | Yes          |
| `products`            | `object[]` | Products in the subscription                                                                                                           | Yes          |

## Address

| **Name**            | **Type** | **Description**                                          | **Required** |
| ------------------- | -------- | -------------------------------------------------------- | ------------ |
| `address1`          | `string` | The street address of the customer                       | No           |
| `address2`          | `string` | Additional street address of the customer (if necessary) | No           |
| `alternative_phone` | `string` | Customer's alternative phone number                      | No           |
| `phone`             | `string` | Customer's phone number                                  | No           |
| `city`              | `string` | City of the shipping address                             | No           |
| `company`           | `string` | Name of the company, if applicable                       | No           |
| `country`           | `string` | ISO country code for the shipping address                | No           |
| `name`              |          | Customer name                                            | No           |
| `state`             | `string` | ISO state code for the shipping address                  | No           |
| `zipcode`           | `string` | Zip or postal code for the shipping address              | No           |

## Products array

| **Name**       | **Type** | **Description**                                                                          | **Required** |
| -------------- | -------- | ---------------------------------------------------------------------------------------- | ------------ |
| `affiliation`  | `string` | Store or affiliation from which this transaction occurred (for example, "Google Store"). | No           |
| `brand`        | `string` | Brand associated with the product                                                        | No           |
| `line_item_id` | `string` | ID of the line item in the database                                                      | No           |
| `name`         | `string` | Name of the product                                                                      | Yes          |
| `position`     | `number` | Position in the product list                                                             | No           |
| `price`        | `number` | Price of the product                                                                     | Yes          |
| `product_id`   | `string` | ID of the product in the database                                                        | Yes          |
| `quantity`     | `number` | The quantity of products purchased in this line item                                     | Yes          |
| `revenue`      | `number` | Revenue ($) associated with this line item (excluding shipping and tax)                  | Yes          |
| `sku`          | `string` | SKU of the variant                                                                       | Yes          |
| `variant_name` | `string` | Name of the variant                                                                      | No           |
| `variant_id`   | `string` | ID of the variant in the database                                                        | No           |

# Sample Payload

```json
{
  "type": "track",
  "event": "Subscription Resumed",
  "properties": {
    "subscription_id": "1",
    "interval_length": 3,
    "interval_units": "weeks",
    "actionable_date": "2026-01-01T00:00:00.000Z",
    "state": "active",
    "payment_method_name": "Stripe",
    "email": "user@example.com",
    "canceled_at": null,
    "canceled_by": null,
    "activated_at": "2026-01-01T00:00:00.000Z",
    "address": {
      "address1": "123 Fake St",
      "address2": null,
      "alternative_phone": null,
      "phone": "123456789",
      "city": "Oak Lawn",
      "state": "IL",
      "country": "US",
      "name": "John Doe",
      "zipcode": "60532"
    },
    "products": [
      {
        "affiliation": "Affiliation",
        "brand": "Brand",
        "line_item_id": "16207084552295",
        "name": "Product Name",
        "position": 1,
        "price": 219,
        "product_id": "7036464939671",
        "quantity": 1,
        "revenue": 219,
        "sku": "SKU123",
        "variant": "Variant Name",
        "variant_id": "40952658057847"
      }
    ]
  }
}
```

# Example

```bash
curl https://production.cdp.ingest.chord.co/api/track \
--header "Content-Type: application/json" \
--header "X-Write-Key: $CDP_WRITE_KEY" \
--data-raw '
{
  "type": "track",
  "event": "Subscription Resumed",
  "properties": {
    "subscription_id": "1",
    "interval_length": 3,
    "interval_units": "weeks",
    "actionable_date": "2026-01-01T00:00:00.000Z",
    "state": "active",
    "payment_method_name": "Stripe",
    "email": "user@example.com",
    "canceled_at": null,
    "canceled_by": null,
    "activated_at": "2026-01-01T00:00:00.000Z",
    "address": {
      "address1": "123 Fake St",
      "address2": null,
      "alternative_phone": null,
      "phone": "123456789",
      "city": "Oak Lawn",
      "state": "IL",
      "country": "US",
      "name": "John Doe",
      "zipcode": "60532"
    },
    "products": [
      {
        "affiliation": "Affiliation",
        "brand": "Brand",
        "line_item_id": "16207084552295",
        "name": "Product Name",
        "position": 1,
        "price": 219,
        "product_id": "7036464939671",
        "quantity": 1,
        "revenue": 219,
        "sku": "SKU123",
        "variant": "Variant Name",
        "variant_id": "40952658057847"
      }
    ]
  }
}
'
```


[title] Verifying Your Chord Implementation
[path] Chord Event Tracking/Getting started/

## **Front End/Client Side Events**

Follow these steps to verify the installation and implementation of the Chord client on your website:

1. Inspect the markup of any page on your site, you should see a script tag similar to the following inside the `<head></head>` tags:

```javascript
<script async="" src="{{ YOUR_CDP_DOMAIN }}" data-debug="false" data-init-only="true" data-namespace="_chord" data-write-key="{{ YOUR_WRITE_KEY }}"></script>
```

2. Open your browser’s dev tools and select the Network tab. Search “ingest”. You should see your CDP domain loading with a 200 status code.&#x20;

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/FZh4gGzLXGbhmpuVV-dRQ-20251020-203807.jpg)

3. Take actions on your site to trigger events. Viewing products, Adding to cart, etc. You should see these events post to the CDP domain with your write key and formatted properties:&#x20;

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/kwd4i89kEZWI0No2-jr-O-20251020-203831.jpg)

4. In the Chord platform, navigate to CDP —> Live Events —> Incoming Events. Filter the list by your website source. You will see a live stream of events with search and filter capabilities.&#x20;

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/7V79Ju3N9GQg8CxiI82Oe-20251020-203855.png)

## **Back End/Server Events**

Follow these steps to verify the implementation of the Chord client with your back end systems:

1. Trigger a notification from the system that sends data to Chord i.e a webhook notification for Order Completed, Checkout Started, etc.&#x20;
2. In the Chord platform, navigate to CDP —> Live Events —> Incoming Events. Filter the list by your back end source. You will see a live stream of events with search and filter capabilities.&#x20;

![](https://archbee-image-uploads.s3.amazonaws.com/TmutqdeXiIw-V3gBZXVjd/ciGlfevHmabFnrM9lq-4M-20251020-203955.png)


[title] Guides
[path] Chord Event Tracking/


[title] The Context Object
[path] Chord Event Tracking/

Every analytics event in the Chord CDP carries a `context` object alongside its `properties`. While `properties` describe what happened in the event, `context` describes the environment in which it happened — the page, the user's device, their location, and any identity traits that have been associated with them.

Destination plugins use `context` fields as fallback sources when event properties are not present. For example, a user's email set via an `identify` call will be available on all subsequent track events as `context.traits.email`.

# How Context Is Populated

How `context` gets populated depends on whether the event originates from a browser (via the Chord SDK) or is sent server-to-server (S2S).

## Browser Events

Browser events are those sent by the `@chordcommerce/analytics` SDK running in the user's browser. The SDK and Chord's ingest layer together populate `context` automatically — no extra configuration required:

**Automatically by the Chord SDK**

- `context.page` — current URL, path, referrer, title
- `context.userAgent` — browser user agent string
- `context.locale` — browser locale (e.g. `en-US`)
- `context.library` — SDK name and version
- `context.screen` — screen dimensions and density
- `context.campaign` — UTM parameters parsed from the URL
- `context.clientIds` — third-party client IDs (GA4, Facebook, Amplitude) read from cookies

**From&#x20;**`identify`**&#x20;calls**

When your code calls `identify(userId, traits)`, the traits are stored and attached to all subsequent events as `context.traits`. This is the mechanism that makes user attributes like email, name, and address available on track events without repeating them in every event's `properties`.

**Enriched at ingest (browser events only)**

Chord's ingest layer adds the following from the HTTP request headers for browser-originated events:

- `context.ip` — originating IP address
- `context.userAgent` — extracted from the `User-Agent` header if not already set by the SDK
- `context.locale` — extracted from the `Accept-Language` header if not already set by the SDK
- `context.page.url/path/search/host` — populated from the HTTP `Referer` header if not already set

## Server-to-Server (S2S) Events

S2S events are sent directly from your backend using a server-side write key. Because there is no browser involved, **no context fields are added automatically** — the ingest layer does not extract user agent, locale, or page data from S2S requests.

For S2S events, `context` contains only what you explicitly include in the event payload. If your server-side event should carry page, trait, or campaign context, you must attach it yourself before sending.

**Recommended practice:** When sending S2S events that correspond to a browser action (e.g. an order confirmation triggered server-side), forward the user agent and any UTM parameters your frontend captured, and include them in the event's `context` object.

## Geolocation Enrichment

`context.geo` is resolved from `context.ip` and is only meaningful for browser events. For browser events, `context.ip` is captured automatically from the HTTP request, so geo fields are always populated.

For S2S events, the originating IP belongs to your server, not the end user, so geolocation derived from it has no value. `context.geo` will not be present on S2S events.

# Schema Reference

## context.page

URL and navigation context for the current page. Populated automatically by the browser SDK for browser events. For S2S events, populate these fields manually if the event relates to a specific page.

| Field              | Type   | Description        |
| ------------------ | ------ | ------------------ |
| `url`              | string | Full page URL      |
| `path`             | string | URL path component |
| `host`             | string | Hostname           |
| `referrer`         | string | Referrer URL       |
| `referring_domain` | string | Referrer hostname  |
| `search`           | string | Query string       |
| `title`            | string | Page title         |

## context.traits

User traits from the most recent `identify` call. These persist across events for the browser session. Destination plugins use these as fallbacks when event `properties` do not carry the same information.

### Standard Traits

| Field        | Type   | Description              |
| ------------ | ------ | ------------------------ |
| `email`      | string | User email address       |
| `phone`      | string | Phone number             |
| `first_name` | string | First name               |
| `last_name`  | string | Last name                |
| `name`       | string | Full name                |
| `address`    | object | See address schema below |

### context.traits.address

The standard address schema for `context.traits.address` aligns with the Chord tracking plan address conventions:

| Field      | Type   | Description                   |
| ---------- | ------ | ----------------------------- |
| `address1` | string | Street address line 1         |
| `address2` | string | Street address line 2         |
| `city`     | string | City                          |
| `state`    | string | State or province             |
| `country`  | string | Country                       |
| `zipcode`  | string | Postal / ZIP code             |
| `name`     | string | Recipient name                |
| `company`  | string | Company name                  |
| `phone`    | string | Address-specific phone number |

:::BlockQuote
**Note:** The event extractor also recognises legacy field names as fallbacks — `street` for `address1`, `street2` for `address2`, and `zip` / `postalCode` for `zipcode`. These are supported for backwards compatibility but `address1`, `address2`, and `zipcode` are the canonical names.
:::

## context.clientIds

Third-party tracking IDs read from browser cookies.

| Field                | Type   | Description                              |
| -------------------- | ------ | ---------------------------------------- |
| `ga4.clientId`       | string | Google Analytics 4 client ID             |
| `ga4.sessionIds`     | any    | GA4 session IDs                          |
| `fbc`                | string | Facebook click ID (from `_fbc` cookie)   |
| `fbp`                | string | Facebook browser ID (from `_fbp` cookie) |
| `amplitudeSessionId` | number | Amplitude session ID (Unix ms)           |
| `amplitudeDeviceId`  | string | Amplitude device ID                      |

## context.campaign

UTM parameters parsed from the page URL.

| Field     | Type   | Description    |
| --------- | ------ | -------------- |
| `name`    | string | `utm_campaign` |
| `source`  | string | `utm_source`   |
| `medium`  | string | `utm_medium`   |
| `content` | string | `utm_content`  |
| `term`    | string | `utm_term`     |

## context.geo

Geolocation data resolved from `context.ip`. Only present on browser events — for S2S events the originating IP is the server's IP, which has no meaningful geo value.

| Field                | Type   | Description                     |
| -------------------- | ------ | ------------------------------- |
| `country.code`       | string | ISO 3166-1 alpha-2 country code |
| `country.name`       | string | Country name                    |
| `region.code`        | string | Region / state code             |
| `region.name`        | string | Region / state name             |
| `city.name`          | string | City name                       |
| `location.latitude`  | number | Latitude                        |
| `location.longitude` | number | Longitude                       |

## context.device

Mobile device information. Populated by mobile SDKs; typically absent for browser events.

| Field               | Type    | Description                         |
| ------------------- | ------- | ----------------------------------- |
| `id`                | string  | Device ID                           |
| `type`              | string  | Device type (e.g. `ios`, `android`) |
| `manufacturer`      | string  | Device manufacturer                 |
| `model`             | string  | Device model                        |
| `name`              | string  | Device name                         |
| `advertisingId`     | string  | Advertising ID (IDFA / GAID)        |
| `adTrackingEnabled` | boolean | Whether ad tracking is enabled      |
| `token`             | string  | Push notification token             |

## context.os

Operating system information. Populated by mobile SDKs.

| Field     | Type   | Description                     |
| --------- | ------ | ------------------------------- |
| `name`    | string | OS name (e.g. `iOS`, `Android`) |
| `version` | string | OS version string               |

## context.network

Network information. Populated by mobile SDKs.

| Field       | Type    | Description                    |
| ----------- | ------- | ------------------------------ |
| `carrier`   | string  | Mobile carrier name            |
| `wifi`      | boolean | Whether connected via WiFi     |
| `cellular`  | boolean | Whether connected via cellular |
| `bluetooth` | boolean | Whether Bluetooth is on        |

## context.screen

Screen dimensions. Populated by the browser SDK and mobile SDKs.

| Field     | Type   | Description                        |
| --------- | ------ | ---------------------------------- |
| `width`   | number | Screen width in pixels             |
| `height`  | number | Screen height in pixels            |
| `density` | number | Pixel density (device pixel ratio) |

## context.app

Application metadata. Populated by mobile SDKs.

| Field       | Type   | Description               |
| ----------- | ------ | ------------------------- |
| `name`      | string | App name                  |
| `version`   | string | App version               |
| `build`     | string | Build number              |
| `namespace` | string | App namespace / bundle ID |

## Other Fields

| Field             | Type   | Description                                                                                                                                              |
| ----------------- | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `ip`              | string | Originating IP address. Set automatically for browser events and used to populate `context.geo`. Not meaningful for S2S events (server IP, not user IP). |
| `userAgent`       | string | Browser user agent string. Browser events only — not set on S2S events unless provided explicitly.                                                       |
| `locale`          | string | Browser locale (e.g. `en-US`). Browser events only — not set on S2S events unless provided explicitly.                                                   |
| `library.name`    | string | Chord SDK name                                                                                                                                           |
| `library.version` | string | Chord SDK version                                                                                                                                        |

***

**Updated 22 Apr 2026**

[title] Order Canceled
[path] Chord Event Tracking/Server Events/Track/

This event is triggered when a customer cancels an order.

# Properties

| **Name**           | **Type**   | **Description**                                                                          | **Required** |
| ------------------ | ---------- | ---------------------------------------------------------------------------------------- | ------------ |
| `affiliation`      | `string`   | Store or affiliation from which this transaction occurred (for example, "Google Store"). | No           |
| `channel`          | `string`   | The sales channel                                                                        | No           |
| `checkout_id`      | `string`   | ID of the checkout session for the purchase                                              | No           |
| `checkout_type`    | `string`   | Checkout provider (e.g. `Stripe`)                                                        | No           |
| `currency`         | `string`   | ISO currency code of the transaction (e.g. `USD`)                                        | Yes          |
| `discount`         | `number`   | The total discount applied to the order                                                  | No           |
| `email`            | `string`   | Email address associated with the order                                                  | No           |
| `first_name`       | `string`   | Customer's first name                                                                    | No           |
| `last_name`        | `string`   | Customer's last name                                                                     | No           |
| `order_date`       | `date`     | Date and time the order was placed                                                       | Yes          |
| `order_id`         | `string`   | Order/transaction ID                                                                     | Yes          |
| `phone`            | `string`   | Customer's phone number                                                                  | No           |
| `products`         | `object[]` | Products in the order                                                                    | Yes          |
| `revenue`          | `number`   | Revenue ($) associated with the transaction (excluding shipping and tax)                 | Yes          |
| `shipping`         | `number`   | The total amount for shipping                                                            | No           |
| `shipping_city`    | `string`   | City of the shipping address                                                             | No           |
| `shipping_country` | `string`   | ISO country code for the shipping address                                                | No           |
| `shipping_state`   | `string`   | ISO state code for the shipping address                                                  | No           |
| `shipping_zipcode` | `string`   | Zip or postal code for the shipping address                                              | No           |
| `subscription_id`  | `string`   | ID of the subscription created from this purchase, if applicable                         | No           |
| `subtotal`         | `number`   | Order total including discounts but excluding shipping and tax                           | No           |
| `tax`              | `number`   | The total tax captured on the order                                                      | No           |
| `total`            | `number`   | The order grand total, summing the subtotal, discount, shipping, and tax                 | Yes          |

## Products array

| **Name**       | **Type** | **Description**                                                                          | **Required** |
| -------------- | -------- | ---------------------------------------------------------------------------------------- | ------------ |
| `affiliation`  | `string` | Store or affiliation from which this transaction occurred (for example, "Google Store"). | No           |
| `brand`        | `string` | Brand associated with the product                                                        | No           |
| `line_item_id` | `string` | ID of the line item in the database                                                      | No           |
| `name`         | `string` | Name of the product                                                                      | Yes          |
| `position`     | `number` | Position in the product list                                                             | No           |
| `price`        | `number` | Price of the product                                                                     | Yes          |
| `product_id`   | `string` | ID of the product in the database                                                        | Yes          |
| `quantity`     | `number` | The quantity of products purchased in this line item                                     | Yes          |
| `revenue`      | `number` | Revenue ($) associated with this line item (excluding shipping and tax)                  | Yes          |
| `sku`          | `string` | SKU of the variant                                                                       | Yes          |
| `variant_name` | `string` | Name of the variant                                                                      | No           |
| `variant_id`   | `string` | ID of the variant in the database                                                        | No           |

# Sample Payload

```json
{
  "type": "track",
  "event": "Order Canceled",
  "properties": {
    "affiliation": "Afilliation",
    "checkout_id": "40854979018855",
    "checkout_type": "Shopify | OMS | Other",
    "currency": "USD",
    "discount": 5,
    "email": "user@example.com",
    "first_name": "John",
    "last_name": "Doe",
    "order_date": "2025-09-12T11:45:45-07:00",
    "order_id": "6736819880039",
    "order_number": "1895671",
    "phone": "+15555555555",
    "revenue": 219,
    "shipping": 9.9,
    "shipping_city": "Fall River",
    "shipping_country": "US",
    "shipping_state": "MA",
    "shipping_zipcode": "02720",
    "subtotal": 219,
    "tax": 13.69,
    "total": 237.59,
    "products": [
      {
        "affiliation": "Affiliation",
        "brand": "Brand",
        "line_item_id": "16207084552295",
        "name": "Product Name",
        "position": 1,
        "price": 219,
        "product_id": "7036464939671",
        "quantity": 1,
        "revenue": 219,
        "sku": "SKU123",
        "variant": "Variant Name",
        "variant_id": "40952658057847"
      }
    ],
    "meta": {
      "i18n": {
        "currency": "USD",
        "locale": "en-US"
      },
      "platform": {
        "name": "Shopify | OMS | Other",
        "type": "web"
      },
      "store": {
        "domain": "domain"
      },
      "version": {
        "major": 3,
        "minor": 0,
        "patch": 0
      }
    }
  },
  "userId": "8046328840295",
  "anonymousId": "7a76b270-c318-4477-b1e1-33eac94dbd1e"
}
```

# Example

```bash
curl https://production.cdp.ingest.chord.co/api/track \
--header "Content-Type: application/json" \
--header "X-Write-Key: $CDP_WRITE_KEY" \
--data-raw '{
{
  "type": "track",
  "event": "Order Canceled",
  "properties": {}
  "meta": {},
  "userId": "123456",
  "anonymousId": "7a76b270-c318-4477-b1e1-33eac94dbd1e"
}
```


[title] Untitled
[path] Chord Event Tracking/Getting started/


[title] Untitled
[path] Chord Event Tracking/Getting started/


[title] Shopify subscription event tracking
[path] Chord Event Tracking/Getting started/Shopify/

## Overview

If your Shopify store sells subscriptions, Chord can track subscription lifecycle events such as creation, cancellation, and payment failures. These events are delivered to Chord via Shopify webhooks, similar to [Shopify server event tracking](docId\:xbL7zBqE14BT7gbTMl0un).

However, Shopify restricts subscription contract webhook events to the app that originally created the contract (such as Shopify Subscriptions or Recharge). Because of this limitation, the Chord webhook source cannot listen to subscription-specific webhook events directly. Instead, **Shopify Flow** is used as a workaround to forward these events to Chord.

## Prerequisites

Before configuring subscription event tracking, confirm the following:

- Chord has access to your Shopify store
- You have access to your Chord workspace
- [Shopify server event tracking](docId\:xbL7zBqE14BT7gbTMl0un) is already configured (Admin API key and webhook source are in place)
- [Shopify Flow](https://apps.shopify.com/flow) is installed on your Shopify store

If you have questions about any of these prerequisites, contact [help@chord.co](mailto\:help@chord.co).

## Supported Subscription Events

| Shopify Webhook Topic                   | Chord Event                 |
| --------------------------------------- | --------------------------- |
| `subscription_contracts/create`         | Subscription Created        |
| `subscription_contracts/cancel`         | Subscription Canceled       |
| `subscription_contracts/pause`          | Subscription Paused         |
| `subscription_contracts/expire`         | Subscription Expired        |
| `subscription_billing_attempts/failure` | Subscription Payment Failed |

## Installation

### Step 1: Install Shopify Flow

[Shopify Flow](https://apps.shopify.com/flow) is a free automation app from Shopify. It may already be installed on your store — your Chord implementation team may have set it up during provisioning. If you are unsure, contact [help@chord.co](mailto\:help@chord.co).

### Step 2: Import Flows

Your Chord implementation team will provide three Flow files:

- `[CHORD] - Subscription Contract Created.flow`
- `[CHORD] - Subscription Updated (Cancelled / Expired / Paused).flow`
- `[CHORD] - Subscription Payment Failed.flow`

To import each flow:

1. In your Shopify Admin, go to **Apps > Shopify Flow**.
2. Click **Import Flow**.
3. Upload the `.flow` file and confirm the import.
4. Repeat for each of the three flow files.

### Step 3: Verify the Flows

1. In Shopify Flow, review each imported workflow to confirm it is active.
2. Trigger a test subscription event in your store (e.g., create a test subscription).
3. In your Chord workspace, navigate to the Shopify webhook source and open the **Debugger** tab.
4. Confirm that the expected subscription events appear.

## Support

If you encounter issues configuring subscription flows or do not see subscription events in your Chord workspace, contact [help@chord.co](mailto\:help@chord.co) with details about the problem.

[title] Shopify server event tracking
[path] Chord Event Tracking/Getting started/Shopify/

## Overview

When installed on your Shopify store, Chord sends tracking events from two sources:

1. **Your storefront**, using either the Chord Shopify web pixel or `@chordcommerce/analytics` (see [Shopify installation](docId:7gGdgpVq4j3qwBPrHY1Fr))
2. **Chord's server events service**, which sends tracking events from a Shopify webhook source in your Chord workspace in response to webhook triggers from Shopify

When Chord provisions your workspace, it includes a Shopify webhook source. This source listens for webhook events from Shopify and transforms them into Chord events.

## Requirements

Locate the webhook source in your Chord workspace, named **"Shopify Webhooks."** Chord typically creates this source as part of your workspace provisioning. You will need:

- The **settings page** of this source during the "Create an Admin API Key" step
- The **webhook URL** of this source during the "Create Webhook Subscriptions" step

If you cannot find the source or are unsure which one it is, contact [help@chord.co](mailto\:help@chord.co).

## Step 1: Create an Admin API Key

Chord's webhook source requires an Admin API key with the `read_orders` scope to retrieve order details from Shopify. We recommend creating a dedicated custom app in your Shopify account for Chord, which makes it easy to manage access.

### Create the API key in Shopify

1. In your Shopify Admin, go to **Settings > Apps and sales channels > Develop apps > Create an app**.
2. Name the app (e.g., "Chord Webhooks").
3. Click **Configure Admin API Scopes**.
4. Select `read_orders` only and click **Save**.
5. On the **Overview** tab, click **Install app**.
6. Copy the **Admin API access token**.

### Add the token to your Chord workspace

1. In your Chord workspace, navigate to your Shopify webhook source.
2. Open **Settings > Connection**.
3. Enter the Admin API access token in the **Access Token** field.
4. Click **Save Changes**.

## Step 2: Create Webhook Subscriptions

1. In your Chord workspace, navigate to your Shopify webhook source.
2. Find the webhook URL under the **Configure your webhook** heading. Copy this URL.
3. In your Shopify Admin, go to **Settings > Notifications > Webhooks** (or use the Shopify Admin API to create subscriptions programmatically — you can use the same Admin API access token you created in Step 1).
4. Create a webhook subscription for each of the supported topics listed below. Each subscription should use the same webhook URL you copied from your Chord workspace.

### Supported Webhook Topics

| Webhook Topic      | Chord Event      |
| ------------------ | ---------------- |
| `checkouts/create` | Checkout Created |
| `orders/create`    | Order Completed  |
| `refunds/create`   | Order Refunded   |
| `customers/delete` | Customer Deleted |
| `customers/merge`  | Customer Merged  |
| `locations/delete` | Location Deleted |
| `orders/delete`    | Order Deleted    |
| `products/delete`  | Product Deleted  |

## Verifying the Installation

Shopify's built-in webhook testing does not send payloads that match real webhook payloads. To verify that server events are flowing correctly:

1. Complete a test transaction in your Shopify store.
2. In your Chord workspace, navigate to the Shopify webhook source and open the **Debugger** tab.
3. Confirm that the expected events (Checkout Created, Order Completed, etc.) appear.

## Subscription Events

If your store sells subscriptions, Chord can also track subscription lifecycle events (creation, cancellation, payment failures, etc.). Due to Shopify platform restrictions, subscription events require a different setup using Shopify Flow.

See [Shopify subscription event tracking](docId:3IRbD314fqAJoOWdjV6Ax) for details.

## Associating Server Events with Storefront Sessions

To link server events with front-end storefront events from the same customer session, the storefront must save certain browser identifiers as attributes on the cart or order. These identifiers are then retrieved by the webhook source and included in Chord events.

For details, see [Unifying Data Across Sources]().

[title] Subscription Expired
[path] Chord Event Tracking/Server Events/Track/

This event is triggered when a prepaid subscription has expired.

# Properties

| **Name**              | **Type**   | **Description**                                                                                                                        | **Required** |
| --------------------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
| `subscription_id`     | `string`   | Unique ID of the subscription                                                                                                          | Yes          |
| `interval_length`     | `number`   | Combined with `interval_units`, specifies the cadence of the subscription. E.g. for a **3 week** cadence, this value will be `3`.      | No           |
| `interval_units`      | `string`   | Combined with `interval_length`, specifies the cadence of the subscription. E.g. for a **3 week** cadence, this value will be `weeks`. | No           |
| `actionable_date`     | `string`   | ISO date when the next installment order will be generated.                                                                            | No           |
| `state`               | `string`   | State of the subscription (e.g. `active`, `paused`, `canceled`).                                                                       | No           |
| `payment_method_name` | `string`   | Name of the payment method for installment orders.                                                                                     | No           |
| `email`               | `string`   | Email address associated with the subscription                                                                                         | No           |
| `canceled_at`         | `string`   | ISO date when the subscription was canceled, if applicable                                                                             | No           |
| `canceled_by`         | `string`   | Email address of the user who canceled the subscription, if applicable                                                                 | No           |
| `activated_at`        | `string`   | ISO date when the subscription was activated                                                                                           | Yes          |
| `address`             | `object`   | Shipping address of the subscription.                                                                                                  | Yes          |
| `products`            | `object[]` | Products in the subscription                                                                                                           | Yes          |

## Address

| **Name**            | **Type** | **Description**                                          | **Required** |
| ------------------- | -------- | -------------------------------------------------------- | ------------ |
| `address1`          | `string` | The street address of the customer                       | No           |
| `address2`          | `string` | Additional street address of the customer (if necessary) | No           |
| `alternative_phone` | `string` | Customer's alternative phone number                      | No           |
| `phone`             | `string` | Customer's phone number                                  | No           |
| `city`              | `string` | City of the shipping address                             | No           |
| `company`           | `string` | Name of the company, if applicable                       | No           |
| `country`           | `string` | ISO country code for the shipping address                | No           |
| `name`              |          | Customer name                                            | No           |
| `state`             | `string` | ISO state code for the shipping address                  | No           |
| `zipcode`           | `string` | Zip or postal code for the shipping address              | No           |

## Products array

| **Name**       | **Type** | **Description**                                                                          | **Required** |
| -------------- | -------- | ---------------------------------------------------------------------------------------- | ------------ |
| `affiliation`  | `string` | Store or affiliation from which this transaction occurred (for example, "Google Store"). | No           |
| `brand`        | `string` | Brand associated with the product                                                        | No           |
| `line_item_id` | `string` | ID of the line item in the database                                                      | No           |
| `name`         | `string` | Name of the product                                                                      | Yes          |
| `position`     | `number` | Position in the product list                                                             | No           |
| `price`        | `number` | Price of the product                                                                     | Yes          |
| `product_id`   | `string` | ID of the product in the database                                                        | Yes          |
| `quantity`     | `number` | The quantity of products purchased in this line item                                     | Yes          |
| `revenue`      | `number` | Revenue ($) associated with this line item (excluding shipping and tax)                  | Yes          |
| `sku`          | `string` | SKU of the variant                                                                       | Yes          |
| `variant_name` | `string` | Name of the variant                                                                      | No           |
| `variant_id`   | `string` | ID of the variant in the database                                                        | No           |

# Sample Payload

```json
{
  "type": "track",
  "event": "Subscription Expired",
  "properties": {
    "subscription_id": "1",
    "interval_length": 3,
    "interval_units": "weeks",
    "actionable_date": "2026-01-01T00:00:00.000Z",
    "state": "active",
    "payment_method_name": "Stripe",
    "email": "user@example.com",
    "canceled_at": null,
    "canceled_by": null,
    "activated_at": "2026-01-01T00:00:00.000Z",
    "address": {
      "address1": "123 Fake St",
      "address2": null,
      "alternative_phone": null,
      "phone": "123456789",
      "city": "Oak Lawn",
      "state": "IL",
      "country": "US",
      "name": "John Doe",
      "zipcode": "60532"
    },
    "products": [
      {
        "affiliation": "Affiliation",
        "brand": "Brand",
        "line_item_id": "16207084552295",
        "name": "Product Name",
        "position": 1,
        "price": 219,
        "product_id": "7036464939671",
        "quantity": 1,
        "revenue": 219,
        "sku": "SKU123",
        "variant": "Variant Name",
        "variant_id": "40952658057847"
      }
    ]
  }
}
```

# Example

```bash
curl https://production.cdp.ingest.chord.co/api/track \
--header "Content-Type: application/json" \
--header "X-Write-Key: $CDP_WRITE_KEY" \
--data-raw '
{
  "type": "track",
  "event": "Subscription Expired",
  "properties": {
    "subscription_id": "1",
    "interval_length": 3,
    "interval_units": "weeks",
    "actionable_date": "2026-01-01T00:00:00.000Z",
    "state": "active",
    "payment_method_name": "Stripe",
    "email": "user@example.com",
    "canceled_at": null,
    "canceled_by": null,
    "activated_at": "2026-01-01T00:00:00.000Z",
    "address": {
      "address1": "123 Fake St",
      "address2": null,
      "alternative_phone": null,
      "phone": "123456789",
      "city": "Oak Lawn",
      "state": "IL",
      "country": "US",
      "name": "John Doe",
      "zipcode": "60532"
    },
    "products": [
      {
        "affiliation": "Affiliation",
        "brand": "Brand",
        "line_item_id": "16207084552295",
        "name": "Product Name",
        "position": 1,
        "price": 219,
        "product_id": "7036464939671",
        "quantity": 1,
        "revenue": 219,
        "sku": "SKU123",
        "variant": "Variant Name",
        "variant_id": "40952658057847"
      }
    ]
  }
}
'
```


[title] Snap Pixel
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

**Snap Pixel** is Snapchat's conversion tracking pixel for measuring ad performance and building retargeting audiences. This destination loads the Snapchat Pixel JavaScript SDK in the browser and forwards ecommerce and engagement events to Snapchat Ads. There is no server-side component.

# Getting Started

This is a device-mode destination. The Snapchat Pixel SDK is loaded automatically — no manual script installation is required. You will need:

- **Pixel ID** — your Snapchat Pixel ID, found in your Snapchat Ads Manager under **Assets > Pixels**.

Optionally:

- **Product Content ID Field** — which product field to use as the content ID: `sku`, `product_id`, or `variant_id`. Defaults to `sku`. If the configured field is absent on a product, it falls back through `sku → variant_id → product_id → id`. **If you are also using the Snapchat Conversions API destination, this must be set to the same value in both destinations** so that item IDs match between client-side and server-side events.

# Connecting to the Snap Pixel CDP Destination

:::BlockQuote
**Warning:** Before connecting destinations in the Chord CDP, please verify with all Destination owners that all **non-Chord CDP** configured destinations are **disabled**. Running external destinations alongside configured Chord CDP destinations **can result in duplicate events downstream.**
:::

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **Snap Pixel** from the destination catalog.
5. Enter the destination name and your **Pixel ID**.
6. Optionally configure the **Product Content ID Field**.
7. Click **"Create"** to connect.

# Events

All Snap Pixel events include a `client_dedup_id` parameter set to the Chord `messageId` for deduplication.

# Event Mapping

| Chord Event                 | Snap Event        |
| --------------------------- | ----------------- |
| `page`                      | `PAGE_VIEW`       |
| `Order Completed`           | `PURCHASE`        |
| `Product Added`             | `ADD_CART`        |
| `Product Viewed`            | `VIEW_CONTENT`    |
| `Checkout Started`          | `START_CHECKOUT`  |
| `Subscription Created`      | `SUBSCRIBE`       |
| `Products Searched`         | `SEARCH`          |
| `Payment Info Entered`      | `ADD_BILLING`     |
| `Product Added to Wishlist` | `ADD_TO_WISHLIST` |
| `Signed Up`                 | `SIGN_UP`         |

# Page Events

**Snap SDK call:** `snaptr("track", "PAGE_VIEW", { client_dedup_id })`

No additional attributes are sent with page events.

# Identify Events

Re-initializes the Snap Pixel with user data for enhanced matching. The event is skipped if neither email nor phone is available.

**Snap SDK call:** `snaptr("init", pixelId, userData)`

| Snap Attribute      | Chord Source (Priority Order) | Notes                  |
| ------------------- | ----------------------------- | ---------------------- |
| `user_email`        | `context.traits.email`        | Omitted if not present |
| `user_phone_number` | `context.traits.phone`        | Omitted if not present |

# Order Completed

Fires a purchase conversion event with order and product data.

**Snap SDK call:** `snaptr("track", "PURCHASE", orderData)`

| Snap Attribute   | Chord Source (Priority Order)                                                | Notes                                                                     |
| ---------------- | ---------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
| `item_ids`       | Each product's configured field → `sku` → `variant_id` → `product_id` → `id` | Array of products with a resolvable ID; omitted if empty                  |
| `item_category`  | `properties.products[0].category`                                            | First product's category                                                  |
| `currency`       | `properties.currency`                                                        | Defaults to `"USD"`                                                       |
| `price`          | `properties.value`                                                           | Total value after quantity (`price × qty`); formatted to 2 decimal places |
| `transaction_id` | `properties.order_id`                                                        | Used by Snapchat to deduplicate against CAPI Purchase events              |
| `number_items`   | Count of products with a resolvable ID                                       |                                                                           |

# Product Added

Fires an add-to-cart event using the first product from `properties.products[]`.

**Snap SDK call:** `snaptr("track", "ADD_CART", productData)`

| Snap Attribute  | Chord Source (Priority Order)                                                 | Notes                                                     |
| --------------- | ----------------------------------------------------------------------------- | --------------------------------------------------------- |
| `item_ids`      | First product's configured field → `sku` → `variant_id` → `product_id` → `id` | Single-element array; event skipped if no ID resolves     |
| `item_category` | `properties.products[0].category`                                             |                                                           |
| `currency`      | `properties.currency`                                                         | Defaults to `"USD"`                                       |
| `price`         | `properties.value`                                                            | Total value after quantity; formatted to 2 decimal places |

# Product Viewed

Same attributes as **Product Added** above.

**Snap SDK call:** `snaptr("track", "VIEW_CONTENT", productData)`

# Checkout Started

Same attributes as **Order Completed** above.

**Snap SDK call:** `snaptr("track", "START_CHECKOUT", orderData)`

# Subscription Created

Same attributes as **Order Completed** above.

**Snap SDK call:** `snaptr("track", "SUBSCRIBE", orderData)`

# Products Searched

**Snap SDK call:** `snaptr("track", "SEARCH", searchData)`

| Snap Attribute  | Chord Source (Priority Order)                   | Notes |
| --------------- | ----------------------------------------------- | ----- |
| `search_string` | `properties.query` > `properties.search_string` |       |

# Payment Info Entered

No additional attributes beyond the dedup ID.

**Snap SDK call:** `snaptr("track", "ADD_BILLING", { client_dedup_id })`

# Product Added to Wishlist

Same attributes as **Product Added** above.

**Snap SDK call:** `snaptr("track", "ADD_TO_WISHLIST", productData)`

# Signed Up

No additional attributes beyond the dedup ID.

**Snap SDK call:** `snaptr("track", "SIGN_UP", { client_dedup_id })`

# Initialization

The plugin loads `https://sc-static.net/scevent.min.js` and calls `snaptr("init", pixelId)`, optionally with `user_email` and `user_phone_number` if available on the triggering event. Before the script loads, a queue buffers any calls to `snaptr`.

The plugin manages SDK loading state (`fresh` → `loading` → `loaded`/`failed`) to prevent duplicate script loads. If the script fails to load, subsequent events are silently dropped.

# CSP Requirements

If your site uses a Content Security Policy, allow the following domains:

| Directive     | Domain                  |
| ------------- | ----------------------- |
| `script-src`  | `https://sc-static.net` |
| `connect-src` | `https://sc-static.net` |

***

**Updated 23 Apr 2026**

[title] Subscription Payment Failed
[path] Chord Event Tracking/Server Events/Track/

This event is triggered when the payment for a subscription installment order fails for any reason (e.g. insufficient funds, declined card).

# Properties

| **Name**              | **Type**   | **Description**                                                                                                                        | **Required** |
| --------------------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
| `subscription_id`     | `string`   | Unique ID of the subscription                                                                                                          | Yes          |
| `interval_length`     | `number`   | Combined with `interval_units`, specifies the cadence of the subscription. E.g. for a **3 week** cadence, this value will be `3`.      | No           |
| `interval_units`      | `string`   | Combined with `interval_length`, specifies the cadence of the subscription. E.g. for a **3 week** cadence, this value will be `weeks`. | No           |
| `actionable_date`     | `string`   | ISO date when the next installment order will be generated.                                                                            | No           |
| `state`               | `string`   | State of the subscription (e.g. `active`, `paused`, `canceled`).                                                                       | No           |
| `payment_method_name` | `string`   | Name of the payment method for installment orders.                                                                                     | No           |
| `email`               | `string`   | Email address associated with the subscription                                                                                         | No           |
| `canceled_at`         | `string`   | ISO date when the subscription was canceled, if applicable                                                                             | No           |
| `canceled_by`         | `string`   | Email address of the user who canceled the subscription, if applicable                                                                 | No           |
| `activated_at`        | `string`   | ISO date when the subscription was activated                                                                                           | Yes          |
| `address`             | `object`   | Shipping address of the subscription.                                                                                                  | Yes          |
| `products`            | `object[]` | Products in the subscription                                                                                                           | Yes          |

## Address

| **Name**            | **Type** | **Description**                                          | **Required** |
| ------------------- | -------- | -------------------------------------------------------- | ------------ |
| `address1`          | `string` | The street address of the customer                       | No           |
| `address2`          | `string` | Additional street address of the customer (if necessary) | No           |
| `alternative_phone` | `string` | Customer's alternative phone number                      | No           |
| `phone`             | `string` | Customer's phone number                                  | No           |
| `city`              | `string` | City of the shipping address                             | No           |
| `company`           | `string` | Name of the company, if applicable                       | No           |
| `country`           | `string` | ISO country code for the shipping address                | No           |
| `name`              |          | Customer name                                            | No           |
| `state`             | `string` | ISO state code for the shipping address                  | No           |
| `zipcode`           | `string` | Zip or postal code for the shipping address              | No           |

## Products array

| **Name**       | **Type** | **Description**                                                                          | **Required** |
| -------------- | -------- | ---------------------------------------------------------------------------------------- | ------------ |
| `affiliation`  | `string` | Store or affiliation from which this transaction occurred (for example, "Google Store"). | No           |
| `brand`        | `string` | Brand associated with the product                                                        | No           |
| `line_item_id` | `string` | ID of the line item in the database                                                      | No           |
| `name`         | `string` | Name of the product                                                                      | Yes          |
| `position`     | `number` | Position in the product list                                                             | No           |
| `price`        | `number` | Price of the product                                                                     | Yes          |
| `product_id`   | `string` | ID of the product in the database                                                        | Yes          |
| `quantity`     | `number` | The quantity of products purchased in this line item                                     | Yes          |
| `revenue`      | `number` | Revenue ($) associated with this line item (excluding shipping and tax)                  | Yes          |
| `sku`          | `string` | SKU of the variant                                                                       | Yes          |
| `variant_name` | `string` | Name of the variant                                                                      | No           |
| `variant_id`   | `string` | ID of the variant in the database                                                        | No           |

# Sample Payload

```json
{
  "type": "track",
  "event": "Subscription Payment Failed",
  "properties": {
    "subscription_id": "1",
    "interval_length": 3,
    "interval_units": "weeks",
    "actionable_date": "2026-01-01T00:00:00.000Z",
    "state": "active",
    "payment_method_name": "Stripe",
    "email": "user@example.com",
    "canceled_at": null,
    "canceled_by": null,
    "activated_at": "2026-01-01T00:00:00.000Z",
    "address": {
      "address1": "123 Fake St",
      "address2": null,
      "alternative_phone": null,
      "phone": "123456789",
      "city": "Oak Lawn",
      "state": "IL",
      "country": "US",
      "name": "John Doe",
      "zipcode": "60532"
    },
    "products": [
      {
        "affiliation": "Affiliation",
        "brand": "Brand",
        "line_item_id": "16207084552295",
        "name": "Product Name",
        "position": 1,
        "price": 219,
        "product_id": "7036464939671",
        "quantity": 1,
        "revenue": 219,
        "sku": "SKU123",
        "variant": "Variant Name",
        "variant_id": "40952658057847"
      }
    ]
  }
}
```

# Example

```bash
curl https://production.cdp.ingest.chord.co/api/track \
--header "Content-Type: application/json" \
--header "X-Write-Key: $CDP_WRITE_KEY" \
--data-raw '
{
  "type": "track",
  "event": "Subscription Payment Failed",
  "properties": {
    "subscription_id": "1",
    "interval_length": 3,
    "interval_units": "weeks",
    "actionable_date": "2026-01-01T00:00:00.000Z",
    "state": "active",
    "payment_method_name": "Stripe",
    "email": "user@example.com",
    "canceled_at": null,
    "canceled_by": null,
    "activated_at": "2026-01-01T00:00:00.000Z",
    "address": {
      "address1": "123 Fake St",
      "address2": null,
      "alternative_phone": null,
      "phone": "123456789",
      "city": "Oak Lawn",
      "state": "IL",
      "country": "US",
      "name": "John Doe",
      "zipcode": "60532"
    },
    "products": [
      {
        "affiliation": "Affiliation",
        "brand": "Brand",
        "line_item_id": "16207084552295",
        "name": "Product Name",
        "position": 1,
        "price": 219,
        "product_id": "7036464939671",
        "quantity": 1,
        "revenue": 219,
        "sku": "SKU123",
        "variant": "Variant Name",
        "variant_id": "40952658057847"
      }
    ]
  }
}
'
```


[title] CDP Consent Categories (Consent Management Category Mapping)
[path] Chord CDP/

:::hint{type="info"}
Note: This feature is available to Chord users who are assigned a **Team Admin** or **Developer&#x20;**&#x72;ole.&#x20;
****
**Member and Data Analyst&#x20;**&#x72;oles can view existing consent categories and mappings but cannot edit or delete consent categories. **Order Admins** will **not** have access to this feature.&#x20;

For additional support, please reach out to [help@chord.co](mailto\:help@chord.co).&#x20;
:::

# Introduction

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-h-9wJNvVvd-oBP2kyrAMG-20250911-211642.png)

Consent management category mapping is the process of aligning the types of customer data you collect—like behavioral, transactional, or marketing preferences—with specific consent categories. This ensures that your brand honors user privacy choices across every touchpoint, making it easier to stay compliant with data privacy guidelines while still managing customer data responsibly.

Chord CDP makes it super easy to create, enable, and manage consent management categories with just a few clicks. Follow the steps below to set up your consent management categories and assign category mappings.

# Create a Consent Category

![](https://archbee-image-uploads.s3.amazonaws.com/VPxpEoMPxDsnmxOyjOdWV-dU_tUBpesYg4AtO-nFmQH-20250911-211454.png)

To create a consent category, follow the steps below:&#x20;

1. Log into the Chord data platform.&#x20;
2. Click into the **Chord CDP**.&#x20;
3. Navigate to the **Consent Categories** tab.
4. Click the **"+ New Category"** button.
5. Update the **Name** of the consent category.
6. Click the ✔️ icon to save the consent category name.
7. Provide the **External ID** of the consent category. **Note:&#x20;**&#x54;his field will be matched against the browser consent managment category id. This is usually defined in the browser's consent management platform.
8. Click the **"Save"** button to save your new consent category.

# Map a Consent Category

Once you have created consent categories, you can now map them to the relevant destinations.

1. Make sure you are in th&#x65;**&#x20;Chord CDP**. Click the **"Overview"** tab.
2. Make sure you have destinations connected.
3. Choose a destination that you'd like to map an existing consent category and click **"Edit"**.&#x20;
4. Within the destination, scroll down to the Consent Requirements section. Toggle your desired **consent categories** on and off.
5. Click **"Save Changes"** to save your updates.

# Edit Consent Categories

1. Make sure you are in th&#x65;**&#x20;Chord CDP**. Click the **"Consent Categories"** tab.
2. For the consent category you'd like to update, click the ✏️ icon.
3. Make the necessary updates to the consent category and click the **"Save"** button.

# Remove Consent Categories

1. Make sure you are in th&#x65;**&#x20;Chord CDP**. Click the **"Consent Categories"** tab.
2. For the consent category you'd like to update, click the 🗑️ icon.
3. You'll see a pop up confirming the deletion. Click **"Delete"**.
4. The consent category you chose has been deleted!




[title] Event deduplication
[path] Chord CDP/

## Delivery Guarantee

The Chord CDP provides **at-least-once delivery** for every event. This means the CDP attempts to deliver each event at least once and may retry when failures occur, so in rare cases the same event may be delivered more than once.

Duplicates are typically caused by transient events in the underlying message pipeline:

- A processing instance restarting (deployment, autoscaling, crash) before its progress is acknowledged
- A network blip or pause that causes an in-flight message to be redelivered
- An upstream producer retry after an unconfirmed delivery
- Temporary failures in downstream services that trigger replays

This is the same delivery model used by the major customer data platforms (Segment, Rudderstack, mParticle), and is the standard guarantee for streaming event pipelines.

## Current Deduplication Policy

The Chord CDP **does not perform message-level deduplication within the pipeline itself**. Instead, deduplication is the responsibility of the downstream destination.

For every event the CDP processes, the source-provided `messageId` is preserved end-to-end and made available to every destination. Destinations should use the `messageId` (or a deterministic value derived from it — some destinations require a transformed identifier, e.g., a `messageId` with a suffix) to detect and reject duplicates on their side.

### How destinations should handle duplicates

| Destination Type                                                                | Recommended Approach                                                                                                                                                                                                                                                                                                                |
| ------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Data warehouses** (Snowflake, BigQuery, Postgres, Redshift, ClickHouse, etc.) | Configure deduplication at the destination using `messageId` as the primary key. The Chord CDP supports per-connection deduplication options (`deduplicate` + `primaryKey`) that perform `MERGE`/`UPSERT` on each load. ClickHouse destinations collapse duplicates on background merges via the `ReplacingMergeTree` table engine. |
| **HTTP APIs** (Braze, Klaviyo, Insider, Stripe, etc.)                           | Pass `event.messageId` (or a destination-specific derivation of it) as an idempotency key in the API request — typically via the `Idempotency-Key` HTTP header. Most modern APIs will reject or ignore requests with a previously-seen idempotency key.                                                                             |
| **Reverse ETL / loopback destinations**                                         | Filter by `messageId` in the destination system, or rely on the destination's natural primary-key constraints.                                                                                                                                                                                                                      |

## Why Deduplicate at the Destination?

Destination-side deduplication is the conventional pattern for streaming data systems, for several reasons:

1. **Destinations have authoritative state.** A warehouse already knows whether a row with a given primary key exists. An HTTP API already knows whether it has processed a given idempotency key. Asking these systems to detect duplicates is more reliable than maintaining a parallel record elsewhere.
2. **Destinations are diverse.** Different destinations have different definitions of "duplicate" — some merge by primary key, some upsert by composite key, some collapse on background processes. A pipeline-level dedup can't capture this nuance.
3. **It avoids a single point of failure.** A pipeline-level dedup store would be a critical-path dependency; if it became slow or unavailable, the entire pipeline would degrade. Pushing dedup to destinations keeps the pipeline fast and stateless.
4. **It aligns with how streaming pipelines work.** At-least-once is the default delivery semantic of the underlying streaming infrastructure. Building exactly-once on top requires complex coordination that introduces its own failure modes.

## Implications for Custom Functions (UDFs)

UDFs run inside the CDP pipeline before events are dispatched to destinations. Because the CDP is at-least-once, **a UDF may execute more than once for the same source event** in rare redelivery scenarios.

For UDFs that are pure transformations (enrichment, filtering, splitting), this is harmless — the destination will still deduplicate the result by `messageId`.

However, UDFs that perform **external write operations** (calling a third-party API that modifies state, incrementing a remote counter, sending an email, writing to a database) should be designed to be idempotent. The standard approach is to pass `event.messageId` as an idempotency key to the external system:

```javascript
export default async function (event, { fetch }) {
  await fetch("https://api.example.com/orders", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
      "Idempotency-Key": event.messageId,  // ← prevents duplicate writes on redelivery
    },
    body: JSON.stringify({ /* ... */ }),
  });
  return event;
}
```

Without an idempotency key, a redelivered event could cause the UDF's external write to occur twice.

## Working with `messageId`

Every event flowing through the CDP carries a `messageId` field. If the source provides one, it is preserved end-to-end. If not, the CDP generates a unique identifier at ingest time. The `messageId` is:

- **Stable** — the same value is forwarded to every destination
- **Unique** — within a reasonable window (system-generated unique identifiers, or source-provided identifiers that the source guarantees unique)
- **Available everywhere** — exposed on the `event` object inside UDFs as `event.messageId`, included in the payloads sent to destinations, and visible in Live Events

Use it as the canonical key for any deduplication, tracing, or correlation downstream.

## Related Topics

- For details on configuring per-connection deduplication options for a warehouse destination, see your destination configuration page in the Chord Console.
- For guidance on writing idempotent UDFs, see the CDP Functions documentation.

## Support

For questions about deduplication, delivery guarantees, or how to configure your destination, please contact [help@chord.co](mailto\:help@chord.co).

[title] Unifying Data Across Sources
[path] Chord Event Tracking/Guides/

Chord’s standard data implementation includes events being sent to the CDP from, at minimum, a website front-end and a server source. To ensure these events are associated to the same user record in the CDP, the website front-end needs to save a few browser identifiers as attributes on the cart or order, so they can be retrieved later by the server source and included in CDP events.

## Shopify

For Shopify sites, these identifiers should be added as cart attributes.

If using the Shopify Storefront API in a headless architecture, this can be done using the [`cartAttributesUpdate`](https://shopify.dev/docs/api/storefront/2023-10/mutations/cartAttributesUpdate) mutation.

If you are using the Shopify web pixel in a store that uses a Liquid theme, you'll want to add the following script to your Liquid theme:

```html
<script src="https://cdn.chord.co/analytics-liquid-identifiers/v1/analytics-liquid-identifiers.min.js" defer="defer"></script>
```

## Others

At minimum, a cart attribute named `_cdpAnonymousId` must be added with the value being the anonymous ID assigned to the user in the browser. When using Segment, this ID can be found by calling `window.analytics.user().anonymousId()` on any page where Segment’s Javascript is present. It won't be available until after Segment has been initialized, so you may want to wait for the `analytics.ready` [callback](https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/#ready).

If using Google destinations, add an attribute named `_googleClientId` with the value `getCookie('_ga').substring(6)`. *Note:&#x20;*`getCookie`*&#x20;is not a native Javascript function and needs to be implemented. See&#x20;*[an example implementation](https://developer.mozilla.org/en-US/docs/Web/API/Document/cookie)*.*

Add these attributes to the cart before the customer navigates to checkout. Ideally, if adding these attributes requires an API request, add these attributes at a time that doesn’t block user interaction with your site, like when the cart page loads or after a product is added to the cart.


[title] Migrating from Segment to Chord CDP
[path] Chord Event Tracking/Guides/

:::hint{type="info"}
The only difference between using Chord's SDKs to send events to Chord CDP vs Segment is *where the events are sent*. **The events will remain exactly the same.** As a result, only small configuration changes are needed.  Easy!
:::

## Client-side / front-end events

### Chord Analytics library

If you're using the `@chordcommerce/analytics` library on a headless site, your current implementation might look something like this:

```javascript
import { ChordAnalytics } from '@chordcommerce/analytics'
import { AnalyticsBrowser } from '@segment/analytics-next'

const cdp = AnalyticsBrowser.load({
  writeKey: process.env.SEGMENT_WRITE_KEY,
})
const chord = new ChordAnalytics({
  cdp,
  formatters: { ... },
  metadata: { ... },
})

// Example events
chord.page()
chord.trackProductAdded({ ... })
```

In that case, migrating to Chord CDP will involve:

1. updating `@chordcommerce/analytics` to version `1.9.1` or greater
2. removing the `@segment/analytics-next` dependency
3. removing initialization of the `cdp` variable and configuration option
4. using `cdpDomain` and `cdpWriteKey` configuration options - both to be provided by Chord - instead
5. using the `consent` configuration option for built-in consent management support (optional)

The resulting code will look something like this:

```javascript
import { ChordAnalytics } from '@chordcommerce/analytics'

const chord = new ChordAnalytics({
  cdpDomain: process.env.CHORD_CDP_DOMAIN,
  cdpWriteKey: process.env.CHORD_CDP_WRITE_KEY,
  consent: 'shopify', // optional
  formatters: { ... },
  metadata: { ... },
})

// Example events (unchanged)
chord.page()
chord.trackProductAdded({ ... })
```

**Running both in parallel**

It is possible to send every event to both Chord CDP *and* Segment at the same time. This is useful for running a side-by-side comparison of event data during migration. It also buys more time when migrating destinations.

The resulting code would be a combination of the two examples above; for example:

```javascript
import { ChordAnalytics } from '@chordcommerce/analytics'
import { AnalyticsBrowser } from '@segment/analytics-next'

const cdp = AnalyticsBrowser.load({
  writeKey: process.env.SEGMENT_WRITE_KEY,
})
const chord = new ChordAnalytics({
  cdp,
  cdpDomain: process.env.CHORD_CDP_DOMAIN,
  cdpWriteKey: process.env.CHORD_CDP_WRITE_KEY,
  formatters: { ... },
  metadata: { ... },
})

// Example events (unchanged)
chord.page()
chord.trackProductAdded({ ... })
```

Once the validation and migration are complete, the Segment code can be safely removed to match the second example.

### Shopify web pixel

If you're using Chord's Shopify web pixel - either for a fully Liquid site or just for Checkout Extensibility - we will provide an updated web pixel that supports Chord CDP.

### Chord OMS SDKs

If your storefront is built on Chord OMS using the Gatsby or Next.js starterkits, the Chord team will help you swap the Segment snippet for the Chord CDP snippet.

## Server-side / back-end events

Regardless of OMS, Chord will assist in the migration of server-side/back-end events. It will be an equally simple process, but the actual implementation will vary based on the current architecture.

[title] Track
[path] Chord Event Tracking/Server Events/

Track events correspond to actions your user or system complete during the purchase journey. For example `Order Completed`or `Shipment Shipped`.

All track events must include the following properties in the payload:

| **Property**  | **Type** | **Required?** | **Description**                                |
| ------------- | -------- | ------------- | ---------------------------------------------- |
| `type`        | string   | Required      | `track`                                        |
| `event`       | string   | Required      | The name of the event, e.g. \`Order Completed  |
| `userId`      | string   | Optional      | ID # of the identified user (or email address) |
| `anonymousId` | string   | Optional      | ID # of the unidentified user, if available.   |

# Events

## Order

- [Order Canceled](docId\:jT_YWRciuuG2WPM9XDkLw)
- [Order Completed](docId\:IaFTvqdHTQ3FxnLE5PQSw)
- [Order Refunded](docId\:YaUKCcBlzZrvKh3K_CI59)

## Shipment

- [Shipment Delivered](docId\:elrpV-N5cDhSuN1gV2hYZ)
- [Shipment Shipped](docId\:wBwx9EJNDlM5p23UUBZ3i)

## Subscription

- [Subscription Auto-Renewed](docId\:gpYpS0JPX88Y7YnRvKhL4)
- [Subscription Created](docId\:ynO6odyqwmXB4sjuTVFAk)
- [Subscription Expired](docId\:WJypi_5RbWTho_PcvZqhG)
- [Subscription Order Skipped](docId\:waZijYIJRELHrGO33lzBz)
- [Subscription Paused](docId\:kJd6LrttTCi-WTi3o-pmg)
- [Subscription Payment Failed](docId\:Nui186-7ahi2Pi-AmBvSp)
- [Subscription Reminder Sent](docId\:IZnizDZpz3BfO1UJXFTsb)
- [Subscription Resumed](docId:2iM6eWnIHdl1k_o_DlyCy)

## User

- [User Created](docId\:YjBnI8mWgI6aBGtpqvLGO)


[title] Tag
[path] Chord CDP/CDP Destinations/CDP Destination Catalog/

The **Tag** destination lets you run custom JavaScript or HTML snippets in the browser whenever a Chord CDP event fires. Use it to send events to third-party tools that don't have a built-in Chord destination, fire custom pixels, or trigger any browser-side logic tied to your event stream. There is no server-side component.

# Getting Started

This is a device-mode destination. No external credentials are required — you provide the code to execute directly in the destination configuration.

# Connecting to the Tag CDP Destination

1. Log into the Chord data platform.
2. Navigate to the CDP.
3. Click the **"Add"** button next to Destinations.
4. Select **Tag** from the destination catalog.
5. Enter a destination name.
6. Paste your JavaScript or HTML snippet into the **Code** field.
7. Click **"Create"** to connect.

# How It Works

Every time a Chord event fires (e.g. `window.chord.track("Order Completed", {...})`), the Tag destination executes your code once with the full event object available. Your snippet runs synchronously in the browser — no polling, no persistent listeners required.

Two code modes are supported:

## JavaScript Mode

Write plain JavaScript. The event is available as a local `const event` variable — no imports or setup needed.

**Source track call:**

```js
window.chord.track("Order Completed", {
  order_id: "R-10042",
  revenue: 89.95,
  total: 96.94,
  currency: "USD",
  order_date: "2026-05-11T14:23:00Z",
  email: "jane@example.com",
  shipping: 4.99,
  tax: 2.0,
  subtotal: 79.97,
  products: [
    { product_id: "prod_1", sku: "SHIRT-BLU-M", name: "Blue T-Shirt", price: 29.99, quantity: 2, revenue: 59.98 },
    { product_id: "prod_2", sku: "HAT-BLK-OS",  name: "Black Cap",    price: 19.99, quantity: 1, revenue: 19.99 }
  ]
});
```

**Tag destination code:**

```js
console.log(event.event, event.properties);
```

**Console output:**

```javascript
Order Completed {order_id: 'R-10042', revenue: 89.95, total: 96.94, currency: 'USD', order_date: '2026-05-11T14:23:00Z', products: Array(2), …}
```

## HTML Mode

Embed `<script>` tags or pixel `<img>` tags. Use the `{{ event }}` macro inside `<script>` blocks; it is replaced at runtime with the full JSON-serialized event object. Avoid using it in HTML attributes — the substituted value is raw JSON (with quotes and braces) and will break attribute syntax.

**Source track call:** *(same as above)*

**Tag destination code:**

```html
<script>
  var data = {{ event }};
  console.log(data.event, data.properties);
</script>
```

**After macro substitution**, the injected script looks like:

```html
<script>
  var data = {"event":"Order Completed","type":"track","userId":"usr_abc123","anonymousId":"anon_xyz789","timestamp":"2026-05-11T14:23:00.000Z","messageId":"msg_001","properties":{"order_id":"R-10042","revenue":89.95,"total":96.94,"currency":"USD","order_date":"2026-05-11T14:23:00Z","products":[{"product_id":"prod_1","sku":"SHIRT-BLU-M","name":"Blue T-Shirt","price":29.99,"quantity":2,"revenue":59.98},{"product_id":"prod_2","sku":"HAT-BLK-OS","name":"Black Cap","price":19.99,"quantity":1,"revenue":19.99}],"email":"jane@example.com","shipping":4.99,"tax":2.00,"subtotal":79.97},"context":{"page":{"url":"https://mystore.com/checkout/complete"},"userAgent":"Mozilla/5.0 ..."}};
  console.log(data.event, data.properties);
</script>
```

# The Event Object

| Field         | Type   | Present on      | Description                                               |
| ------------- | ------ | --------------- | --------------------------------------------------------- |
| `type`        | string | All events      | Event type: `"track"`, `"identify"`, or `"page"`          |
| `event`       | string | `track` only    | Event name, e.g. `"Order Completed"`                      |
| `userId`      | string | All events      | Identified user ID (if available)                         |
| `anonymousId` | string | All events      | Anonymous browser ID                                      |
| `timestamp`   | string | All events      | ISO 8601 timestamp                                        |
| `messageId`   | string | All events      | Unique ID for this event                                  |
| `properties`  | object | `track`, `page` | Event-specific or page properties                         |
| `traits`      | object | `identify`      | User traits passed to `identify()`                        |
| `context`     | object | All events      | Contextual info: IP, user agent, page URL, campaign, etc. |

Use `event.type` to distinguish between call types; use `event.event` to match specific track event names.

# Filtering by Event Name

Your code receives **every** event. Use a conditional to scope your logic to specific events:

```js
if (event.event === "Order Completed") {
  // runs only on Order Completed
}
```

# Example: Hello World — Order Completed

This snippet logs order details to the browser console and sends a beacon to a custom endpoint whenever an `Order Completed` event fires.

**Source track call:**

```js
window.chord.track("Order Completed", {
  order_id: "R-10042",
  revenue: 89.95,
  total: 96.94,
  currency: "USD",
  order_date: "2026-05-11T14:23:00Z",
  email: "jane@example.com",
  shipping: 4.99,
  tax: 2.0,
  subtotal: 79.97,
  products: [
    { product_id: "prod_1", sku: "SHIRT-BLU-M", name: "Blue T-Shirt", price: 29.99, quantity: 2, revenue: 59.98 },
    { product_id: "prod_2", sku: "HAT-BLK-OS",  name: "Black Cap",    price: 19.99, quantity: 1, revenue: 19.99 }
  ]
});
```

**Tag destination code:**

```js
if (event.event === "Order Completed") {
  var props = event.properties;

  console.log(
    "[My Tag] Order Completed — order_id:", props.order_id,
    "revenue:", props.revenue,
    "currency:", props.currency
  );

  navigator.sendBeacon(
    "https://my-analytics.example.com/collect",
    JSON.stringify({
      event:    event.event,
      order_id: props.order_id,
      revenue:  props.revenue,
      currency: props.currency,
      products: props.products
    })
  );
}
```

**Console output:**

```javascript
[My Tag] Order Completed — order_id: R-10042 revenue: 89.95 currency: USD
```

**Beacon payload** (JSON body sent to your endpoint):

```json
{
  "event": "Order Completed",
  "order_id": "R-10042",
  "revenue": 89.95,
  "currency": "USD",
  "products": [
    {
      "product_id": "prod_1",
      "sku": "SHIRT-BLU-M",
      "name": "Blue T-Shirt",
      "price": 29.99,
      "quantity": 2,
      "revenue": 59.98
    },
    {
      "product_id": "prod_2",
      "sku": "HAT-BLK-OS",
      "name": "Black Cap",
      "price": 19.99,
      "quantity": 1,
      "revenue": 19.99
    }
  ]
}
```

## Order Completed Properties Reference

| Property     | Type   | Required | Description                                       |
| ------------ | ------ | -------- | ------------------------------------------------- |
| `order_id`   | string | Yes      | Order identifier                                  |
| `revenue`    | number | Yes      | Revenue from the order                            |
| `total`      | number | Yes      | Total order value                                 |
| `currency`   | string | Yes      | ISO 4217 currency code (e.g. `"USD"`)             |
| `order_date` | string | Yes      | Order date (ISO 8601)                             |
| `products`   | array  | Yes      | Line items — see tracking plan for product schema |
| `email`      | string | No       | Customer email                                    |
| `first_name` | string | No       | Customer first name                               |
| `last_name`  | string | No       | Customer last name                                |
| `coupon`     | string | No       | Coupon code applied                               |
| `discount`   | number | No       | Discount amount                                   |
| `shipping`   | number | No       | Shipping cost                                     |
| `tax`        | number | No       | Tax amount                                        |
| `subtotal`   | number | No       | Pre-tax, pre-shipping subtotal                    |

For the full tracking plan including all events and property schemas, refer to the Chord Tracking Plan documentation.

# Limitations

- **Device-mode only** — Tag destination code runs in the browser. It has no access to server-side context and cannot be used for server-to-server integrations.
- **No persistent state** — Your snippet is executed fresh on each event. Use `window` to share state across calls if needed.
- **Event filtering** — The destination connection supports `events` and `hosts` filters in the connection settings to restrict which events or domains trigger your code. You can also filter inside your snippet with `event.type` or `event.event` for finer-grained control.

***

**Updated 11 May 2026**

[title] Order Refunded
[path] Chord Event Tracking/Server Events/Track/

This event is triggered when an order is refunded.

# Properties

| **Name**           | **Type**   | **Description**                                                                          | **Required** |
| ------------------ | ---------- | ---------------------------------------------------------------------------------------- | ------------ |
| `affiliation`      | `string`   | Store or affiliation from which this transaction occurred (for example, "Google Store"). | No           |
| `channel`          | `string`   | The sales channel                                                                        | No           |
| `checkout_id`      | `string`   | ID of the checkout session for the purchase                                              | No           |
| `checkout_type`    | `string`   | Checkout provider (e.g. `Stripe`)                                                        | No           |
| `currency`         | `string`   | ISO currency code of the transaction (e.g. `USD`)                                        | Yes          |
| `discount`         | `number`   | The total discount applied to the order                                                  | No           |
| `email`            | `string`   | Email address associated with the order                                                  | No           |
| `first_name`       | `string`   | Customer's first name                                                                    | No           |
| `last_name`        | `string`   | Customer's last name                                                                     | No           |
| `order_date`       | `date`     | Date and time the order was placed                                                       | Yes          |
| `order_id`         | `string`   | Order/transaction ID                                                                     | Yes          |
| `phone`            | `string`   | Customer's phone number                                                                  | No           |
| `products`         | `object[]` | Products in the order                                                                    | Yes          |
| `revenue`          | `number`   | Revenue ($) associated with the transaction (excluding shipping and tax)                 | Yes          |
| `shipping`         | `number`   | The total amount for shipping                                                            | No           |
| `shipping_city`    | `string`   | City of the shipping address                                                             | No           |
| `shipping_country` | `string`   | ISO country code for the shipping address                                                | No           |
| `shipping_state`   | `string`   | ISO state code for the shipping address                                                  | No           |
| `shipping_zipcode` | `string`   | Zip or postal code for the shipping address                                              | No           |
| `subscription_id`  | `string`   | ID of the subscription created from this purchase, if applicable                         | No           |
| `subtotal`         | `number`   | Order total including discounts but excluding shipping and tax                           | No           |
| `tax`              | `number`   | The total tax captured on the order                                                      | No           |
| `total`            | `number`   | The order grand total, summing the subtotal, discount, shipping, and tax                 | Yes          |

## Products array

| **Name**       | **Type** | **Description**                                                                          | **Required** |
| -------------- | -------- | ---------------------------------------------------------------------------------------- | ------------ |
| `affiliation`  | `string` | Store or affiliation from which this transaction occurred (for example, "Google Store"). | No           |
| `brand`        | `string` | Brand associated with the product                                                        | No           |
| `line_item_id` | `string` | ID of the line item in the database                                                      | No           |
| `name`         | `string` | Name of the product                                                                      | Yes          |
| `position`     | `number` | Position in the product list                                                             | No           |
| `price`        | `number` | Price of the product                                                                     | Yes          |
| `product_id`   | `string` | ID of the product in the database                                                        | Yes          |
| `quantity`     | `number` | The quantity of products purchased in this line item                                     | Yes          |
| `revenue`      | `number` | Revenue ($) associated with this line item (excluding shipping and tax)                  | Yes          |
| `sku`          | `string` | SKU of the variant                                                                       | Yes          |
| `variant_name` | `string` | Name of the variant                                                                      | No           |
| `variant_id`   | `string` | ID of the variant in the database                                                        | No           |

# Sample Payload

```json
{
  "type": "track",
  "event": "Order Refunded",
  "properties": {
    "affiliation": "Afilliation",
    "checkout_id": "40854979018855",
    "checkout_type": "Shopify | OMS | Other",
    "currency": "USD",
    "discount": 5,
    "email": "user@example.com",
    "first_name": "John",
    "last_name": "Doe",
    "order_date": "2025-09-12T11:45:45-07:00",
    "order_id": "6736819880039",
    "order_number": "1895671",
    "phone": "+15555555555",
    "revenue": 219,
    "shipping": 9.9,
    "shipping_city": "Fall River",
    "shipping_country": "US",
    "shipping_state": "MA",
    "shipping_zipcode": "02720",
    "subtotal": 219,
    "tax": 13.69,
    "total": 237.59,
    "products": [
      {
        "affiliation": "Affiliation",
        "brand": "Brand",
        "line_item_id": "16207084552295",
        "name": "Product Name",
        "position": 1,
        "price": 219,
        "product_id": "7036464939671",
        "quantity": 1,
        "revenue": 219,
        "sku": "SKU123",
        "variant": "Variant Name",
        "variant_id": "40952658057847"
      }
    ],
    "meta": {
      "i18n": {
        "currency": "USD",
        "locale": "en-US"
      },
      "platform": {
        "name": "Shopify | OMS | Other",
        "type": "web"
      },
      "store": {
        "domain": "domain"
      },
      "version": {
        "major": 3,
        "minor": 0,
        "patch": 0
      }
    }
  },
  "userId": "8046328840295",
  "anonymousId": "7a76b270-c318-4477-b1e1-33eac94dbd1e"
}
```

# Example

```bash
curl https://production.cdp.ingest.chord.co/api/track \
--header "Content-Type: application/json" \
--header "X-Write-Key: $CDP_WRITE_KEY" \
--data-raw '{
{
  "type": "track",
  "event": "Order Refunded",
  "properties": {}
  "meta": {},
  "userId": "123456",
  "anonymousId": "7a76b270-c318-4477-b1e1-33eac94dbd1e"
}
```


[title] Getting started
[path] Chord Event Tracking/

## Overview

Chord Commerce is a commerce data platform for modern brands that streamlines the unification and activation of data across various business teams. The platform provides recommended tracking events for commerce sites to gather transactional and behavioral data, enabling comprehensive analytics and insights.

To get started, choose the guide that matches your commerce platform below.

## Installation Guides

### Shopify

For all Shopify stores — whether using a Liquid theme, Hydrogen, or a custom headless storefront.

- [Shopify installation](docId:7gGdgpVq4j3qwBPrHY1Fr) — Add Chord event tracking to your Shopify store
- [Shopify consent management](docId:8VjVftGhqN3w2fXaLQ43Z) — Configure privacy consent with Shopify's Customer Privacy API

### Non-Shopify Platforms

For custom storefronts, standalone websites, or platforms other than Shopify.

- [Custom storefront installation](docId\:UVSfzl1AlI_pMXp3KVO-B) — Add Chord event tracking using the Analytics SDK
- [Custom storefront consent management](docId\:NnS7HQreREyTGuQiQ7FoW) — Configure privacy consent with OneTrust or other providers

## Reference

- [Configuration](docId\:TEmFRwmdsClHrFfFNW_Zr) — Configuration options, metadata, and formatters
- [SDK API reference](docId\:iRcChoqam1zT_0UQZeLPp) — Complete list of tracking methods and their parameters

## Prerequisites

The Chord team will provide the following values needed for setup:

| Value         | Description                                   |
| ------------- | --------------------------------------------- |
| CDP Domain    | Your Chord endpoint                           |
| CDP Write Key | Authentication key for sending events         |
| OMS ID        | UUID identifying your order management system |
| Store ID      | UUID identifying your store                   |
| Tenant ID     | UUID identifying your organization            |

Contact [help@chord.co](mailto\:help@chord.co) if you haven't received these values.

[title] Shopify installation
[path] Chord Event Tracking/Getting started/Shopify/

This guide covers adding Chord event tracking to any Shopify store — Liquid themes, Hydrogen, or custom headless storefronts. The setup has three parts:

1. **Add&#x20;**`@chordcommerce/analytics`**&#x20;to your storefront** — loads the tracking library on your site
2. **Add the custom web pixel in Shopify Admin** — tracks checkout events and, for Liquid themes, storefront events
3. **Enable server event tracking via webhooks** — tracks server-side events such as order creations and order refunds

Adding all three elements ensures that all events, from browsing through checkout — including on Shopify's hosted checkout pages, are tracked in Chord.

:::hint{type="warning"}
Due to technical limitations within Shopify, the Chord analytics package does not load on Shop Pay pages.
:::

## Prerequisites

Before starting, ensure you have the values listed in [Getting Started]().

## How it works

Chord tracking on Shopify uses two components that work together:

1. `@chordcommerce/analytics` runs on your storefront pages and sends tracking events to Chord. It also loads any device-mode destination scripts (such as Google Analytics or Meta Pixel) directly in the browser. Additionally, it listens for events forwarded from the custom web pixel.
2. **The custom web pixel** runs within Shopify's event system, where it subscribes to all customer events (page views, add-to-cart, checkout steps, order completion). For storefront events, the web pixel forwards them to a listener on the top window within `@chordcommerce/analytics`, which processes the event and delivers it to Chord and any configured destinations (device-mode and cloud-mode). For checkout events that occur on Shopify-hosted pages, the web pixel sends them directly to Chord via cloud mode.

This architecture ensures complete event coverage — storefront interactions, Shopify-hosted checkout pages, and post-purchase events are all captured through a single, unified pipeline.

:::hint{type="info"}
**Note:** Due to technical limitations in Shopify, device-mode destinations (scripts that run in the browser) cannot be loaded or executed on Shopify-hosted pages. These pages include:

- Checkout
- Order status
- Thank you page

Events on these pages are delivered exclusively via cloud mode. Storefront pages are not affected — device-mode destinations load and execute normally there.
:::

## Step 1: Add `@chordcommerce/analytics` to Your Storefront

### Option A: Liquid Theme

For stores using a standard Shopify Liquid theme, add the Chord analytics snippet to your theme.

1. In your Shopify Admin, go to **Online Store > Themes > Edit code**.
2. Create a new snippet called `chord.liquid` and paste the following:

:::CodeblockTabs{indent="1"}
```javascript
{% comment %} //Instantiates analytics-liquid-identifiers, which handles reading/pasing of Cookies to Shopify cart attributes {% endcomment %}
  <script
    src='https://cdn.chord.co/analytics-liquid-identifiers/v1/analytics-liquid-identifiers.min.js'
    defer='defer'
  ></script>

{% comment %} //Instantiates Chord Analytics {% endcomment %}
<script type="module">
  import { ChordAnalytics } from 'https://cdn.jsdelivr.net/npm/@chordcommerce/analytics@1.22.1/+esm'

  window.chord = new ChordAnalytics({
    cdpDomain: 'https://production.cdp.ingest.chord.co',
    cdpWriteKey: 'your-chord-write-key',
    enableLogging: false,
    consent: null, // set to 'shopify' | 'onetrust' | 'ketch' | 'segment' to enable consent management
    awaitConsent: false, // when true, blocks all events until the consent provider confirms the user can be tracked
    formatters: {
      objects: {
        cart: (props) => props.cart,
        checkout: (props) => props.checkout,
        lineItem: (props) => props.lineItem,
        product: (props) => props.product,
      },
    },
    metadata: {
      i18n: {
        currency: {{ cart.currency.iso_code | default: 'USD' | json }},
        locale: "{{ localization.language.iso_code | default: 'en' }}-{{ localization.country.iso_code | default: 'US' }}",
      },
      ownership: {
        omsId: 'your-oms-id',
        storeId: 'your-store-id',
        tenantId: 'your-tenant-id',
      },
      platform: {
        name: 'shopify',
        type: 'web',
      },
      store: {
        domain: 'your-store-slug',
      },
    },
  })
</script>

```
:::

3. In `layout/theme.liquid`, add the following before the closing `</body>` tag:

:::CodeblockTabs{indent="1"}
```javascript
{% render 'chord' %}
```
:::

### Option B: Hydrogen / Headless Storefront

For Hydrogen or other JavaScript-based storefronts, install the npm package.

1. Install the package:
2. Initialize the library in your root layout or app entry point:
3. Add your environment variables:

See [Configuration]() for the full list of options, and [SDK API Reference]() for tracking methods you can call from your storefront code.

## Step 2: Add the Custom Web Pixel

The custom web pixel subscribes to all Shopify customer events and tracks events on Shopify-hosted pages, such as checkout. Specifically for each platform:

- **Liquid themes**: All storefront and checkout tracking
- **Headless storefronts**: Checkout tracking only (storefront events are handled by your SDK integration in Step 1)

### Installation

1. In your Shopify Admin, go to **Settings > Customer events**.
2. Click **Add custom pixel**.
3. Name the pixel (e.g., "Chord").
4. Paste the web pixel code provided by the Chord team. The code includes configuration constants at the top that must be filled in:
5. Under **Customer privacy**, select **Does not require consent** (consent is managed by `@chordcommerce/analytics` — see [Consent Management]()).
6. Click **Save**, then click **Connect** to activate the pixel.

### Verifying the Installation

After installing both components, open your browser's developer console and verify:

1. **On a storefront page** (e.g., a product page): You should see Chord network requests when browsing products, adding to cart, etc.
2. **On the checkout page**: Checkout events (Checkout Started, Payment Info Entered, Order Completed) should appear in your Chord Live Events view.

:::hint{type="info"}
**Tip:** Set debug: true in your @chordcommerce/analytics configuration during development. This validates events against the tracking plan and logs warnings for missing or incorrect properties
:::

## Step 3: Enable Server Event Tracking

In addition to front-end tracking, Chord can receive server-side events from Shopify via webhooks. This enables tracking for events that occur outside the browser, such as order refunds.

See [Shopify server event tracking](docId\:xbL7zBqE14BT7gbTMl0un) for setup instructions.

## Troubleshooting

### Events not appearing in Chord

- Verify the Domain and Write Key are correct in both the analytics library and the web pixel.
- Check the browser console for error messages from Chord.
- Ensure the web pixel status is "Connected" in Shopify Admin > Customer events.

### Storefront events missing (Liquid themes)

- Confirm `{% render 'chord' %}` is in your `theme.liquid` layout.
- Check the browser console for script loading errors from jsdelivr.

### Checkout events missing

- Verify the web pixel is connected (not just saved) in Shopify Admin.
- Check that the credentials in the web pixel match your analytics library configuration.
