Ref: https://github.com/segmentio/integration-google-analytics/pull/32 We already have most of the information we need in the context, so if a user agent is not provided, we should generate from the context.