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

Unable to set event-level groups #88

Closed
gesposito opened this issue May 2, 2022 · 1 comment · Fixed by #90
Closed

Unable to set event-level groups #88

gesposito opened this issue May 2, 2022 · 1 comment · Fixed by #90
Labels
bug Something isn't working

Comments

@gesposito
Copy link

gesposito commented May 2, 2022

Expected Behavior

EventOptions parameter in logEvent allows for a groups key

Current Behavior

groups (event-level groups) cannot be set with logEvent:

logEvent(eventType, eventProperties, { groups?: { [key: string]: any } })

Steps to Reproduce

I'm trying to match the amplitude-js logEventWithGroups API that has support for

logEventWithGroups(eventType, eventProperties, groups)

https://github.com/amplitude/Amplitude-JavaScript/blob/main/src/amplitude-client.js#L1406

Environment

  • JS SDK Version: 0.3.1
  • Installation Method: npm
@gesposito gesposito added the bug Something isn't working label May 2, 2022
@kevinpagtakhan
Copy link
Collaborator

@gesposito thanks for submitting an issue! Thanks for your patience as we continuously iterate on this new SDK. This is unintended behavior and we will work on addressing this issue.

curiousYi pushed a commit to curiousYi/Amplitude-TypeScript that referenced this issue Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants