Skip to content

Commit

Permalink
Add try beta usersnap event
Browse files Browse the repository at this point in the history
  • Loading branch information
ggarcia committed May 10, 2023
1 parent 8aac47f commit ef43e5a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/pages/HomePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import QuestionStepper from "@/src/components/QuestionStepper";
import AlertBannerList from "@/src/components/AlertBannerList";
import ScreenReader from "@/src/components/ScreenReader";
import {goToPersonalisationNextPath} from "@/src/utils/routing"
import { usersnapFireEvent } from "@/helpers/usersnap.helpers.js"

const LOGO = "/images/ask-izzy-logo-single-line-yellow.svg";

Expand All @@ -31,6 +32,7 @@ function HomePage(): ReactNode {
const savedSearchText = storage.getSearch();
savedSearchText && setInitialSearchText(savedSearchText)
resetDfvOptions();
usersnapFireEvent("try-beta")
}, [])

const onSearchSubmit = (searchText): void => {
Expand Down

0 comments on commit ef43e5a

Please sign in to comment.