As of the creation of this document, the data schema is a work in progress, therefore, is subject to change. We are working on adding more information to the stream such as dimensions in session context (for example geo location, device, browser, and operating system, etc.).

Sample Page and Action Event Payload

{
    "id": "111111111",
    "timestamp": "2018-12-18T05:07:44.198+01:00",
    "eventMetadata": {
        "source": "1"
    },
    "processingMetadata": {
        "detectedContext": "Page"
    },
    "account": {
        "id": "111111111111111"
    },
    "user": {
        "id": "1111111111111111111",
        "startTimestamp": "2018-12-18T05:07:44.000+01:00",
        "customerId": null,
        "guid": "11111111-1111-1111-1111-111111111111",
        "categories": {
            "textValues": {},
            "numericValues": {}
        },
        "sessionsSubcontext": {
            "count": 0
        }
    },
    "session": {
        "id": "1111111111111111111",
        "startTimestamp": "2018-12-18T05:07:44.000+01:00",
        "parameters": {
            "textValues": {
                "38": {
                    "key": "38",
                    "values": [
                        "non paywall user"
                    ]
                }
            },
            "numericValues": {}
        },
        "pagesSubcontext": {
            "count": 0
        }
    },
    "page": {
        "id": "111111111",
        "startTimestamp": "2018-12-18T05:07:44.198+01:00",
        "name": "grüßen_privat_-_regeln_für_elitestudenten",
        "url": "http://www.knigge.de/archiv/ihre-fragen/gruessen-privat---regeln-fuer-elitestudenten-11176.htm",
        "categories": {
            "textValues": {
                "3": {
                    "key": "3",
                    "value": "article"
                },
                "15": {
                    "key": "15",
                    "value": "Grüßen Privat - Regeln für Elitestudenten"
                }
            },
            "numericValues": {}
        },
        "parameters": {
            "textValues": {},
            "numericValues": {}
        },
        "eventsSubcontext": {
            "count": 0
        }
    },
    "basket": {
        "status": "View",
        "items": [
            {
                "quantity": 1,
                "price": 41,
                "product": {
                    "name": "Grüßen Privat - Regeln für Elitestudenten",
                    "url": "Grüßen Privat - Regeln für Elitestudenten",
                    "categories": {
                        "textValues": {
                            "6": {
                                "key": "6",
                                "value": "http://www.knigge.de/archiv/ihre-fragen/gruessen-privat---regeln-fuer-elitestudenten-11176.htm"
                            },
                            "7": {
                                "key": "7",
                                "value": "Gibt es unter Studenten (einer Elite-Hochschule) keine Begrüßungsregeln,..."
                            },
                            "9": {
                                "key": "9",
                                "value": "Grüßen Privat - Regeln für Elitestudenten"
                            }
                        },
                        "numericValues": {}
                    },
                    "parameters": {
                        "textValues": {},
                        "numericValues": {}
                    }
                }
            }
        ],
        "parameters": null
    },
    "device": {
        "fullName": null,
        "name": null,
        "family": null,
        "vendor": null,
        "model": null,
        "deviceClass": "SmartPhone",
        "release": null,
        "screen": {
            "resolution": "640x960",
            "colorDepth": 24,
            "inchesDiagonal": null
        }
    },
    "location": {
        "countryCode": "DE",
        "city": "Berlin"
    },
    "connection": {
        "speed": "Wireless",
        "isp": "Wireless Provider",
        "organisation": "Wireless Provider Company GmbH."
    },
    "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Mobile/15E148 Safari/604.1",
    "order": null,
    "campaign": null,
    "action": null,
    "form": null,
    "heatmap": null,
    "browser": null,
    "os": null,
    "media": null,
    "mediaAction": null
}
JS
{
    "id": "111111111",
    "timestamp": "2018-12-18T05:07:44.198+01:00",
    "eventMetadata": {
        "source": "5"
    },
    "processingMetadata": {
        "detectedContext": "Action"
    },
    "account": {
        "id": "111111111111111"
    },
    "user": {
        "id": "1111111111111111111",
        "startTimestamp": "2018-12-18T05:07:44.000+01:00",
        "customerId": null,
        "guid": "11111111-1111-1111-1111-111111111111",
        "categories": {
            "textValues": {},
            "numericValues": {}
        },
        "sessionsSubcontext": {
            "count": 0
        }
    },
    "session": {
        "id": "1111111111111111111",
        "startTimestamp": "2018-12-18T05:07:44.000+01:00",
        "parameters": {
            "textValues": {},
            "numericValues": {
                "42": {
                    "key": "42",
                    "values": [
                        0
                    ]
                }
            }
        },
        "pagesSubcontext": {
            "count": 0
        }
    },
    "basket": {
        "status": "View",
        "items": [],
        "parameters": null
    },
    "campaign": {
        "name": "wt_direct=direct",
        "keyword": null,
        "campaignTrackType": "Click",
        "websiteGoalId": -1,
        "categories": {
            "textValues": {},
            "numericValues": {}
        },
        "parameters": {
            "textValues": {},
            "numericValues": {}
        }
    },
    "device": {
        "fullName": null,
        "name": null,
        "family": null,
        "vendor": null,
        "model": null,
        "deviceClass": "SmartPhone",
        "release": null,
        "screen": {
            "resolution": "640x960",
            "colorDepth": 24,
            "inchesDiagonal": null
        }
    },
    "location": {
        "countryCode": "DE",
        "city": "Berlin"
    },
    "connection": {
        "speed": "Wireless",
        "isp": "Wireless Provider",
        "organisation": "Wireless Provider Company GmbH."
    },
    "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Mobile/15E148 Safari/604.1",
    "order": null,
    "action": null,
    "form": null,
    "heatmap": null,
    "browser": null,
    "os": null,
    "media": null,
    "mediaAction": null
}
JS