Creating and setting up the TikTok pixel
Setting up the pixel
Pixel creation will depend on whether the landing page will be used in a flow, or uploaded to another medium: personal hosting or a tracker.

When configured using this method, for offers where the "Thank You" page is hosted on the advertiser's side (offers with auto-login), the pixel will not trigger on the "Thank You" page (but only on the landing page).

Now let's break down step-by-step the creation and setup of the TT pixel for different use cases. The initial setup will be the same.

Create a pixel, enter a name, and select the "Tools" menu item, the "Events" section, and the "Web Events" option.
Next, click the "Set Up Web Events" button at the top of the screen.

Now select the "Manual Setup" option and click the "Next" button

Enter the pixel name in the corresponding field and click the "Next" button.
Select "Complete Payment" and click "Add to Category".
Now the event is displayed in conversions; you just need to click the "Next" button.

Next, you need to select the "Event Builder" option and click the "Next" button.
Now click the "Create Event" button.
In this section, simply click the "Continue" button.
In the "Event Type" field, it is better to select "Complete Payment" or "Click Button", but other events are also possible.
In the "Destination URL", specify the value depending on the traffic running method:
  • invoice2 - if you are using a flow, either on our server or downloaded to your own hosting.
  • order.php - if you are downloading a landing page from us to your hosting.
The conversion rule changes because the location and URL address of the "Thank You" page, which appears after submitting a lead, changes. If you do not know the address of this page, you can submit a test lead to see exactly what appears in the URL at the moment the lead is processed.

Click "Save".

This completes the pixel setup. Its ID can be copied according to the scheme in the screenshot.

You insert this value in the flow settings in the corresponding field under the "Trackers" section.

IMPORTANT: Adding trackers in flows of offers with redirect landing pages (if there are any in the offer) is restricted: if the advertiser supports pixel transmission, the field for entering the pixel will be active. Also, pay attention to the description on the offer card, which may indicate nuances of how pixels work.

If you downloaded the landing page to your own hosting, then you need to take the entire pixel code and insert it onto the "Thank You" page manually.
It is located at invoice2/index.php - you must place it before the closing </head> tag or in the trackers_order.php file in the root of the landing page.

Dynamic pixel
A dynamic pixel works in the downloaded landing page. For this, you do not need to insert codes into the landing page.

Append ?tiktok_pixel= to the end of the URL (after the domain) or &tiktok_pixel= (after other macros), and after the = sign, insert the tracker ID.
How to check if the pixel works correctly
After the setup, you can test the pixel's functionality.
Beforehand, you must uncheck "Do not use pixels for trash leads" in the flow.
Next, submit a test lead through your link.
Read more about how to submit a test lead: guide
After some time, the event should appear in TT.
Also, during the lead submission, you can see how the pixel behaves using TikTok Helper, a browser extension that shows the triggering of events in TT. The screenshot shows a successful case of a lead firing.