Beginning with the Facebook Core SDK version 4.36, you can perform advanced matching enabling you to send your customer data to Facebook. This matching increases the chances that you match actions in your mobile app with Facebook users. With this additional data, you can report and optimize your ads for more conversions and build larger re-marketing audiences.
When using the FB SDK, any user data will be hashed by the function and persist between app instances. All following app events will be transmitted as hashed user data. When using MMP SDK, please use the hash function as shown in the example below, as the MMP SDK won't hash it automatically. If you don't use a hash function our API will throw an exception and not accept plain text.
City in lower case without spaces or punctuation:
Two letter country code in ISO 3166-1 alpha-2:
Date of Birth
Date of birth year, month, day, such as 19971226 for December 26, 1997:
Lower case email address of person:
Any unique ID from the advertiser, such as loyalty membership IDs, user IDs, and external cookie IDs.
Lower case first name:
Lower case last name:
Phone number, only digits with country code, area code, and number:
Two letter state code:
Five digit zip code:
Add customer data parameters to be transmitted to network partners, which have been activated in your Adjust dashboard, by calling the
addPartnerParameter method on your
ADJEvent *event = [ADJEvent eventWithEventToken:@'abc123']; [event addPartnerParameter:@'em' value:@'sha256_hashed_email']; [event addPartnerParameter:@'ph' value:@'sha256_hashed_phone']; [Adjust trackEvent:event];
AdjustEvent event = new AdjustEvent('abc123'); event.addPartnerParameter('em', 'sha256_hashed_email'); event.addPartnerParameter('ph', 'sha256_hashed_phone'); Adjust.trackEvent(event);
For more information please visit the Github Code examples.
Use the following steps to map the Adjust parameter to the Facebook parameter in the Adjust dashboard.
ud[pii_type_name]. For example, "email" should use
ud[em], phone should use
For more information, please visit the Adjust Documentation.