Skip to content

Conversation

gh-mmurph
Copy link
Contributor

@gh-mmurph gh-mmurph commented May 12, 2025

Instructions

  1. PR target branch should be against development
  2. PR title name should follow this format: https://github.com/mParticle/mparticle-workflows/blob/main/.github/workflows/pr-title-check.yml
  3. PR branch prefix should follow this format: https://github.com/mParticle/mparticle-workflows/blob/main/.github/workflows/pr-branch-check-name.yml

Summary

  • Added support for parsing and handling custom field mappings to Google's "dc_custom_params" whenever the attributes are present
  • I noticed almost none of the existing tests here worked (for me) so I did larger refactors to the unit test suite and end to end settings - consent tests in particular didn't seem to work so feel free to give those extra scrutiny as I mostly tinkered with them until they started working for me

Testing Plan

  • Was this tested locally? If not, explain why.
  • Yes, tested via Unit tests and testEndtoEnd tests
  • Verified that attribute I mapped "test_attribute" and value "123", saw it's value sent to GTM as "match_id"

Screenshot 2025-05-12 at 3 13 08 PM

Reference Issue (For mParticle employees only. Ignore if you are an outside contributor)

@gh-mmurph gh-mmurph marked this pull request as ready for review May 12, 2025 19:17
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.

code LGTM! thanks @gh-mmurph

@rmi22186
Copy link
Collaborator

reviewed and tested locally with @gh-mmurph live. merging now

@rmi22186 rmi22186 merged commit 992b406 into mparticle-integrations:development May 19, 2025
2 checks passed
rmi22186 pushed a commit that referenced this pull request May 19, 2025
rmi22186 pushed a commit that referenced this pull request May 19, 2025
github-actions bot pushed a commit that referenced this pull request May 19, 2025
# [2.2.0](v2.1.3...v2.2.0) (2025-05-19)

### Features

* Add custom field mapping ([#49](#49)) ([d7da081](d7da081))
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.

3 participants