Open isAlmogK opened 7 years ago
Hey @AlmogRnD are you sure the fields you're referencing contain data? you should be probably referencing the user
argument.
This var contain data 100% i.e. profile.createdAt ect.. I just removed the package and used the single page js script and it's working.
Also in your example / docs you have info['name'] = profile.name; Which does not work
You really should reference the user via the user
argument. e.g. user.profile.name
.
What do you mean?
If I want to send custom your saying it should be like so
user.program_name = program[0].name;
and not
info.program_name = program[0].name;
What does this have to do with "user.profile.name"
The current user
is passed through to the IntercomSettings.userInfo
function
info.name = user.profile.name;
info.created_at = user.profile.createdAt;
etc
It seems that the package does not support custom data, here is my code
Also the name is not sending
// Intercom