track where ga signups come from

This commit is contained in:
Kyle Drake 2020-05-05 14:38:51 -07:00
parent d3dfdc850c
commit f2e0b1dba7
2 changed files with 6 additions and 1 deletions

View file

@ -58,7 +58,8 @@ post '/create' do
email: params[:email],
new_tags_string: params[:new_tags_string],
is_education: params[:is_education] == 'true' ? true : false,
ip: request.ip
ip: request.ip,
ga_adgroupid: session[:ga_adgroupid]
)
if education_whitelisted?