{"action":"created","issue":{"url":"https://api.github.com/repos/segmentio/analytics.js-integrations/issues/489","repository_url":"https://api.github.com/repos/segmentio/analytics.js-integrations","labels_url":"https://api.github.com/repos/segmentio/analytics.js-integrations/issues/489/labels{/name}","comments_url":"https://api.github.com/repos/segmentio/analytics.js-integrations/issues/489/comments","events_url":"https://api.github.com/repos/segmentio/analytics.js-integrations/issues/489/events","html_url":"https://github.com/segmentio/analytics.js-integrations/issues/489","id":52840972,"number":489,"title":"hubspot: `identify` not usable dynamically","user":{"login":"trisrael","id":89222,"avatar_url":"https://avatars.githubusercontent.com/u/89222?v=3","gravatar_id":"","url":"https://api.github.com/users/trisrael","html_url":"https://github.com/trisrael","followers_url":"https://api.github.com/users/trisrael/followers","following_url":"https://api.github.com/users/trisrael/following{/other_user}","gists_url":"https://api.github.com/users/trisrael/gists{/gist_id}","starred_url":"https://api.github.com/users/trisrael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trisrael/subscriptions","organizations_url":"https://api.github.com/users/trisrael/orgs","repos_url":"https://api.github.com/users/trisrael/repos","events_url":"https://api.github.com/users/trisrael/events{/privacy}","received_events_url":"https://api.github.com/users/trisrael/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-12-25T00:09:07Z","updated_at":"2016-02-17T01:51:58Z","closed_at":"2015-05-27T21:25:39Z","body":"Noticed that using `analytics.identify` does not start any XHR (or other requests) against hubspot apis/endpoints.\r\n\r\nFound that the integration is using `_hsq.push` which is not supported using the [javascript api](http://developers.hubspot.com/docs/methods/enterprise_events/javascript_api). Manually reloading the script via `new analytics.Integrations.HubSpot({portalId: PORTAL_ID}).load()` caused some call to be made to a Hubspot API but only the last item pushed onto the 'queue'.\r\n\r\nMaybe segment.io could have this as proxy integration instead since they are storing the Hubspot api-key for server side calls to the Hubspot API. \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/segmentio/analytics.js-integrations/issues/comments/184970119","html_url":"https://github.com/segmentio/analytics.js-integrations/issues/489#issuecomment-184970119","issue_url":"https://api.github.com/repos/segmentio/analytics.js-integrations/issues/489","id":184970119,"user":{"login":"nathan-appere","id":621087,"avatar_url":"https://avatars.githubusercontent.com/u/621087?v=3","gravatar_id":"","url":"https://api.github.com/users/nathan-appere","html_url":"https://github.com/nathan-appere","followers_url":"https://api.github.com/users/nathan-appere/followers","following_url":"https://api.github.com/users/nathan-appere/following{/other_user}","gists_url":"https://api.github.com/users/nathan-appere/gists{/gist_id}","starred_url":"https://api.github.com/users/nathan-appere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathan-appere/subscriptions","organizations_url":"https://api.github.com/users/nathan-appere/orgs","repos_url":"https://api.github.com/users/nathan-appere/repos","events_url":"https://api.github.com/users/nathan-appere/events{/privacy}","received_events_url":"https://api.github.com/users/nathan-appere/received_events","type":"User","site_admin":false},"created_at":"2016-02-17T01:51:58Z","updated_at":"2016-02-17T01:51:58Z","body":"We do have this issue, and the Hubspot documentation states: `Simply calling the identify method will not push the identities to HubSpot.`"}}