Configure the Magento 2 TikTok Conversion API

Configuring the TikTok Conversion API in Magento 2

The Conversion API settings in the Magmodules TikTok extension allow your Magento 2 store to send server to server events directly to TikTok. This improves tracking accuracy, especially when browser tracking is limited due to ad blockers or privacy restrictions.

Why Conversion API matters

  • More reliable conversion tracking than browser based pixels alone.
  • Better attribution for purchases and checkout events.
  • Helps TikTok optimize ads more effectively.
  • Allows sending events even when cookies or scripts are blocked.

By combining browser Pixel events and server side Conversion API events, you achieve the strongest tracking setup.

Conversion API settings explained

Enable

Turn the TikTok Conversion API on or off for the selected store view. When enabled, server side events will be sent automatically.

Access Token

Your TikTok Access Token is required to authenticate API requests. You can generate one in your TikTok Events Manager under Settings > Developer Settings.

Events

Select which server side events Magento should send to TikTok. You can select multiple options using Ctrl or Cmd.

  • AddPaymentInfo
  • AddToCart
  • AddToWishlist
  • CompleteRegistration
  • InitiateCheckout
  • Lead (Contact Us)
  • Purchase
  • Subscribe
  • Search
  • ViewContent

Step by step: how to configure the TikTok Conversion API

  1. Go to Stores > Configuration > Magmodules > TikTok > Conversion API.
  2. Select the correct Store View at the top left.
  3. Set Enable to Yes.
  4. Paste your TikTok Access Token.
  5. Select the events you want to send server side.
  6. Click Save Config.
  7. Clear Magento cache under System > Cache Management.

Recommended event setup

Full ecommerce tracking

For stores running conversion campaigns, we recommend enabling:

  • ViewContent
  • AddToCart
  • InitiateCheckout
  • AddPaymentInfo
  • Purchase

Lead generation websites

If your primary KPI is leads, enable:

  • Lead (Contact Us)
  • Subscribe
  • CompleteRegistration

FAQ and troubleshooting

Events are not appearing in TikTok Events Manager

  • Verify the Access Token is valid and not expired.
  • Check whether your store view configuration is active.
  • Confirm the selected events actually occurred during testing.
  • Ensure server side cron jobs are functioning properly.

Duplicate events in TikTok

TikTok automatically deduplicates Pixel and CAPI events using event IDs. This prevents overcounting even if both systems send the same event.

Can I use different Access Tokens per store view

Yes, all settings are store view scoped.

Need help

If you need assistance integrating TikTok via server side events or want help validating your tracking setup, feel free to contact our support team or visit the TikTok module page on our website.

Direct Help

At Magmodules, our support team is here to help you every step of the way. If you can't find a solution in our Knowledgebase, simply fill in the form below. We are in the Central European Timezone, and all your details are securely sent to us.
The more information you provide, the better we can assist you. Trust us to guide you through any challenge and ensure a seamless experience with our products and services.
Support by e-mail contact@magmodules.eu
star star star star star
star star star star star
Alexandru-Manuel Carabus
Magmodules sets the bar for Magento module quality and support—we check their catalog first for client feature requests, and they’re our first choice for licenses.
Google Last week
star star star star star
star star star star star
Matt Austin
Possibly the fastest support response times of any Magento Extension vendor. Great extensions too!
Google 09 Sep 2025
star star star star star
star star star star star
Jan Privé
Dankzij de heldere uitleg en snelle reactie van Magmodules kon mijn vraag, en dus mijn Magento-probleem, binnen enkele uren worden beantwoord. Doeltreffend, zonder moeilijke termen, gewoon zo als het zou moeten zijn.... Bedankt!
Google 05 Sep 2025
star star star star star
star star star star star
Denis Metzler
To evaluate a provider, it is not enough to consider only the product offered, but also its after-sales service, such as support and troubleshooting. Magmodules has been extremely satisfactory at all levels on multiple occasions and sets the bar at the top when comparing the competition.
Google 02 Sep 2025
star star star star star
star star star star star
Bleijenberg winkelinrichting en materialen
Goed bereikbaar, reageren snel en denken oplossingsgericht. Een aanrader.
Google 30 Jul 2025
star star star star star
star star star star star
Patrick Verduijn
Magmodules biedt plugins aan die van hoge kwaliteit zijn tegen een goede prijs, waar dit bedrijf in uitblinkt is de bereidheid om de zeldzame feedback & problemen met de plugins te willen onderzoeken, mee te willen denken in het debuggen van problemen en goede oplossingen toe te passen. In mijn decennium ervaring met Magento & 3th parties is Magmodules absoluut een uniqum binnen de markt.
Google 25 Jul 2025
star star star star star
star star star star star
Erik de Groot
Magemodules heeft hele sterke Magento extensies en een proactieve support. Al jaren heel erg tevreden over jullie service en producten!
Google 18 Jul 2025
star star star star star
star star star star star
René Zeuner
We are using the Mollie Magento extension from Magmodules. It works excellently without flaws. Very fast, competent and friendly support. Thanks!
Google 30 Jun 2025
star star star star star
star star star star star
R. U.
Erg goed team, reageren snel en duidelijk en hebben met toegang tot onze database erg goed geholpen (eigenlijk een gratis customization).
Google 18 Jun 2025
star star star star star
star star star star star
Hugo de Groot
Uitstekende support! Wij gebruiken o.a. de Rich Snippets Suite extensie voor onze Magento 2 webshop (Hyvä) en hadden een specifieke vraag over structured data op PLP-pagina’s. Binnen no-time kregen we een inhoudelijk en duidelijk antwoord. Zeer prettig contact en goed onderbouwde uitleg. Absoluut een betrouwbare partner voor Magento-extensies!
Google 13 Jun 2025