reportWelcomeCtaClicked method
void
reportWelcomeCtaClicked()
Fired for the survey's single Clicked engagement signal — on the welcome
screen's start CTA, or on the first question's CTA when the welcome screen
is hidden. Idempotent per showing. First-party Digia analytics only.
Implementation
void reportWelcomeCtaClicked() {
final state = _surveyOrchestrator.state;
if (state == null || _clickedSurveyToken == state.token) return;
_clickedSurveyToken = state.token;
_events.toDigia(
const SurveyClicked(elementId: 'welcome_start'),
state.payload,
);
}