We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
user model
class User constructor: ({@accessTokenStream, cookieSubject, @proxy}) -> @hyperplane = new Hyperplane { cookieSubject apiUrl: config.HYPERPLANE_API_URL proxy: @proxy joinEventFn: => @getMe() .take(1).toPromise() .then ({id}) -> fields: clayId: id } getExperiments2: => @hyperplane.getExperiments() emit: (event, opts) => @getMe() .take(1).toPromise() .then (user) => @hyperplane.emit event, _.merge { tags: app: config.HYPERPLANE_KEY fields: clayId: user.id }, opts
also emit timing events from netox
# send analytics events with timing info netox.onTiming ({url, elapsed}) -> # hyperplane.emit 'timing', {fields: {url, value: elapsed}}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
user model
also emit timing events from netox
The text was updated successfully, but these errors were encountered: