Skip to content

Add note about Facebook's mismatched IP address warning #7177

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 30, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/connections/destinations/catalog/facebook-pixel/index.md
Original file line number Diff line number Diff line change
@@ -247,3 +247,14 @@ Segment does not handle nested properties that need to be blocklisted, including


{% include content/client-side-script-unverified.md %}

### Why am I seeing a "Mismatched IP Address" warning in Facebook after enabling both Facebook Conversions API and Facebook Pixel?

When both Facebook Pixel and Facebook Conversions API are enabled, you may see a "Mismatched IP Address" warning in Facebook reports. This happens because the two sources may send different IP versions (IPv4 vs. IPv6) for the same event:

- Facebook Pixel collects the user’s IP address directly from the browser, [including IPv6 addresses when available](https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/customer-information-parameters#){:target="_blank"}. This happens independently of Segment. Even though Segment’s Analytics.js defaults to collecting only IPv4, the Facebook Pixel automatically collects and sends IPv6 if it's available.
- Facebook Conversions API sends events to Facebook using data collected by Segment, which typically includes only an IPv4 address.

Since the IP addresses from these two sources don’t always match, Facebook may flag the event with a "Mismatched IP Address" warning.

To resolve this, you can manually collect and send the IPv6 address (when available) in your event payload and send it to Segment. Then, map this data to the Facebook Conversions API destination. This ensures that Facebook receives the same IP version from both sources, preventing mismatches.