reportFloaterStoryStepClicked method
void
reportFloaterStoryStepClicked(})
An authored CTA on the window or inside a story — the real conversion.
payload is passed in rather than read from the orchestrator: the CTA is
reported after its actions run, and an authored Hide among them has
already cleared the active showing by then.
Implementation
void reportFloaterStoryStepClicked(
CEPTriggerPayload payload, {
required String ctaLabel,
required String actionType,
required String ctaRole,
String? actionUrl,
int? timeToActionMs,
}) {
_events.toDigia(
PipStepClicked(
elementId: 'pip_cta',
ctaLabel: ctaLabel,
actionType: actionType,
actionUrl: actionUrl,
ctaRole: ctaRole,
timeToActionMs: timeToActionMs,
),
payload,
);
}