reportInlineCanvasClicked method

void reportInlineCanvasClicked(
  1. CEPTriggerPayload payload, {
  2. String? elementId,
  3. String? ctaLabel,
  4. String? actionType,
  5. String? ctaRole,
})

An element on an inline canvas was tapped.

Reports through the nudge conversion events rather than the inline item funnel: a canvas has no items to walk, and it converts on a widget's action exactly as a nudge does. The dashboard reads the same nudge block for both, so the two stay consistent by construction.

Implementation

void reportInlineCanvasClicked(
  CEPTriggerPayload payload, {
  String? elementId,
  String? ctaLabel,
  String? actionType,
  String? ctaRole,
}) {
  reportNudgeClicked(
    payload,
    elementId: elementId,
    ctaLabel: ctaLabel,
    actionType: actionType,
    ctaRole: ctaRole,
  );
}