Skip to content
New issue

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

Explore possibility of creating user sessions with custom data. #87

Open
whizzzkid opened this issue Feb 1, 2023 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@whizzzkid
Copy link
Collaborator

Example: https://github.com/Countly/countly-sdk-nodejs/blob/master/examples/bulk_import_example.js#L20

The interface for ignite-metrics can be exposed such that we should allow tracking events against a unique identifier/deviceId.

The change could look like:

const metrics = new MetricsProvider({
  ...,
  deviceDetail: {
    deviceId: <device_id>,
    os: <os>,
    arch: <arch>,
    appVersion: <version>,
    additionalDetails: <overload>
  }
})

This will then call the add_user method and set the user_details and return an instance of the user instead of countly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant