{"repo":"sematext/browser-sdk","free":true,"listed":false,"github":"https://github.com/sematext/browser-sdk","clone":"git clone https://github.com/sematext/browser-sdk.git","description":"Repository for the web browser SDK used for Sematext Experience.","language":"JavaScript","stars":17,"topics":["monitoring","user-experience-monitoring","real-user-monitoring","frontend-monitoring","performance-monitoring","apm"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"Sematext Browser SDK Repository containing the Browser SDK for the Sematext Experience. It is used to collect end-user data from browsers using various browser APIs. It is designed to work with traditional web applications as well as single-page apps (SPAs). The collected data includes: - Page load metrics, - HTTP requests metrics, - Page resources metrics, - Long tasks metrics, - Web Vitals metrics, - Element timing metrics, - User metrics, - On-page transaction metrics. Development The Experience script is developed using ECMAScript 2015. For builds and development it uses: - npm - Node package manager - yarn - Package dependency manager - flow - Static type checker - Cypress.io - Integration tests framework The Experience Script Architecture There are two parts of the Experience script: - The loader script - The metrics gathering script The loader script is responsible for loading the metrics gathering script. It adds the actual tags with the content of the main metric script. The loader script keeps track and buffers commands that will be sent once the metrics gathering script loads and is configured. Please note that the loader and the Experience script depend on each other. Before changing the scripts keep in mind that developers who have already added the script to their website will use the older loader script unless they update it. Working on the Loader Script The main entry point of the loader script is in src/snippet.js . This is the unminified ES2015) version of t","default_branch":null,"files":null,"tree":[],"storefront":"/r/sematext","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sematext/browser-sdk/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}