countly.events

Follow

Collection events contains overall information about events, as list of all event keys, given names and segments for each specific app.

Here is the list of possible fields

Field Description Example
_id App ID 542e95d747f0be510c000004
list Array of all event keys [ "Login", "Buy", "Logout", "Sound", "Lost", "Messaged", "Won", "Achievement", "Shared" ]
map Mapping of event keys to the readable names you give to events { "Buy": { "name": "Purchased IAP" }, "Login": { "name": "User Login" }, "Logout": { "name": "User Logout" } }
segments List of segments that each event has { "Achievement": [ "name" ], "Login": [ "referer" ], "Lost": [ "level", "mode", "difficulty" ], "Won": [ "level", "mode", "difficulty" ], }


Here is an example of events document

{
    "_id": ObjectID("542e95d747f0be510c000004"),
    "list": [
        "Login",
        "Buy",
        "Logout",
        "Sound",
        "Lost",
        "Messaged",
        "Won",
        "Achievement",
        "Shared"
    ],
    "map": {
        "Buy": {
            "name": "In App Purchase"
        },
        "Login": {
            "name": "User Login"
        },
        "Logout": {
            "name": "User Logout"
        },
    },
    "segments": {
        "Achievement": [
            "name"
        ],
        "Login": [
            "referer"
        ],
        "Lost": [
            "level",
            "mode",
            "difficulty"
        ],
        "Won": [
            "level",
            "mode",
            "difficulty"
        ]
    }
}
Was this article helpful?
0 out of 0 found this helpful

Looking for help?