# 🚀How to install snapchat pixel on shopify?🚀

Here is a general approach for installing Snapchat Pixel with such applications:

1. First of all, **activate** our application’s extension by clicking on the activate button.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXf7wOrqdn1HGtEmV2IxcUVoJoleAwwWyk9Nq-WF3HPFzy5n25NnrSWfS-qO2HxXuSAfTz5dA_GYwRpRyoq1weYPiftdbTRWUAmr0oa3wiAwJ4TRhFBZYNpf39pF0a7qbQ-DTG0iHBHGxPRJ_ibWO1MKCcxR?key=ZjRnmer1HVEsSLnsCLcGMA" alt=""><figcaption></figcaption></figure>

2. Now click on **Add Snapchat pixel.**

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeAYtgHTYLlTtN1PeHh1xg2oOhf_vPNIxNX13yCy4SSvXJOAYWa1ut67dFbqEYN6Xe5JbEarAS35nSJKB5MyR1sSfZFkFGCAZtR1E4btlCkd8YGQFr-obn-55o-bKIfhDVcYNOljdRZhFgoUshYg5cMSrU?key=ZjRnmer1HVEsSLnsCLcGMA" alt=""><figcaption></figcaption></figure>

3. Please enter a **name** for your pixel in the first field.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe8lktLfyshV4FPopgD5FI7vszWKH7VamBECgwNEnt0ZWWielD2T7qh-iVXOMoLmvhXOcvn0Q6UXS04BJC-YL0kdR9htXzR77SI_EETXC_SEDx8pvt4rXrRZQ2oxchqCwJSBSJH_l0as9WDBXd_A6Wgb3yX?key=ZjRnmer1HVEsSLnsCLcGMA" alt=""><figcaption></figcaption></figure>

4. Now move to your business snapchat account and open the pixel which you want to integrate and copy the **Pixel ID.**

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdwVo44awkcPEUhjHOukhZwzclLX26EWRB5mHY5x6Jnh8_b0okbZ_3raMGW5wAXCorC7ePkWO5NYyBFDkw6cOX3nfcH1yEJJCwh2wA84Egv-2wJd4VtZr2dSKe4gZEXq3A6vOPV0OV70G8ssUnbsjpbcBnk?key=ZjRnmer1HVEsSLnsCLcGMA" alt=""><figcaption></figcaption></figure>

5. Now again move to your snapchat business account and go to business details. Scroll down to the bottom and click **Generate Access Token**, then paste it into the application's Snapchat access token section. It's recommended to create a new token and delete any previous ones, as shown in the highlighted screenshot.

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

6. Now we have both **Pixel ID** and **Access token**, move to the app and paste both of them, like I did.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfgJVsM0Z4eOpv7tBTQR3DOpLM_NCQQi1GLqW3459enOQJ-mrZyA7fYRLLHBnEVh9Y3Hkh0FehDw0a6nwpPc9jDdUGnxhkHz63EN2Q6y7cFhD5hFOfiGWRuJGkc3gn-IkYneMgqAkMHPfxWTDJlpsrBdgs?key=ZjRnmer1HVEsSLnsCLcGMA" alt=""><figcaption></figcaption></figure>

7. First, click the "**Copy**" button below the script, then select "**Customer Events**" next to the copy button.

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

8. After clicking the "**Customer Events**" button, you will be directed to this page. Here, click on the "**Add Custom Pixel**" button to proceed.

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

9. After clicking "**Add Custom Pixel**," a pop-up will appear where you can enter a name for the pixel and then click "**Add Pixel**" to proceed

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdi3QBfPujRBUCQrkftZY7XuHKt_o7unm_OqY4ka5m08e1G8uOsOgj1gYaFdLi-2gFfMcjInRfBvwVWGo_XvU30uyH_fsGcHBECwcaJsIso-jzA6iN57eqtSwxMSTxVYrjp_LrrcC7-246cJvl_4QA2gNQ?key=ZjRnmer1HVEsSLnsCLcGMA" alt=""><figcaption></figcaption></figure>

10. Now click on the **permission** section and select according to your need. If you Select **Required** the pixel will collect data when the permission is granted. Here I‘ll select **Not required**, as it’ll collect data without the permission of the users.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdffDaUs3Ppmj0QUf18KH5Jw2L9u10q8ocpbj9sKzQw0ZeRasxdcphM9MIlycI1XqGm1DGqNQKlq_i4AavlhZccnjUSnBMvtnOGoj8iZkF2K6Z9o8Sy8xRGXjCSWYTTXckWBaOLN-44qefdGWzmPs6HMagx?key=ZjRnmer1HVEsSLnsCLcGMA" alt=""><figcaption></figcaption></figure>

11. Now, scroll down and replace the existing code with the code you copied from the application, then click the "**Save**" button at the top to apply your changes.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe3syI0B1drOg6D41BuPTah5A3I7REZdaa5DpcobwCon4vHGOx7eS2aK0p6E8a2pNapN0dpW_W5bq4dtz-4uuEw4TMjHS-1ta68yIuTBE4221sYWXZWefl2CMnQo2VerHhleqUvZ-PAq7nm2RPGR72ysw_E?key=ZjRnmer1HVEsSLnsCLcGMA" alt=""><figcaption></figcaption></figure>

12. Now click on **connect** button to link custom pixel

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcKWfsKuASG-MsXqeQ-n7YpNAa0SX_zlv02ekpQRDCi5A3btSDxwXull5MhvUccnK0pesyCR29pxdijBMt3HmZ9ZrEqNRTP3ki-ArPEEsoRMIX7a_kJTJWAqewQ46X8SLcuyvGvdp0CkHFenbVhkN9ln50?key=ZjRnmer1HVEsSLnsCLcGMA" alt=""><figcaption></figcaption></figure>

13. Now move back to the application and check the **box** \[I’ve done this above] below the script and **save** the pixel.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdyUwGXXzwAbWAhOMUDkWTbyvH1EM7VKKsxdXfZzi1l5PseNx4TaXB-r4ExQvDcXAOcYQ5PY2L-u8mEJNQOVoGGwzs9LcQM7yPDEdEFk3K01mKjjz3lKOK7CdyiwMAM2WrasS9qBiQqLlXBkSkrmi0_XsLU?key=ZjRnmer1HVEsSLnsCLcGMA" alt=""><figcaption></figcaption></figure>

{% embed url="<https://youtu.be/FhGvEHfrvmI?si=3S33C3ZgPXsubt8U>" %}

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

\
Similarly you can create multiple snapchat pixels.😊


---

# 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/snapchat-pixel/how-to-install-snapchat-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.
