Docs / Integration Tutorials /  

Stripe

Stripe Conversion Tracking And Attribution – How To Set Up

Track Stripe payments by receiving paid invoice web hooks from Stripe

Contents

Track Stripe Subscriptions, Billing or Invoicing funnels

Able CDP records source of each visitor when they become leads or sign-up, associating the customer details with the visitor identity. It also adds unique identifiers to each initiated checkout using Stripe Payment Link or Payment Table. This allows to tracking and attribute all payments and subscription lifecycle events in Stripe to the original visitor sources entirely server-side, relying on server-side webhooks sent by Stripe, as well as send precise click id parameter to the supported ad platform integrations such as Facebook Conversions APIGoogle Ads API and TikTok Events API.

Able Customer Data Platform invoice tracking supports modern Stripe integrations that use Stripe Subscriptions, Billing or Invoicing.

To send Purchases and other subscription lifecycle events from Stripe to Able:

  1. Open Stripe Webhook Dashboard
  2. Add Webhook Endpoint https://app.ablecdp.com/api/properties/%%PROPERTY_ID%%/webhooks/stripe (where %%PROPERTY_ID%% is the id of your Able CDP Funnel) and enable the following events: invoice.paid, checkout.session.completed, customer.subscription.deleted, charge.refunded

Able CDP will now receive webhooks from Stripe, automatically attributing Purchases by customer emails and phones and sending Purchase conversions with detailed Invoice Lines where supported.

Read more about how to track SaaS conversion funnels on our website.

Track legacy Stripe integrations

In addition to tracking Stripe invoice payments, Able supports tracking of Stripe one-off payments processed by Payment Intent integration or Charge API Stripe integration. This type of Stripe payment processing is often used by third-party checkout products and some third-party billing providers such as Chargebee. They're also sometimes used by custom-built integrations in order to save Stripe commission on Billing or Invoicing products.

To send Purchase events from Stripe to Able:

  1. Open Stripe Webhook Dashboard
  2. Add Webhook Endpoint https://app.ablecdp.com/api/properties/%%PROPERTY_ID%%/webhooks/stripe (where %%PROPERTY_ID%% is the id of your Able CDP Funnel) and enable the 'payment_intent.succeeded' event or 'charge.succeeded' event, depending on the payment flow used. See Migrating to the Payment Intents API and Charges API on Stripe website for details

Able CDP will now receive webhooks from Stripe, automatically attributing Purchases by customer emails and phones and sending Purchase conversions with payment amounts.

Paying using payment intents is often used by products that handle order process internally and use Stripe to offer checkout functionality. It's recommended to integrate these checkout events directly with Able when possible. See, for example, how to track WooCommerce Purchases.

Please contact Able Customer Data Platform support for more information or if your Stripe integration scenario isn't described on this page.

Able CDP supports tracking of sources of the payments that are made using Stripe payment links. It records source of each visitor leaving website clicking on the payment link, associating the Stripe checkout session with the visitor identity. This allows to attribute all payment made by the users who complete the payment via a payment link to the original visitor sources, as well as send precise click id parameter to the supported ad platform integrations such as Facebook Conversions API, Google Ads API and TikTok Events API.

Enable payment link tracking

In Able Dashboard, press "Add Service Integration" and select "Stripe".

This will extend the tracking code to add (or record existing) client reference parameter in all Stripe payment links on your website, allowing Able to infer which visitor clicked each payment link.

Add Webhooks to Stripe

To send Purchases and other subscription lifecycle events from Stripe to Able:

  1. Open Stripe Webhook Dashboard
  2. Add Webhook Endpoint https://app.ablecdp.com/api/properties/%%PROPERTY_ID%%/webhooks/stripe (where %%PROPERTY_ID%% is the id of your Able CDP Funnel) and enable the following events: invoice.paid, checkout.session.completed, customer.subscription.deleted, charge.refunded

Able CDP will now receive webhooks from Stripe, automatically attributing Purchases by customer emails and phones and sending Purchase conversions with detailed Invoice Lines where supported.


Stripe conversion tracking is commonly used with

More from our blog


This page has been written by the Able CDP Customer Success Team, formed of digital marketing practitioners and seasoned marketing data experts.
If you have any questions or suggestions, please contact us using the contact form.