Articles on: Omega - TrakPilot
This article is also available in:

How to setup GA4

Step 1: Open Pixel Setting

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


Step 3:

In the Pixel name field, enter: Omega Trakpilot Custom Script

Then click Add pixel to proceed


Step 4: Setup Customer privacy

Shopify asks you to describe how this pixel handles customer data, read more

  • Customer privacy - Permission: select Not required
  • Customer privacy - Data sale: select Data Collected does not qualify as data sale

Then click Save to proceed


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


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)}catch(t){console.error("Error loading script:",t)}};const r=document.getElementsByTagName("script")[0];r.parentNode.insertBefore(e,r)}injectScript("https://trakpilot.com/customer-events/index.js?v="+(new Date).getTime());


Once done, click Save


Step 7: Click Connect to activate the pixel.


That’s it!

Your custom pixel is now installed and ready to track events using the Omega Trakpilot script.




Updated on: 24/05/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!