Versions Compared

Key

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

You can call preezie Call to Action popups via an “open” cta guide function.

How it works

Please ensure the head code is on the page or it will not work.As well as initiating a preezie pop up via the CTA feature in the CMS. You can also trigger a preezie pop up via any link on your website’s pages.

This requires instead calling a custom JavaScript function.

...

All you need to do is attach the function call below to any anchor or click event on your pages, the most common is a click event on from a button or an anchor link.

Use Just use “PREEZIE_GUIDE.openPrzCtaGuide()” to call the function to open the popup.

...

Code Block
<a onClick="PREEZIE_GUIDE.openPrzCtaGuide()">Open Guidequiz CTA</a>finder</a>

Note
  • Please ensure the correct widget popup script you want to trigger is loaded on the page before this.

  • A CTA MUST be configured in the preezie CMS before the function will trigger. It is then visibly hidden on the page to allow the custom one to be used instead.

  • Pop ups are limited to one per page.