Provides an interface to the Qt Insight Tracker. 更多...
import 语句: | import QtInsightTracker 6.15 |
实例化: | QInsightTracker |
This property can be used to enable and disable the tracker.
Clear all events from the local cache.
interaction ( string name , const QString & contextKey , double contextValue , string category ) |
Send a interaction event name with additional context data. Context data can be sent as a key/value pair in contextKey and contextValue . The optional category parameter can be used to filter tracking of the events.
另请参阅 QInsightConfiguration::setCategories .
Send a interaction event name . The optional category parameter can be used to filter tracking of the events.
另请参阅 QInsightConfiguration::setCategories .
Start a new session A new session id is generated and then used in all subsequent events.
transition ( string name , const QString & contextKey , double contextValue ) |
Send a transition event name with additional context data. Context data can be sent as a key/value pair in contextKey and contextValue . Use transition events to track the current state of the UI. Transition events can be sent whenever your application changes UI views or states, or whenever there are other UI flow changes such as dialog and notification pop-ups.
Send a transition event name . Use transition events to track the current state of the UI. Transition events can be sent whenever your application changes UI views or states, or whenever there are other UI flow changes such as dialog and notification pop-ups.