IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

InsightTracker QML Type

Provides an interface to the Qt Insight Tracker.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

InsightTracker QML Type

  • Import Statement: import QtInsightTracker 6.5

  • Instantiates:: QInsightTracker

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)

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

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.

sendScreenView(string name)

Send a screen view event name.

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.

startNewSession()

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

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+