Set up TikTok tracking on your online store
Step-by-step guide to TikTok tracking in Shoporama: Find the Pixel ID and access token in TikTok Ads Manager, enter them under "Webshop," "Tracking," and see which events TikTok receives, including server-side purchases via the TikTok Events API.
TikTok is one of the fastest-growing advertising platforms, and short videos can generate demand in record time. Many online stores have seen a single product suddenly go viral and sell out in just a few days. The audience is broad but particularly strong among younger users, and the ads look like regular content in the feed, which generates high engagement. If you sell products that can be showcased in videos, TikTok is worth testing.
In order for TikTok to optimize your ads for people who buy and show you what your campaigns are actually selling, the platform needs to be notified of visits, added-to-cart items, and purchases on your store. Shoporama’s built-in tracking module handles this automatically. This guide shows you how to set it up.
What You’ll Need
- Shoporama’s tracking module enabled. This requires a Pro or Flex plan and costs DKK 89 per month (excl. tax). See the “Tracking” guide in your Shoporama online store.
- A TikTok ad account with access to TikTok Ads Manager.
- Recommended: server-side tracking enabled, so your tracking isn’t blocked by ad blockers. See the guide to server-side tracking.
Step 1: Find your Pixel ID and access token on TikTok
Shoporama needs two pieces of information from TikTok:
- The Pixel ID is the ID of your TikTok Pixel. In TikTok Ads Manager, go to the “Events” section under “Tools,” where you can create a web pixel if you don’t already have one. The Pixel ID is displayed alongside the pixel.
- The access token is a key that allows Shoporama to send your orders directly to TikTok via the TikTok Events API. You can also generate this in TikTok Ads Manager, in your pixel’s settings. Look for “Events API.”
TikTok regularly updates its menus, but both of these options are located in the Events section of TikTok Ads Manager. Copy both values so you have them ready for the next step.
Step 2: Enter the information in Shoporama
- Go to “Webshop ” in the left-hand menu in the admin panel and select “Tracking.”
- Check the box next to “Enable Tracking” if you haven’t already.
- Under “Platforms,” check the box next to “TikTok.”
- Fill in the Pixel ID and Access Token fields in the TikTok box on the right.
- Click Save.
Please note that it may take up to an hour for new settings to become fully active on Shoporama’s tracking server.
This is what Shoporama sends to TikTok
You do not need to add any code to your store yourself. The tracking module automatically records customer behavior and sends the following events from the browser, among others:
- Product views and category page views
- Searches within the shop
- Items added to the cart and cart views
- The individual steps in the checkout process (address, shipping, authorization, and payment)
- Completed purchases with order value and line items
Once an order is paid for, Shoporama’s server also sends the purchase directly to TikTok via the TikTok Events API. This happens outside the customer’s browser, so the purchase is still recorded even if the customer closes the window too quickly or an ad blocker blocks the tracking. The order number is included in both events, so TikTok automatically removes duplicates if both the browser and the server manage to report the same order.
The product IDs in your events are the same as those in your Google Shopping feed. If you use the feed for your product catalog on TikTok, events can therefore be matched directly against the catalog. Read more in the article about product IDs and catalog matching.
Troubleshooting
- Install the TikTok Pixel Helper browser extension in Chrome. It shows which TikTok events are triggered as you click around your shop.
- If you’re using Consent Mode, data won’t be sent until consent is given. So be sure to accept the cookie banner when testing.
- If you’ve just saved your keys, wait about an hour and try again.
- Make sure the Pixel ID and access token are entered without any spaces before or after them.
- In TikTok Ads Manager, you can see which events TikTok has received in the “Events” section.
If you’re still having trouble, please email support@shoporama.dk.
Frequently Asked Questions
Do I need to add the TikTok code to my theme myself?
No. You just need to copy the Pixel ID and access token from TikTok Ads Manager and paste them into Shoporama. All tracking is automatically added to the store.
Does TikTok tracking cost extra?
No. The DKK 89 per month covers all platforms in the tracking module, such as Facebook, Google, Pinterest, Snapchat, and LinkedIn. You don’t pay extra per platform.
Can I use TikTok tracking alongside my other channels?
Yes. Just check the boxes for multiple platforms on the Tracking page. All platforms receive the same events simultaneously, so you can compare the channels based on the same data.
Why can’t I see my test purchases in TikTok?
First, make sure you’ve accepted the cookie banner if you’re using Consent Mode, and that at least one hour has passed since you saved your keys. Then use TikTok Pixel Helper to see if events are being fired on your store, and check the events overview in TikTok Ads Manager.
Does tracking work with my product catalog on TikTok?
Yes. Events are sent using the same product IDs as your Google Shopping feed. If you’re using that feed for your TikTok catalog, events and the catalog will match automatically.
Related articles
Tracking in your Shoporama webshop
Enable Shoporama's built-in tracking and send precise tracking data to Facebook, Google Ads, GA4, TikTok, and more. Server-side, GDPR-compliant,...
Server-side tracking in Shoporama
A Complete Guide to Server-Side Tracking in Shoporama. Better data quality, fewer ad-blocker losses, product IDs that match your feed, and...
Product IDs and Catalog Match: How to Ensure Your Ads Match Your Product Feed
An explanation of which product ID Shoporama’s tracking sends, why it always matches the Google Shopping feed, what “catalog match” means for your...