acceptable-continent-82228
04/05/2023, 10:02 AM{
"type": "track",
"event": "PlaceAnOrder",
"sentAt": "2023-04-04T16:00:06.620Z",
"userId": "a65f3813-091a-4b37-bdea-cae47871326b",
"channel": "server",
"context": {
"library": {
"name": "analytics-java",
"version": "3.0.0"
}
},
"rudderId": "52845f09-c5a1-4c1c-ad1d-8ad9993267ba",
"messageId": "7c4616c4-beca-4b32-a170-f63f0c947851",
"timestamp": "2023-04-04T15:59:59.336Z",
"properties": {
"context": {
"page": {}
}
},
"receivedAt": "2023-04-04T16:00:06.182Z",
"request_ip": "34.71.142.117",
"integrations": {},
"originalTimestamp": "2023-04-04T16:00:06.620Z"
}
However, tiktok is sending a 400 with this error:
"Event name (placeanorder) is not valid, must be mapped to one of standard events"
Then we tried to use the default pixel javascript to check what the events from the pixel javascript is and we got this:
{
"event": "PlaceAnOrder",
"message_id": "messageId-1680688436858-5056068406516-CAOT8CBC77U7SS4AO440",
"event_id": "",
"is_onsite": false,
"timestamp": "2023-04-05T09:53:56.858Z",
"context": {
"ad": {
"sdk_env": "external",
"jsb_status": 2
},
"user": {},
"pixel": {
"code": "*****"
},
"page": {
"url": "http://localhost:3001/",
"referrer": ""
},
"library": {
"name": "pixel.js",
"version": "2.1.33"
},
"device": {
"platform": "pc"
},
"session_id": "c801f294-d397-11ed-a72a-08c0eb6210e0::4aqPFee0LTxKIpLlrnEf-*****",
"pageview_id": "pageId-1680688436852-8371071515311-CAOT8CBC77U7SS4AO440",
"variation_id": "test_3",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"
},
"_inspection": {},
"properties": {
"amount": 20
}
}
Looking at the two JSON I am questioning if there is a problem on your side maybe on the mapping for the event name? Let me know if this makes sense.
Thank you!hundreds-lifeguard-65770
04/05/2023, 10:11 AMhundreds-lifeguard-65770
04/05/2023, 10:11 AMacceptable-continent-82228
04/05/2023, 10:12 AMhundreds-lifeguard-65770
04/05/2023, 10:14 AM