@ihor thanks for the quick reply. The events are sent using the javascript tracker. We’re on version 2.10.2 in our app. The events use a custom schema. The same event type actually comes in as application/json
most of the time so I’m not sure why some small subset appears as text/plain
.
When I look at the events the data all seems valid. The Content-Type
header seems to be what’s causing the issue.
Here’s a sample event. I obfuscated some UIDs, IP addresses, hostnames, parameters, and URLs for security. Also, base64 decoded where necessary.
d
XXX.XXX.XXX.XXX
lnAUTF-8ssc-0.15.0-kinesis,sMozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.366https://www.site.com/c/sale/@#/com.snowplowanalytics.snowplow/tp2T{"schema":"iglu:com.snowplowanalytics.snowplow/payload_data/jsonschema/1-0-4","data":[{"e":"ue","ue_px":"{"schema":"iglu:com.snowplowanalytics.snowplow/unstruct_event/jsonschema/1-0-0","data":{"schema":"iglu:com.gladly.sidekick/event_widget_loaded/jsonschema/1-0-0","data":{}}}","tv":"js-2.10.2","tna":"cf","aid":"sidekick","p":"web","tz":"America/New_York","lang":"en-US","cs":"UTF-8","f_pdf":"1","f_qt":"0","f_realp":"0","f_wma":"0","f_dir":"0","f_fla":"0","f_java":"0","f_gears":"0","f_ag":"0","res":"1536x864","cd":"24","cookie":"1","eid":"8983fcda-2b21-468f-80d7-05d102933fbf","dtm":"1565217818372","cx":"{"schema":"iglu:com.snowplowanalytics.snowplow/contexts/jsonschema/1-0-0","data":[{"schema":"iglu:com.gladly.sidekick/context_widget/jsonschema/2-0-0","data":{"screen":"home","visibility":"hidden","isInOfficeHours":true,"isThrottled":true,"someOtherField":"thisisaguid","isCustomerAuthenticated":null}},{"schema":"iglu:com.gladly/context_gladly/jsonschema/1-0-0","data":{"orgId":"thisisaguid","stage":"production","site":"somesite.example.com"}},{"schema":"iglu:com.gladly.sidekick/context_ab_test/jsonschema/1-0-1","data":{"onboardingType":"interactive"}}]}","vp":"1536x731","ds":"1519x43406","vid":"7","sid":"sid","duid":"duid","fp":"3405116619","refr":"https://www.site.com/","url":"https://www.site.com/c/sale","stm":"1565217818380"}]}^*Host: host.hosty.com
Accept: */*"Accept-Encoding: gzip, deflate, br Accept-Language: en-US, en;q=0.9Origin: https://www.site.com%Referer: https://www.site.com/c/sale/Sec-Fetch-Mode: corsSec-Fetch-Site: cross-siteUser-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36X-Forwarded-For: 1.1.1.1X-Forwarded-Port: 443X-Forwarded-Proto: httpsConnection: keep-aliveTimeout-Access: <function1>text/plain; charset=utf-8htext/plain; charset=utf-8$host.hosty.com
$thisisaguid
ziAiglu:com.snowplowanalytics.snowplow/CollectorPayload/thrift/1-0-0
I’ll have to reach out to the company hosting our snowplow instance to find out about processing. I’ll update here when they respond.