InsightTracker QML Type

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

Import Statement: import QtInsightTracker 6.15
Instantiates: 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.


sendClickEvent(string name, string category, int x, int y, string contextKey, double contextValue)

This is an overloaded function.

Send a click event name with additional context data. Event can have extra details with category and click coordinates x and y. Additional context data can be sent as a key/value pair in contextKey and contextValue.


sendClickEvent(string name, string category, int x, int y)

Send a click event name. Event can have extra details with category and click coordinates x and y.


sendScreenView(string name, string contextKey, double contextValue)

This is an overloaded function.

Send a screen view event name with additional context data. Additional context data can be sent as a key/value pair in contextKey and contextValue.


sendScreenView(string name)

Send a screen view event name.


startNewSession()

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


© 2023 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.