Mixpanel Purchase Data Structure and Total Tax Calculation Query
kapa.ai I'm sending purchase data to Mixpanel with a products array like this: json
"products": [
{
"brand": "Bioderma",
"name": "Atoderm Intensive Eye",
"taxValueLC": 17.94,
"quantity": 1
},
{
"brand": "dr. Irena Eris",
"name": "eris wash gell solution",
"taxValueLC": 18.51,
"quantity": 2
}
]
Two questions:
- 1.
Is this structure appropriate for Mixpanel analytics?
- 2.
What's the correct custom formula to calculate total tax value across all sold units (taxValueLC Ă— quantity for each product)?