Wulf submitted a new resource:
Analytics - Real-time collection and reporting of player locations on connect to Google Analytics
Read more about this resource...
Analytics
Moved
Total Downloads: 614 - First Release: Oct 24, 2014 - Last Update: Sep 13, 2017
- 4.8/5, 10 likes
-
Wulf Community Admin
-
Nice!!!
Love your "or" logic line in the loaddefaultconfig. Didn't realize LUA would handle that![DOUBLEPOST=1414163882][/DOUBLEPOST]Code:[Oxide] 10:15 AM [Error] analytics: [string "analytics.lua"]:35: attempt to concatenate field 'hostname' (a nil value) at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
Last edited by a moderator: Oct 24, 2014 -
How are the player locations displayed in the analytic's?
-
Wulf Community Admin
-
Wulf not sure if you have seen this error but Analytics is choking on the url for the game. It was working fine until Friday's server update. Now it will resolve the url properly.
Cannot resolve default URL
Have you experienced this? -
Wulf Community Admin
-
-
Wulf Community Admin
-
-
-
Is this bust then? I've just installed it on my server but the apparently the tracking code isn't installed (have waited a few hours, maybe I'm being impatient?)
Also if this DOES start working, what kind of statistical feedback can I expect? Do features like Real Time overviews work with this? -
Wulf Community Admin
-
-
Wulf Community Admin
-
-
Does it works with the 2.0.229 ?
I didn't see something on my Realtime Report. I tried both with Website/Mobile Apps tracking ID.
I put debug to true and I get this:
2:07 PM [Info] [Analytics] Request URL: https://ssl.google-analytics.com/collect?v=1
2:07 PM [Info] [Analytics] Request data: &tid=<secret>&sc=end&cid=76561198041668383&uip=<secret>&ua=2.0&dp=(FR) Protoxyde-Gaming - Admin/Airdrops/PvP/PvE - 24/01&t=pageview
2:07 PM [Info] [Analytics] Response: GIF89a
2:07 PM [Info] [Analytics] HTTP code: 200
Thanks for reply :3 -
Wulf Community Admin
-
Weird, I am on my server and :
I don't know why :'( -
Wulf Community Admin
-
I was wondering if it was this. I'll edit your code quick to see if this is an issue with server name.
I edited this line:
.. "&dp=Protoxyde-Gaming" --.. global.server.hostname
And it still doesn't work. I don't know what it's going wrong
[DOUBLEPOST=1422552464][/DOUBLEPOST]It seems to work. Weird. Maybe delay or something like this. Thanks for help anywayLast edited by a moderator: Jan 29, 2015