How to record your first User Journeys with AssertionHub

Table of Contents

This guide walks you through the complete workflow. From your first User Journey recording all the way to replaying your journey and reviewing the test results.

What is a User Journey?

A User Journey is a set of instructions for AssertionHub to simulate the user behavior on key conversion funnels and validate all the evens firing in the process.

It is a simulation of an actual journey done by an user on your website. Adding a product to cart, purchasing a product, you got the gist.

Events detected during these steps are tested according to your settings. We will also see how to create a test and associate it to a step later in the guide.

Step 1 - Start a Browser Session

  1. Go to app.assertionhub/user-jurney-recorder
  2. Add the Recording Info and Start a new recording

User Journey Recording Info:

  • Configuration: Name, description, and website URL
  • Notifications: Email or Slack webhook for alerts
  • Scheduling: Run tests daily at specific times or weekly

If this is your first time visiting this domain:

  • A modal will appear asking you to confirm that you want to add this domain to your account.
  • It shows how many domain slots you have used and how many remain (maximum 5).
  • Click Confirm to proceed. The browser will load the page.
  1. The Session Status indicator changes to Connected and a 10-minute countdown timer starts.
  2. The live webpage appears in the browser canvas. You are now ready to record.
  3. Record your User Journey
User Journey Recorder Section 1

Step 2 - Perform Your Actions

Simply use the live browser as you would any normal webpage. Every interaction you make is automatically captured as a step in the Control Panel on the left.

What you do in the browserWhat gets recorded
Navigate to a URLA Navigate step
Click a button or linkA Click step with the element’s text
Type into a text fieldA Type step with the text you entered
Scroll the pageA Scroll step

After each action you will see a brief semi-transparent overlay on the canvas with a countdown. This is the Recorder converting your raw interaction into a clean, replayable step. Wait for it to disappear before performing the next action. All the detected events will be stored in the Request Logger on the right divided by Step and Page. This section will be useful later on when we start create custom tests to validate each step events.

User Journey Section 2

Example flow:

  1. The browser loads your homepage: a Navigate to yourstore.com step appears.
  2. You click “Shop Now”: a Click on Shop Now step appears.
  3. You click on a product: a Click on Product Name step appears.
  4. You click “Add to Cart”: a Click on Add to Cart step appears.
  5. You type your email into a checkout field: a Type "[email protected]" step appears.

Step 3 - Create Analytics and Data Layer Tests

Once you’re done with the recording, you can save it and then move on to the test creations.

With AssertionHub you already have numerous and frequently updated built-in validations for the most common errors for GA4, Google Ads and other vendors but should these not be enough, you can create custom tests for any specific detail you want to validate.

Follow this guide to create a test

There are 2 options. One from the recorder and one from the User Journey Result page. If this is your first time, you can only create them from the recording.

Step 4 - Review and Edit Your Steps

Attach an Analytics Test to a Step

If you want to verify that an analytics event fires correctly when a step runs, you can attach a test to it.

  1. Open the step by clicking on it.
  2. In the Step Edit Modal, go to the Validations section and click the Analytics Tests tab.
  3. In the test management area, find the test you want to attach and click Add.
  4. Set the expected count: how many times you expect this event to fire, and choose an assertion type (equal to, greater than, etc.).
  5. The step card now shows a blue badge with the number of attached tests (e.g. “2 tests”).

Rename a step description

Click the description text on any step to edit it inline. Press Enter to save.

Change a step’s wait time

Each step has a time chip on the right (e.g. ”10s”). Click it and type a new value in seconds. This controls how long the Recorder pauses after that step before continuing to the next one during replay. Increase it if the page needs more time to load.

Open the full step editor

Click anywhere on a step card to open the Step Edit Modal. From here you can:

  • Change the Action type (Navigate, Click, Type, Scroll, Hover, Keypress)
  • Adjust the Wait Time in milliseconds for fine-grained control
  • Add or edit Selectors, the instructions the Recorder uses to find the element on the page
  • Toggle Stop on Failure. When on, the replay halts if this step fails; when off, it marks the step as skipped and continues

Reorder steps

Grab the drag handle (⋮⋮) on the left of any step and drag it up or down to change its position.

Add a step manually

