Add TikTok Pixel to Your Website

If you drive leads to your website from your TikTok ads, then you can track those leads by adding the TikTok Pixel on your website.


Part 1: Create Pixel

  1. Log in to your TikTok Ads Manager dashboard.
  2. Click Assets at the top of the dashboard and select Events from the dropdown menu.


  3. On the Event Manager page, navigate to Web Events and click Manage.


  4. Click the Set Up Web Events button.


  5. Enter a Pixel Name. When prompted to choose a connection method, select TikTok Pixel.


  6. Select Manually install pixel code, then click Next.


  7. When asked to select the event setup mode, select Standard Mode.


  8. Copy the pixel code by clicking Copy Pixel Code or clicking directly on the code itself. 


Part 2: Add the Pixel Code to Your Website

  1. Navigate back to your SpaceCraft dashboard and click on CONTENT at the top of the page.
  2. In the top-right corner of the CONTENT panel, click on Footer underneath the section labeled Global Sidebar.
  3. On the Footer page, click one of the green (+) buttons, then select HTML from the menu items to create a new HTML Block.
  4. PASTE the code inside the HTML Block, then click Save.


  5. Once the code is saved, click the green PUBLISH button at the top of your site.

After you've published your website, you should check to see if pixel installation was successful before proceeding to create events in Events Manager. 

Verify your pixel code installation by inputting your website URL and then click 'Verify'. Another option to check if the installation was successful is the TikTok Pixel Helper plugin.


Part 3: Set up Events

Return to your TikTok Ads Manager dashboard. You will be prompted to create the "events" that website visitors will take that the pixel can track.

You can create events using either tracking methods: URL keywords or web elements. Tracking methods help you set up and assign rules to events that you want to track, like 'add to card' or 'purchase.' For each event, there are 2 types of tracking methods to choose from:
  • Click Events: Count every time someone clicks on a specific element on your website as an event. This could be adding something to a cart, submitting a form, or downloading an app. Click events use web elements of the buttons or links you want to track. 
  • URL Events: Count user visits to specific pages on your website as events. This could include the confirmation page after a purchase or a thank you page. URL events use keywords contained in the URL of the page you want to track.

Click here to find out more about how to set up events for your TikTok Pixel.

Powered by Zendesk