How to use Google Analytics in my Qt application?
-
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 -
Hi and welcome
Thank you for sharing.The game looks really nice!
-
C++ core (position calculation and interaction between objects) and Qml visualization part (Particles and Image)
-
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) -
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) -
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) -
best way to use Google Analytics in Qt is
https://github.com/Larpon/QtFirebase -
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.