Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. 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:

    Image RemovedImage Added
  2. Make sure the "ga-purchase" part matches your purchase event name after the ga- prefix.
    e.g. if your event is called purchase it becomes ga-purchase
    if it’s called checkout it would be ga-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
findevent
findevent
How do I find my GA purchase event name?

...