Skip to content

Create Triggers


Introduction

TrueWatch supports you to create trigger tasks via User Analysis, enabling real-time monitoring of custom-defined chain tracing paths. By pre-setting chain tracing paths, you can filter chain data centrally and accurately query user experience, promptly identifying vulnerabilities, anomalies, and risks.

Application Support

The trigger function currently only supports the introduction of Web, Android, and iOS applications.

Create Trigger

In the TrueWatch workspace's User Analysis, click on the application name to enter the specified application, and then create a trace path through Triggers.

When performing Create Triggers, you need to set the name and fields, and after generating the trigger ID, complete the configuration integration.

Field Description
Trigger Name The name of the current trigger task. Supports mixed writing in Chinese and English, supports underscores as separators, does not support other special characters, and supports up to 64 strings.
Tags Defines chain tracing fields. Supports selecting tags (key:value) under the current application (app_id) from a dropdown box, and supports multiple selections.
Trigger ID A system-generated unique trigger ID identifier that supports one-click copying by users.
Integration Method After generating the trigger ID, you need to integrate code in the application based on the trigger ID information.

Manage Trigger Tasks

After creating a trigger task, it is enabled by default. You can view performance data under the specified trigger ID in the Session Explorer of the current application; you can also view the data generated by the trigger by clicking the trigger name. At the same time, you can view or delete the trigger task.

Automated Tracing

TrueWatch supports implementing browser plugins to record user access behavior using browsers, thereby creating codeless end-to-end tests.

Steps Description

Step One: Download Browser Plugin

  1. If you have already integrated a Web application, you can directly download and install the browser plugin.

  2. If you haven't started using TrueWatch yet, you can first complete the following steps:

  3. Register for a TrueWatch account;

  4. Install DataKit;
  5. Enable User Analysis Collector;
  6. Integrate Web Applications.

Step Two: Install Plugin

  1. After downloading the plugin, visit chrome://extensions/ via your browser;

Note: Automated tracing currently supports Chrome and Edge browsers.

  1. Enable Developer Mode;

  2. Unzip the downloaded browser plugin guance-rum-plugin.zip;

  3. Click Load unpacked extension;

  4. Select the unzipped folder.

Step Three: Use Plugin

  1. In the top-right corner, click the Extensions icon, find TrueWatch Cloud Plugin, and open the plugin;

  1. Upon activation, a trigger ID will be generated.

  2. Click Activate to use the current trigger ID;

  3. Click to generate a new trigger ID;
  4. Click icon to view the history of generated trigger IDs;
  5. Click Language icon to check the current language or switch languages;
  6. Click icon to view help documentation.

Step Four: Filter and View Data in TrueWatch

In the User Analysis application list, select the integrated Web application, and you can filter and view user access data using the trigger ID (track_id) generated by the plugin.