Skip to content

TikTok Pixel: How to Set it Up in 2 Easy Steps

You spent a bunch of money on TikTok ads, but how are they even performing? Use the TikTok pixel to track, attribute, and optimize your ads.

Hannah Macready July 27, 2022
cover image

The TikTok pixel is a piece of code that you can install on your website to track conversions. But not just any conversions — we’re talking specific TikTok conversions. So, if you’re running a TikTok ad campaign and you want to see which of your ads are driving the most sales, you need to jump on the pixel train.

Don’t worry, I’m here to walk you through the process step-by-step. In just a few minutes, you’ll have your TikTok pixel up and running. Let’s get started!

Bonus: Get a free TikTok Growth Checklist from famous TikTok creator Tiffy Chen that shows you how to gain 1.6 million followers with only 3 studio lights and iMovie.

What is the TikTok pixel?

The TikTok pixel is a small piece of code that you can install on your website. Once installed, the pixel will track specific events, such as when someone views a TikTok ad or clicks on a link to your website. These events are then recorded in your TikTok Ads account so that you can see which ads are driving the most sales.

Why use a TikTok pixel? Well, first off it is a handy measurement tool that can help you track your return on investment (ROI) for your TikTok ad campaigns. Second, it can help you create more targeted ad campaigns by understanding which ads are performing well and which ones aren’t. Finally, the TikTok pixel can help you retarget your website visitors with personalized ads.

How to set up the TikTok pixel

If you’re ready to start using the TikTok pixel, follow these easy steps.

Step One: Create your pixel

To do this, you’ll need a TikTok Business account. Sign in to your account and go to TikTok Ads Manager > Assets > Events.

TikTok ads manager home screen

Then, choose whether you want to track App Events or Web Events.

how to find TikTok pixel settings in ads manager

Then, click Create Pixel.

TikTok pixel create new pixel home screen

Here, you’ll need to name your pixel. It’s a good idea to name your pixel something that will help you remember what it’s for. For example, if you’re using it to track conversions on your website, you might name it “Conversion Pixel”. If you’re using it on your e-commerce store, call it “Ecommerce Pixel”.

naming TikTok pixel in ads manager

Next, under Connection Method, choose TikTok Pixel. Then, click Next.

Step Two: Install the pixel code on your website or app

The next screen you’ll see is the Set Up Web Events with TikTok Pixel screen. Here, you’ll have the option to manually install your pixel or set it up automatically via a 3rd party.

If you choose to install your pixel manually, click Manually Install Pixel Code and then click Next. Copy the pixel javascript code and then paste it into the header section of your website. Look for a piece of code that starts with <head> and ends with </head>–your pixel should go right after the <head> tag.

option screen asking to set up TikTok pixel manually

Make sure you only paste your code once!

If you’re using WordPress or Woocommerce, there are plugins that can help you install the code. Be sure to read the plugin reviews before installing, as some plugins can negatively affect your site speed.

You can also use a number of third party apps to install your pixel, such as Google Tag Manager, Square, or BigCommerce. To do this, choose Automatically Set Up Web Events via Partner Platforms on your pixel setup screen. Then, click Next.

option screen asking to set up tiktok pixel using third party apps

Connect your TikTok pixel to your third-party account. Now you’re all set!

How to add the TikTok pixel to Shopify

If you’re using Shopify, you can add a TikTok pixel through the Shopify app or by choosing Automatically Set Up Web Events via Partner Platforms as described above.

If you want to set up your TikTok pixel using the Shopify app, follow these steps.

First, add the TikTok app to your Shopify Store by going to the Shopify App Store and installing it.

TikTok app in Shopify app store

Then, connect your TikTok for Business account and your TikTok Ads Manager account.

connect tiktok business account to Shopify store

Under Sales Channels, click TikTok. Then, click Marketing > Data Sharing. Connect an existing pixel, or click Create Pixel to create one using Shopify.

create TikTok pixel on Shopify

To ensure your pixel is up and running, go to your TikTok Ads Manager account and click Assets. Then, click Events. If you see your pixel listed, you’re good to go.

What are TikTok pixel events?

TikTok pixel events are the specific actions people take on your website or app.

There are fourteen types of TikTok pixel events. These are:

  1. Add payment info
  2. Add to cart
  3. Add to wishlist
  4. Click button
  5. Complete payment
  6. Complete registration
  7. Contact
  8. Download
  9. Initiate checkout
  10. Place an order
  11. Search
  12. Submit form
  13. Subscribe
  14. View content

Each type of event corresponds to a different action someone might take on your website or app. For example, if someone views a product on your site, that’s a view content event.

You can use TikTok pixel events to track user actions (how people interact with your website or app). Or, some advertisers create custom audiences based on the event actions for new ads.

What is a TikTok Pixel Helper and do you need one?

TikTok has a tool called the TikTok Pixel Helper that can help you test whether your pixel is working correctly.

Once you’ve installed the code, install the TikTok Pixel Helper Chrome extension.

Then, open a new tab in your browser and paste your tracking link followed by ?dbgrmrktng.

For example:

The TikTok Pixel Helper will then provide information on the status of your pixels. It can also show you whether your events are working and receiving data.

event notifications on pixel helper tool

Soure: Google Chrome Web Store

How to uninstall TikTok pixel

Once you’ve got your pixel installed, there may come a day when you would like to uninstall it. To uninstall a TikTok pixel, follow these steps:

  1. Go to your TikTok Ads Manager
  2. Go to Assets > Events and choose Web Events or App Events
  3. Click the three dots next to the name of the pixel you want to delete
  4. Click Delete

Note: You can only delete a pixel if it’s inactive. When you delete a pixel, all the data associated with that pixel is also deleted. This includes historical data and any unsent events. You can’t recover this data once it’s been deleted.

Want to learn more about taking your TikTok ads to the moon? Check out our recent TikTok Spark Ads experiment where we tested different ad types and goals to find the best ROI.

Grow your TikTok presence alongside your other social channels using Hootsuite. Schedule and publish posts for the best times, engage your audience, and measure performance — all from one easy-to-use dashboard. Try it free today.

Get Started

Grow on TikTok faster with Hootsuite

Schedule posts, learn from analytics, and respond to comments all in one place.

Free 30-day trial

Become a better social marketer.

Get expert social media advice delivered straight to your inbox.

By Hannah Macready

Hannah Macready is a freelance writer with 12 years of experience in social media and digital marketing. Her work has appeared in publications such as Fast Company and The Globe & Mail, and has been used in global social media campaigns for brands like Grosvenor Americas and Intuit Mailchimp. In her spare time, Hannah likes exploring the outdoors with her two dogs, Soup and Salad.

Read more by Hannah Macready

Related Articles