Overview

Understanding how customers interact with your web pages is crucial to the success of your online store.

This guide walks through how you can set up Real User Monitoring on your Shopify-powered store.

Setup

  1. Log into your Shopify administration panel.

  2. Under Sales channels, click Online Store.

    Enable RUM on your Shopify store
  3. This opens up a new menu, click on Themes.

    Enable RUM on your Shopify store
  4. Click the Edit code button for your current theme.

    Enable RUM on your Shopify store
  5. Under the Layout directory, find the main file of your theme theme.liquid. Click the file to edit it.

    Enable RUM on your Shopify store
  6. Initialize the Browser RUM SDK by adding the SDK code snippet inside the <head> tag. For more information about which installation method to choose, see the RUM Browser Monitoring documentation.

    Enable RUM on your Shopify store
  7. Click the Save button to save your changes.

The updated looks like the following in the Shopify UI:

Enable RUM on your Shopify store

See more information regarding theme code’s editing in Shopify’s documentation.

Start exploring

Once you’ve initialized the Browser RUM SDK, you can start using Real User Monitoring with your Shopify store.

For example, you can:

  • Get valuable insights about your customers’ behavior by making data-driven decisions to improve your store
  • Increase conversion by watching browser recordings enriched sessions with Session Replay
  • Generate metrics from newly captured sessions

Further Reading