SOP 110: How to Install the TikTok pixel on your site
Goal:
To add the TikTok tracking pixel to your site.
Ideal Outcome:
The TikTok pixel is properly installed without any technical issues.
Prerequisites or requirements:
You’ll need access to an active TikTok for Business account. Also, you’ll need access to Google Tag Manager (GTM) that was set up on your website.
If you don’t have a TikTok For Business account, sign up here.
If you haven’t set up Google Tag Manager, refer to the following SOPs:
- SOP 004 (web version) to Set up Google Tag Manager on WordPress
- SOP 065 (web version) to Set up Google Tag Manager on Shopify
- SOP 066 (web version) to Set up Google Tag Manager on Squarespace
Why this is important:
The TikTok Pixel allows you to track visitors who come from your TikTok ad campaigns. You can also track website visitor actions, like 'Pageviews' or 'Purchases' and create audience segments to retarget them.
Where this is done:
In Google Tag Manager and TikTok Ads Manager.
When is this done:
Before you run any TikTok advertising campaign on your website. You only need to do this once unless you’re running TikTok ads on multiple websites.
Who does this:
The person responsible for website management, analytics, or paid advertising.
Environment Setup
Before you start:
- Open a new browser window with your TikTok and Google Tag Manager account signed in.
- Download the TikTok Pixel helper
Installing TikTok Pixel via Google Tag Manager
- Sign in to TikTok for Business
- Once signed in. Head to Events manager.
-
- Give your Pixel a name
- Select “Install Pixel code by 3rd party tool”.
- Click “Next”
Note: Double-check that you’re logging into the correct Google account (the one that has access to your Google Tag Manager container).
Create a Page View event
Important: Once you have installed the TikTok Pixel, you can now create events to track various activities a visitor performs on your website. For example: viewing a page, clicking a button, buying a product, etc.
The following walks you through the steps of creating an event to track someone viewing a specific page.
- In the Pixel Dashboard, click Complete Pixel Setup.
Verifying the TikTok and Event Pixels are installed correctly
Important: It takes about 15-30 minutes for both Google Tag Manager and TikTok’s event pixel to start sending signals.
- Head over to your website after 30 mins and refresh a couple of times for the event pixel to kick in.
- Click the TikTok Pixel helper In your Google Chrome toolbar, you should see both the TikTok and Event pixels are now tracked.