RosaryMala / armok-vision

A 3d realtime visualizer for Dwarf Fortress
MIT License
320 stars 27 forks source link

Add Custom Analytics #47

Closed Fl00f closed 7 years ago

Fl00f commented 7 years ago

Added @JapaMala as a user to the Analytics account with all rights. (let me know if you have any issues seeing anything). Changed the Tracking code for the correct Armok-Vision account. Rather than doing a bunch of fancy stuff I just created an extension to GoogleAnalyticsV4 (can be called as such GoogleAnalyticsV4.instance.SendDeviceData(string, string)). You will need to supply the DF Version and plugin version yourself and the rest of the device info will be populated. Of course this can be moved to some place you feel more appropriate but at the moment it resides in the GATest script. I'd sugest calling this method at least once at the beginning of each session to keep data up to date.

Created two dashboard for easy access. One with basic user into and another for custom events.

Fl00f commented 7 years ago

Also of note: before you push a new version of the app you will need to update the GAv4 prefab to reflect the current version. That is the location that GA will get the AV version from. If that is not updated then the data will be off.

RosaryMala commented 7 years ago

I'll modify it to get the version from the same place as everywhere else.

On Apr 3, 2017 10:56 PM, "James Robinson" notifications@github.com wrote:

Also of note: before you push a new version of the app you will need to update the GAv4 prefab to reflect the current version. That is the location that GA will get the AV version from. If that is not updated then the data will be off.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/JapaMala/armok-vision/pull/47#issuecomment-291213312, or mute the thread https://github.com/notifications/unsubscribe-auth/AARm3fqCdCk19MoZrutmWQetl5cyDNVeks5rsSu4gaJpZM4MxBtq .