segmentio / segmentio/analytics.js-integrations

[woopra] Flatten objects

Open
#105 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
125
Forks
136
Avg merge
2h 45m
Merged PRs (30d)
1

Description

Migrated from #3 by @jpknegtel

Tried to pass an address object however this is can not be translated into seperate object into woopra.

[object Object] is what is seen in woopra under user address field.

This is what is passed from Segment:
address: {
city: 'Amsterdam',
country: 'NL',
county: 'Noord-Holland',
housenumber: '',
postalcode: '1032 HP',
street: '
'
},

** taken out as personal info.

Should we just not use objects?

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by locating the Woopra integration entry point and any property-mapping tests; the issue names no files or tests. Reproduce the address example and inspect how object-valued fields are serialized. Done means the address data is represented in Woopra without the literal “[object Object]” output, with the intended behavior covered by a test.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.