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

Group method doesn't work #1009

Closed
minhduc21598 opened this issue Oct 2, 2024 · 2 comments
Closed

Group method doesn't work #1009

minhduc21598 opened this issue Oct 2, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@minhduc21598
Copy link

minhduc21598 commented Oct 2, 2024

Hi! I'm facing an issue and I need some helps. I called the group method with groupId (for example: "ABC") before calling any track method, but when I called some track methods after that, they doesn't show the groupId "ABC" in the dashboard. I see the data events in my-jitsu-domain.com. Thanks!

  • analytics-react-native version: 2.19.5
  • React Native version: 0.72.12
  • iOS or Android or both: Both

Steps to reproduce
I called group method before any track method

Expected behavior
My track events must show groupId in the dashboard

Actual behavior
There's no groupId in track events

@minhduc21598 minhduc21598 added the bug Something isn't working label Oct 2, 2024
@alanjcharles
Copy link
Contributor

Hi @minhduc21598 this is intended behavior. The groupId does not work in the same way as a userId or anonymousId. If you would like to attach it to all track events you will have to create a simple, custom plugin. Please check out this section of the readme for more information about that. Your implementation will likely be pretty similar to the requestTrackingPermission() method in our idfaPlugin.

I am going to go ahead and close this out since it's not a bug. Please feel free to reach out to [email protected] if you have any additional questions or if you run into any other issues with your implementation.

@minhduc21598
Copy link
Author

Hi @minhduc21598 this is intended behavior. The groupId does not work in the same way as a userId or anonymousId. If you would like to attach it to all track events you will have to create a simple, custom plugin. Please check out this section of the readme for more information about that. Your implementation will likely be pretty similar to the requestTrackingPermission() method in our idfaPlugin.

I am going to go ahead and close this out since it's not a bug. Please feel free to reach out to [email protected] if you have any additional questions or if you run into any other issues with your implementation.

That works for me! Thank you so much.

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

No branches or pull requests

2 participants