Skip to content
FunnelGuard

FunnelGuard guide

Journeys

How do journeys work?

A journey is a list of steps a robot repeats, such as open the contact page, fill the fields and submit. Discovery proposes journeys for forms, checkouts, bookings and chat buttons; you can also build them by clicking a screenshot. Each step stores several ways to find its element, so small redesigns don't break it.

A journey is one path a customer takes to give your client money or contact details, written down as steps a robot can repeat. FunnelGuard runs each journey on a schedule and checks every step and every tracking event along the way.

What a journey is

Think of a journey as a short script: "open the landing page, type a name and email into the form, press Send, check the thank-you message appears". Each journey belongs to one site and has:

Every run starts in a fresh browser with no cookies or history, so it behaves like a first-time visitor. The entry URL gets the journey's UTM parameters, made-up ad click IDs (such as gclid and fbclid) and the test markers, so the visit looks like a click on an ad without anyone clicking a real ad.

Funnel types and presets

Discovery recognises these funnels and proposes a journey with the right steps and checks for each. You can also build any of them by hand.

FunnelWhat the journey does and checks
Lead formFills the main form with test data, submits it and checks the success state, the lead events (GA4 generate_lead, Meta Lead, Google Ads conversion, if those tags are on the site) and, if set up, that the lead reached the inbox or CRM.
Quiz funnelAnswers every question with the first option, then fills the contact details and submits. Different branches can be separate journeys.
Webinar registrationRegisters with test data and checks the confirmation email (with its join link) and the calendar invite.
Lead magnetSubmits the form and checks the email with the download link arrives. Add an "email link" step to check the file actually opens.
Newsletter (double opt-in)Subscribes and checks the confirmation email. Add an "email link" step to click the confirm link, like a real subscriber.
SaaS signupFills a sign-up form (with a password) and can open the verification email's link. Test accounts use fg-… addresses, so they're easy to filter.
CheckoutAdds a product to the cart and goes to checkout, checking add_to_cart and begin_checkout events with value and currency. It stops before payment, unless you have turned on the store's test mode, in which case it completes a test purchase.
BookingChecks the calendar loads and a time slot is visible. With a test calendar set up, it can complete a booking and check the booking event and the invite email.
WhatsApp buttonClicks the button and checks it opens the expected wa.me number, that the click was tracked in GA4 and Meta, and that a prefilled message is present.
Call buttonChecks the tel: link points to the expected number and the click is tracked.
Web app (behind a login)Logs in with one of the site's test logins (or the session the last run saved), then follows the path you add: open the dashboard, create a project, the welcome tour, the upgrade page or checkout. It checks the login works, how long it takes, that the account is still logged in at the end, and that the app doesn't drop sessions within the hour. Discovery proposes it when it finds a login form and the site has a test login. See "Journeys behind a login" below.
Live chatOpens the page, waits for the chat button (Intercom, Drift, Crisp, Tawk.to, HubSpot, Zendesk, LiveChat, Tidio, Freshchat, Olark, Messenger, GoHighLevel, Smartsupp, JivoChat or Gorgias), clicks it and checks the chat opens within 10 seconds and shows a greeting or pre-chat form. It checks the widget's script loaded, the button isn't covered or off the screen on mobile, and that it's still the same widget and account. Online or offline is recorded. It never sends a message unless you allow one test message in the site's safety settings, because that reaches a real person.
App installOpens the page with your app links on an iPhone (Safari) and an Android phone (Chrome) and follows the app button to the App Store or Google Play, without installing anything or loading the store. It checks each phone reaches its own store, the link opens the right app (pinned on the first run), the store listing is live in the checker's country, and the link carries a campaign (a Play referrer with utm tags, an App Store campaign token), including the landing page's utm_campaign when you ask. It also reads the smart app banner and the web app manifest, and checks apple-app-site-association and assetlinks.json so campaign links open the app (Universal Links and App Links) and still work on the web for people without it.

The journey builder

