Versions Compared

Key

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

...

To add your preezie analytics pixel tracking to your BigCommerce Store follow the steps below:

...

Go to your preezie portal

...

The easiest method is to use Script Manager:

  1. In BigCommerce navigate to StorefrontScript Manager and click Create a script

  2. Select these options:

  • Placement: Header

  • Location: Order confirmation

  • Script category: Essential

  • Script type: Script

...

...

  • Choose BigCommerce from the Select your CMS dropdown

...

Hit the COPY button to copy the displayed code snippet

  1. Go to BigCommerce

  2. Navigate to Script Manager by heading to StorefrontScript Manager

  3. Select the following options

    Image Removed
  4. Paste your copied code snippet

    Note, please check your order API path uses


Paste your copied code snippet into the Script Manager Script contents field:

...

Note

Important: by default this script uses the order API path of %%ORDER_ID%% as the order id

...

.

If some cases this

...

is {{checkout.order.id}} instead, this requires you to change the script line from

fetch('/api/storefront/order/%%ORDER_ID%%', { credentials: 'include' })

to:

fetch('/api/storefront/order/{{checkout.order.id}}', { credentials: 'include' })

If you’re using a custom set up then please confirm this with your development team.

Hit Save

Now you’re ready to test it!

Follow these instructions to test: https://preezie.atlassian.net/wiki/spaces/PW/pages/19104300/Tracking+transactions+-+Pixel+tracking+guide#testingit

...