Skip to main content

Creating a User Journey

Note that if the site you wish to monitor is internal to your organization, you will need to create an STM zone in addition to the user journey.

This page mentions CSS selectors frequently. We recommend reading on this topic before proceeding.

Only users with the Owner or Administrator role can create or edit user journeys.

User journeys allows you to configure a probe to regularly navigate your site following a pre-established path. This page explains how to configure both the journey as a whole and its individual steps.

For this module to work properly, you may need to whitelist the following IP addresses used by Experience Monitoring:

IP addresses
  • 18.200.8.204
  • 34.241.126.134
  • 34.242.201.38
  • 34.243.127.23
  • 34.248.113.181
  • 34.250.75.1
  • 34.252.162.102
  • 34.255.79.251
  • 52.17.157.120
  • 52.18.157.52
  • 52.19.60.226
  • 52.30.194.126
  • 52.31.137.223
  • 52.48.148.3
  • 52.48.151.164
  • 52.50.31.122
  • 52.51.174.216
  • 52.208.14.10
  • 52.209.27.6
  • 52.210.233.251
  • 52.212.161.58
  • 52.214.41.253
  • 54.78.224.201
  • 54.154.70.169
  • 54.170.78.117
  • 54.170.157.253
  • 63.34.122.21
  • 63.34.67.195
  • 99.81.201.50
  • 176.34.232.22
  • 185.48.122.159

To create a User Journey, go to the Settings page and click on the User Journeys tab. Then, click on Create a User Journey. A journey is added with a first step named "Home" to navigate to your site's homepage automatically configured.

User Journey configuration​

To access the advanced settings, open your journey in edit mode, click the three dots menu to its right, and select Advanced.

Remember to click Save after any changes in this window.

Give your journey a clear, unique name. This name appears in reports and throughout the Experience Monitoring interface.

To the right of the name you can choose to:

  • Enable or disable this User Journey so it is not executed but still saved for later use.
  • Enable or disable PHP profiling for this journey if you have the Experience Monitoring system agent and PHP module installed on your servers. Not sure if this applies to you? Check the Experience Monitoring installation checklist.
  • Enable or disable the SSL check. The probe will fail the journey if your site presents an invalid or expired SSL certificate. Disable this only if you intentionally run the journey on a non-secure environment.

Synthetic Monitoring Zones​

If you previously configured STM Zones, you will have the option to select a private zone here. Your public site is selected by default.

Daily recommendations audits​

In addition to the User Journey probe, a recommendations probe is run once a day to give you personalized advice on how to optimize your site. The Operating mode options allow you to disable this probe, have it only check your first step or check all steps. You can also change the language of the recommendations.

Step or Action configuration​

User journeys are composed of steps and actions. Steps represent a page while actions are anything a user can do within the same page (clicking on something, opening the search bar, etc.). A step can contain multiple actions.

Each license has a limited number of steps available for use amongst all user journeys. These steps are shared amongst all sites of your organization. To see how many steps you have available, go to the Licenses & Sites tab in the Organization page.

Because navigation actions are always the only or the last action of a step, and a step to navigate to your site's homepage is already configured, you must now create a new step. To do so, click on the + icon below the first step.

image

Give a name to this new step and click the + icon inside the step to choose an action to perform.

Possible actions in a User Journey​

There are 6 possible actions that the probe can perform when following a User Journey:

Choose a URL to navigate to. This action is the same as entering a URL in the address bar and going there. A User Journey always starts with a navigation action. Navigation actions are also always the only or the last action of a step.

The URL must be within the domain authorized for your Experience Monitoring license.

Adding an expectation​

There is a seventh, (sometimes) optional action that the probe can perform after each other action. This action is not seen among other actions for you to select but appears at the bottom of the action window once the action has been configured.

Add an expectation makes the probe verify that the action was properly executed. You can add an expectation after every action.

For example, imagine your user journey mimicks a user making purchases on your site and proceeding to check out. Adding an expectation to the step "adding an item to the cart" (i.e. look for text confirming the item was added) lets you confirm the probe is successfully adding items to the cart and not proceeding to check out with an empty cart.

An expectation action is automatically added for each Navigate action to confirm the probe successfully reached the target url. This expectation cannot be removed. Additionally, the last action of the user journey must have at least one verification.

Confirm that navigation occurred​

This verification is added automatically for a Navigate action and cannot be removed.

The probe will check that a new HTML document was loaded correctly, meaning:

  • The HTML document loaded fully
  • The response status code is 200

No content verification is performed.

Find text​

We recommend using CSS selectors because they are less sensitive to site changes. If you don't know how to create CSS selectors, you can join our community platform to ask for help configuring your user journey.

This verification uses the same logic as the Click and Hover actions. If the text you search for exists on the page after the action, the verification passes.

Find the CSS element​

This verification finds an element using its CSS selector. If it's an image, the probe also verifies that the image loads correctly.

Make a request​

This verification validates that a request to an address was made at some point after the action. The request must be successful; redirects are allowed.

Failed step or action​

image

When the probe fails to execute a step or an action, the corresponding step is colored red. The "!" icon indicates where the failure happened. Click on the icon to view details of what caused this failure with a screenshot of the page where the probe failed. You can find some information on what caused this step or action to fail, for more information on this, read our User Journey troubleshooting guide