xdm icon indicating copy to clipboard operation
xdm copied to clipboard

Extend Segment Membership to Include Snapshot Information

Open HyveMynd opened this issue 5 years ago • 3 comments

What are the schemas that are affected by the issue

Segment Membership

What are examples of products that are impacted by the issue

Segment Membership object should include the list of (possibly named) snapshots the profile is a member of. In addition to segments (latest snapshot) the profile is a member of.

Contact: [email protected]

HyveMynd avatar Apr 22 '19 20:04 HyveMynd

@prabhum2 can you help me implement a PR for this?

HyveMynd avatar May 02 '19 22:05 HyveMynd

Can you give me example of how you change the definition of the current field

prabhum2 avatar May 10 '19 20:05 prabhum2

Not sure which field I should be modifying, but the use case I would like to enable is as follows:

A segment named "People in CA" is evaluated on a regular basis. Meaning the audience in that segment updates regularly. I would like to create a snapshot of that segment on May 1, 2019 and name it "People in CA. Spring 2019 Campaign". This snapshot should be saved alongside the original segment along with its name. I will then be creating more snapshots for each season. The basic requirement would be something similar to:

{
  segments: [
    name,
    id,
    snapshots: [
      id: String,
      name: String,
      created: DateTime,
    ] 
  ]
}

HyveMynd avatar May 10 '19 21:05 HyveMynd