Published on

How To Set Up TikTok Pixel (Lead Generation)

Introduction

If you're considering running ads on TikTok to collect leads, it's imperative to add the TikTok Pixel to your website and set up the lead firing event. In today's article, we'll cover exactly that. So, if you're eager to run ads on TikTok for lead generation, pay close attention.

Why Set Up the TikTok Pixel?

Four Key Reasons

  1. Understand Cost Per Lead: Without the pixel, you won't understand your cost per lead within TikTok.
  2. Accurate Targeting: The pixel helps TikTok’s algorithm target the right users, allowing you to build lookalike audiences based on people who are actually filling out your form.
  3. Optimization: The pixel allows you to optimize your campaigns much more effectively.
  4. Campaign Insights: You can discern which campaigns, ad groups, and even ads are generating leads and what the cost per lead is.

How to Set Up the TikTok Pixel

Two Basic Steps

  1. Add the Pixel Code to Your Website:

    • First, you need a TikTok Ads account. If you don't already have one, sign up for your free TikTok Ads account.
    • Go to Tools > Events in your TikTok Ads dashboard.
    • Under Web Events, hit "Manage," then "Set up web event."
    • Choose "TikTok Pixel" and name it (e.g., "Lead Pixel").
    • Select “Manual Setup” if not using a web partner.
    • Copy the pixel code.
  2. Set Up the Lead Event:

    • Decide between two options to track a lead event: URL tracking or button click tracking.
    • Depending on your form submission behavior (whether it changes URL upon submission or not), choose the appropriate method.
    • Paste the pixel code on your website (demonstrated using WordPress with a Headers and Footers plugin).
    • Enable automatic Advanced Matching and opt-in settings.
    • Set up the event in TikTok Ads Manager (either tracking a specific URL or a button click).

WordPress Integration Example

  1. Go to Plugins > Add New and search for the "Headers and Footers" plugin.
  2. Once installed, navigate to HFCM (Headers Footers Code Manager) in your WordPress sidebar.
  3. Click “Add New” and name it TikTok Pixel.
  4. Ensure the display settings: HTML Site Display, Site-wide, Header location.
  5. Paste the copied code and save.

Testing the Pixel

Verify It’s Working:

  1. Use the TikTok Pixel Helper (a browser extension for Chrome).
  2. Fill out the test form on your website.
  3. Check that the Pixel Helper confirms the event as "lead submitted."

In case the event doesn't show immediately, wait an hour and try again.

Keywords

  • TikTok Pixel
  • Lead Generation
  • TikTok Ads
  • Website integration
  • Event tracking

FAQ

What is the TikTok Pixel?

  • The TikTok Pixel is a snippet of code added to your website to collect data for optimizing, measuring, and building targeted audiences for your TikTok ad campaigns.

Why should I add the TikTok Pixel to my site for lead generation?

  • It helps in understanding cost per lead, targeting the right users, optimizing your campaigns, and determining which ads are effective in generating leads.

How do I add the pixel code to my WordPress website?

  • Use a plugin like "Headers and Footers." Navigate through the WordPress dashboard to Plugins > Add New, search for "Headers and Footers," install and activate it, then add the TikTok Pixel code under HFCM.

What is the difference between tracking a URL and tracking a button click for lead events?

  • Use URL tracking if submitting a form directs users to a new URL or thank you page. Use button click tracking if the form submission does not change the URL.

How do I verify if my TikTok Pixel is working correctly?

  • Install the TikTok Pixel Helper for Chrome. Submit a form on your website and check the Pixel Helper to ensure it records the lead event.

What should I do if my lead event doesn’t trigger immediately?

  • Wait for an hour and test the submission again to allow the TikTok Pixel to update and register the event properly.