Versions Compared

Key

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

Overview

preezie works by implementing our javascript widget code snippets into your website. There are four preezie code snippets:

  1. Head code (required)
    The Head code must be copied into the head section of your website.

  2. Workflow Widget code (required)
    The Workflow Widget code can be added to any page on your website where you would like a guided shopping journey to run.

  3. Popups code (Exit Intents, Time Delays and Calls To Action) (required)
    The Popups code allows you to run preezie Popups anywhere on your website - all controlled with URL targeting from your preezie portal!

  4. Product Score Widget code (optional feature)
    This is an additional feature that requires a code snippet to be added directly onto the product page.

1. Head code

In order for any preezie features to run, the Head code must be present in the <head> section of your theme.liquid file.

...

Note

Warning: Do not add defer or async attribute to the script tag. This will cause potential issues which can be difficult to diagnose.

Internally the script will download all necessary dependencies deferred, so the script itself does not need to be deferred.

2. Workflow Widget code

Our Widget code is copied into the <body> section of your website page where your guided shopping journey will run. The base code is always the same and each Workflow or Workflow Selector has a different guideKey.

...

Note

Warning: the code snippet should be used as is and must not reside in another Javascript function or external JS file. Otherwise, preezie will not be able to provide support should an issue occur.

3. Popups code

The Popups code allows you to manage your preezie Exit Intents, Calls to Action and Time Delay Popups all from your preezie portal.

...

Note

Warning: the code snippet should be used as is and must not reside in another Javascript function or external JS file. Otherwise preezie will not be able to provide support should an issue occur.

4. Product Score Widget code

preezie Product Score Widgets articulate how each product ranks for a customer based on the answers they have given in during their guided shopping journey.

...