Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Allow disabling Google Analytics

Open nevson opened this issue 11 years ago • 11 comments

I know it's very important during early stage of development to get deep insight into how your app gets used so it's understandable that Google Analytics is activated by default. But as I want to run Rocket Chat within my own intranet I want to avoid any user behavior tracking as it might reveal sensitive data.

Would it be possible to add an option to disable GA as page admin or to exclude it during build time?

nevson avatar Jun 22 '15 17:06 nevson

You are right. I am building an ADMIN page, on /settings and that is one of the options we plan to have there. Not just to turn it off, but to add your own if you want.

engelgabriel avatar Jun 22 '15 19:06 engelgabriel

Awesome, looking forward to it :)

nevson avatar Jun 23 '15 05:06 nevson

Depends on #222

engelgabriel avatar Jun 30 '15 18:06 engelgabriel

+1

mhkeller avatar Jul 01 '15 16:07 mhkeller

How about "if undefined = disabled"? I think it's disabled when you don't have anything set, is a little bit strange. Just UX things, you know.

AdrianoCahete avatar Jul 06 '15 03:07 AdrianoCahete

Google Analytics is now configured via Admin interface and the ID is stored on the DB

engelgabriel avatar Aug 19 '15 00:08 engelgabriel

How do you enable Google Analytics from the Admin interface? Where do you put the code?

Syirrus avatar May 02 '16 09:05 Syirrus

Administration -> General -> Google Tag Manager Id

engelgabriel avatar May 02 '16 12:05 engelgabriel

The Google Tag Manager field should accept the following? GTM-XXXX

Is that correct?

Syirrus avatar May 02 '16 12:05 Syirrus

Yes

engelgabriel avatar May 02 '16 12:05 engelgabriel

@engelgabriel Thank you very much. I was able to add it and I have verified that things are working. I notice that my analytics (real-time) don't update unless I refresh the pages with inside Rocket.Chat (I'm using the web version and hitting the refresh button to see real-time page views).

If you have an idea, please let me know and thank you again for helping me.

Syirrus avatar May 02 '16 13:05 Syirrus