You find the builder on a verified site's page (Or build a journey yourself) and at the bottom of every journey page (Steps). Each step is a row: an action, a name, and the element it acts on.

  1. Set the name and entry URL

    The entry URL must be on the site you verified, for example https://acmedental.com/contact.

  2. Add steps from a screenshot

    Press Add step from screenshot. FunnelGuard loads the page in a clean, read-only browser and shows it with every clickable element outlined. Click the field or button you want. FunnelGuard guesses the action (fill for a text box, click or submit for a button) and the test value (an email field gets {{email}}).

  3. Adjust

    Change the action, rename the step, move it up or down, or press Pick element to re-pick the target. Steps inside an iframe (a HubSpot or Typeform form, a Calendly embed) need the iframe's CSS, which has its own field.

  4. Save and run

    Press Save journey (or Save steps), then Run now to try it.

Values can use placeholders, which are replaced with clearly labelled test data on every run: {{name}}, {{first_name}}, {{last_name}}, {{email}}, {{phone}} and {{message}}. The email is unique to each run, so FunnelGuard can follow that exact lead.

Step actions

ActionWhat it does
gotoOpens a URL (blank means the entry URL).
clickClicks a button or link. Before clicking, FunnelGuard notes whether the button was visible without scrolling and whether a popup or banner was on top of it.
fillTypes into a field, usually a placeholder such as {{email}}.
selectChooses an option in a drop-down.
check / uncheckTicks or unticks a checkbox or radio button, such as a consent or terms box.
uploadAttaches a labelled test file to a file field: a test PDF, image or text file.
submitPresses the form's submit button.
pressPresses a key, such as Enter or Tab.
hoverMoves the mouse over an element, for menus and hover-triggered content.
scrollScrolls by a number of pixels (900 by default) or to an element, for scroll-triggered content.
wait_forWaits for an element or a URL, for example the thank-you page.
assertChecks something is true right now: text that must show, text that must not show (an error message, "Sold out"), a URL pattern, or a tracking hit such as "meta Lead".
fill_addressCheckout only: fills the address and contact fields with the test shipping address (journey or site settings, else a public landmark in the store's country) so shipping options, tax and the total appear. Never touches card fields; the order is not placed unless the store's test mode is on.
chat_openWaits for the live chat button, clicks it and times how long the chat window takes to open, then reads its greeting or pre-chat form. Its value can name the widget (intercom, tawk...). For an unlisted chat, pick its button and give the text that shows once it opens. It never types anything.
chat_sendSends one test message (FunnelGuard test - please ignore, with the run's token). It reaches a real person on the support team, so it is skipped unless you turn on Allow a test chat message in the site's safety settings.
open_store_linkFollows the app button (a picked element, or the best store badge or Get the app link) to the store and records the final store link and its parameters. It never installs anything and never loads the store page. Options: app_store or play to aim for one store (default: the phone's own), follow_trackers to request Adjust, AppsFlyer or Branch links (off by default, because that counts an install click).
email_linkWaits for the email the test lead received and opens the link in it: a verification, double opt-in or download link. By default it looks for links about verify, confirm, activate or download.
loginLogs in with a test login saved on the site page (pick it by name). Optional: the login page URL, the text or element only logged-in users see, and the app's own wrong-password message. It reuses the session the last run saved (up to 12 hours) and logs in again when the app has expired it. It stops at a CAPTCHA or a 2FA code.

Journeys behind a login

For web apps and SaaS products, the money path often starts after the login: the dashboard, the first project, the welcome tour, the upgrade page, the checkout for a higher plan. A login step gets the robot in with a test account, so the rest of the journey can check those pages like any other. It needs the Freelancer plan or higher.

  1. Create a test account in your app

    Use a dedicated account with no real customer data, on a plan or workspace you don't mind being used every day. Turn off two-factor login for it: FunnelGuard never reads or enters one-time codes.

  2. Save it on the site page

    Under Test logins, press Add a test login, give it a short name (main, admin, trial-user), and enter the username or email and the password. If the login form also asks for a workspace or company, add it as an extra field (workspace = acme). A site can keep up to 10 test logins.

  3. Add a login step

    In the builder, choose login and pick the test login. Give the login page URL if the journey doesn't start there, and the text only logged-in users see (for example Log out) or pick that element. Then add the steps after the login.

  4. Run it

    The first run logs in with the form and saves the browser session (encrypted, for that region and browser). Later runs reuse it and skip the form until it expires (12 hours at most), so your app sees fewer logins.

What happensWhat FunnelGuard does
Wrong username or passwordThe step fails with the app's message (login_failed). It is never retried, so the test account can't be locked out by FunnelGuard.
A 2FA or one-time code is asked forThe step fails with "2FA required: use a test account without 2FA" (login_2fa_required). No code is entered.
A CAPTCHA or bot challenge showsThe run stops as blocked by bot protection. FunnelGuard never solves CAPTCHAs. Allow-list FunnelGuard with the signed header (see Safety) or use an account the app doesn't challenge.
Nothing happens after Log inThe step times out (login_timeout) and says whether the logged-in text never showed or the form stayed on screen.
The login form is on another siteFunnelGuard refuses to type the password anywhere but your site and its subdomains. If your app signs in on its own SSO host, add that host to the test login's allowed sign-in hosts.
The saved session was logged out earlyIt logs in again with the form; if the session was less than an hour old, a warning says the app signs users out sooner than expected.

Not supported yet: date and time pickers, sliders, simulated exit-intent popups and double-submit tests. Multi-step forms work as a sequence of steps; conditional branches are separate journeys.

Self-healing steps

Websites change all the time. A designer renames "Send" to "Get my quote", or a page builder regenerates its CSS classes. A test that breaks every time that happens is worse than no test. So FunnelGuard stores several ways of finding each element, best first:

  1. its role and accessible name (for example, the button called "Send");
  2. its visible text;
  3. its data-* test attributes;
  4. a CSS path;
  5. an optional plain-English hint, such as "the main Book now button in the hero".

At run time it tries them in that order. If only a lower one works, the step still passes, but the run shows a selector drift label. After three runs in a row find the element the same new way, FunnelGuard updates the stored locators itself.

If none of them works, the AI healer looks at the page and a screenshot and tries to find the element from the hint and the step's purpose. It only continues when it is at least 80% confident, and the step is labelled "healed by AI" with the confidence, so you can see it happened. Otherwise the step fails, which is what you want when the button really is gone.

ProblemWithout FunnelGuardWith FunnelGuard
The button text changes from "Send" to "Get my quote"A brittle test fails and pages someone at night for nothing.The step finds the button another way, passes, and flags drift so you can tidy up the step.
The form is deleted in a redesignYou find out from the client.Every locator fails, AI healing finds nothing it trusts, the step fails, and you get an incident.

The Chrome recorder

For a custom path that discovery doesn't propose, you can record it instead of building it step by step. The FunnelGuard Recorder is a Chrome extension:

  1. Start recording

    Open the extension and press Start recording, then go through the funnel in your browser as a customer would.

  2. Stop

    Press Stop. The extension turns your clicks and typing into journey steps. Anything you typed becomes a test-data placeholder; passwords and card fields are never recorded.

  3. Send it to FunnelGuard

    Enter your FunnelGuard address and an API key, press Load my sites, choose the site, name the journey and press Create journey. (Sending needs an API key, which comes with the Agency plans. See Integrations.)

Cookie banners and consent

Each run starts as a brand-new visitor, so the site's cookie banner shows up just as it would for a real person. On normal runs FunnelGuard then does what most visitors do: it clicks Accept. It recognises the common consent tools (OneTrust, Cookiebot, CookieYes, Complianz, CookieLawInfo, Iubenda, Didomi, Cookie Notice, Usercentrics, CookieFirst, Borlabs, Termly, Osano) and simple "We use cookies – Accept" bars. The run records which banner it accepted on each page.

Discovery accepts banners too while it scans, so it finds tags that wait for consent and adds the right tracking checks. It also notes which consent tool the site uses and, when it finds one, adds the Consent Mode v2 check. Prospect audits are the exception: they never accept, so they can tell you when analytics only starts after a visitor clicks Accept.

Journey page at a glance