Improve Your Cross-Platform Apps & Games with the New Google Analytics Qt Plugin

By Christian

The new Google Analytics Qt Plugin allows you to improve your app or game with insights how your users are using your app.


You get live data how often users open your app, how long they use it and how often they return (retention). It also gives you insights into your app’s audience. This includes information about the platform and OS version used or from which countries your users come from.

You can then use this information and improve your product. If you see for example 80% of your users are leaving in the third level, making this level easier will improve the time spent in your game and improve the revenue potential.

The best thing is, the Qt Google Analytics plugin works cross-platform: with a single code base you can analyze iOS, Android, Windows and Mac OS X.


Google Analytics Qt Integration

Its integration takes just 3 lines of code – in this example you can see how a screen open and a button click can be analyzed:

import QtQuick 2.2
import VPlay 2.0
import VPlayPlugins.googleanalytics 1.0

GameWindow {
  GoogleAnalytics {
    id: ga

    // you get licenseKeys for your games for free with a V-Play license
    // get your key here: www.v-play.net/license/plugins
    licenseKey: "<your-plugin-license-key>"

    // Property tracking ID from Google Analytics Dashboard
    // receive yours from www.google.com/analytics
    propertyId: "UA-32264673-5"

  Scene {
    Column {
      ButtonVPlay {
        text: "Log Profile Screen"
        onClicked: ga.logScreen("Profile Page")
      ButtonVPlay {
        text: "Log Button Clicked Event"
        onClicked: ga.logEvent("User Action", "Button Clicked")

Download Google Analytics

As a V-Play Indie, Studio or Enterprise customer, you get the plugin for free and can start improving your game today:

Download Google Analytics Qt Plugin


To test the plugin, you can also try the Google Analytics Github Sample and learn more about it in the documentation.


Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support