筛选项

传递哈希信息以进行 Facebook 高级匹配

概述

Facebook 提供了一种方法,供归因提供商和客户发送有关用户的哈希信息,以增强他们进行归因和分析匹配的能力。利用这些数据,Facebook 可以将转化事件与您的客户进行匹配,以最优化您的广告并扩大再营销受众群体。

For more information, please see Facebook's document on Advanced Matching.

传递到 Facebook 的字段

用户数据参数格式例如
邮箱em[email protected]
名字fn小写字母john
姓氏ln小写字母smith
电话ph数字仅包含国家代码和地区代码16505554444
外部 IDexternal_id来自广告主的任何唯一 ID,例如会员身份 ID、用户 ID 和外部 Cookie ID。[email protected]
性别geSingle lowercase letter, f or m, if unknown, leave blankf
出生日期db含出生年份、月份和日期的全数字19910526 表示 1991 年 5 月 26 日。
城市ct小写,不能包含空格menlopark
州或省st两个小写字母的州或省代码ca
邮政编码zp仅数字94025
Countrycn两个小写字母的国家/地区代码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");