# 🚀How to Install Twitter Pixel on Shopify?🚀

Click on **Activate** to **enable Infinite** in the **theme editor**.<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXembVPliYA4aq8oz5KvH8H9o36NUkhKbDXSj7yqzmd7xH2VF6ZsSn_JPIOR0ejvLJXmYZFUzt2QUfjOmCoDhYs3XpxSY3Uh_k1VDQtTSeAaVIKJTfYVjrGSNh-8pDRVvK6KGGegHQ?key=Ym4SYMYC7EBs5tAPHGOE2QR-" alt=""><figcaption></figcaption></figure>

Navigate to the **Twitter tab** and click on **'Add Twitter Pixel.**<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdqpMTef8UUnsvzFxNoL_nfZGslA0E4Lh-aq9yW7X08d_ENieeRMbHPmBART2U45aboc1-V4e-NzIgOdZYIa7B601fboYErLgAxrlDBLsA8n293128QI-3LU5Z0i_UToNhXyJyRmQ?key=Ym4SYMYC7EBs5tAPHGOE2QR-" alt=""><figcaption></figcaption></figure>

Enter the **Pixel name** and **Pixel ID,** then add the **Event IDs** for all the events you want to track.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdfbn-ThvpXj9NZYHs2eXrpSmSSJWtoVIddG1zYUhAVS7Z_LVHqiqVswwakq2ZH4bB-jwsYtQy3LCpwKb95_a3NW6gQZGjMKALDyVevHM4X40DYMsFJbdTYj98Am3zrMf29kuC0?key=Ym4SYMYC7EBs5tAPHGOE2QR-" alt=""><figcaption></figcaption></figure>

As mentioned earlier, you can retrieve the **Pixel ID** and **Event IDs** from your **X Ads account.**<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfZT7RLGvqhJwL7DHkPNxvpYb7MwZPw3xsgm4GctXG_uTVsR1MVjc6V9IzfU9clO1gj47upEGHwAg5DOf8d-IfLjlZwGdrlYsMJMJuxnpd3ZVZc65Al5wegDChcrLiiYzn-R-yY1g?key=Ym4SYMYC7EBs5tAPHGOE2QR-" alt=""><figcaption></figcaption></figure>

To enable **server-side tracking,** turn on the **'Conversion API'** option, then click **'Connect'** to link your **Twitter account.**\ <br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfl6UO0I79aSaRY9_XBpX-OkvaHgOdlA_x7q30X3wzYzHpesgc1hY9_HWQqdKeOrsTbDvhtY5oCJm68nxem3xgPybGsZmlnh8gAK80seM8WC_iQMSeFnif8v9wt-qE6lZXrBvQL0g?key=Ym4SYMYC7EBs5tAPHGOE2QR-" alt=""><figcaption></figcaption></figure>

After connecting your **X account,** click **'Save'** to complete the setup. <br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdZCUMP4KpvZRjC28pTvBWirwn0myCyk-r9H31dlQvFuz6DVVK-ckk36MQ3oX13_T-s-lS8p1F4064BiHdikDgv5AS0zYqI_xGBOHnexCWuFjBWruPQ5dM9H5a1gaIGqforRjStVQ?key=Ym4SYMYC7EBs5tAPHGOE2QR-" alt=""><figcaption></figcaption></figure>

The **setup** has been configured **successfully** and is now ready for use. 🚀<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfakvGZgMXIqV_wnAH24IJ3Q0B_cLhf2Orw-0BB5E6_48S9SYVHu6bkwHuGGypqXBgWmqXQHg4HQw9T_t7sZUinq1X4nVfbjFXbUpoGfCZCkEF41eMZhANIU3dDScxnS3otdJHv?key=Ym4SYMYC7EBs5tAPHGOE2QR-" alt=""><figcaption></figcaption></figure>


---

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