Set up the base code
Set up the pixel base code on your website
<script>
!((w, d, t, u, wp, q, s, fs) => {
if (w.wishiPixel) return;
wp = w.wishiPixel = (eventName, props) => {
q = wp.queue || [];
wp.queue = q.push({
eventName,
props
}) && q;
}
s = d.createElement(t);
s.async = !0;
s.src = u;
fs = d.getElementsByTagName(t)[0];
fs.parentNode.insertBefore(s, fs);
})(
window,
document,
"script",
"https://d2qcyaj4szdxsa.cloudfront.net/wishi-pixel.<version>.js"
);
wishiPixel('init', { partnerKey: <partner-key> });
</script>Last updated