Introduction
using chord with a shopify theme chord offers a javascript tracking library designed specifically for shopify themes just copy and paste the chord tracking snippet into your theme (see installing in a shopify theme docid\ rinnazdf89r6m qk4v21 ), and you'll immediately see your storefront send these events to the cdp a page event for every page view an identify event for every page view for a logged in user the following track events "cart viewed" "checkout started" "email captured" "order completed" "product clicked" "product viewed" you can also add more track events from chord's tracking plan, or any of your own custom events you'll also need to configure your store to send server events see enabling server events docid\ wcf7iqzjgr3jsnu9iu0pz using chord with a headless shopify site for headless sites, chord recommends using the @chordcommerce/analytics package see installing chord analytics docid 1nv6kpjcw0tgvwzw1sork to get started if you're using checkout liquid , you'll need to add chord's liquid tracking snippet to track your shopify checkout flow this will provide page events, identify events, and "order completed" track events see installing in a shopify theme docid\ rinnazdf89r6m qk4v21 you'll also need to configure your store to send server events see enabling server events docid\ wcf7iqzjgr3jsnu9iu0pz server events 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 docid\ wcf7iqzjgr3jsnu9iu0pz