Use version: sp.js 2.6.2.
I don’t know why I can’t get ‘ua’ and ‘ctype’ from pageview.
Who can tell me how to get them? Thank you.
I can get:
Supposed way to extract User Agent is through enrichment process. You can see
ua in snowplow tracker protocol just because it is used by our server-side trackers - their correct
UserAgent HTTP header would be something like
snowplow-python-tracker 0.7.0 (obviously useless for analytics), therefore server-side tracker needs to first extract user’s UA and then send it using
UserAgent HTTP header.
You can checkout our ua-parser and user agent utils enrichments to extract information about users’ browsers.
Thank you @anton,
About connection type , I have seen marked as not implemented. No other question about connection type.
Hey @YuxinChou! If understand your question correct - you need a Stream Enrich (instead of batch process which I linked above) it can enrich stream of events with either ua-parser or user agent utils enrichments same as in batch and write result to configured Kinesis Stream.
If for some reasons you need raw
UserAgent header - you can use HTTP header extractor enrichment, but I highly recommend you to use specialized enrichments for this purpose.
Hope this helps.