Pass Hashed Information for Facebook Advanced Matching
Overview
Facebook은 어트리뷰션 제공자와 고객이 어트리뷰션 및 분석 매칭을 개선할 수 있도록 하는 유저 관련 해시드 정보 전송 방법을 보유하고 있습니다. 이를 사용하여 Facebook은 고객에게 전환 이벤트를 매칭하여 광고를 최적화하고 더 많은 리마케팅 오디언스를 구축할 수 있습니다.
For more information, please see Facebook's document on Advanced Matching.
Fields Passed to Facebook
User Data | 파라미터 | 형식 | 예시 |
---|---|---|---|
em | [email protected] | ||
이름 | fn | Lowercase letters | john |
성 | ln | Lowercase letters | smith |
전화 | ph | Digits only including country code and area code | 16505554444 |
External ID | external_id | Any unique ID from the advertiser, such as loyalty membership ID, user ID, and external cookie ID. | [email protected] |
Gender | ge | Single lowercase letter, f or m , if unknown, leave blank | f |
Birthdate | db | Digits only with birth year, month, then day | 19910526 for May 26, 1991. |
City | ct | Lowercase with any spaces removed | menlopark |
State or Province | st | Lowercase two-letter state or province code | ca |
Zip or Postal Code | zp | Digits only | 94025 |
Country | cn | Lowercase two-letter country code | us |
Set Hashed Information for the SDK
Branch provides methods in our iOS and Android SDKs to set the hashed information to pass for Facebook Advanced Matching (set before initializing the SDK). Once set, this parameter is attached to install, open, and events until cleared or the app restarts.
...
//set hash parameters for Facebook Advanced Matching
Branch.getInstance().addFacebookPartnerParameter(withName: "em", value: "11234e56af071e9c79927651156bd7a10bca8ac34672aba121056e2698ee7088")
...
//initialize Branch session
Branch.getInstance().initSession(...)
Branch branch = Branch.getAutoInstance(getApplicationContext());
branch.addFacebookPartnerParameterWithName("em", "194b86d986ad041666822dad7602f1a7bac1d9e286273e86141666ffb4b1909b");
Updated about 1 month ago