🎵 TikTok Ads Attribution

How to Fix Missing TikTok Ad Conversions Between WordPress & Shopify

By Dimsquid Engineering•Published Aug 5, 2026•7 min read

TikTok Ads are one of the fastest-growing customer acquisition channels for e-commerce brands. However, when users click your TikTok ad, land on your WordPress blog or presell landing page, and then click over to complete their purchase on Shopify (checkout.myshopify.com), TikTok Ads Manager routinely reports 0 purchases. Here is how to fix TikTok Click ID (ttclid) cross-domain loss.

1. How TikTok Ad Click Tracking Works

When a user taps an ad in the TikTok mobile app, TikTok appends a unique Click ID parameter to the destination landing page URL: ?ttclid=TT_CLICK_ID_888. Simultaneously, the TikTok Pixel writes a first-party cookie named _ttp on the user's browser.

When the visitor clicks "Add to Cart" or "Checkout", they leave your WordPress domain and transition to Shopify. Because yourbrand.com and checkout.myshopify.com are separate origins, the TikTok Pixel on Shopify cannot read the _ttp cookie. Without ttclid in the URL, TikTok drops attribution for the sale.

2. Why TikTok Smart Performance Campaigns Fail on Hybrid Stores

TikTok's algorithmic bidding relies on real-time feedback loops. When purchase events fail to attribute to ad clicks:

  • TikTok Smart Performance Campaigns (SPC) optimize toward cheap clicks instead of buyers.
  • Customer Acquisition Cost (CAC) skyrockets as high-converting ad creative gets shut off.
  • Shopify orders get marked as Direct / (none) in GA4 and Shopify analytics.

3. The Fix: Cross-Domain ttclid Forwarding

To preserve TikTok attribution, outbound links pointing to Shopify must capture ttclid from either the current URL or the _ttp cookie and append it to outbound URLs:

Decorated Shopify Checkout Link:
https://checkout.myshopify.com/cart/add?id=123&ttclid=TT_CLICK_ID_888&_fbc=fb.1...&_gl=1*1a2b3c...
âš¡ Automated Solution

4. The 60-Second Fix: GA4 & Ad Pixel Linker

GA4 Linker (by Dimsquid) automatically forwards ttclid and _ttp parameters to Shopify checkout automatically on Personal+ plans.