# 🚀How to Install TikTok Pixel on Shopify?🚀

**Step 1.** Click on **Activate** to enable the app in the theme editor.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdBsMn7SOpagS9Bxk36vujOk_fqya_g6UHXZbtdQYoUJf2Jn84YDgO646ofRc_MLz96DFa4KrpF_PmYSUjTNicMtCuZdmAWD1lHHCBxA5ohgvA35VVNjNY4Zoo1_2_BOhVEajLZAe4D3uBVegqaaSqRjBQ?key=mXtMobW3ct_ZLMsankctKQ" alt=""><figcaption></figcaption></figure>

\
**Step 2.** Click on **Add TikTok Pixel**.\ <br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXc7IlKrfSyH2t6RXGo_po5tiVy_uP3apqjGdnu1rDDhJypo-YaQ_HjI-zuC_wtQ4TSa_e4aljIRKOYtmOuRWN0KDb9eLW_YsjytP5iTYDyfijLs7Lw3iSLuVGUNs3Rn0Uf8JZYnoo415Lsf96GwXmzM64o0?key=mXtMobW3ct_ZLMsankctKQ" alt=""><figcaption></figcaption></figure>

\
**Step 3.** Enter any **Name** of the pixel and insert the **Pixel ID** here which we copied from TikTok Events manager.<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfA594VqJuTLEH7-kyFvugvmKRmxUpgCkBuUBIr2wh0qrnrJqJmqHt8iJQwy_fvw-PcuO_jhTs2fonM4WJCJvM-D_aNYZBUEYDZMO7mHZfRZAcK3h-6DZqVtUcUv1Tsmkx0DtBjFPkfKrc75BJ8v85TJXWO?key=mXtMobW3ct_ZLMsankctKQ" alt=""><figcaption></figcaption></figure>

\
**Step 4.** Next, add the **TikTok Access Token** that you previously copied from the TikTok Events Manager.<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcHmD80g_j7cs77AosG5fpTu4_nrliHlrUE_WaAQG-aURmC1pgbuXWB5JjHO_OSFEo7Rnh5T8VaRhgYlwkGJYG3S6nJr_SkijAJ3qM8m4MAaLcpch61-9WeDVajlhqcXOT9VJw4p_Lqeqp0La0Z87bQw4hj?key=mXtMobW3ct_ZLMsankctKQ" alt=""><figcaption></figcaption></figure>

\
\
**Step 5.** Click “**Copy**”,  then select “**Customer Events**”, which will direct you to the Customer Events section in Shopify.<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcOVjF0YP2PAtxpLZjcIwWkKMP8ekXXjLaXMUlMcx5yHRnTKvrl2Rnb5qVP2p15dLZFXDK_9BaPzhl3O891CGrTNU6hKVObDNtWLE5C-zQGecqesXAlmHGne3D52TYUbblvuH8f5_3-LKhS_vhE9lqMf328?key=mXtMobW3ct_ZLMsankctKQ" alt=""><figcaption></figcaption></figure>

\
Click on “**Add Custom Pixel**” and enter a name for your pixel.<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcOVjF0YP2PAtxpLZjcIwWkKMP8ekXXjLaXMUlMcx5yHRnTKvrl2Rnb5qVP2p15dLZFXDK_9BaPzhl3O891CGrTNU6hKVObDNtWLE5C-zQGecqesXAlmHGne3D52TYUbblvuH8f5_3-LKhS_vhE9lqMf328?key=mXtMobW3ct_ZLMsankctKQ" alt=""><figcaption></figcaption></figure>

\
Now, open **Permissions** and select according to your need. If you choose **Required**, the pixel will collect data based on the permissions granted by customers. And if you select **Not Required** pixels will run always and it will collect data without permission. I'm selecting Not required. \ <br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXd3AfHH0QFM1TKTHckjNsWdGAo4Me9ZFhU-HwwM5E_pEugABPpdYOY7mlCQjYrhC-agkViSzBG_21ZN0UMx9zQjDSH0zMnVvNxniGmfqlwKOMAi7d4yFCgKLvaHUiZOFEJ5wfJwkJjar284U6Phw295WRBA?key=mXtMobW3ct_ZLMsankctKQ" alt=""><figcaption></figcaption></figure>

\
**Delete** this 7-line code from the bottom.\ <br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXc86sVN3mdx13LtyjPpZ7msUKZkTw4sLX1h5Lo3DdEZBH67rFIi6TlLYFqHUx42NsDJnwBsDjgleUubQ5gYmMDZgnWtmpGLMPmzwW7wrvDB8iBi5RN-lSrK4R8ubweU85CLkKTVL0grzQO2QEEDGvBZ50w?key=mXtMobW3ct_ZLMsankctKQ" alt=""><figcaption></figcaption></figure>

\
**Paste** the code you copied from the app here and click on **Save**.\ <br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe2xpaPBciNzgLrVP56K8A8vbEvYs6vI1OqnZtEd4RqLRe_TOyTWg7z7oXt74xY-g6NVJ7dsyUZQMyD4tzttkBbNJZqp-4VSiT2Mbm1DJCxmJITXz9qKnx3qoq9kwMgMyeiuw1Bl_ev5C-lYWcf5ualnFxO?key=mXtMobW3ct_ZLMsankctKQ" alt=""><figcaption></figcaption></figure>

\
Now **connect** it.<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeXEFNwaLTXUddVdYe-Wh1-11bh6qeZLKsQnQyGWzx7OlAEmTzSSavgKbiNsAac8PJwRWLZJU0i6SlA-QqautXyf4CHXVf-P8_oYwWVKZCo8GDl_qcZfdAQFDMzqpVKK1fAvUr-PmE9s5SAO0IycK-2VmbN?key=mXtMobW3ct_ZLMsankctKQ" alt=""><figcaption></figcaption></figure>

\
\
Now go back to our app page and check the **box** and Click on **save.** \
\ <br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXd1KQ2xVJYXZPnOYNgIdu-XmNekAfO_SFa1LL5YZ0yOTFQMWN5XjDW1yy5QWaSONZLIplWEnOx55QSHIJk6zHCK-o_OpTo3qasJZ0-UwYHRezjTOOETLF5_WGGb9DedfBdUNx070DrEyAs9rm3jlZhM8So?key=mXtMobW3ct_ZLMsankctKQ" alt=""><figcaption></figcaption></figure>

{% embed url="<https://youtu.be/nMHJQJo5YWQ?si=de2iQl0evdF--RuA>" %}

**Congratulations**🤩! Your pixel has been successfully integrated and is ready to track with precision!🥳


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://infinite-pixel-tracking.gitbook.io/infinite-pixel-tracking/tiktok-pixel/how-to-install-tiktok-pixel-on-shopify.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
