{"action":"created","issue":{"url":"https://api.github.com/repos/segmentio/analytics.js/issues/437","labels_url":"https://api.github.com/repos/segmentio/analytics.js/issues/437/labels{/name}","comments_url":"https://api.github.com/repos/segmentio/analytics.js/issues/437/comments","events_url":"https://api.github.com/repos/segmentio/analytics.js/issues/437/events","html_url":"https://github.com/segmentio/analytics.js/pull/437","id":59340592,"number":437,"title":"normalize: keep traits in options","user":{"login":"yields","id":1661587,"avatar_url":"https://avatars.githubusercontent.com/u/1661587?v=3","gravatar_id":"","url":"https://api.github.com/users/yields","html_url":"https://github.com/yields","followers_url":"https://api.github.com/users/yields/followers","following_url":"https://api.github.com/users/yields/following{/other_user}","gists_url":"https://api.github.com/users/yields/gists{/gist_id}","starred_url":"https://api.github.com/users/yields/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yields/subscriptions","organizations_url":"https://api.github.com/users/yields/orgs","repos_url":"https://api.github.com/users/yields/repos","events_url":"https://api.github.com/users/yields/events{/privacy}","received_events_url":"https://api.github.com/users/yields/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-28T12:45:48Z","updated_at":"2015-02-28T15:39:31Z","closed_at":"2015-02-28T15:37:56Z","pull_request":{"url":"https://api.github.com/repos/segmentio/analytics.js/pulls/437","html_url":"https://github.com/segmentio/analytics.js/pull/437","diff_url":"https://github.com/segmentio/analytics.js/pull/437.diff","patch_url":"https://github.com/segmentio/analytics.js/pull/437.patch"},"body":"we should add this to spec too cc @ianstormtaylor "},"comment":{"url":"https://api.github.com/repos/segmentio/analytics.js/issues/comments/76530840","html_url":"https://github.com/segmentio/analytics.js/pull/437#issuecomment-76530840","issue_url":"https://api.github.com/repos/segmentio/analytics.js/issues/437","id":76530840,"user":{"login":"yields","id":1661587,"avatar_url":"https://avatars.githubusercontent.com/u/1661587?v=3","gravatar_id":"","url":"https://api.github.com/users/yields","html_url":"https://github.com/yields","followers_url":"https://api.github.com/users/yields/followers","following_url":"https://api.github.com/users/yields/following{/other_user}","gists_url":"https://api.github.com/users/yields/gists{/gist_id}","starred_url":"https://api.github.com/users/yields/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yields/subscriptions","organizations_url":"https://api.github.com/users/yields/orgs","repos_url":"https://api.github.com/users/yields/repos","events_url":"https://api.github.com/users/yields/events{/privacy}","received_events_url":"https://api.github.com/users/yields/received_events","type":"User","site_admin":false},"created_at":"2015-02-28T15:39:31Z","updated_at":"2015-02-28T15:39:31Z","body":"deploying since we need this for backwards compatibility anyway, but i think we should merge traits maybe just to keep people from needing to do `.track('event', {}, { traits: {..} })`.\r\n\r\ni think it should be:\r\n\r\n```js\r\nanalytics.identify('id', { ... });\r\nanalytics.track('event', {}); // > implicitly sends stored traits.\r\n```"}}