Search...
Menu

Direct Integration to Website (non-Shopify)

Label:integrate pixel ,mintegral pixel ,pixel ,how to ,tutorial ,directions ,DTC ,website ,track events

When to use this method:

For websites that do not use Shopify or Google Tag Manager.

Steps:

  1. Insert this script into your website:

Mintegral Pixel Code

(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");
  1. (Optional) Add manual event reporting:

Event Reporting Code

mintegralPixel("track", {
  "type": "", // Event name
  "data": "", // Event data(can be object or string)
  "meta": ""  // Additional info(can be object or string)
});
Previous
Google Tag Manager Integration
Next
Analyze & Optimize
Last modified: 2025-07-29