BugSnag Session Tracking API

BugSnag Session Tracking API (smartbear/bugsnag-sessions)

operated by: SmartBear Software (go to tracker entry in the Exodus database)
The Session Tracking API is used to “notify Bugsnag of sessions starting in web, mobile or desktop applications.” Source

Endpoint URLs

These are URLs or regexes of endpoints the tracker sends data to. We use these to determine which adapter to apply to a request. Some trackers use the same endpoint for several formats. In this case we use additional logic to match the adapter to the request, refer to the code for more information.
  • https://sessions.bugsnag.com/

Decoding steps

Every tracking library has its own way of transmitting tracking data, often even several. They are regularly pretty convoluted, nested encoding schemes. Because of that, the adapter needs to decode the request information into a consistent format. We try to keep keys and paths intact, but the structure results from our decoding. All steps used in the decoding for this adapter are documented here.
  1. Parse the request body as JSON. Store that in the result for the request body.
1res.body = parseJson(body)

Observed data transmissions

This is data that we observed being transmitted by this tracker. Not every request contains all of this data. The context of the data describes where we found the data in the request, the path describes the location of the data in the decoded request. The examples are a selection of observed values.
PropertyContextPathExamples of observed values
App IDbodyapp.idcom.chatx
com.strava
net.mbc.shahid
mb32r.musica.gratis.music.player.free.download
com.lyrebirdstudio.collage_frame
bodyapp.packageNamecom.scopely.startrek
com.gameswing.impossible.formula.car.stunts.gt.mega.ramp.games
com.zimad.mpixel
com.gs.lightspeed.superhero.rescue.mission.doctor.robot.games
com.ew.dino.city.attack
App namebodyapp.nameStar Trek Fleet Command
Formula Car Stunt
Cross Stitch
Police Robot Speed Superhero
Angry Dinosaur Rampage Gorilla Animal City Smasher
App versionbodyapp.version Tracker documentation on this property1.0.2
185.8
6.6.1
5.9.3
12.07
bodyapp.versionCode Tracker documentation on this property12
1.21721e+06
4257
1207
15003
bodyapp.bundleVersion Tracker documentation on this property1
185
14203
2210302
1647526062
bodyapp.codeBundleId Tracker documentation on this property2.4.0-r.Q_faWi9Yv
[object Object]
Architecturebodydevice.cpuAbi[x86_64 x86 arm64-v8a armeabi-v7a armeabi]
[x86_64 x86 arm64-v8a armeabi-v7a armeabi]
[x86_64 x86 arm64-v8a armeabi-v7a armeabi]
[x86_64 x86 arm64-v8a armeabi-v7a armeabi]
[x86_64 x86 arm64-v8a armeabi-v7a armeabi]
Battery levelbodydevice.batteryLevel0.77
1.0
Free disk spacebodydevice.freeDisk5475729408
5656854528
15052046336
5567520768
5658689536
Charging statusbodydevice.chargingfalse
Is device an emulator?bodydevice.emulatortrue
Is app in foreground?bodyapp.inForegroundtrue
Is device rooted?bodydevice.jailbroken Tracker documentation on this propertytrue
true
false
Languagebodydevice.localeen_US
en
en_DE
en-US
en-gb
Manufacturerbodydevice.manufacturer Tracker documentation on this propertyGoogle
Apple
bodydevice.brandgoogle
Modelbodydevice.model Tracker documentation on this propertysdk_gphone_x86_64_arm64
iPhone9,3
iPhone 7
iPhone10,4
sdk_gphone_x86_64
bodydevice.modelNumber Tracker documentation on this propertyD101AP
iPhone9,3
D201AP
D221AP
iPhone10,6
Network connection typebodydevice.networkAccesswifi
Orientationbodydevice.orientationportrait-primary
landscape
portrait
OS namebodydevice.osName Tracker documentation on this propertyandroid
iOS
ios
OS versionbodydevice.osVersion Tracker documentation on this property11
14.8
14.5.1
13
15.6.1
bodydevice.osBuild
Other unique identifiers for the user, device, session, or installationbodydevice.id Tracker documentation on this property7d1df1b3-7ea0-43d5-8df9-019df1bf2bcb
d413c9f0-da85-462e-8ecb-98e6c5d8c63a
1e318cfa-aee5-4a7d-b259-ba1a3adab604
ckk3r4aye00004v60bcbye9f4
13e3ebf9-8724-4283-aee7-fb1395576788
bodysessions.*.user.id Tracker documentation on this property7d1df1b3-7ea0-43d5-8df9-019df1bf2bcb
d413c9f0-da85-462e-8ecb-98e6c5d8c63a
1e318cfa-aee5-4a7d-b259-ba1a3adab604
57f5fa33-8ad4-4835-a200-344b38f77e47-1611060427487
ed0d55cc-73b9-4920-8aba-4caac1b777a6
bodysessions.*.id Tracker documentation on this propertyf3f3a92d-4d9e-4ad3-abed-c37c86abf76c
bff9301b-11d2-4053-832d-10d0bd3d86d7
812eb754-ac40-444e-9a6b-310a9decb75d
ckk3r4b1900004v606f70bx4m
ckk3r4d5d00014v60of382k3e
Free RAMbodydevice.freeMemory196419016
195512160
40189952
190527912
190387608
Total RAMbodydevice.totalMemory2.01326592e+08
5.36870912e+08
201326592
2.076893184e+09
1.28770048e+09
Screen heightbodydevice.screenResolution2392x1440
Screen widthbodydevice.screenResolution2392x1440
App start timebodysessions.*.startedAt Tracker documentation on this property2021-01-18T16:06:05.585Z
2021-01-19T06:56:35Z
2021-01-19T08:44:09.661Z
2021-01-19T08:44:37.725Z
2021-01-19T08:44:40.465Z
Time zonebodydevice.timezoneCET
Tracker SDK versionbodynotifier.version Tracker documentation on this property5.2.3
5.2.1
7.5.6
5.0.1
5.2.2
User agentbodydevice.userAgent Tracker documentation on this propertyMozilla/5.0 (Linux; Android 11; sdk_gphone_x86_64_arm64 Build/RSR1.201013.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/83.0.4103.106 Mobile Safari/537.36
Mozilla/5.0 (Linux; Android 11; sdk_gphone_x86_64_arm64 Build/RSR1.201211.001.A1; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/83.0.4103.106 Mobile Safari/537.36
Mozilla/5.0 (iPhone; CPU iPhone OS 14_8 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148
Mozilla/5.0 (iPhone; CPU iPhone OS 15_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148
Viewed pagebodyapp.activeScreenNativeAndroidActivity
UnityPlayerActivity
References