Introduction
In this documentation, we'll walk through adding Chord tracking to a Shopify storefront and checkout.
Shopify storefronts can be either headless or use a Shopify theme. Your approach to adding Chord's tracking will be different depending on how your storefront is built and how you have configured Shopify checkout.
To add Chord tracking to your storefront:
To add Chord tracking to Shopify checkout:
It's important to add tracking to both your storefront and your Shopify checkout to accurately track the conversion journey.
In addition to the front-end tracking events from your theme, 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"
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.