Remove the TikTok Pixel from WordPress
Remove the TikTok Pixel from WordPress by deleting the code wherever it was added: most commonly in a header/footer plugin, the theme editor, or a widget. PixelFlow loads the TikTok Pixel and Events API for you, so any second copy of the pixel on your site causes duplicate events. See How to Connect Your TikTok Pixel & Conversions API for how the PixelFlow setup works.
Remove code from a header/footer plugin
In your WordPress admin, go to Code Snippets β Header & Footer (or the equivalent area for your plugin, such as Insert Headers and Footers by WPCode).
Delete the TikTok Pixel code from the Header box. Look for
ttq,analytics.tiktok.com, or a Pixel Code hardcoded in a script tag.Click Save Changes.
Remove code from the theme editor
In your WordPress admin, go to Appearance β Editor.
Open Patterns β All template parts.
Edit the active header or footer template part.
Delete the Custom HTML block that contains the TikTok Pixel code.
Save the template.
Remove code from a widget
In your WordPress admin, go to Appearance β Widgets (or the widget area where the code was placed).
Find the Custom HTML widget containing the TikTok Pixel code.
Delete the widget or remove the code from it.
Save.
Remove a TikTok or ads plugin
If a TikTok, Pixel, or ads plugin injects the pixel code, go to Plugins β Installed Plugins and either disable the plugin's Pixel feature or uninstall the plugin. Do not uninstall the PixelFlow plugin.
Check TikTok's Auto event setup
In TikTok Ads Manager, go to Tools β Events β Manage Web Events, select your pixel, and open Settings to check Auto event setup. Make sure it is turned off. TikTok offers this setting in beta to a limited number of advertisers and is phasing it out.
Do not delete the pixel inside TikTok Events Manager. PixelFlow still uses that pixel. You are only removing the second copy from your website.
Verify the pixel is gone
Install the TikTok Pixel Helper browser extension.
Visit your live site in an incognito window.
Confirm no TikTok pixel events fire on the page.