我已经成功实现了Heap分析,我看到数据进来了 .
我设置用户的方式是:
window.heap.identify(currentUser.id);
window.heap.addEventProperties({ platform_type: 'Web' });
if (currentUser.id) {
console.log('been here');
window.heap.addUserProperties({
'first_name': currentUser.first_name,
'last_name': currentUser.last_name,
'type': currentUser.type,
'country': currentUser.country,
'company_name': currentUser.company_name,
'role': currentUser.role,
'email': currentUser.email
});
}
我看到电子邮件属性数据被记录和关联(电子邮件是已经由Heap预定义的属性),但我没有看到任何其他属性 .
因此, addUserProperties
调用正在运行,但有些数据被忽略 .
知道我做错了什么吗?
谢谢!
乌里
1 回答
对于任何有相同问题的人,对我来说,自定义属性在几个小时后就开始出现了 .