Time to read: 3 min

The article covers the following topics:
TikTok is currently having a great impact on world advertising trends. It is a perfect fit for brands to vastly broaden the audience, especially with those of 18-24 years old, who make up almost half of TikTok users.
Before you start setting up the integration, you need to create an offer and affiliate for this integration. Since you set up the Affise tracking link on TikTok, it works as your affiliate.
How to set up a TikTok ad?
To be able to connect TikTok ads to Affise, first you need to create an ad in TikTok.
Follow the steps below to create an ad:
In your Ads Manager profile, select Campaign in the top menu.
Click the Ad tab, and then click Create.
Select Traffic as your advertising objective. Also, you can set up budget limits for your ad.
Select Website as your promotion type.
Activate the Use TikTok Pixel to track your website checkbox and select or create a pixel.
Also, manage other ad settings and set up targeting that should be the same as in your Affise offer.
Add the Ad name and other details.
On Affise, generate a tracking URL on the Offer preview page, and use this link as a destination page.
❗ Note to use a custom tracking domain. See how to set up a custom tracking domain here.


9. Make payment for your ad and finish.
Read more on how to create a TikTok campaign here.
How to create a TikTok pixel?
To create a TikTok pixel and share it with your partner in Affise, follow the steps below:
In your Ads Manager profile, click Assets > Events.
In the Web Events box, click Manage.
Click Create pixel and select TikTok pixel as a connection method.
Enter a pixel name and select Manually Install Pixel Code.
Select Developer Mode for more customization.
Wait until the pixel is created and copy your pixel code.
Also, you can send the pixel via email or download it to your device.
TikTok pixel example:
<script> !function (w, d, t) { w.TiktokAnalyticsObject=t;var ttq=w[t]=w[t]||[];ttq.methods=["page","track","identify","instances","debug","on","off","once","ready","alias","group","enableCookie","disableCookie"],ttq.setAndDefer=function(t,e){t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}};for(var i=0;i<ttq.methods.length;i++)ttq.setAndDefer(ttq,ttq.methods[i]);ttq.instance=function(t){for(var e=ttq._i[t]||[],n=0;n<ttq.methods.length;n++)ttq.setAndDefer(e,ttq.methods[n]);return e},ttq.load=function(e,n){var i="https://analytics.tiktok.com/i18n/pixel/events.js";ttq._i=ttq._i||{},ttq._i[e]=[],ttq._i[e]._u=i,ttq._t=ttq._t||{},ttq._t[e]=+new Date,ttq._o=ttq._o||{},ttq._o[e]=n||{};var o=document.createElement("script");o.type="text/javascript",o.async=!0,o.src=i+"?sdkid="+e+"&lib="+t;var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(o,a)}; ttq.load('CAQR4L3C77UB8MCO32UG'); ttq.page(); }(window, document, 'ttq'); </script>
7. Complete your pixel setup.
8. When you've copied a pixel, you can send it to your affiliate directly. Also, you can add a pixel on the Offer page on Affise Partner panel:
a. Click Add Pixel.
b. In the appeared window, indicate the name, insert your pixel in the Code field, and select its type (javascript).

❗Since you integrate with your partner using JavaScript pixel, you need to integrate with your advertiser using JavaScript pixel as well.
Find the guide on pixel integration here to set up integration with your advertiser and affiliate.
9. Follow the statistics on your pixel activity.

Read more about TikTok pixel here.
You may also find helpful the following articles:
If you have any further questions, feel free to contact our support team via [email protected].