Play Gates
Submit Event
You can listen to the playgate:submit event to get notified when a play gate form is submitted. The event will receive the Play Gate id and the form values as arguments, so you can do whatever you want with the form values on your side.
Show Event
If you want to do something when a play gate is shown, you can listen to the playgate:show event. The event will receive the Play Gate id as an argument.
Custom Endpoint
You are able to send the form values to your own endpoint by using fetch or any other method that you prefer.
Form values will usually look like this, but it depends on the fields that you have configured on your Play Gate: