curl --location 'https://cdp.companyname.m1das.app/api/s/s2s/track' \
--header 'Content-Type: application/json' \
--header 'X-Write-Key: cdp.abc123def456.xyz' \
--data-raw '{
"type": "track",
"event": "testEvent",
"properties": {
"testProp": "test event properties"
},
"userId": "[email protected]",
"anonymousId": "bKTtbVZw3yiqCJvCSJgjVeXp",
"timestamp": "2023-04-12T13:29:04.690Z",
"sentAt": "2023-04-12T13:29:04.690Z",
"messageId": "voV6fulcZR4CTVnN89AnxFnC",
"context": {
"library": {
"name": "jitsu-js",
"version": "1.0.0"
},
"ip": "127.0.0.1",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/111.0",
"locale": "en-US",
"screen": {
"width": 2304,
"height": 1296,
"innerWidth": 1458,
"innerHeight": 1186,
"density": 2
},
"traits": {
"email": "[email protected]"
},
"page": {
"path": "/",
"referrer": "",
"referring_domain": "",
"host": "example.com",
"search": "",
"title": "Example page event",
"url": "https://example.com/",
"encoding": "UTF-8"
},
"campaign": {
"name": "example",
"source": "g"
}
},
"receivedAt": "2023-04-12T13:29:04.690Z"
}'