...
Update the PRE-123456 value with your preezie id, this id can be found in your CMS by going to Code Snippets > Your preezie id:
Make sure the
"ga-purchase"
part matches your purchase event name after the ga- prefix.
e.g. if your event is called purchase it becomesga-purchase
if it’s called checkout it would bega-checkout
...
<script>
!function(e,t,n,s,p,r){e.prz||((s=e.prz=function(){s.process?s.process.apply(s,arguments):s.queue.push(arguments)}).queue=[],s.t=+new Date,(p=t.createElement(n)).async=1,p.src="https://preeziecdn.azureedge.net/production/prz_pixel.min.js?t="+864e5*Math.ceil(new Date/864e5),(r=t.getElementsByTagName(n)[0]).parentNode.insertBefore(p,r))}(window,document,"script"),prz("init","PRE-123456");
</script>
<script>
window.addEventListener("load", function() {
prz("event", "transaction", "ga-purchase");
});
</script>
Using Google Tag Manager
Using other methods
Anchor | ||||
---|---|---|---|---|
|
...