[ProtoTools] Google Analytics Tracking

nerdmor

Veteran
Veteran
Joined
Jul 17, 2015
Messages
40
Reaction score
18
First Language
Portuguese
Primarily Uses
Have you ever wanted to know how many people are playing your game? Ever wanted to know what paths they take, what secrets they find, what choices they make? Then this plugin is for you!


 


ProtoTools_GoogleAnalytics allows you to send information from your game directly to Google Analytics, where you can study it to find ways to improve your game.


 


Download it Here


 


 


Features:


  • Allows for tracking of screens and events
  • Works both on deployed or web games
  • Should work on every plataform (Tested on Windows and Web)
  • Automatically tracks maps
  • Allows for manual tracking of desired events


 


Installation:


  1. As usual, download the plugin and put it in your project's plugin folder
  2. Go to https://analytics.google.com and create a free Google Analytics account.

    When setting up your account, set the track as "mobile app"
  3. Give your account name something that describes your company/group
  4. Set up your game's name
  5. /monthly_2016_01/analytics1.png.f11928eb35d215f23a6689ca989ca66f.png">
    Also set up your country and timezone
    analytics1.png



     

[*]/monthly_2016_01/analytics2.png.157258c02adac5472aaa0f97beeca5c5.png">
After accepting the terms and conditions, in the next screen, Google Analytics will give you a Tracking ID. Take note of it.
analytics2.png





 

[*]/monthly_2016_01/analytics3.png.54ea7ad40632c5255c67108c6217dbb3.png">
In the plugin configuration, fill the parameter "trackingId" with the tracking ID provided by Google Analytics
analytics3.png



 

[*]Done!


 




Configuration:


The only parameter that needs to be set is the TrackingId. However, the following ones can be used to customize your tracking:


  • userPerSave: by default, the plugin tracks every installation or instance of the game as a different user. If you think, however, that every savefile should be treated as a different user, simply change this value to "1"
  • trackTitle: by defult, the plugin will send a screen named "title" whenever a user gets to the title screen. If you do not want that to happen, change this value to "0"
  • autoMapTrack: by default, the plugin will send every map name as a screen view when the map is opened. If you want to change that and send your screens manually, change this to "0"
  • mapPrefix: whenever the plugin sends an automatic map view, it will prefix it with this string. eg: a map named "The village in" will be sent as "maps/the village inn"


 


Usage:


The plugin will track maps and the title as screens (see configuration). If you want to track specific things manually, you can use these commands:


  • protoGA screen "[screen description]"

     
  • This will send a screen view with [screen description] as a parameter. Quotes are mandatory. Supports the same Control Characters as normal messages in the game
  • eg:

    protoGA screen "the village inn"
  • protoGA screen "dungeon 1/secret room"
  • protoGA screen "\N[1] house"
     


[*]protoGA event "[event category]" "[event action]" "[event label]" "[event value]" "[noninteraction]"

  •  
  • This will send an event with the parameters above. Please note that all parameters are mandatory and quotes are also mandatory. Supports the same Control Characters as normal messages in the game.
  • "noninteraction" should only be sent as "true" when the event is being sent without the player doing anything
  • eg:

    protoGA event "first dungeon" "open door" "secret door" "0" "false"
  • protoGA event "second boss" "start fight" "-" "0" "false"
  • protoGA event "main village" "Got gold" "\V[1]" "0" "false"
  • protoGA event "stone" "stepped over" "-" "0" "true"



 


References:





For more information on how Google Analytics tracks data, please contact me here, or on Twitter @nerdmor or visit:


For generic information on Google Analytics:


https://analytics.google.com


https://www.google.com/intl/en/analytics/standard/


https://analyticsacademy.withgoogle.com/course02


https://developers.google.com/analytics/devguides/collection/protocol/v1/


For specific information on App Tracking:


https://developers.google.com/analytics/devguides/collection/analyticsjs/screens


 


 


Thanks:


Hime, for inspiring me to do out-of-the-box plugins that anyone could use


RPGMaker community, for being so supportive


Archeia, for making the references that I use all the time




 


 


License:


This plugin is free for commercial and non-commercial use. If you use this plugin, add a reference to me with "Analytics plugin by @nerdmor"
 
Last edited by a moderator:

NeoPGX

~ King of Cuteness ~
Veteran
Joined
May 15, 2014
Messages
847
Reaction score
175
First Language
English (US)
Primarily Uses
N/A
When I visit the download link dropbox tells me the file cannot be found. Can you please reupload it?
 

Kane Hart

Elmlor.com
Veteran
Joined
Jun 27, 2014
Messages
656
Reaction score
166
First Language
English
Yeah I never saw this. I would and could use this myself too please :)
 

Arise

Veteran
Veteran
Joined
Aug 31, 2016
Messages
132
Reaction score
19
Primarily Uses
The download link is no longer working, if anybody has this plugin please share it.

Thanks!
 

Jonforum

Veteran
Veteran
Joined
Mar 28, 2016
Messages
1,623
Reaction score
1,439
First Language
French
Primarily Uses
RMMV
interesting tricks
 

Not_Important

Warper
Member
Joined
May 12, 2020
Messages
4
Reaction score
0
First Language
English
Primarily Uses
RMXP
The link is dead please upload it again!
I would love to have this in my game!
 

Not_Important

Warper
Member
Joined
May 12, 2020
Messages
4
Reaction score
0
First Language
English
Primarily Uses
RMXP
I guessed as much, but just in case, I wanted to ask, maybe even if someone has it
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,072
Members
137,578
Latest member
JamesLightning
Top