An event that triggers when a new contact is created.
The onContactCreated()
event handler runs when a new
contact
is created.
The received ContactCreatedEvent
object
contains information about the contact that was created.
Note: Backend events don't work when previewing your site.
Information about the contact that was created and metadata for the event.