Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to use Google Analytics in my Qt application?
Forum Updated to NodeBB v4.3 + New Features

How to use Google Analytics in my Qt application?

Scheduled Pinned Locked Moved Solved General and Desktop
13 Posts 3 Posters 4.0k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Galbarad
    wrote on 8 Sept 2016, 11:23 last edited by
    #1

    I found that Google Analytic has simple api and I use it in my Qt game for mobile platform
    At final I have class that allow send even and screen view from qml
    please enjoy https://github.com/SteelProgramming/QtGoogleAnalytics
    also my game if you interested)
    https://play.google.com/store/apps/details?id=net.is.games.CatchTheGhost
    thanks for your time
    good luck

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 8 Sept 2016, 11:32 last edited by
      #2

      Hi and welcome
      Thank you for sharing.

      The game looks really nice!

      1 Reply Last reply
      0
      • G Offline
        G Offline
        Galbarad
        wrote on 8 Sept 2016, 11:56 last edited by
        #3

        thank you very much)
        I will be use GA in my next game so project will grow

        M 1 Reply Last reply 8 Sept 2016, 11:58
        1
        • G Galbarad
          8 Sept 2016, 11:56

          thank you very much)
          I will be use GA in my next game so project will grow

          M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 8 Sept 2016, 11:58 last edited by
          #4

          @Galbarad
          Is it QML or c++? or both?

          1 Reply Last reply
          0
          • G Offline
            G Offline
            Galbarad
            wrote on 8 Sept 2016, 12:01 last edited by
            #5

            C++ core (position calculation and interaction between objects) and Qml visualization part (Particles and Image)

            M 1 Reply Last reply 8 Sept 2016, 12:03
            0
            • G Galbarad
              8 Sept 2016, 12:01

              C++ core (position calculation and interaction between objects) and Qml visualization part (Particles and Image)

              M Offline
              M Offline
              mrjj
              Lifetime Qt Champion
              wrote on 8 Sept 2016, 12:03 last edited by
              #6

              @Galbarad
              Ok. cool. a hybrid.
              I assume the game is closed source?

              1 Reply Last reply
              0
              • G Offline
                G Offline
                Galbarad
                wrote on 8 Sept 2016, 13:17 last edited by
                #7

                nope, it's open source, but code is little dirty)
                take https://drive.google.com/open?id=0B_sjcKIz2wKGNm9FNE9mLVR0MXc
                in case some question or proposes please contact)

                M 1 Reply Last reply 8 Sept 2016, 13:19
                1
                • G Galbarad
                  8 Sept 2016, 13:17

                  nope, it's open source, but code is little dirty)
                  take https://drive.google.com/open?id=0B_sjcKIz2wKGNm9FNE9mLVR0MXc
                  in case some question or proposes please contact)

                  M Offline
                  M Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on 8 Sept 2016, 13:19 last edited by
                  #8

                  @Galbarad
                  Oh that is so nice.
                  Dont worry. Its great for beginners with a complete project and they will
                  have no clue even if code is little dirty :)
                  Very thank you for sharing.

                  1 Reply Last reply
                  0
                  • G Offline
                    G Offline
                    Galbarad
                    wrote on 8 Sept 2016, 13:23 last edited by
                    #9

                    welcome)
                    right now I'm writing new game Dragon's Fire)
                    all login will be on Qml side and C++ core only for interaction with server and loading levels
                    hope I found 2D artist for this game)

                    M 1 Reply Last reply 8 Sept 2016, 13:27
                    0
                    • G Galbarad
                      8 Sept 2016, 13:23

                      welcome)
                      right now I'm writing new game Dragon's Fire)
                      all login will be on Qml side and C++ core only for interaction with server and loading levels
                      hope I found 2D artist for this game)

                      M Offline
                      M Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on 8 Sept 2016, 13:27 last edited by
                      #10

                      @Galbarad
                      sounds like RPG ;)
                      Happy programming!

                      1 Reply Last reply
                      0
                      • G Offline
                        G Offline
                        Galbarad
                        wrote on 8 Sept 2016, 13:28 last edited by
                        #11

                        thank you)

                        1 Reply Last reply
                        0
                        • G Offline
                          G Offline
                          Galbarad
                          wrote on 30 Sept 2019, 14:02 last edited by
                          #12

                          best way to use Google Analytics in Qt is
                          https://github.com/Larpon/QtFirebase

                          1 Reply Last reply
                          2
                          • H Offline
                            H Offline
                            Hitokage
                            wrote on 12 Aug 2022, 08:33 last edited by
                            #13

                            While the mentioned solutions might work, Google now introduced a new API GA4 and the old one will probably be deprecated later. Firebase is a good way to go but for someone like me, who just needs some basic events reported it's way too big. I ended up writing my own very simple library for sending events with GA4. It's here if anybody is interested.

                            1 Reply Last reply
                            1

                            • Login

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • Users
                            • Groups
                            • Search
                            • Get Qt Extensions
                            • Unsolved