GoogleAnalyticsPlugin
The Google Analytics Plugin allows to use Google Analytics for basic statistics.
The current version tracks events like logins, quits, deads, and kills by user (for all events see here).
You can see some examples how the data is visualized in Google Analytics on the images page.
Install
Updating the data in Google Analytics can take some time, the data is not live! The first setup takes at least one day or two!
Future updates
- Setup a Google Analytics Account
- Setup a Profile for your Server on Google Analytics (You need the entered domain name and the tracking in for the configuration)
- Put the jar file in the plugin folder
- Run the plugin once to generate the default config file of the plugin
- Setup the configuration file as described here
Updating the data in Google Analytics can take some time, the data is not live! The first setup takes at least one day or two!
Future updates
- Add more events (Leave your ideas for events in the comments).
- Integrate tracking of other plugins like iConomy .
- Add an better interface for other modders, to allow them tracking events in their plugins.
If my minecraft Domain name is mc.cube-x.ca , In google Settings I should use ; http://mc.cube-x.ca ? Because this is what I used , and Still not working :S
@frozeny95
The domain name is the domain that you choosed in Google Analytics. If the plugin isn't configurated properly it disable itself at startup.
GoogleAnalyticsPlugin shows in red when I do /plugins. It seems like it is disabled.
My AU thing is entered correctly and my Domain name is my domain name for my minecraft serveur right ? Do i have any other things to set up or configure in my google settings ?
@Fox32
Actually I wasnt looking for that, Ì mas more saying that it didnt show up any connections at all in my google analystics account, only the server itself, which is from france... :) BUt i will try your new version!
@supayoshi I didn't found a good way to receive the players client version. But the client version isn't important, because only players with the same version as the server can connect. It would be more usefull to detect different clients like SpoutCraft. I will add it in the future (If I find a way to detect a SpoutCraft client without the SpoutCraft plugin).
@supayoshi
Mate I think it works ;) However....... It only registeres my server not my players XX Bukkit 1.1
@rmsy
Hey mate ;)
Im trying to set this up added my code track_events: login: true trylogin: true quit: true enter: true respawn: true kicked: true death: true kill: true enchantitem: true tame: true gamemodechange: true levelup: true analytics: server_domain: '' server_account: UA-2*743*-1 debug: false
* are hidden ;)
Will this work?
Server_domain, I ahve set non, on Google Analystics :)
This is a genius concept. Purely awesome.
That would only be possible if I save information of the players on the local server. But that is not planned for the plugin.
But you can fully disable the TryLogin event in your config.
Is there a possibility to check for logins only if the person was inGame for x minutes?
because I have OKB3 running... and GoogleAnalytics logs every user that wants/tries to login for the first time, even if he gets blocked by OKB3.
After he got blocked after his first login his login-attempts are logged as Login-Tries in GA. But those first-login-triers are a bit annoying because I have to check everyone of them if its been a real player or not.
@Fox32 Thank you. I can see the events now. I though it would take effect immediately. Thank you. :P
I am really amazed that someone finally made a link between google analytics and bukkit! Thank yo for that Fox!
I have some suggestions of course. :) iConomy or economy support in general so you could find out how many money players have and what they spend etc. Eventually also displaying the total amount of money there is in the game etc.
It's not important what you choose, you only need the tracking id like MO-XXXXXXXX-X
WHen I Select MO version, it asks:
A site built for a mobile phone Select your mobile site's server-side language PHP Perl JSP ASPX
What should I select? PHP?
You can replace the UA in your tracking code by MO. How long did you wait? I takes up to 2 days... Did someone entered your server in this time (if not, no data is received by analytics)?
I am new to Google Analytics. After create a Google Analytics account, configuration and reload, Tracking Status is still Tracking Not Installed . :( Why? Because my account is UA? What does it mean?
Wow! Must of been a pain to code -.-
"says something about to many files open" doesn't help me. I need the exact message, your bukkit version, and a list of your plugins would be good, too. On the other hand, the plugin doesn't open any files?
But I have an idea what could cause the problem. How many players play on your server? I will update the plugin after a new stable release of bukkit is available.
right before my server crahses, google analytics plugin says something about to many files open (abnout 30 times per second)
I don't have time to write one, but there should be tons of tutorials available.