Google analytics in Valheim?

So im checking the debugg file and found this:

Initializing Google Analytics 0.2.
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

what is this?

you can find it at
C:\Users\USERNAME\AppData\LocalLow\IronGate\Valheim

file Player.log
8:13 pm, May 24, 2023
Love From Mike 0 comments 0 likes

Sophisticated Gumi-chan replied to Google analytics in Valheim? May 24, 2023 @ 12:03:53 pm PDT

I found this when looking through the code. It's used in the following areas:

Player Death.
Player places a piece in the world.
Player gets a recipe.
Player earns a skill point.
Player has a status applied to them.
Player turns on cheats.
Player gives feedback to the devs directly.
Player opens or closes the inventory menu.
Player crafted an item.
Player opens the Skills/Text/Trophies/Variation menu.
Player enters the main menu.
Player opens the settings menu.
Player quits the game.
Player clicks the logout button.
Player buys or sells an item.
Player starts the game. (Sends game version, Steam ID)
Player starts a game.
Player creates a new world.
Player starts the new world.
Player enters/exists the character selection menu.
Player joins a game or server.
Player enters/exits the credits screen.
Game is awoken from sleep. (ALT+TAB'd?)
Player talks to the Raven.
A ship is destroyed.
A Vegvisir is interacted with. (The location is also sent)
The game crashes.

None of this seems bad at face value, but they haven't disclosed they do this. If you want, you can hook the GoogleAnalyticsV4:LogEvent function and replace the first opcode with RET so you don't emit any analytics, or you can use dnSpy to rewrite the LogEvent function to do nothing, the DLL is called assembly_googleanalytics.dll. There's functions exposed by the Google API itself to allow users to opt out, but none of it is implemented by Valheim itself. The tracker ID is GbOCSs. They are also not using Anonymize IP, which you can't even set, they've put some kind of protection on it. I had to manually pull the value just to even see it with Cheat Engine. If you try to access anonymizeIP you get an access exception, and even if I use reflection, it gets an access exception.
8:13 pm, May 24, 2023
0 comments 0 likes

Silence replied to Google analytics in Valheim? May 24, 2023 @ 12:47:58 pm PDT

lets go lawsuit lawsuit
8:13 pm, May 24, 2023
0 comments 0 likes

Faceplant8 replied to Google analytics in Valheim? May 24, 2023 @ 1:10:39 pm PDT

Have you checked to see if it is actually being used? You necro'd a very old post, and it looks like it might have been disabled long ago:

https://store.steampowered.com/news/app/892970?emclan=103582791463217109&emgid=3058478454616470248
8:13 pm, May 24, 2023
0 comments 0 likes

Glacier replied to Google analytics in Valheim? February 14, 2021 @ 11:36:10 pm PDT

maybe because it is important for devs to analyze the player's behaviour? Not the first and wont be the last devs who do that.

example: https://strobotnik.com/unity/googleuniversalanalytics/

It's even used inside of steam
https://partner.steamgames.com/doc/marketing/google_analytics

Or here:
https://steamcommunity.com/app/612470/discussions/0/1291817208499278648/?l=english
8:13 pm, May 24, 2023
0 comments 0 likes

Love From Mike replied to Google analytics in Valheim? February 15, 2021 @ 2:18:55 am PDT

Originally posted by Sµbby:
maybe because it is important for devs to analyze the player's behaviour? Not the first and wont be the last devs who do that.

example: https://strobotnik.com/unity/googleuniversalanalytics/

It's even used inside of steam
https://partner.steamgames.com/doc/marketing/google_analytics

Or here:
https://steamcommunity.com/app/612470/discussions/0/1291817208499278648/?l=english

i do belive they have to add an agreement to that, adding such features without telling enyone would be illegal as i have not accepted such agreement enywhere.

*Adding a disable feature for tracking like Generation Zero has should be an option.
8:13 pm, May 24, 2023
0 comments 0 likes

Requimatic replied to Google analytics in Valheim? February 15, 2021 @ 2:26:56 am PDT

It's probably almost entirely used for PC metrics; so they can better see where (if anywhere) their software is performing poorly, in an attempt to keep things running smoothly for all.. as much as they can, anyway.

I sincerely doubt the game is going to report on your amazon searches or something silly.
8:13 pm, May 24, 2023
0 comments 0 likes

Love From Mike replied to Google analytics in Valheim? February 15, 2021 @ 2:36:17 am PDT

Originally posted by Requimatic:
It's probably almost entirely used for PC metrics; so they can better see where (if anywhere) their software is performing poorly, in an attempt to keep things running smoothly for all.. as much as they can, anyway.

I sincerely doubt the game is going to report on your amazon searches or something silly.

Nowdays it's important to think on what agreement you sign into, specially when it says Google, so as the dev replied to someonelse, that they don't have access to the data, surely Google has access to it?

I don't understand why this has not been posted enywhere, usually when the game is tracking someone there is always an window popping up to agree to it, where is that?

8:13 pm, May 24, 2023
0 comments 0 likes

Adept replied to Google analytics in Valheim? February 15, 2021 @ 7:16:43 am PDT

Originally posted by CreativeHuckleBerry:
Originally posted by Requimatic:
It's probably almost entirely used for PC metrics; so they can better see where (if anywhere) their software is performing poorly, in an attempt to keep things running smoothly for all.. as much as they can, anyway.

I sincerely doubt the game is going to report on your amazon searches or something silly.

Nowdays it's important to think on what agreement you sign into, specially when it says Google, so as the dev replied to someonelse, that they don't have access to the data, surely Google has access to it?

I don't understand why this has not been posted enywhere, usually when the game is tracking someone there is always an window popping up to agree to it, where is that?
Yeah whats up with that? I would like to know anything related to google. They collect enough of our data already.
8:13 pm, May 24, 2023
0 comments 0 likes

belthize replied to Google analytics in Valheim? February 15, 2021 @ 7:20:08 am PDT

Originally posted by CreativeHuckleBerry:
Originally posted by Sµbby:
maybe because it is important for devs to analyze the player's behaviour? Not the first and wont be the last devs who do that.

example: https://strobotnik.com/unity/googleuniversalanalytics/

It's even used inside of steam
https://partner.steamgames.com/doc/marketing/google_analytics

Or here:
https://steamcommunity.com/app/612470/discussions/0/1291817208499278648/?l=english

i do belive they have to add an agreement to that, adding such features without telling enyone would be illegal as i have not accepted such agreement enywhere.

*Adding a disable feature for tracking like Generation Zero has should be an option.

Depends on what information they're collecting. If it's data that could be used to identify you in any way then yes. If they're just gathering key clicks per second, number of times you jumped, how long it took you to make item X etc they have no such obligation.

Analytics can cover a lot of things and it makes perfect sense to use Google's analytics engine rather than writing one themselves.

EU laws are pretty strict, I'd be really shocked if they were breaching them.
8:13 pm, May 24, 2023
0 comments 0 likes