Skip to content

Fix inconsistencies in email and phone normalization (#898) - #900

Open
jradcliff wants to merge 1 commit into
mainfrom
normalization
Open

Fix inconsistencies in email and phone normalization (#898)#900
jradcliff wants to merge 1 commit into
mainfrom
normalization

Conversation

@jradcliff

Copy link
Copy Markdown
Member

Make email and phone number normalization consistent across all audience and conversion upload examples:

  • Apply Gmail-specific normalization by removing periods (.) and plus (+) suffixes from gmail.com and googlemail.com usernames.
  • Add E.164 phone number validation (^+[1-9]\d{6,14}$) and throw an IllegalArgumentException if phone numbers do not match this format.
  • Update sample records across remarketing examples to conform to E.164 phone formatting and demonstrate Gmail domain normalization.

Make email and phone number normalization consistent across all audience
and conversion upload examples:
- Apply Gmail-specific normalization by removing periods (.) and plus (+)
  suffixes from gmail.com and googlemail.com usernames.
- Normalize phone numbers by retaining a leading plus (+) sign and
  removing all non-digit characters that follow.
- Add E.164 phone number validation (^\+[1-9]\d{6,14}$) after
  normalization, and throw an IllegalArgumentException if phone numbers
  do not match this format.
- Update sample records across remarketing examples to conform to E.164
  phone formatting and demonstrate Gmail domain normalization.
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.

1 participant