diff --git a/lib/common/session_model.dart b/lib/common/session_model.dart index 128c4d5af..21f8456b3 100644 --- a/lib/common/session_model.dart +++ b/lib/common/session_model.dart @@ -618,8 +618,8 @@ class SessionModel extends Model { } Future trackUserAction( - String name, [ - String url = '', + String name, + String url, [ String title = '', ]) async { if (isMobile()) { diff --git a/lib/messaging/onboarding/welcome.dart b/lib/messaging/onboarding/welcome.dart index 24155e93d..0832ae54c 100644 --- a/lib/messaging/onboarding/welcome.dart +++ b/lib/messaging/onboarding/welcome.dart @@ -54,7 +54,7 @@ class Welcome extends StatelessWidget { text: 'get_started'.i18n, onPressed: () async { await messagingModel.start(); - await sessionModel.trackUserAction('Started using Lantern Chat'); + await sessionModel.trackUserAction('User started using Lantern Chat', '/chat'); await context.router.push(const ChatNumberMessaging()); }, ),