Skip to content

fix: added attribute merging to logCheckoutOptionEvent#65

Merged
khushi1033 merged 1 commit intodevelopmentfrom
fix/SDKE-781-added-attribute-merging-to-logCheckoutOptionEvent
Mar 3, 2026
Merged

fix: added attribute merging to logCheckoutOptionEvent#65
khushi1033 merged 1 commit intodevelopmentfrom
fix/SDKE-781-added-attribute-merging-to-logCheckoutOptionEvent

Conversation

@khushi1033
Copy link
Contributor

Summary

logCheckoutOptionEvent was missing the event.EventAttributes merging step that all other commerce event handlers perform before forwarding to GA4. This caused add_shipping_info and add_payment_info events to be sent to GA4 without any custom attributes from the inbound mParticle event (e.g. page_url, page_path, mpID, SessionID, or any other event-level attributes set by the customer).

Testing Plan

  • Added a test verifying that EventAttributes are included in the GA4 dataLayer push for add_shipping_info events.
  • Added a test verifying the same for add_payment_info events.
  • The pre-existing suite covering add_shipping_info and add_payment_info mapping continues to pass.

Master Issue

Closes https://go.mparticle.com/work/SDKE-781

@khushi1033 khushi1033 changed the base branch from master to development March 3, 2026 17:55
@khushi1033 khushi1033 marked this pull request as ready for review March 3, 2026 17:59
@khushi1033 khushi1033 changed the base branch from development to master March 3, 2026 18:22
Copy link
Collaborator

@rmi22186 rmi22186 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@khushi1033 khushi1033 changed the base branch from master to development March 3, 2026 18:27
@khushi1033 khushi1033 merged commit 691a181 into development Mar 3, 2026
3 of 4 checks passed
@khushi1033 khushi1033 deleted the fix/SDKE-781-added-attribute-merging-to-logCheckoutOptionEvent branch March 3, 2026 18:28
github-actions bot pushed a commit that referenced this pull request Mar 4, 2026
## [1.5.1](v1.5.0...v1.5.1) (2026-03-04)

### Bug Fixes

* added attribute merging to logCheckoutOptionEvent ([#65](#65)) ([8636f3f](8636f3f))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants