Skip to content

Commit

Permalink
Merge branch 'add-beta-pop-up' into 'master'
Browse files Browse the repository at this point in the history
Add try beta usersnap event

See merge request developers/ask-izzy!641
  • Loading branch information
George Garcia committed May 11, 2023
2 parents 8aac47f + ef43e5a commit 43ab0bd
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 43ab0bd

Please sign in to comment.