Connect Chargebee and TikTok
Why do Chargebee and TikTok Need to Be Connected?
Chargebee is a subscription payment processing and SaaS billing platform. TikTok is a short-length video sharing platform, which many brands utilize for advertising. Both platforms keep a rich set of data, but without integration, such as from Able CDP, a very low percentage of the purchases will be shown in reports as being attributed to TikTok.
- Chargebee customer data alone without proper first-party attribution doesn’t allow you to leverage the reporting capabilities of TikTok and other reporting tools you may be using, such as Google Analytics.
- You cannot use TikTok Events API by utilizing only back-end data (such as customer name, phone and e-mail) or front-end data (such as browser id) efficiently. It will work, but it would only be able to match about 30% of transactions.
- Many Chargebee conversions, such as trial account activations, happen entirely offline and can't be tracked by TikTok Pixel alone.
- Missing sales from TikTok that go unreported are caused by missing data, which occurs when there is no help from an integration platform such as Able CDP that ensures all sales data is properly attributed to a customer in Chargebee.
Combining browser and server-side tracking to report conversions via the server-to-server integration solves these problems.
A Complete Solution for Integrating Chargebee and TikTok
Able Customer Data Platform is the ultimate Chargebee and TikTok integration.
It introduces first-party tracking and first-touch attribution based on the concept of a Customer. Customer associates Events that happen on website, in CRM or offline by associating these Events using Customer Keys. Customer Keys are Customer attributes that uniquely identify a customer across events and devices. The most common ones are email and phone.
It combines browser tracking with server API integrations, linking website activity with purchases on the back-end to build a complete journey of each customer across Chargebee and TikTok.
Able supports sending of conversions to TikTok events API. In addition to the TikTok click id, Able sends all customer information such as email, phone and browser details, allowing Chargebee to recognize and attribute maximum number of conversions from TikTok.
This allows you to attribute 99%of sales to the correct marketing source, ad click and landing page and obtain data to inform strategy.
All of this happens in Able CDP automatically, provided Able is used to track TikTok ad click ids to track conversions and leads.
How Able CDP Integrates Chargebee and TikTok
Able makes it easy to know which leads and TikTok visitors convert to paying Chargebee customers. It allows you to report on actual Chargebee revenue rather than conversions to leads, attributing all subsequent Chargebee revenue to the original TikTok visitor and campaign — even if it occurs weeks after the initial visit.
After easily connecting Able to both platforms, Able tracks Chargebee subscriptions and payments by processing webhooks from Chargebee and attributing them to the original TikTok visitor tracked by Able.
Able CDP combines browser and back-end tracking to:
- store TikTok Click id, including the original ad click id (ttclid), when available, as well as browser id.
- attribute successful Chargebee payments to the TikTok click ids and send conversion to TikTok Events API.
- send Advanced Match Parameters. Customer email, phone, name and address help TikTok to attribute sales when a click id parameter isn't available or is inconclusive
4 Steps to Connect Chargebee with TikTok by Using Able CDP
Step 1. Sign up for a free Able trial account
Complete the sign up form to create a trial account.
Step 2. Install Able tracking code on the website
After signing up for a free account, Able CDP will prompt you to add code to your website.
This tracking code will record ad click ids and details of the original landing page visit, as well as lead form submissions, allowing to attribute customers to website visitors. Able CDP uses its tracking to capture UTM parameters, referrer URL and landing page URL, store them in its own attribution database together with the personal identifiers such as email or phone, entered by customer in lead and order forms, allowing it to associate all future customer activity with the original website visitor source.
Add lead form URLs to the HTML Forms Tracking section to let Able automatically recognize the sign-up and lead forms you're using. Any standard lead form widgets that we could detect during the account setup will appear in the Dynamic Lead Forms Tracking section.
Press "Generate" in the Get Code section to generate a unique tracking code to add to your site.
Able CDP page view tracking doesn't install its own cookies and relies on third-party identifiers such as Google Analytics Client Id to connect customer activity between website pages. Please enable cross-domain measurement in Google Analytics if your landing and lead/order pages are hosted on different domains.
Step 3. In the Funnel tab, click add service integration to select which platforms you want to integrate with
Step 4. Connect Able to Chargebee
Able Customer Data Platform attributes Chargebee payments to the original marketing source.
To send Purchase events from Chargebee to Able:
- In Chargebee, go to Settings > Configure Chargebee > API Keys and Webhooks
- Add Webhook Endpoint URL https://dukm0ab28c.execute-api.eu-west-2.amazonaws.com/webhook/%%FUNNEL_MARK%% (where %%FUNNEL_MARK%% is the unique identifier of your funnel in Able CDP)
Able supports the following Chargebee events:
- subscription_started
- subscription_activated
- subscription_cancelled
- payment_succeeded
- payment_failed
- payment_refunded
Able CDP will now receive webhooks from Chargebee, automatically attributing Purchases and other lifecycle events to website visitors by customer emails and phones and tracking payment amounts and other conversion details.
If you need to recognize conversion during user actions (for example, immediately after a service is consumed, rather than when its successfully billed), consider a direct integration with Able REST API.
Step 5. Connect Able to TikTok
Able supports sending of conversions to TikTok events API. In addition to the TikTok click id, Able sends all customer information such as email, phone and browser details, allowing TikTok to recognize and attribute maximum number of conversions.
1. First, Set up ttclid
- Tiktok Click IDs or ttclid are tracking parameters that are attached to your ad's landing page URLs. When a Tiktok user clicks on an ad and land on your website, a unique ttclid is created and appended to the URL. Tiktok Click IDs helps you to match users and attribute event to your TikTok ads accurately. It is strongly encouraged to set up ttclid to improve your ads performance.
- Step 1: Append the CLICKID macro to campaign URL
- Add ttclid=__CLICKID__ to the end of your url and insert it in the Ad Group-> Ad Details-> URL in TikTok Ads Manager
2. Generate an Access Token
The TikTok Ads Manager account Admin or Operator can generate an access token directly under the pixel Settings tab.
Steps:
- In TikTok Ads Manager, navigate to Assets > Events, and click Manage in the Web Events section.
- Find the pixel object that you want to use for reporting events, and click its name to view its settings. If you need to create a new pixel object, remember to select Manually install pixel code and Developer Mode.
- In the Settings tab, click Generate Access Token. The token will be generated immediately. You can then copy the access token and save it in Able:
3. Enable Outbound Integration With TikTok
Select event to send to TikTok and enter the Pixel ID that should be used with this event. You could find the Pixel ID by logging in your TikTok ads manager account and navigate to Assets->Event->Website Pixel. Copy the ID displayed.
Learn More
Read more about Able CDP tracking and attribution engine and how it utilizes a customer journey database to correctly attribute all purchases to the original visitors.
E-Commerce Conversion Funnel Tracking
Able CDP helps to track modern multiple step e-commerce funnels where customers interact with multiple services prior to eventually making a purchase, resolving issues with incorrect Google Analytics attribution and conversions missing from Google Ads and Facebook Ads reports.
Sending conversions to Google Ads is an extremely common integration scenario. Its used to add conversion value to Google Ads’ reports, allowing to report on ROI, as well as to use performance-based targeting and optimization capabilities.
Send Purchases to Facebook Conversions API
Attributing conversions to Facebook Ads is a common task, however doing it with sufficient precision is hard. Sales might happen in CRM, or, when they happen online, customer might not come back to the website, so tracking with Facebook Pixel JS produces substandard results. Able solves this problem with its Facebook Conversions API integration.