Lesson 3 of 5
TikTok Pixel
① Connect your GTM container
Paste your container ID to load it into this page. It only ever runs here.
Advanced: use a specific environment
TikTok's official Pixel template installs the base on all pages with your Pixel ID, then fires standard events like CompletePayment and SubmitForm.
You'll map a conversion off your purchase event, and optionally connect the Events API for server-side delivery.
Goal
Install the TikTok Pixel and fire a standard event on purchase.
Build it in GTM
Install the TikTok Pixel (official template)
From the Community Template Gallery (or built-in). ID required:Pixel ID.Install the TikTok Pixel template, firing the base on All Pages.
Add your Pixel ID.
Fire standard events (CompletePayment, SubmitForm) on the matching triggers.
Optional: connect the Events API for server-side delivery.
Fire it on a Custom Event trigger for
purchaseAdd a Custom Event trigger onpurchaseand fire the TikTok tag on it, passing value and currency where relevant.Go deeper
Browse ready-made, Google-approved options: DumbData: free GTM custom templates (client + server-side).
Debug in Tag Assistant
Copy this lesson's live URL and paste it into GTM Preview, that is the page Tag Assistant connects to. It has the clickable elements, so this page stays clean for reading.
- In your GTM, click Preview.
- Paste the live URL above and click Connect.
- Interact with the live page and watch your tag fire in Tag Assistant.
What you should expect to see
purchase fires the TikTok Pixel's conversion event in Tag Assistant.Verify your container
Built it? Export your container, Admin → Export Container, choose your workspace, then drop the JSON here to check it against this lesson.
Drop your container .json here
or browse · checked in your browser, nothing is uploaded