Don't have one? Create one ↗
← All courses

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

  1. Install the TikTok Pixel (official template)

    From the Community Template Gallery (or built-in). ID required: Pixel ID.
  2. Install the TikTok Pixel template, firing the base on All Pages.

  3. Add your Pixel ID.

  4. Fire standard events (CompletePayment, SubmitForm) on the matching triggers.

  5. Optional: connect the Events API for server-side delivery.

  6. Fire it on a Custom Event trigger for purchase

    Add a Custom Event trigger on purchase and fire the TikTok tag on it, passing value and currency where relevant.
  7. 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.

  1. In your GTM, click Preview.
  2. Paste the live URL above and click Connect.
  3. Interact with the live page and watch your tag fire in Tag Assistant.

What you should expect to see

Firing the sample 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

0 of 5 lessons complete