Click the dashed “Add New Step” button at the bottom of the step list to insert a blank step and configure it in the editor.

Delete a step

Click the three-dot menu () on the step card and select Delete.

Add a Selector Manually or by Picking (Optional)

If a step’s selector needs to be improved, or if you are adding a step manually, you can use the element picker to capture the exact element from the live page.

  1. Start the Replay clicking on the 3 dots on step before the one you want to adjust and click “continue from here”.
  2. Wait for the replay to finish
  3. Open the step to modify by clicking on it.
  4. In the Selectors section, make sure Manual mode is selected.
  5. Click the 🎯 Pick button.
  6. Click the element. The Recorder captures its selector and adds it to the list automatically.
  7. Close the modal to return to the step list.

Step 5 - Replay Your Recording

Run your saved recording to verify that all steps execute correctly.

  1. Click the ⋯ menu in the Control Panel header.
  2. Select Replay Recording.
  3. A confirmation modal shows how many steps will run. Click Start Replay.

What happens next:

  • The browser session restarts at the first navigation step.
  • Steps execute one by one, each waiting the configured time before the next.
  • As each step runs, its status badge updates in real time:
    • Yellow “Running”: currently executing
    • Green ✓: completed successfully
    • Red ✗: failed
  1. When all steps complete, a summary modal appears showing the overall result.

Stop a replay early

Click the red Stop Replay button at the top of the Control Panel at any time.

Resume from a specific step

If you want to re-run only part of the journey, click the three-dot menu on any step and select Continue from here. The replay starts from that step onward.


Step 6 (Optional) - Handle a Failed Step (AI Suggestions)

If a step fails during replay, the AI may automatically analyse the page and suggest a better selector.

A yellow banner appears on the failed step showing the suggested fix. You have three options:

OptionWhat it does
Apply → PrependAdds the suggestion as the highest-priority selector for this step
Apply → ReplaceReplaces the current primary selector with the suggestion
Apply → New StepCreates a new step using the suggestion
DismissHides the banner
RetryAsks the AI to analyse the page again

After applying a suggestion, click Update to save the improvement to your recording.


Step 7 - Review Results from the Admin Dashboard

After a replay finishes, results are available in the Admin dashboard.

  1. Go to the Admin dashboard.
  2. In the Latest Test Results section, find your recording by name.
  3. Click the row to go to the User Journey Result page:
    • Which steps passed and which failed
    • Execution timestamps
    • Analytics test results (if you attached tests)

You can also see any running or scheduled tasks in the Tasks tab of the same panel. Each task card shows:

  • Status: Running, Pending, Scheduled, or Failed
  • The recording name
  • For scheduled tasks: the next scheduled run time

Tips and Good Practices

Keep recordings focused Record one specific user flow per recording (e.g. “Login”, “Add to Cart”, “Form Submission”) rather than trying to capture everything in one long journey. Focused recordings are easier to maintain and debug.

Use descriptive names Rename your steps to plain English so anyone on your team can understand what each step does at a glance.

Adjust wait times for slow pages If a step consistently fails because a page element is slow to appear, increase the Wait Time on the step before it. A few extra seconds can make a replay much more reliable.

Add multiple selectors for robustness Use the Pick tool or AI mode to add a backup selector to important steps. If the primary selector breaks (e.g. because a class name changed), the Recorder automatically tries the next one.

Check the Request Logger The right panel shows every network request and GTM event. Use it during recording to confirm your analytics tags are firing before you attach a test to a step.

Save often Click Update after any meaningful change. The Recorder does not auto-save yet.


Glossary

TermDefinition
RecordingA saved sequence of browser interactions
StepA single action within a recording (Navigate, Click, Type, etc.)
SelectorInstructions that tell the Recorder how to find an element on the page
ReplayAutomated execution of all steps in a recording
SessionAn active live browser instance, lasts up to 10 minutes
Test ExpectationA check that verifies an analytics event or data layer push fires the expected number of times
Wait TimeHow long the Recorder pauses after a step before running the next one
Stop on FailureA per-step toggle that controls whether replay halts or continues if the step fails

Manually create a User Journey

To manually Create a user Journey, please follow this guide

Powered by beluacode Logo