Home / Documentation / Version 3 / JavaScript / Events / age_gate_passed
age_gate_passed
Event triggered when the Javascript version of Age Gate is passed.
The event.detail
passed to the callback holds various information and can be added to with the age_gate/response/user_data filter for granular customisations.
Example
file.js
window.addEventListener('age_gate_passed', event => yourCallback)