All Products
Search
Document Center

Add automation log

Last Updated: Jun 09, 2021

Automation page tracking records information such as page visits, source and dwell duration of pages. The information is used to analyze indicators such as PV, UV, and page traffic.

Tracking

Manual log tracking is not required for the following reasons:

  • Automation logs use a special behavior tracking method.
  • During runtime, the system method is replaced by using the Objective-C method exchange technology, and the monitoring method is inserted.
  • After the monitoring method is triggered through touchscreen operations or system notifications, it actively calls the behavior tracking API to upload the tracking logs.

Rules

During the life cycle of UIViewController, viewDidAppear indicates opening of a page and viewWillDisappear indicates closing of a page. When a page is opened and then closed, the number of PVs increases by 1.