Not Getting agegatepassed event
-
Hi!
I want to perform some action once user select yes button on the age gate plug in page. I have added a new snippet in wordpress with following code which i took from the forums only but I am not getting any console message as stated in code.
I create a new snipped with type – javascript, location as Header, site display as site wide. I am using latest javascript based plug in. Please help me to troubleshoot this issue.<script> (function($){ $(document).on('agegatepassed', function () { console.log($('.age-gate-form').serializeArray()); }); })(jQuery); </script>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Not Getting agegatepassed event’ is closed to new replies.