Dont merge user traits

Open
#1,114 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
react-native, typescript
Domain
analytics, mobile

Research direction

Start at packages/core/src/analytics.ts around line 950, the linked entry point for user-trait merging. Determine whether the intended outcome is removing the merge or adding an opt-out, then inspect nearby behavior and tests if present. Done means the selected behavior is implemented and verified without accumulating unnecessary trait data.

Written by the indexing model from the issue text.

Description

enhancement

Summary

Why is user traits merged? this cause data to be accumulated and creating unnecessary data points to be sent to various sources ?

Proposed Solution

Remove merging or atleast provide a option for disable it, eg here:
https://github.com/segmentio/analytics-react-native/blob/24e17414805712a6351fd23496b426b32e14af82/packages/core/src/analytics.ts#L950

Dominant language
TypeScript
Stars
383
Forks
206
Avg merge
14h 45m
Merged PRs (30d)
11

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from segmentio/analytics-react-native

All issues in segmentio/analytics-react-native

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.