Sensor Information Extraction
- 24 Apr 2023
- Print
- DarkLight
Sensor Information Extraction
- Updated on 24 Apr 2023
- Print
- DarkLight
Article Summary
Share feedback
Thanks for sharing your feedback!
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 |
Was this article helpful?