Adding a tracking pixel shouldn't require a plugin
You signed up for Google Analytics. Or Facebook Ads. Or TikTok. They gave you an ID and said "paste this snippet into your site's head tag."
On WordPress, that means: install a plugin for the specific platform, or install a generic "header scripts" plugin, or edit your theme's header.php (which gets overwritten on update), or use a child theme just to add one line of JavaScript.
For something that should take 10 seconds, it takes 10 minutes and leaves behind a plugin you'll forget about.
What most people do instead
Every approach adds more than it should.
A better way: one command per pixel
Open the TrueCommander navigator. Type the command for your platform. Paste your ID. Hit enter. The tracking script is injected into every frontend page via wp_head. Persisted in the database. Survives theme updates. Disable or re-enable anytime.
Saved in the database, not your theme. Tracking IDs persist through theme switches and updates. Disable with -off, re-enable anytime without re-entering the ID.
All 11 platforms, same pattern
Every tracking command works the same way: paste your ID, hit enter. Disable with -off. Re-enable by running the command again.
| Platform | Command | ID flag |
|---|---|---|
| Google Analytics 4 | enable ga4 | -mid=G-XXXXXXXXXX |
| Facebook Pixel | enable fbpixel | -pid=123456789012345 |
| Microsoft Clarity | enable clarity | -cid=abc123xyz |
| Hotjar | enable hotjar | -hid=1234567 |
| TikTok Pixel | enable tiktok pixel | -tid=1234567890 |
| Snapchat Pixel | enable snapchat tag | -pid=1234567890 |
| Pinterest Tag | enable pinterest tag | -pid=1234567890 |
| LinkedIn Insight | enable linkedin tag | -lid=1234567 |
| X (Twitter) Pixel | enable x tag | -tid=1234567890 |
| Bing UET | enable bing tag | -uid=1234567890 |
| Google Tag Manager | enable gtm | -gid=GTM-XXXXXXX |
How it works
Same architecture for every platform.
wp_head on every frontend page. No theme editing.-off to disable. Run the command without flags to re-enable. Your ID stays saved.Real example
You're launching a Black Friday campaign. Google Ads, Facebook Ads, and TikTok Ads are all running traffic to your WooCommerce store. Each platform needs its conversion pixel installed before the first ad dollar is spent.
You open the navigator three times in 30 seconds. GA4 measurement ID, Facebook Pixel ID, TikTok Pixel ID — each one pasted and confirmed. All three scripts are now injecting on every frontend page load. No plugins installed. No theme files touched. No developer needed.
Two weeks later, the campaign ends. TikTok underperformed. You open the navigator: enable tiktok pixel -off. The script stops injecting. Your TikTok Pixel ID stays saved in case you want to re-enable it next quarter.
Meanwhile, GA4 and Facebook Pixel keep running — they weren't touched. Each pixel is independent. Toggle any one without affecting the others.
Platform-specific guides
Each pixel has its own detail page with screenshots, setup instructions for that platform, and a worked example.
Goes further with TrueCommander
Install once, manage from the navigator forever.