segmentio / segmentio/analytics.js-integrations
[Hubspot] Segment not updating contact properties when using identify & page
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 125
- Forks
- 136
- Avg merge
- 2h 45m
- Merged PRs (30d)
- 1
Description
when calling these methods in order
analytics.page()
analytics.identify('1773', {
company: {
id: 1016,
name: 'Ahmed Local Test Brand'
},
email: 'ahmedlocaltest@gmail.com',
first_name: 'Ahmed',
full_name: 'Ahmed Local Test',
last_name: 'Local Test',
phone_number: null,
sent_campaigns: 500,
subscribers_count: 220
});
we except that in Hubspot 'ahmedlocaltest@gmail.com' contact properties get updated but that's not happening.
and when using Segment event-tester with the same code. it worked fine and updated the properties .
Screenshots of debugger & event tester


Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the reported sequence with analytics.page() followed by analytics.identify() using the supplied contact data, then compare the HubSpot debugger with Segment's event tester. The issue is done when the HubSpot contact properties are updated as expected after both calls.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100