impressed method
The campaign was seen: counts one show of campaignKey, starts its
dwell clock and reports viewed to the CEP and to Digia.
Implementation
void impressed(
CEPTriggerPayload payload,
String campaignKey,
EngageAnalyticsEvent viewed,
) {
recordShow(campaignKey);
dwell.markViewed(payload.cepCampaignId);
events.toBoth(const ExperienceImpressed(), viewed, payload);
}