The Facebook for WooCommerce plugin installs the Meta Pixel and server-side Conversions API in one setup flow, which matters because browser-only pixel tracking now misses a meaningful share of events to ad blockers and iOS privacy settings. For TikTok, install a TikTok for WooCommerce or pixel-helper plugin the same way. Both send purchase, add-to-cart and view-content events automatically once installed — you don't need to touch a line of code.
Conversions API exists because browser pixels alone routinely undercount purchases by a noticeable margin — ad blockers, Safari's tracking prevention and users declining cookie consent all quietly remove events from what the pixel alone would report. Server-side tracking sends the same event from your WooCommerce backend, which doesn't depend on the customer's browser cooperating. Once both are live, use the platform's event testing tool (Meta's Test Events, TikTok's Event Debugging) to fire a real test purchase and confirm both the browser and server events land — you want to see the event twice, tagged as deduplicated, not once.
Match quality is the other half of this setup. Both plugins pass hashed customer data — email, phone, name — along with the purchase event, and higher match quality is what lets the ad platform actually attribute a conversion back to the ad that drove it. Check the match quality score in Events Manager after a week of live traffic; anything below 'good' usually means a plugin setting for customer data isn't enabled, and it's worth fixing before you spend real budget on video ads you can't measure properly.