@ravti/analytics
Advanced tools
Comparing version 21.4.0-beta.2 to 21.4.0-beta.3
{ | ||
"name": "@ravti/analytics", | ||
"version": "21.4.0-beta.2", | ||
"version": "21.4.0-beta.3", | ||
"description": "Ravti analytics", | ||
@@ -5,0 +5,0 @@ "main": "analytics.js", |
@@ -89,4 +89,4 @@ /* global window */ | ||
group_memberships: userData.get("group_memberships"), | ||
name: `${userData.get("first_name")} ${userData.get("last_name")}`, | ||
phone: userData.get("phone_number"), | ||
name: userData.get("name", null) || `${userData.get("first_name")} ${userData.get("last_name")}`, | ||
phone: userData.get("phone_number", null) || userData.get("phone", null), | ||
user_id: userData.get("id"), | ||
@@ -93,0 +93,0 @@ user_type: userType, |
9520