NestScale Blog

What is TikTok Pixel & How to Set up TikTok Pixel in easy steps

how to set up tiktok pixel

If you’re running a TikTok ad campaign and you want to see how efficient it is, let’s include Tik Tok pixel, which is one of the most effective tools to track specific events, such as when someone views a TikTok ad or clicks on a link to your website.

So, how to set up TikTok pixel? It is difficult? We will show you step by step below. Let’s dive in!  

What is TikTok Pixel? 

TikTok Pixel is a piece of code that you can install on your website to measure the ad impacts by tracking visitors’ behaviors. It helps you find the right audience for your ads, see which ads perform best, and make more informed decisions. 

Why do we need to use TikTok pixel?

Conversion tracking 

TikTok pixel is a great tool that shows you what happens after your customers interact with your ads such as making a purchase, filling in the contact form, registering an account, or downloading your app. Importantly, your advertising campaign will be more effective if more users take action.

Ad optimization

With this tool, you can customize your ad campaigns to target TikTok users who are most likely to add products to the cart, complete the order, etc.

Collect data for remarketing 

Remarketing is the method of using marketing campaigns to persuade, advise, and remind customers to make a purchase they were not able to make before.

With TikTok Pixel, you can create custom audiences or lookalike audiences based on their behavior on your website. Then these audiences can be used for remarketing campaigns.

How to set up TikTok pixel

Creating the TikTok pixel is super easy for anyone. We will walk you through step by step below: 

Step 1: Click Events on the Assets tab

Events on the Assets tab
The Assets tab

Step 2: Then choose whatever you want to track: app events or web events 

App or web events
App events or web events 

Step 3: Click Create Pixel 

Create TikTok Pixel
Create TikTok Pixel

Step 4: Set up web events

Create your Pixel Name: You should name it based on the conversion aim. The maximum length for a Pixel name is 128 characters, including spaces. We suggest the pixel name corresponds to the website or domain name.

Under Connection Method, tap TikTok Pixel and click Next

Set up web events
Set up web events

Step 5: Install the Pixel code 

There are 2 options for you to create pixels: Manually Install the Pixel Code and Automatically Set Up Web Events via Partner Platforms. We will guide you in each option specifically below: 

Option 1: Manually Install the Pixel Code 

Click on Copy Pixel Code

Copy Pixel code
Copy Pixel code

Paste the pixel code at the top of the header section on your website. Website headers start with the <head> tag and close with the </head> tag.

For example

Example of Pixel code
Example of Pixel code

*Note: Paste your pixel code once only. Don’t keep adding pixels to the header section repeatedly.

Check your website theme settings to see whether or not it has Header and Footer Scripts where you can paste the pixel into the header section or ask a web developer for help. 

Option 2: Automatically set up web events via partner platforms 

You can also install your pixel using a variety of third-party apps, such as Google Tag Manager, Square, or BigCommerce. However, the most popular ones are Shopify and Google Tag Manager.

Partner platforms
Partner platforms

Is it easy for you? After that, you’re all set now! 

How to install TikTok pixel on Shopify

If you want to set up your TikTok pixel on Shopify, follow these steps: 

Step 1: Go to Shopify App Store, then add the TikTok app 

Download TikTok app on Shopify appstore
Download TikTok app on Shopify appstore

Step 2: Click Add sales channel 

Add sales channel
Add sales channel

Step 3: Choose Set up Now

Set up
Set up Now

Step 4: Connect your TikTok For Business account 

Connect your TikTok For Business account 
Connect your TikTok For Business account 

Step 5: Connect your TikTok ads account

Connect TikTok ads account
Connect TikTok ads account

Step 6: Create a new pixel by clicking the Create Pixel button or selecting an existing pixel to connect to

Create new pixel
Create new pixel

And that’s how the TikTok pixel is installed in your Shopify Store!

TikTok pixel events 

Events are regarded as visitors’ actions taken on your website including adding an item to a cart, filling out a form, or making a purchase.

There are fourteen kinds of actions: add payment info, add to cart, add wishlist, click button, complete payment, complete registration, contact, download, initiate checkout, place an order, search, submit form, subscribe, and view content 

For example: When customers add a product to the shopping cart, that’s an “Add to Cart” event

Overall, marketers can make the most use of this tool to check how customers interact with their websites. Moreover, based on these performances, they can customize ads in order to reach the right audiences

TikTok helper

What is TikTok pixel helper?

TikTok Pixel Helper is a tool that helps you to check how is your pixel working by providing suggestions for your website and identifying errors.

How to install pixel helper? 

We will show you some simple steps to set up the pixel helper below:

Step 1: Go to Chrome Web Store

Chrome Web store
Chrome Web store

Step 2: Search TikTok Helper and click on Add to Chrome

TikTok helper
TikTok helper

That’s all you can do to utilize TikTok helper in analyzing your marketing strategy.

How to remove the TikTok pixel 

Follow the steps shown below if you want to uninstall the TikTok pixel: 

Step 1: Go to TikTok Ads Manager

Step 2: Choose Events in the Assets bar

Choose Events in the Assets bar
Choose Events in the Assets bar

Step 3: Choose App events or Web events

Choose App events or Web events
Choose App events or Web events

Step 4: Click the three dots next to No Recent Activity, then click Delete 

Delete TikTok pixel
Delete TikTok pixel

Only inactive pixels are able to be deleted. All of the information related to a pixel is also deleted when you remove it. This refers to both historic data and any unsent events. Once you’ve deleted this info, you cannot get it back.

TikTok Pixel FAQs

1. How do I reinstall a pixel I have already created?

Access the Event details page by clicking the pixel name and then click on Install Pixel Code right above the event table to install manually or use Google Tag Manager (GTM).

2. How do I add more events to an already created pixel?

Step 1: Click on the pixel name to enter the pixel details page and then select + Add Events.
Step 2: The pixel installation prompt will display, skip to check if the pixel is installed correctly.
Step 3: To create Events, click “Track URL Events or Track Click Events.

3. Do I need to sync my website or can I just enter the URL keyword or CSS selector code when creating events?

You must sync your website before creating Click Events. This reduces the possibility of typing the CSS selector code incorrectly and helps you visualize the event as it occurs.

You may edit the CSS selector code once the web element is added. Nevertheless, with URL events, synchronizing your website is not required.

4. How can I see previous changes made to my pixel or events?

Your pixel has a change log that keeps track of all prior changes made to it or to the events it triggers. By detailing precisely what changes were made, when they were made, and by whom, the change log help in troubleshooting. You can find your pixel’s change log in a tab located on the pixel details page within Events Manager.

Have you created a TikTok pixel for your business? 

If not, why not try it? Although using the TikTok pixel might be difficult for the first time, it’s definitely a worth-to-use tool to track your ads performance.

We suggest one of the most cost-effective tools – Nest Ads that you can combine with TikTok pixel to get the most successful campaign. If you have any questions about the TikTok ad campaign, feel free to contact us via experts and try Nest Ads for free. 


Meet our Author


Author at NestScale

Kriss is a professional content writer, focusing on technology and e-commerce business. When she’s not working, you will find her interested in sports or traveling.


Recent post

You may also like ...

You may also like...

Want to grow your business? Let's talk.