Triggers & frequency
Choose where a tour can start, what starts it and how often one person sees it. It's all in the tour's Who and when settings.
On this page
Where
Set the page a tour starts on, and how to match it:
- Only this page: the address must match exactly.
- This page and pages under it:
/settingsalso matches/settings/billing. - Pattern: use
*for any part, like/projects/*/edit.
When it starts
| Trigger | Starts when |
|---|---|
| When the page loads | someone opens a matching page. |
| When they click something | someone clicks a button or link you picked in the extension. |
| When your app sends an event | your code calls driverStudio.track('event_name'). |
| From your own button | your code calls driverStudio.start('tour_id'). |
Event names use letters, numbers, _, ., : or -, up to 64 characters.
JavaScript
// Starts tours set to "When your app sends an event" with this name
driverStudio.track('report_created')
// Starts one tour now, for example from a help button
driverStudio.start('tour_8d1k2')How often
| Option | One person sees it |
|---|---|
| Once | one time, ever. |
| Once per visit | once per visit, in every tab. A visit ends after 30 minutes without activity. |
| Every time | whenever the trigger happens. A tour started on page load and closed stays closed until they go to another page. |
| Again after a while | again after the gap you pick: 1 to 365 days, weeks or months. |
start() ignores How often, so your own help button always works. Pass { force: false } if you want it to follow the tour's rule.