Tracking Code Tools: Conversion Tracking Code Generators
Tracking code that looks fine can still send the wrong value, currency or event name. These free conversion tracking code generators write correct pixel, tag and consent code for each ad platform — with install steps for HTML, WordPress, Shopify and Google Tag Manager — and inspect Google Tag Manager containers.
14 free tools · all run in your browser · no sign-up
Start here
- Consent Mode v2 Code Generator for Google TagsGet Google consent mode v2 code for your cookie banner, with defaults for EEA, UK and Swiss visitors and a check for tags that fire before consent.
- Pixel Event Code Generator for MetaGet Meta pixel code for purchases, leads and other events, with order value and a matching Conversions API event so no sale is counted twice.
- Click ID & UTM Capture Script GeneratorGet one script that saves ad click IDs and UTM tags when visitors land and fills your form's hidden fields, ready for offline conversion uploads.
All tracking code tools
14 tools
-
Get Google consent mode v2 code for your cookie banner, with defaults for EEA, UK and Swiss visitors and a check for tags that fire before consent.
Google -
Build GA4 ecommerce code for carts and purchases, and check code you already have for old event names, text prices and totals that don't add up.
Google -
Get Meta pixel code for purchases, leads and other events, with order value and a matching Conversions API event so no sale is counted twice.
Meta -
Get one script that saves ad click IDs and UTM tags when visitors land and fills your form's hidden fields, ready for offline conversion uploads.
GoogleMetaMicrosoftTikTokLinkedIn -
See every tag in a Google Tag Manager export in one Excel file, with unused, paused and outdated items flagged and two versions compared.
Google -
Get custom pixel code for Shopify that sends checkout and cart events to Meta, Google, TikTok and Pinterest, plus a checker for wrong event names.
ShopifyMetaGoogleTikTokPinterest -
Get Google Ads conversion tracking code with the real order value and ID, for a thank-you page, WooCommerce or Tag Manager, and check code you have.
Google -
Get Google Ads enhanced conversions code that sends the buyer's email, phone or address with each conversion, for the Google tag or Tag Manager.
Google -
Get TikTok pixel code for purchases, leads and other events with the 2025 event names, value, currency and a matching Events API event.
TikTok -
Get Pinterest tag code for checkouts, leads and sign-ups, with value, order ID, an event ID for the Conversions API and enhanced match.
Pinterest -
Get the Snapchat pixel code for purchases and other actions, with order value and an ID that stops double counting.
Snap -
Get LinkedIn Insight Tag and conversion code for button clicks and form sends, with order value, currency and an event ID for the Conversions API.
LinkedIn -
Get Microsoft Advertising UET code for purchases and other goals, with revenue, currency, consent settings and enhanced conversions.
Microsoft -
Get Reddit pixel code for purchases, leads, sign-ups and the other standard events, with value, products and a conversion ID that stops double counts.
Reddit
No tool in this group for that platform yet. Choose “All” to see every tool.
Guides for this topic
-
What Google Consent Mode v2 is, who needs it, basic vs advanced, and how to check it works. Plain English, no legal jargon.
10 min read -
Audit a Google Tag Manager container in 10 minutes: export it, find paused, unused and duplicate tags, then check consent and access.
10 min read -
Standard pixel event names for seven ad platforms plus Google Ads and GA4, with purchase code, event IDs and renamed events marked.
10 min read
Frequently asked questions
What is conversion tracking code?
It is a small piece of JavaScript on your website that tells an ad platform when a visitor does something valuable — buys, signs up or sends a lead form. The platform uses it to report conversions and to optimize your ads toward people likely to convert.
What is the difference between a pixel and a tag?
Mostly the name. Meta, TikTok, Snap and Reddit call their code a “pixel”, Google and Pinterest call it a “tag”, Microsoft calls it UET and LinkedIn calls it the Insight Tag. All of them are a base script plus event calls for the actions you want to count.
Which events should I track on my website?
Track the actions that mean money for your business: a purchase with its value and currency for online stores, or a lead or completed sign-up for service businesses. Add earlier steps (add to cart, begin checkout) when you have enough traffic for the platform to learn from them.
Do I still need pixel code if I use a Conversions API?
The platforms recommend using both: the browser code and the server events, sent with the same event ID so the platform can remove duplicates. The generators here output that shared event ID where the platform supports it.
Where do I paste the generated code?
Each generator gives install steps for plain HTML, WordPress, Shopify and Google Tag Manager. As a rule, the base code goes on every page and the event code runs when the action happens — for example on the order confirmation page.