Email Interactions

An email interaction occurs when a user updates or adds an email in your site.

Interaction NameDescription
email-updateCaptures the email of the site visitor.

Fields 

FieldTypeDetails
emailstringThe email of the site visitor.
namestringRequired. The event name.

Email Event 

1event.target.dispatchEvent(
2    new CustomEvent('experience_interaction', {
3       bubbles: true,
4       composed: true,
5       detail: {
6          name: 'email-update',
7          email: 'genie@example.com'
8       },
9    })
10);