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.

...

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 from a click event on a button or an anchor link.

We Just use PREEZIE “PREEZIE_GUIDE.openPrzCtaGuide() to call the function to open the popup.

See example below example:

Code Block

...

<a onClick="PREEZIE_GUIDE.openPrzCtaGuide()">Open

...

 quiz 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.