TikTok Tracking Pixel


The TikTok Pixel measures how well your TikTok ads work. When you connect your TikTok Pixel to SweepWidget, it records views and activity on your giveaway so you can track results and build audiences. The TikTok Pixel is available on the Pro plan and up, the same as the Facebook pixel and Google Analytics.

What You’ll Track with TikTok Pixel

Once integrated, the TikTok Pixel tracks:

  • Page views – every time someone views your giveaway (PageView)
  • Giveaway activity – entry attempts, completed bonus actions, refreshes and logouts, each sent as ViewContent with details of the action

Where the pixel runs

The pixel loads on SweepWidget’s giveaway page. On the hosted landing page that is sweepwidget.com/c/…. On an embedded giveaway it loads inside the giveaway iframe, which is also served from sweepwidget.com. Events show the sweepwidget.com address, not your website page.

Setting Up TikTok Pixel Integration

Step 1: Open the TikTok Pixel settings

In your SweepWidget dashboard, click API Integrations in the left menu. Then click TikTok Pixel.

Step 2: Enter Your Pixel ID

In the Pixel ID field, enter your TikTok Pixel ID (it starts with “C”, like CXXXXXXXXXXXXXXXXXX).

Click Save Changes.

Important: only enter your Pixel ID, not the pixel code script.

Finding Your TikTok Pixel ID

Step 1: Access TikTok Ads Manager

Go to TikTok Ads Manager and sign in with your TikTok account.

Step 2: Navigate to Events

  • Click Assets in the top navigation menu
  • Select Events
  • Click Manage next to Web Events

Step 3: Create or Select Your Pixel

If you already have a TikTok Pixel, select it. If not:

  • Click Set Up Web Events
  • Choose TikTok Pixel
  • Select Manually Install Pixel Code
  • Enter your website URL and pixel name
  • Click Next

Step 4: Copy Your Pixel ID

On the pixel details page, copy your Pixel ID (format: CXXXXXXXXXXXXXXXXXX) and paste it into the SweepWidget integration field.

Viewing Your Results in TikTok Ads Manager

Real-Time Testing

  • In TikTok Ads Manager, go to Assets > Events > Manage
  • Select your pixel
  • Click Test Events
  • Visit your giveaway page and use it
  • Events should appear within seconds

Event Analytics

  • Go to Assets > Events
  • Select your pixel
  • View the Overview tab for event counts and trends

Note: test events appear immediately; reports can take a few hours.

Events Tracked by SweepWidget

Event Name When It Fires Parameters
PageView Giveaway page loads –
ViewContent Entrant submits the entry form (success or blocked) content_type “Enter giveaway”, content_name e.g. “Enter giveaway success”
ViewContent Entrant completes a bonus entry method (or it is blocked) content_type “Insert entry”, content_name e.g. “Insert entry: visit_a_page”
ViewContent Widget refresh, logout content_type “Reload widget” or “Logout”

The text after “Insert entry: ” is SweepWidget’s internal name for the entry method.

Example Event

When an entrant submits the entry form successfully, TikTok Pixel receives:

  • Event: ViewContent
  • content_name: Enter giveaway success
  • content_type: Enter giveaway

Using TikTok Pixel Data for Advertising

Create Custom Audiences

  • People who viewed your giveaway page (PageView)
  • People who interacted with your giveaway (ViewContent)

To build an audience of people who entered, use ViewContent with content_name “Enter giveaway success”.

Create Lookalike Audiences

Build lookalike audiences (called “Similar Audiences” on TikTok) from these custom audiences.

Troubleshooting

Events Not Appearing?

  • Use Test Events in TikTok Ads Manager for immediate checks.
  • Verify Pixel ID: the Pixel ID starts with “C” (no script tags), then click Save Changes.
  • Check browser extensions: ad blockers and privacy extensions can block tracking. Test in an incognito window.
  • Test your giveaway: visit your live giveaway page, complete an action, then check Test Events.
  • Only PageView arrives: if Remove SweepWidget Google Analytics tracking is ticked on the giveaway’s Security tab, SweepWidget does not send the ViewContent events. Untick it.
  • Pixel Status: in Events Manager, check that your pixel shows as Connected.

Pixel Shows No Activity?

Visit your giveaway page to trigger a PageView. The status should change to Connected within a few minutes.

Best Practices

  • Make sure your domain is connected to your TikTok Ads account.
  • Check the event match quality score in TikTok Ads Manager.
  • Create audiences as soon as you launch your giveaway.
  • Make sure your privacy policy discloses the use of the TikTok Pixel.
  • SweepWidget sends browser pixel events only. It does not send TikTok Events API (server-side) events.

Need Help?

  • Contact SweepWidget support through the Contact Us page in your dashboard
  • Visit TikTok’s Pixel Setup Guide for help creating your pixel