@@ -945,7 +945,13 @@ def send_email():
945945 )(send_email )()
946946
947947 def start_share_onboarding_details_with_baserow (
948- self , user , team : str , role : str , size : str , country : str
948+ self ,
949+ user ,
950+ team : str ,
951+ role : str ,
952+ size : str ,
953+ country : str ,
954+ how : str ,
949955 ):
950956 """
951957 Starts a celery task that shares some user information with baserow.io. Note
@@ -962,10 +968,17 @@ def start_share_onboarding_details_with_baserow(
962968 email = user .email
963969
964970 share_onboarding_details_with_baserow .delay (
965- email = email , team = team , role = role , size = size , country = country
971+ email = email ,
972+ team = team ,
973+ role = role ,
974+ size = size ,
975+ country = country ,
976+ how = how ,
966977 )
967978
968- def share_onboarding_details_with_baserow (self , email , team , role , size , country ):
979+ def share_onboarding_details_with_baserow (
980+ self , email , team , role , size , country , how
981+ ):
969982 """
970983 Makes an API request to baserow.io that shares the additional information. Note
971984 that this is only triggered if the user given permission during the onboarding
@@ -975,6 +988,7 @@ def share_onboarding_details_with_baserow(self, email, team, role, size, country
975988 :param role: The role that the user shared.
976989 :param size: The company size that the user shared.
977990 :param country: The country name that the user shared.
991+ :param how: How the user found Baserow.
978992 """
979993
980994 settings_object = CoreHandler ().get_settings ()
@@ -990,6 +1004,7 @@ def share_onboarding_details_with_baserow(self, email, team, role, size, country
9901004 "size" : size ,
9911005 "country" : country ,
9921006 "email" : email ,
1007+ "how" : how ,
9931008 "instance_id" : settings_object .instance_id ,
9941009 },
9951010 timeout = settings .ADDITIONAL_INFORMATION_TIMEOUT_SECONDS ,
0 commit comments