InsightTracker QML Type

Provides an interface to the Qt Insight Tracker. More...

Import Statement: import QtInsightTracker 6.9
In C++: QInsightTracker

Properties

Methods

Detailed Description

Property Documentation

enabled : bool

This property can be used to enable and disable the tracker.


Method Documentation

clearCache()

Clear all events from the local cache.


dimensionData(const QString &key, double value)

Send custom dimension data in key / value pair.


interaction(string name, string category)

Send a interaction event name. The optional category parameter can be used to filter tracking of the events.

See also QInsightConfiguration::setCategories.


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.

See also QInsightConfiguration::setCategories.


startNewSession()

Start a new session A new session id is generated and then used in all subsequent events.


transition(string name)

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.


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.


© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.