Welcome

Sutro Pixel Setup

Installation code


<!-- Start Sutro Pixel Snippet -->
<script>
!function(e,t,s,n,o,p,r){e[n]||((o=e[n]=function(){o.process?o.process.apply(o,arguments):o.queue.push(arguments)}).queue=[],o.t=+new Date,(p=t.createElement(s)).async=1,p.src="https://pixel.sutrodata.com/sutropixel.min.js?t="+864e5*Math.ceil(new Date/864e5),(r=t.getElementsByTagName(s)[0]).parentNode.insertBefore(p,r))}(window,document,"script","sutro"),sutro("init","ID-XXXXXXXX"),sutro("event","pageload");
</script>
<!-- End Sutro Pixel Snippet -->

Replace the ID in

          sutro("init","ID-XXXXXXXX")
        
with your supplied ID.

The init call takes an optional configuration third parameter.

          sutro("init","ID-XXXXXXXX", {cookieDomain: "example.com"})
        

Send custom checkout event to pixel.