Custom Tracking¶
Introduction¶
TrueWatch allows you to create tracking tasks through RUM to monitor custom tracing paths in real-time. By pre-defining tracing paths, you can filter trace data, accurately query user access experiences, and promptly identify vulnerabilities, anomalies, and risks.
Application Support¶
The tracking feature currently only supports Web, Android, and iOS applications.
Create Tracking¶
In the RUM section of the TrueWatch workspace, click on the Application Name to enter the specified application, and then create a new tracking path via Tracking.
When Creating Tracking, you need to set the name and fields, and complete the configuration after generating the tracking ID.
Field | Description |
---|---|
Tracking Name | The name of the current tracking task. Supports mixed Chinese and English, underscores as separators, no other special characters, and up to 64 characters. |
Tags | Define trace fields. Supports selecting tags (key:value) under the current application (app_id) via a dropdown, supports multiple selections. |
Tracking ID | A unique tracking ID generated by the system, supports one-click copy. |
Integration Method | After generating the tracking ID, you need to integrate the code in the application based on the tracking ID information. |
Manage Tracking Tasks¶
After creating a tracking task, it is Started by default. You can view performance data for the specified tracking ID in the Session Explorer of the current application; you can also click on the tracking Name to view the data generated by that tracking. Additionally, you can view or delete tracking tasks.
Automated Tracking¶
TrueWatch supports the implementation through Browser Extensions, using the browser to record user access behaviors and create no-code end-to-end tests.
Step-by-Step Instructions¶
Step 1: Download the Browser Extension¶
-
If you have already integrated a Web application, you can directly download the browser extension for installation.
-
If you have not yet started using TrueWatch, you can first complete the following steps:
- Install DataKit;
- Enable the RUM collector;
- Integrate a Web application.
Step 2: Install the Extension¶
- After downloading the extension, access via browser:
chrome://extensions/
;
Note: Automated tracking currently supports Chrome and Edge browsers.
-
Enable Developer Mode;
-
Unzip the downloaded browser extension rum-plugin.zip;
-
Click Load unpacked;
-
Select the unzipped folder.
Step 3: Use the Extension¶
- Click the Extensions icon in the top right corner, find the TrueWatch Plugin and open it;
-
Enable it to generate a tracking ID.
-
Click Enable to use the current tracking ID;
- Click to generate a new tracking ID;
- Click to view the history of generated tracking IDs;
- Click the Language icon to view the current language or switch languages;
- Click to view the help documentation.
Step 4: Filter and View Data in TrueWatch¶
In the RUM application list, select the integrated Web application, and you can filter and view user access data using the tracking ID (track_id
) generated by the extension.