Blue Triangle encodes RUM analytics data and sends it as the payload of a POST request. This applies to performance timings (analytics.rcv), waterfall/resource timings (wcd.rcv), and JavaScript error data (err.rcv). The request payload of these files is encoded using base-64 encoding. This data can be decoded and parsed using the following steps.
- Open a website that is currently tagged with btt.js
- Open the developer tools (right-click on the page > Inspect, or F12, or Ctrl+Shift+i)
- Click on the "Network" tab (might be under the >> icon if your developer tools window is too small)
- Select the Blue Triangle file to decode (such as analytics.rcv or wcd.rcv)
- Select "Headers" in the popup menu
- Scroll down to "Request Payload" and copy the data
- Click on the "Console" tab
- Paste the request payload into the REQUESTPAYLOAD spot of the snippet below and hit Enter to run it in the console
JSON.parse(atob('REQUESTPAYLOAD')) - The data should be visible in the console output (you might have to click the {} to expand the data)
*Pro tip: The JSON.parse() part of the snippet is not actually necessary – you can decode the payload with just atob(), but it is more convenient to read through the output when it is in JSON format so it is included here for convenience.
Comments
0 comments
Please sign in to leave a comment.