mParticle expects a single forwarded event per mParticle event. Sometimes a kit expands a single event into several (eCommerce), which modifies the event name and affects forwarding stats in the mParticle UI. This PR resolves this to only send one forwarding event per mParticle event, regardless of if the event is expanded and multiple events are sent to AppBoy.
i think it makes more sense to force a true/false when logPurchaseEvent or logAppboyEvent is called, so I did return reportEvent === true to account for any non true booleans
mParticle expects a single forwarded event per mParticle event. Sometimes a kit expands a single event into several (eCommerce), which modifies the event name and affects forwarding stats in the mParticle UI. This PR resolves this to only send one forwarding event per mParticle event, regardless of if the event is expanded and multiple events are sent to AppBoy.