You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/connections/destinations/catalog/actions-facebook-conversions-api/index.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -149,6 +149,19 @@ Segment creates a SHA-256 hash of the following fields before sending to Faceboo
149
149
150
150
If you use Facebook Pixel, the Pixel library also hashes the External ID. This means External IDs will match across Facebook Pixel and Facebook Conversions API if they use the External ID for[deduplication](https://developers.facebook.com/docs/marketing-api/conversions-api/deduplicate-pixel-and-server-events/#fbp-or-external-id){:target="_blank"}.
151
151
152
+
###User Data Formatting
153
+
154
+
Segment applies formatting to User Data Parameters as follows:
155
+
156
+
| User Data Field| Formatting applied to field value before hashing|
| External ID, Email, Gender, Last Name, First Name, City, State, Zip Code, Country| All whitespace is removed from string, set to lowercase.|
159
+
| Phone| All non-numeric characters are removed from string.|
160
+
| Gender| A string of 'male' will be transformed to 'm', and 'female' to 'f'.|
161
+
| Date of Birth| No formatting is applied.|
162
+
| State| Compared against a Map object of states and their 2-character ANSI abbreviation code. Example: "Texas", "TX", or "tx" in this field will be formatted as "tx".|
163
+
| Country| Compared against a Map object of countries and their 2-letter ISO 3166-1 alpha-2 country codes.|
164
+
152
165
###User Data Parameters
153
166
154
167
Segment automatically maps User Data fields to their corresponding parameters[as expected by the Conversions API](https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/customer-information-parameters/){:target="_blank"} before sending to Facebook: