Event Listeners

You are reading the documentation for Age Gate 2.x. Switch to the documentation for 3.x.

In the JavaScript version of Age Gate, there are two event listeners fired, agegateshown and agegatepassed. These are triggered on showing the Age Gate and once it has been successfully passed respectively.