Improved Google Analytics Module

[quote] Does httpservice add onto the throttling limits of site services like marketplaceservice checking and datastores? [/quote]I believe httpservice has it’s own linit. 500 a minute I believe.

Am I doing this right:

Put this model in the game: (edit: I actually took the model and made the code below just require() it directly)

  1. http://www.roblox.com/Nicks-Google-Analytics-item?id=171763666

  2. Put this code in a server script (and replace the UA tracking ID):

[code]if( game.PlaceId > 0 )then
–local GA = require(game:GetService(“InsertService”):LoadAsset(171763666).MainModule)
local mainmodule = script.Parent:WaitForChild’MainModule’
local GA = require(mainmodule)

GA.Init("UAblahblah") --Your unique ID
print("Analytics Fired")

end[/code]

  1. Insert/Turn on HttpService’s HttpEnabled

  2. Then just wait like a day for google analytics to finally output this stuff in graphs for my new tracking ID?

[quote] Am I doing this right:

Put this model in the game: (edit: I actually took the model and made the code below just require() it directly)

  1. http://www.roblox.com/Nicks-Google-Analytics-item?id=171763666

  2. Put this code in a server script (and replace the UA tracking ID):

[code]if( game.PlaceId > 0 )then
–local GA = require(game:GetService(“InsertService”):LoadAsset(171763666).MainModule)
local mainmodule = script.Parent:WaitForChild’MainModule’
local GA = require(mainmodule)

GA.Init("UAblahblah") --Your unique ID
print("Analytics Fired")

end[/code]

  1. Insert/Turn on HttpService’s HttpEnabled

  2. Then just wait like a day for google analytics to finally output this stuff in graphs for my new tracking ID? [/quote]

I don’t recommend not having it insert the module; you won’t get any fixes or updates :stuck_out_tongue:

As long as you aren’t getting any errors, that should work.

Because I’m dumb when it comes to Google Analytics, how do I set this up the same was as in the OP?
Or does the script automatically do that?
I’m lost…

I have this but I don’t know what to do:

Um, i’m not quit sure how to get the places and the logs, if the game is no longer running, but i know how to see it, when 1 person is playing, i go to real time stats.

Gosh; now I have to teach people what the wiki article tried teaching me :stuck_out_tongue:

  1. Click all website data
  2. Click behavior, then events, then overview (Things will take awhile to show up here. However, it will have a more complete view of what has happened in your game)

  1. Click view full report at the bottom right.
  1. Click the place id and version you want to look at.
  2. Click event label to see the event labels.
  1. Profit???