segmentio / segmentio/analytics.js-integrations
[mixpanel] Company Attributes
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 125
- Forks
- 136
- Avg merge
- 2h 45m
- Merged PRs (30d)
- 1
Description
Migrated from #30 by @jkindness
Since mixpanel does not accept object properties, wouldn't it make sense to check if "company" is being passed in as an object and if it is, flatten it. In other words, since segment allows you to specify a company object in the identify call, this code could simply take the object and translate it to "company_name", "company_plan", etc.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Mixpanel integration's identify handling and how it currently processes the company attribute. Check the Segment company-object convention and Mixpanel's accepted attribute format before deciding the supported flattening behavior. Done means company object properties are translated into the requested company_* attributes without breaking existing identify calls.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- analytics
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100