I'm trying to setup a funnel. The issue is that the "actorProperty" is being stored as an integer in the first event, and it is stored as an string in the second one.
Below an example of the JSON stored in keen (take a look at the "app_id" field):
Event 1
{
"keen": {
"timestamp": "2014-10-17T12:28:35.000Z",
"created_at": "2014-10-17T12:28:35.805Z",
"id": "510b7481961a5ad07165"
},
"app_id": 861,
"old_plan": "Trial"
},
Event 2:
{
"keen": {
...
},
"metadata": {
"plan": "Premium",
"app_id": "861"
}
}
The funnel visualization is not working for the second event, it's not bringing any result...Below the code to generate the funnel:
var funnel = new Keen.Query('funnel', {
steps: [
{
eventCollection: "Event 1",
actorProperty: "app_id"
},
{
eventCollection: "Event 2",
actorProperty: "metadata.app_id"
}
],
timeframe: "this_month"
});
Do you have any advice on how to proceed in this case ?