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 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.
Pop ups are limited to one per page.
0 Comments