Add setting for Google Analytics
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 You can put the Google Tag Manager Id on the /admin/General
@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
Yes. I think we need to convert the piwik package to a generic analytics item and add support to it for Google Analytics.
From your reply, i take it as RC currently only has entry for Google tag manager, but not google analytics?