To report Shopify e-commerce activity such as product views, cart interactions, and purchases to Personyze, follow the steps below to embed the required JavaScript code into your site. Step 1:…
Updated 25 minutes ago2 min read
A
by Admin
To report Shopify e-commerce activity such as product views, cart interactions, and purchases to Personyze, follow the steps below to embed the required JavaScript code into your site.
Step 1: Initialize the Personyze Tracking Pixel
Insert the following JavaScript snippet in your site’s global header (before the closing </head> tag). This loads the Personyze SDK and initializes it for your account:
Use the Shopify analytics.subscribe API to capture key customer actions and forward them to Personyze. Below are examples of how to report each event type:
Once these scripts are embedded, Personyze will automatically receive real-time event data, allowing it to personalize content, track conversions, and generate analytics for your e-commerce funnel.
📌 Tip: Always test events using your browser’s console and verify tracking in the Personyze simulator.