Magento Storefront Event Collector
This package listens for and handles events sent from the Magento Storefront Events SDK. It runs as a side effect and is meant to be a convenience for users who want to send events to Magento for processing.
To load the SDK as a script, use the following snippet.
To install the script as a dependency, run this command.
npm install @adobe/magento-storefront-event-collector
After loading the collector script, or importing the package as shown below, there is nothing else that needs to be done.
The collector then begins listening for the following events.
When any of these events are fired, the collector runs the associated handler and sends the event along with any relevant information to Magento for further processing.
If you have any questions or encounter any issues, please reach out at these locations.