• Why do Spree and TikTok Need to Be Connected?
  • A Complete Solution for Integrating Spree and TikTok
  • How Able CDP Integrates Spree and TikTok
  • 4 Steps to Connect Spree with TikTok by Using Able CDP

Connect Spree and TikTok

Why do Spree and TikTok Need to Be Connected?

Spree is an open source ecommerce platform. TikTok is a short-length video sharing platform, which many brands utilize for advertising. Without a conversion, customers who first interact with a brand on TikTok often may not be recognised when they purchase a product through Spree. Both platforms keep a rich set of sales data, but there are often significant discrepancies between them.

Here are some reasons why conversion tracking built into TikTok is not enough:

  1. You can't 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.
  2. IOS traffic lacks click identifiers. Sending conversions to TikTok Events API including device identifiers and customer match parameters solves IOS reporting problems by sending more data, allowing it to model conversions from anonymized IOS clicks.
  3. These 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 Spree.

Spree and TikTok integration enables you to get a complete view of the customer journey. Attributing sales to leads and leads to marketing sources allows you to accurately track marketing campaigns and understand LTV and ROI.

A Complete Solution for Integrating Spree and TikTok

Able Customer Data Platform is the ultimate Spree and TikTok integration.

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 Spree and TikTok.

Able supports the 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 Spree to recognize and attribute the 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 without coding and complex manual set-up of the connection between Spree and TikTok. Able already knows how to connect marketing data between Spree and TikTok.

How Able CDP Integrates Spree and TikTok

Able makes it easy to report on actual Spree revenue rather than conversions to leads, attributing all subsequent Spree revenue to the original visitor and campaign - even if it occurs weeks after the initial visit.

Able CDP combines browser and back-end tracking to:

  1. store TikTok Click id, including the original ad click id (ttclid), when available, as well as browser id.
  2. attribute successful payments to the TikTok click ids and send conversion to Spree with additional customer match parameters.
  3. 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. add UTM parameters, referrer URL and landing page details to new leads;
  5. attribute successful Spree purchase to the TikTok user id after a payment is completed and send e-commerce transaction to Google Analytics.

Able allows you to track any purchases made by the same customer, regardless of when and how, which are then attributed to the original website visitor and marketing source. This allows you to track and report TikTok leads and any subsequent purchases attributed to the original visitor source.

4 Steps to Connect Spree with TikTok by Using Able CDP

Step 1. Sign up for a free account

Step 2. Install Able tracking code on the website

Add following code to the website to track website events:

<script type="text/javascript" src=""></script>
window.addEventListener('DOMContentLoaded', function () {
uipe('init', '%%FUNNEL_MARK%%')
uipe('track', 'PageView')

Where %%FUNNEL_MARK%% is the unique code of your Able CDP Funnel.

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. Connect Able to Spree

Connect Able to Spree to receive webhook notifications about completed purchases.

Step 4. Connect Able to TikTok

Set up ttclid

  • What is Tiktok Click ID or 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

Generate an Access Token

  • The TikTok Ads Manager account Admin or Operator can generate an access token directly under the pixel Settings tab.
  • Steps:
  1. In TikTok Ads Manager, navigate to Assets > Events, and click Manage in the Web Events section.
  2. 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.
  3. 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:
  4. Open Able Dashboard and press ⊕ Add Service Integration button to do the action.

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.
  • Open Able Dashboard and press ⊕ Add Service Integration button to do the action.

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.

Send Purchases to Google Ads

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.

Start integrating Spree and TikTok right now
“A valuable insight we've got because of using Able Customer Data Platform is that display ads aren't working for us at all... we've been wasting money for years on paid display ads.

Before Able we'd be excited about every lead or email that came through, but after the last year we've determined that those don't convert at all.

And so we've been focusing on paid search, which does have return on investment.”

— Bryan Brinton, Co-Founder, Aluvii Software

Contact us for more help if you didn't find what you were looking for


Achieve results

Continuously improve marketing strategy with actionable data produced by Able tracking.

Drive sales

Understand how your customers buy and how segments perform across campaigns even on low volume experimental conversion data when you're still perfecting your pipeline.

Boost ad ROI

Stream back-end conversion data to Google Ads and Facebook Ads Conversion APIs to facilitate ad platforms' AI/ML ad delivery optimization and to create super effective lookalike audiences in real time.


Use standard tools such as Facebook Ads, Google Analytics and CRM reports to see exact performance and revenue of each channel and landing page even when sales happen weeks after the initial ad click.