Published on

HOW TO INSTALL TIKTOK PIXEL (Shopify Tutorial)

Introduction

Installing the TikTok Pixel on your Shopify website can help you effectively track your performance and optimize your TikTok ads. In this tutorial, I'll walk you through each step of the process, ensuring you can set up the TikTok Pixel without any hassle. Let’s get started!

Step 1: Create and Access Your TikTok Account

If you haven’t already, create a TikTok account. Once done, log in to your TikTok Ads Manager.

  1. In the Ads Manager, navigate to the Library section.
  2. Click on Events and then select Website Pixel.
  3. Click Create Pixel to initiate the process.

Step 2: Set Up Pixel Installation

  1. Choose the Manually install pixel code option.
  2. Name your pixel (e.g., "Example Pixel") and click Next.
  3. Copy the pixel code provided.

Step 3: Install the Pixel Code on Shopify

A. Editing the Theme Code

  1. Log into your Shopify store.
  2. Navigate to Online Store > Themes.
  3. Click on Actions and select Edit Code.
  4. Locate the theme.liquid file.

B. Pasting the Pixel Code

  1. Within the theme.liquid file, find the <head> section.
  2. Directly below it, paste the pixel code you copied from TikTok.
  3. Save your changes.

Step 4: Add Pixel Code to Checkout Section

  1. Go to Settings in your Shopify store.
  2. Click on Checkout.
  3. Scroll down to the Additional Scripts section and paste the pixel code again, if needed.
  4. Save your changes.

Step 5: Verify the Pixel Installation

To check if the pixel was installed correctly, download the TikTok Pixel Helper extension for Google Chrome.

  1. Visit the footer or any part of your Shopify website.
  2. Click on the TikTok Pixel Helper extension; it should confirm that the pixel is installed.

Step 6: Set Up Events

With the pixel installed, you’ll need to set up eCommerce events:

  1. View Content: For product detail pages, name this event "View Content".
  2. Add to Cart: Set up this event to track when an item is added to the cart.
  3. Initiate Checkout: Set this event for when a user proceeds to checkout.
  4. Complete Payment: Track completed purchases.

Event Setup Rules

  • View Content: Set as "Once".
  • Complete Payment: Set as "Every".
  • For tracking Inititate checkout, Add to Cart, and Complete Payment, use destination URLs like products, cart, checkout, and thank_you.

Step 7: Final Verification

Finally, it may take a few hours (up to 24) for the pixel to gather data. Run through your checkout funnel to ensure all events are recorded appropriately.

Conclusion

Congratulations! You have successfully installed the TikTok Pixel on your Shopify store. This will help you optimize your ad campaigns effectively. If this tutorial helped you, please consider leaving a like or subscribing for more TikTok Ads tutorials.


Keywords

TikTok Pixel, Shopify, Installation, E-commerce, Pixel Code, Events, Ads Manager, Checkout, Google Chrome Extension

FAQ

Q1: What is the TikTok Pixel?
A1: The TikTok Pixel is a tracking code that helps monitor user interactions on your website so you can optimize your TikTok ad campaigns.

Q2: Can I use Google Tag Manager to install the TikTok Pixel?
A2: Yes, using Google Tag Manager is an option for installation, though this tutorial covers manual installation.

Q3: How do I verify if the TikTok Pixel is installed correctly?
A3: You can use the TikTok Pixel Helper extension for Google Chrome to check if your pixel is functioning properly.

Q4: How long does it take for the pixel to start tracking data?
A4: Typically, it can take up to 24 hours for the pixel to start collecting data, but you may see results within a few hours.

Q5: What events should I set up for e-commerce?
A5: It is recommended to set up events like View Content, Add to Cart, Initiate Checkout, and Complete Payment for tracking e-commerce activities.