Add WhatsApp Business Account ID to Conversions API User Data #306
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I’ve outlined in issue #305 that the User Data object in the Conversions API is missing the WhatsApp Business Account ID (
whatsapp_business_account_id
), which is a required parameter for Business Messaging events with a Click to WhatsApp ID (ctwa_clid
).This PR adds the appropriate parameter. I’ve tested it in my own project and it behaves correctly.
I followed the pattern for how
ctwa_clid
was added to the project; please let me know if the PR is too sparse and I can flesh out documentation, testing & validation. That said, this PR is sufficient for adding the functionality and I’d prefer to defer anything else to an additional PR.Fixes #305