Versions Compared

Key

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

Did you know you can now use your Google Analytics checkout values to power your preezie pixel?

How it works

If you’re using Google Analytics for eCommerce tracking then you’ll have an event (often called ‘purchase’) firing whenever a sale is made. The purchase data within this event can also be passed to the preezie pixel at the same time.

Therefore by adding the code below to your checkout confirmation page you can pass the same data to preezie that is sent to your GA to also pass to preezie.

The code to add

In the code snippet below you will need to check two things:

...

Here are two ways of doing this:

Using Google Tag Manager

  1. In your GTM account create a Tag using Custom HTML

  2. Paste in your code from above

    1. It looks like this:

  3. Now add a Trigger that fires this Tag on your checkout confirmation page (note this must fire after your GA purchase event), so an easy way to do this is to use the purchase event as the trigger. Follow these steps:

    1. Create a purchase Trigger that uses a Custom Event of purchase

    2. It looks like this:

  4. Hit Save

No use the GTM preview feature to make a test transaction and see your Tag firing.

Using other methods

Anchor
findevent
findevent
How do I find my GA purchase event name?

...