Closed NadiyaS closed 9 months ago
It looks like every AEP event now needs this channel attribute, as well as the commerce scope set. We should come up with a solution add this information to the event payload without manipulating every handler.
One potential solution would be to pass along the Event
parameter to the sendEvent
function, and include the logic for adding channel info and commerce scope to the payload in that sendEvent
function.
@aniham and @NadiyaS does that sound reasonable?
Description
Related PR: https://git.corp.adobe.com/magento-datalake/magento2-snowplow-js/pull/245
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist