JS Callbacks

Introduction to JS Callbacks

Lean how you can leverage Javascript callbacks

Lisa Fockens
Updated 1 month ago by Lisa Fockens

Dynamically Add a Custom Parameter to a Redirect URL

We can add custom parameters on the fly to a redirect URL through the Wisepops' JS callbacks feature. Let's say we want to redirect our visitors that click on a CTA to https://example.com/ with a dyn…

Lisa Fockens
Updated 1 month ago by Lisa Fockens

Fire the Facebook Pixel When a form is Submitted

You can easily track leads collected by Wisepops in your Facebook Advertising analytics. We do this, we will use the Wisepops JS callbacks feature. Prerequisite. The Facebook pixel must already be in…

Lisa Fockens
Updated 1 month ago by Lisa Fockens

Forbid Disposable or Free Emails in Your Signup Form

It is possible to prevent visitors from subscribing with a free email (with domains such as gmail.com, hotmail.com, facebook.com, etc.) or with a disposable email (a fake email that will be used only…

Lisa Fockens
Updated 1 month ago by Lisa Fockens

Add Custom Validation to Your Signup Forms

It is possible to add your own custom validation rules into Wisepops signup forms through our JS Callbacks feature. Let's say you want to only accept emails with the domain example.com , and reject o…

Lisa Fockens
Updated 1 month ago by Lisa Fockens

Flag a Popup as Clicked With JS Code

With our HTML blocks you can embed custom forms and buttons in your popups. When visitors interact with these popups, you want Wisepops to consider the popup as converted. So the conditions such as "…

Lisa Fockens
Updated 1 month ago by Lisa Fockens

Close a Popup With JS Code

It is possible to close a popup from your code, without user interaction, through Wisepops' JS Callbacks feature. Let's say we want our popup to be closed five minutes after being displayed, if not c…

Lisa Fockens
Updated 1 month ago by Lisa Fockens

Send the data collected by a form to the redirected URL

With our JS callbacks , we can set the collected form's data as GET or POST parameters to a redirected URL. Create a form. First, let's have a form ready. For this example, we'll collect the email an…

Boris Hocdé
Updated 1 month ago by Boris Hocdé

Contact