Skip to content
This repository was archived by the owner on Nov 27, 2019. It is now read-only.

Conversation

@hankim813
Copy link
Contributor

@hankim813 hankim813 commented Jul 6, 2016

fixes https://segment.atlassian.net/browse/INT-450

@sperand-io

fyi -- i think we should modify the ajs-tester so that it updates the analytics.user() object when you call analytics.identify(). Right now it does not do that, meaning that in the lib/index I have to use the analytics.user().id() to grab the userId vs. being able to just use track.userId() since the only way to test it is to set the id of the user object directly by using analytics.user().id(<ID>)

Or the facade .userId() function should fallback on checking the analytics.user object -- Right now it just looks up the .field('userId')

DO NOT MERGE: waiting until rollout

TODO:

@jgershen
Copy link

@hankim813 LGTM

@sperand-io
Copy link

LGTM 2

@hankim813 hankim813 merged commit 675cd1d into master Jul 12, 2016
@hankim813 hankim813 deleted the add-userId branch July 12, 2016 22:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants