code: function initGA() {
    if (analyticsTrackingId) {
      ReactGA.initialize(analyticsTrackingId)
      ReactGA.set({
        appName: environment || 'Production',
        appVersion: version
      })
    }
  }
docs: Initialize Google Analytics if analytics id exists and environment is
  production