> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.omegatheme.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to setup Tracking

Step 1: Open Pixel Setting

![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_r0stxj.png)

Step 2: In Customer events, click button **Add custom pixel**

![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_1yc0wm4.png)

Step 3:
In the **Pixel name** field, enter: **Omega Trakpilot Custom Script**
Then click **Add pixel** to proceed

![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_193jfo0.png)

Step 4: Setup Customer privacy
Shopify asks you to describe how this pixel handles customer data, [read more](https://help.shopify.com/en/manual/promoting-marketing/pixels/custom-pixels/manage#customer-privacy)
* Customer privacy - Permission: select **Not required**
* Customer privacy - Data sale: select **Data Collected does not qualify as data sale**
Then click **Save** to proceed

![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_126oot.png)

Step 5: Press Ctrl + A and remove the suggested code 

![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_6xdxqi.png)

Step 6:
Paste your custom JavaScript code (previously copied) into the code editor section of your custom pixel.

```
function injectScript(t){const e=document.createElement("script");e.type="text/javascript",e.src=t,e.onload=function(){try{otGGTrackEvent(analytics,browser,api,init)}catch(t){console.error("Error loading script:",t)}};const c=document.getElementsByTagName("script")[0];c.parentNode.insertBefore(e,c)}injectScript("https://apps.trakpilot.com/customer-events/index.js?v="+(new Date).getTime());
```

Once done, click **Save**

![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_ukj3we.png)

Step 7: Click Connect to activate the pixel.

![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_15vc3t2.png)
![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_1gsub9j.png)

✅ **That’s it!**
Your custom pixel is now installed and ready to track events using the Omega Trakpilot script.


