TikTok Pixel·3 min read

Add Your TikTok Pixel

Add a TikTok Pixel to Ego Pixel using either Manual Input or Auto Connect. Choose the method that best fits your setup.

Overview

Add your TikTok Pixel to start tracking events with Ego Pixel.

From this guide, you will:

  • Add a Pixel using Manual Input or Auto Connect (recommended).

  • Configure tracking and event settings.

  • Save your Pixel and start tracking your storefront.

Method 1: Manual Input Pixel

Step 1: Open the Create Pixel screen

  1. Open the app in your Shopify Admin.

  2. Go to TikTok Pixel.

  3. Click Create New Pixel.

=> You will see the Create New Pixel configuration screen.

Step 2: Choose Manual Setup

At the top of the setup screen ⇒ Select Manual Setup

Step 3: Enter Pixel Information

At the top of the page, enter the required pixel details.

  • Pixel name: Enter a name to identify this pixel in your store.

  • Pixel ID: Paste your TikTok Pixel ID from TikTok Events Manager.

How to get your Pixel ID?

  1. Go to TikTok Events Manager (TikTok Ads Manager → Assets → Events). https://ads.tiktok.com

  2. Under Web Events, click Manage and select the Pixel you want to use.

  3. In the Overview tab, find the Pixel ID displayed at the top of the page (it is also available in the Settings tab).

  4. Copy the Pixel ID.

  5. Return to the app and paste the Pixel ID into the "Pixel ID" field.

Step 4: Choose Tracking Scope

In the Tracking Scope section, choose where the pixel will track events.

  • Entire store: Track events across your entire store.

  • Specific target: Track events only for selected items. If you choose this option, you can configure:

  • Specific Products – select products to track

  • Collection page – select specific collections

  • Specific tags – track products with selected tags

Step 5: Enable Events API (Optional)

In the Events API section: Turn on Events API (server-side tracking, solution for iOS 14.5)

=> This enables server-side tracking, which improves event accuracy and helps avoid browser restrictions or ad blockers.

Set up Events API token in your Ego Pixel

Step 6: Configure Event Settings

In the Event settings section, select the events you want to send to TikTok.

Available events include:

  • PageView

  • ViewContent

  • AddToCart

  • InitiateCheckout

  • AddPaymentInfo

  • Purchase

  • Search

=> Only enabled events will be sent to TikTok.

Note: On TikTok, the purchase event is recorded as CompletePayment. This is the event TikTok uses to optimize your purchase campaigns.

Step 7: Select Customer Information Parameters

In Customer information parameters, choose the customer data to include with events for better matching in TikTok.

Available parameters include:

  • Email

  • Phone

  • External ID

=> Providing more parameters can improve event matching quality. Customer data is hashed before being sent to TikTok.

Step 8: Save the Pixel

After finishing the configuration, Click Save in the top-right corner.

⇒ The pixel will start tracking events based on your settings.

  1. Open the app in your Shopify Admin.

  2. Go to TikTok Pixel.

  3. Click Create New Pixel.

➡ You will see the Pixel setup screen.

At the top of the setup screen:

  • Select Auto Connect Pixel (recommended option)

This method allows you to connect your TikTok Pixel without manual input.

  1. Click Connect TikTok.

  1. A TikTok login popup will appear.

  2. Log in to your TikTok for Business account.

➡ Make sure you use an account with access to your TikTok Ads Manager / Business Center.

  1. Click Continue

  2. Approve all required permissions

➡ This allows Ego to:

  • Access your Pixel

  • Send events via Events API

  • Sync tracking data

After logging in:

  1. Choose your Business Center

  2. Select your Ad Account

  3. Select your TikTok Pixel

➡ Only Pixels you have permission for will be displayed.

In the Tracking Scope section, choose where the pixel will track events.

  • Entire store: Track events across your entire store.

  • Specific target: Track events only for selected items. If you choose this option, you can configure:

  • Specific Products – select products to track

  • Collection page – select specific collections

  • Specific tags – track products with selected tags

In the Events API section: Turn on Events API (server-side tracking, solution for iOS 14.5)

=> This enables server-side tracking, which improves event accuracy and helps avoid browser restrictions or ad blockers.

Set up Events API token in your Ego Pixel

In the Event settings section, select the events you want to send to TikTok.

Available events include:

  • PageView

  • ViewContent

  • AddToCart

  • InitiateCheckout

  • AddPaymentInfo

  • Purchase

  • Search

=> Only enabled events will be sent to TikTok.

In Customer information parameters, choose the customer data to include with events for better matching in TikTok.

Available parameters include:

  • Email

  • Phone

  • External ID

=> Providing more parameters can improve event matching quality.

After finishing the configuration, Click Save in the top-right corner.

⇒ The pixel will start tracking events based on your settings.

Still need help?

Our support team is available 24/7. Contact support →