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.

How the integration works

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:

  1. In your Ads Manager profile, select Campaign in the top menu.

  2. Click the Ad tab, and then click Create.

    Advertising on TikTok _ TikTok Ads - Google Chrome 2022-06-28 at 1.23.28 PM

  3. Select Traffic as your advertising objective. Also, you can set up budget limits for your ad.

    Screen Recording 2022-06-28 at 01.28.34.25 PM
  4. Select Website as your promotion type.

  5. Activate the Use TikTok Pixel to track your website checkbox and select or create a pixel.

    Advertising on TikTok _ TikTok Ads - Google Chrome 2022-06-28 at 1.42.17 PM
  6. Also, manage other ad settings and set up targeting that should be the same as in your Affise offer.

    Screen Recording 2022-06-28 at 01.55.19.96 PM

  7. Add the Ad name and other details.

  8. 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.

Offer TikTok best ad _ Rocketcompany - Google Chrome 2022-06-28 at 7.04.12 PM

Screen Recording 2022-06-28 at 04.03.55.09 PM

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:

  1. In your Ads Manager profile, click Assets > Events.

  2. In the Web Events box, click Manage.

    2022-06-24

  3. Click Create pixel and select TikTok pixel as a connection method.

    Screen Recording 2022-06-24 at 03.35.44.92 PM

  4. Enter a pixel name and select Manually Install Pixel Code.

    Events Manager - Google Chrome 2022-06-24 at 3.44.04 PM
  5. Select Developer Mode for more customization.

  6. Wait until the pixel is created and copy your pixel code.

    Screen Recording 2022-06-24 at 03.47.27.35 PM

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).

Offer ttrr - Google Chrome 2022-06-24 at 3.58.15 PM

❗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].

Did this answer your question?