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
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -165,6 +165,22 @@ Segment creates a SHA-256 hash of the following fields before sending to Faceboo
165
165
166
166
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"}.
167
167
168
+
### User Data Formatting
169
+
170
+
Segment applies formatting to User Data Parameters as follows:
171
+
172
+
| User Data Field | Formatting applied to field value before hashing |
| External ID | All whitespace is removed from string, set to lowercase. |
175
+
| Email | All whitespace is removed from string, set to lowercase. |
176
+
| First Name, Last Name | All whitespace is removed from string, set to lowercase. |
177
+
| Gender | All whitespace is removed from string, set to lowercase. "male" is set to "m", "female" is set to "f". |
178
+
| Date of Birth | No formatting is applied. |
179
+
| Phone | All whitespace is removed from string. |
180
+
| Zip Code | All whitespace is removed from string. |
181
+
| State | All whitespace is removed from string and the result is compared against a map object of states and their two-character ANSI abbreviation code. Example: "Texas", "TX", or "tx" in this field will be formatted as "tx". |
182
+
| Country | All whitespace is removed from string and the result is compared against a map object of countries and their two-letter ISO 3166-1 alpha-2 country code. Example: "Germany", "germany", or "de" will be formatted as "de". |
183
+
168
184
### User Data Parameters
169
185
170
186
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:
0 commit comments