Introduction
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.
How it works
All you need to do is attach the function below to any anchor or click event on your pages, the most common is from a button or anchor link.
Just use “PREEZIE_GUIDE.openPrzCtaGuide()” to call the function to open the popup.
See example below:
<a onClick="PREEZIE_GUIDE.openPrzCtaGuide()">Open Guide CTA</a>
Please ensure the head code is on the page or it will not work.
The CTA MUST be configured in the preezie Portal before the function will trigger.
Pop ups are limited to one per page.
Add Comment