Added Google Analytics (#749)

This commit is contained in:
farhatahmad
2019-08-19 08:51:57 -04:00
committed by Jesus Federico
parent c31cf17b22
commit 96ace3265e
4 changed files with 24 additions and 0 deletions

View File

@ -116,6 +116,8 @@ module Greenlight
# Enum containing the different possible registration methods
config.registration_methods = { open: "0", invite: "1", approval: "2" }
config.google_analytics = ENV["GOOGLE_ANALYTICS_TRACKING_ID"].present?
# DEFAULTS
# Default branding image if the user does not specify one