Skip to content

Instantly share code, notes, and snippets.

@cborodescu
Created October 6, 2022 11:37
Show Gist options
  • Save cborodescu/650d91b6ce039df7dbb3490be046207c to your computer and use it in GitHub Desktop.
Save cborodescu/650d91b6ce039df7dbb3490be046207c to your computer and use it in GitHub Desktop.
[
{
"segmentID": "segment_1",
"name": "Mobile users that will complete a purchase",
"conditions": "predictions.funnel_stage.value:transaction AND (predictions.funnel_stage.probability: 0.5 TO 0.9) AND raw.device = 'mobile'",
"type": "computed"
},
{
"segmentID": "segment_3",
"name": "Users that are interested in red Adidas shoes",
"conditions": "predictions.affinities.color.value = 'red' AND predictions.affinities.brand.value = 'adidas' AND predictions.affinities.category.value = 'shoes' AND predictions.affinities.color.probability > 0.5 AND predictions.affinities.brand.probability > 0.5 AND predictions.affinities.category.probability > 0.5",
"type": "computed"
},
...
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment