Add TikTok Pixel for WooCommerce

plugin banner

A free plugin that adds the TikTok pixel to your WooCommerce site and enables e-commerce related TikTok events.

Author:DCS Digital (profile at wordpress.org)
WordPress version required:6.0.0
WordPress version tested:6.2.2
Plugin version:1.0.3
Added to WordPress repository:18-11-2022
Last updated:29-06-2023
Rating, %:0
Rated by:0
Plugin URI:https://www.dcsdigital.co.uk/tiktok-pixel-for...
Total downloads:2 347
Active installs:500+
plugin download
Click to start download

A free plugin that adds the TikTok pixel to your WooCommerce site and enables e-commerce related TikTok events.

Why this TikTok Pixel plugin?

After trying out the other TikTok pixel plugins available on the WordPress plugin directory we discovered they were buggy, incomplete and were tracking duplicate events. Our clients needed a working solution, so we created this free plugin for them – and thought we’d share it with you too!

This is free, simple and lightweight plugin which adds the TikTok Pixel to every page on your site, and also adds support for the following TikTok events:

  • Page View
  • Single Product Page – View Content
  • Add to Cart (supports AJAX carts)
  • Initiate Checkout
  • Complete Payment

The plugin passes across as much data as possible, including SKUs, cart values, currency and so on.

How to use

Once activated, go to Woocommerce > TikTok Pixel and enter your TikTok Pixel ID.

Working with TikTok SKUs

Although it’s possible to define your WooCommerce product SKUs within the TikTok product catalogs, you actually need to use the TikTok SKU when firing the tracking pixel.

This plugin adds a new field “TikTok SKU” to simple and variable products, and if a value is set it will use this when firing the tracking pixel.

If no value is set, it revets to the WooCommerce SKU, and then to the product ID if no SKU has been set.

** Tip **

To export all your SKU IDs from TikTok, go to the TikTok Shop Seller Center and go to “Batch Edit” all your products. Select all your products, and download the export file. This will contain all the TikTok SKU Ids, allowing you to match them against your WooCommerce SKUs.

We recommend doing a product export from WooCommerce (go to “Products” and choose to “Export”) and make sure to tick the box to “Export Product Data”. You can then put the TikTok SKU into the Meta: tiktok_sku column (make sure you’ve saved at least one product with a TikTok Sku so this column is shown in the export).


Screenshots
FAQ
ChangeLog