Custom events integration using custom HTML

To enable events in custom HTML forms, the capability must be enabled in the Medallia backend. See your Medallia expert for more information.

Automatic custom events triggering

#Method triggeredCustomer custom events namePayload
1AutomaticMDigital_ShowForm_CalledForm_ID
2AutomaticMDigital_Invite_DisplayedForm_ID
3AutomaticMDigital_Invite_AcceptedForm_ID
4AutomaticMDigital_Invite_DeclinedForm_ID
5AutomaticMDigital_Invite_SkippedForm_ID
6KAMPYLE_SDK.kampyleSubmit(data, needToCloseFlag)MDigital_Submit_FeedbackForm_Type (AlwaysOn,Intercept,CodeForm)

Form_ID

Feedback UUID

7If the form has been submitted before Close was clicked:

KAMPYLE_SDK.kampyleCloseWindow()

Else:

Submit with needToCloseFlag = true.

Example:

KAMPYLE_SDK.kampyleSubmit(data, true)
Note: Embedded surveys do not have a Close button. MDigital_Form_Close_Submitted is not fired for them.
MDigital_Form_Close_SubmittedForm_Type (AlwaysOn,Intercept,CodeForm)

Form_ID

Feedback UUID

8Automatically, when the KAMPYLE_SDK.kampyleCloseWindow() method has been called without Submit being clicked beforehand.MDigital_Form_Close_No_Submit Form_Type (AlwaysOn,Intercept, CodeForm)

Form_ID

9AutomaticallyMDigital_Feedback_Button_ClickedForm_Type (AlwaysOn,Intercept,CodeForm)

Form_ID

Feedback UUID (if applicable)

10Automatically if the Screen Capture feature is implemented within the HTML.MDigital_CaptureButton_ClickedForm_Type (AlwaysOn,Intercept,CodeForm)

Form_ID

Feedback UUID (if applicable)

11Automatically if the Screen Capture feature is implemented within the HTML.MDigital_CaptureButton_TakenForm_Type (AlwaysOn,Intercept,CodeForm)

Form_ID

Feedback UUID (if applicable)

12Automatically if the Screen Capture feature is implemented within the HTML.MDigital_CaptureButton_CancelForm_Type (AlwaysOn,Intercept,CodeForm)

Form_ID

Feedback UUID (if applicable)

Manual custom events triggering

The following custom events are related to buttons created manually in the custom HTML and need to be binded manually.

#Customer custom events namePayload
1 MDigital_Form_Next_Page

Form_Type (AlwaysOn,Intercept, CodeForm)

Form_ID

2 MDigital_Form_Back_Page

Form_Type (AlwaysOn,Intercept, CodeForm)

Form_ID

3MDigital_ThankYou_Displayed

Form_Type (AlwaysOn,Intercept, CodeForm)

Form_ID

4MDigital_ThankYou_Close

Form_Type (AlwaysOn,Intercept, CodeForm)

Form_ID

Feedback UUID