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

track deletes traits in @segment/analytics-next #1173

Open
jonathanj opened this issue Oct 27, 2024 · 0 comments
Open

track deletes traits in @segment/analytics-next #1173

jonathanj opened this issue Oct 27, 2024 · 0 comments

Comments

@jonathanj
Copy link

This code deletes the traits property for "track" events, but I'm not sure I understand why. I can't seem to find any documentation that explains why this would be desirable.

I'm implementing a custom plugin that injects traits into events other than identify because our analytics team is having some difficulty when these events end up at the Mixpanel destination and this information is missing. We have implemented the same behaviour for the React Native client, which doesn't seem to suffer from the issue of traits being purged for track events.

Is there a reason why traits would be deleted from track but not from screen/page? Is my intended usage an anti-pattern?

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

No branches or pull requests

1 participant