Email Interactions

An email interaction occurs when a user updates or adds an email in your site.
Interaction Name Description
email-update Captures the email of the site visitor.

Fields

Field Details
email
Type
string
Description
The email of the site visitor.
name
Type
string
Description
Required. 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);