Sensor Information Extraction
An API for extracting and presenting Sensor information.
Prerequisites
The feature is enabled by adding the following app configuration and setting it to True (Default: False).
How To Use
- Ensure that the feature configuration is set to True.
- Navigate to any URL where the Sensor is enabled in the browser.
- In the developer tools, open the console tab.
- Run this code.
window['_hcd_details'] && window['_hcd_details']();
- Normally, the code prints a table with all the information mentioned in the details section. However, if the response is "false", this means that the Sensor has not been started.
Extracted Sensor Details
# | Name | Type |
---|---|---|
1 | App ID | string |
2 | Sensor Script Source | string |
3 | Sensor Initiated | boolean |
4 | UUID | string |
5 | VID | string |
6 | SID | string |
7 | Mitigation Enabled | boolean |
8 | Mitigation Rules Version | string |
9 | Feature Flags | Array as string |
10 | UA Family | string |
11 | UA Version | string |
12 | Custom Params | Array as string |
Updated 12 days ago