/
Triggering preezie from any website link

Triggering preezie from any website link

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.

Lorna Jane’s size finder using an on-page link

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

Related content

Google Tag Manager - preezie Widget via GTM
Google Tag Manager - preezie Widget via GTM
More like this
Features
Read with this
preezie Widget Integration
preezie Widget Integration
More like this
Shopify Pixel Tracking
Shopify Pixel Tracking
Read with this
Widget integration
Widget integration
More like this
Boosting answer scores
Boosting answer scores
Read with this