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

Add setting for Google Analytics

Open jy2008 opened this issue 9 years ago • 4 comments

Let's have a setting for admins to add Google Analytics ID, as not everyone has Google Tag Manager.

Also, let's move the GTM script to the index.html injection, so it is already available before users finish loading the JS.

jy2008 avatar Feb 08 '17 17:02 jy2008

@jy2008 You can put the Google Tag Manager Id on the /admin/General

engelgabriel avatar Feb 08 '17 18:02 engelgabriel

@RocketChat/core What you guys think about that? We really need this?

@jy2008 you can put your Google Analytics script in Admin > Layout > Custom Scripts

karlprieb avatar Feb 14 '17 15:02 karlprieb

Yes. I think we need to convert the piwik package to a generic analytics item and add support to it for Google Analytics.

graywolf336 avatar Feb 14 '17 15:02 graywolf336

From your reply, i take it as RC currently only has entry for Google tag manager, but not google analytics?

jy2008 avatar Feb 14 '17 18:02 jy2008