Published on

How to Install the Tik Tok Pixel in Shopify

How to Install the Tik Tok Pixel in Shopify

In this article, we will guide you through the process of installing the Tik Tok pixel in Shopify. By adding the Tik Tok pixel to your Shopify store, you can track and measure the success of your ad campaigns on the social media platform.

Step 1: Log in to your Tik Tok account and access the library

  • Go to ads.tiktok.com and log in to your Tik Tok account.
  • Once logged in, navigate to the library from the top menu.

Step 2: Create the Tik Tok pixel

  • In the library, click on "Event" from the menu.
  • Manage your website pixel and click on "Create Pixel".
  • Select manual pixel installation and provide a name for your pixel.
  • Copy the generated pixel code.

Step 3: Add the pixel code to Shopify

  • Access your Shopify admin and click on "Online Store".
  • From the active theme actions, select "Edit Code".
  • In the Shopify code editor, click on "theme.liquid".
  • Paste the Tik Tok pixel code just before the closing head tag.
  • Save the changes in the theme.liquid file.

Step 4: Add the pixel code to the checkout settings

  • In your Shopify admin, go to "Settings" and then "Checkout".
  • Scroll down to the "Additional Scripts" box.
  • Add the Tik Tok pixel code to the end of your additional scripts.
  • Save the changes in the checkout settings.

Step 5: Setting up events in the Tik Tok Events Manager

  • Go back to the Tik Tok Events Manager.
  • Click on "Next" and select "Ecommerce Events".
  • Choose the "Complete Payment" event as the default event for purchase tracking.
  • Set up event rules for tracking product details, add to cart, and complete payment.
  • Save the event rules and complete the setup.

That's it! You have successfully installed the Tik Tok pixel in your Shopify store and set up event tracking for various actions.

Keywords

Tik Tok pixel, Shopify, installation, event tracking, ads, ad campaigns, social media platform, code editor, checkout settings, ecommerce events, purchase tracking, product details, add to cart, complete payment.

FAQs

  • How can I access the Tik Tok library to create a pixel?
  • What are the steps to add the Tik Tok pixel code in Shopify?
  • Do I need to manually add the pixel code to both the theme and checkout settings?
  • Can I track specific events like add to cart and complete payment using the Tik Tok pixel?
  • Are there any limitations or additional configurations required for the Tik Tok pixel installation in Shopify?