Skip to content

Commit

Permalink
update event name
Browse files Browse the repository at this point in the history
  • Loading branch information
atavism committed Jun 12, 2024
1 parent 6286d09 commit be2bb0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/common/session_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -618,8 +618,8 @@ class SessionModel extends Model {
}

Future<void> trackUserAction(
String name, [
String url = '',
String name,
String url, [
String title = '',
]) async {
if (isMobile()) {
Expand Down
2 changes: 1 addition & 1 deletion lib/messaging/onboarding/welcome.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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());
},
),
Expand Down

0 comments on commit be2bb0b

Please sign in to comment.