Tour triggered by

Tour trigger funnel conditions are useful for situations where you want different funnel conditions depending on where the tour is being triggered from (Auto Start, checklists and tour links). In this example we are going to explore how have a tour Auto Start to users who have joined in the last x days, but always show in checklists or when accessed via a tour link.

1. Pass date user signed up to HelpHero

In this example we are going to pass a createdAt date user property to HelpHero. Learn more.

  // assumes user object with id (string or number) and createdAt (Date) exists in scope
  // the implementation will varying depending on your development setup
  HelpHero.identify(, { createdAt: user.createdAt }); 
Note: this code will vary depending on the server language and frameworks you are using. Please consult with your development team and get in touch if you need more information.

2. Setup a funnel

Now that HelpHero knows about this new user property you can setup tours to only show if the user signed up within the last 7 days OR tour is not being triggered by Auto Start.