Chord Commerce Event Tracking
...
Server Event Tracking
Enabling Subscription Events
9 min
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 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 subscription contracts events to the app that created the contract (i e shopify subscriptions, recharge) 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 webhook topics are supported through this implementation subscription contracts/create sends chord's subscription created event subscription contracts/cancel sends chord's subscription canceled event subscripton contracts/pause sends chord's subscription paused event subscripton contracts/expire sends chord's subscription expired event subscription billing attempts/failure sends chord's subscription payment failed event 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 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 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 install 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 mailto\ help\@chord co importing flows click import flow and import the provided flow files below flow files take these flow files and ipmort them into your shopify flow app import modal validate & review verify the configuration in shopify verify the successful delivery of events in chord cdp from your configured back end source 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 mailto\ help\@chord co with any questions/concerns