Skip to content
This repository has been archived by the owner on Jan 1, 2025. It is now read-only.

Feature Request: phone number parsing from E.164 #30

Open
skaaptjop opened this issue Mar 17, 2022 · 0 comments
Open

Feature Request: phone number parsing from E.164 #30

skaaptjop opened this issue Mar 17, 2022 · 0 comments

Comments

@skaaptjop
Copy link

It would be handy to have the tag code strip out the + symbl from E.164 provided phone numbers before hashing.
My rationale is as follows.

The Conversions API wants us to provide phone numbers hashed from a digits-only version e.g.

Example:
Input: US phone number (650)555-1212
Normalized format: 16505551212

but the common event data model expects E.164 format with the + symbol included.

This means that when we push data around the datalayer, event parameters etc. we need to have a custom variable that formats the number for the Conversion API alone adding in unnecessary steps.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant