Skip to content

Commit

Permalink
fix: AI close event
Browse files Browse the repository at this point in the history
  • Loading branch information
RubenGeo committed Mar 2, 2021
1 parent ac2dae8 commit fc85fb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ export enum AnalyticsEvent {
glofasStation = 'glofas-station',
mapPlaceSelect = 'map-place-select',
leadTime = 'lead-time',
closeEvent = 'close-event',
}
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ export class ChatComponent implements OnDestroy {
this.countryService
.getCountrySubscription()
.subscribe((country: Country) => {
this.analyticsService.logEvent(AnalyticsEvent.watchVideoGuide, {
this.analyticsService.logEvent(AnalyticsEvent.closeEvent, {
page: AnalyticsPage.dashboard,
country: country.countryCodeISO3,
isActiveEvent: this.eventService.state.activeEvent,
Expand Down

0 comments on commit fc85fb3

Please sign in to comment.