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.
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.
During the life cycle of
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.