segmentio / segmentio/analytics.js-integrations

[Hubspot] Segment not updating contact properties when using identify & page

Open
#211 3 comments 0 reactions 0 assignees View on GitHub

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

1- debugger

2-event tester

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.