For the complete documentation index, see llms.txt. This page is also available as Markdown.

Overview

This section covers getting events from your store into Chord. Chord has a recommended set of tracking events that commerce sites implement to collect transactional and behavioral data. These events power the analytics and insights in Chord. The tracking plan lists every event and the properties it expects.

Events reach Chord from two places, and you set up both.

Browser events

Browser events come from the shopper's browser as they use your storefront: page views, product views, add to cart and checkout steps. They're sent by @chordcommerce/analytics, Chord's browser SDK. It also runs your browser (device-mode) destinations, such as Meta Pixel or GA4.

On Shopify, the Chord web pixel works alongside the SDK. Shopify only reports shopper actions to pixels, so the pixel passes them to the SDK, and sends checkout events itself from Shopify's checkout pages.

Server events

Server events come from your backend, or from Shopify's servers, when something happens to an order: placed, cancelled, refunded or shipped. They don't depend on the shopper's browser, so they're the reliable record of what was sold. Chord links them back to the shopper's browser session using an anonymous ID saved on the cart.

Set up your store

  • Shopify: Liquid themes, Hydrogen and custom headless Shopify storefronts.

  • Everyone else: Salesforce Commerce Cloud, Adobe Commerce (Magento), SAP Commerce and custom platforms.

Reference

  • Tracking plan: every event Chord expects, and the properties each one carries.

Last updated

Was this helpful?