Integration Guide
This guide explains how to integrate Mintegral Pixel into Shopify stores.
⚠️ Note: This integration method is not supported for merchants running in Headless Mode. If you are running in Headless Mode, please integrate Mintegral Pixel via Custom Website Integration.
Shopify Store Integration (Shopify Native Checkout)
For stores built entirely with Shopify’s native features and checkout process (without third-party checkout or payment apps), Mintegral Pixel can be fully integrated using Shopify’s standard pixel configuration.
Integration Steps
-
Select Settings.
-
Select Customer events.
-
Click the Add custom pixel button.
-
Enter "Mintegral Pixel" as the Pixel name, then click Add pixel.
-
Copy and paste the following code into the code field, then click Save.
(function (w, d) { var u = "https://cdn-static.mintegral.com/sdk/pixel.js"; if (w.mintegralPixel) return; var s = (w.mintegralPixel = function () { s.performOperation ? s.performOperation.apply(s, arguments) : s.operationQueue.push(arguments); }); s.operationQueue = []; var f = d.getElementsByTagName("script")[0], e = d.createElement("script"); e.async = !0; e.src = u; f.parentNode.insertBefore(e, f); })(window, document); mintegralPixel("init", { setupType: 2 // 2-shopify }); analytics.subscribe("all_events", async (e) => mintegralPixel("track", { type: e.name, data: e.data }));
-
Click Connect. This will display a dialog box “Connect Mintegral Pixel.”
-
Click Connect.
-
Ensure the Pixel Status shows Connected.