---
isPrivate: true
title: Enable RUM on Your Shopify Store
description: >-
  Set up RUM monitoring on Shopify stores to track customer interactions,
  performance, and conversion rates for e-commerce optimization.
breadcrumbs: >-
  Docs > RUM & Session Replay > Real User Monitoring & Session Replay Guides >
  Enable RUM on Your Shopify Store
---

# Enable RUM on Your Shopify Store

{% alert level="danger" %}
[Shopify's Checkout Extensibility](https://www.shopify.com/plus/upgrading-to-checkout-extensibility) is not supported with RUM tracking. If this feature is critical for your business needs, create a ticket with [Datadog Support](https://docs.datadoghq.com/help/).
{% /alert %}

## Overview{% #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{% #setup %}

1. Log into your Shopify administration panel.

1. Under **Sales channels**, click **Online Store**.

   {% image
      source="https://datadog-docs.imgix.net/images/real_user_monitoring/guide/enable-rum-shopify-store/enable-rum-shopify-1.e97beabecf354e32fd05fb8be18f46dd.png?auto=format"
      alt="Enable RUM on your Shopify store" /%}

1. This opens up a new menu, click on **Themes**.

   {% image
      source="https://datadog-docs.imgix.net/images/real_user_monitoring/guide/enable-rum-shopify-store/enable-rum-shopify-2.7b90ae54fb4cf26cd7efeabb39596b54.png?auto=format"
      alt="Enable RUM on your Shopify store" /%}

1. Click the **Edit code** button for your current theme.

   {% image
      source="https://datadog-docs.imgix.net/images/real_user_monitoring/guide/enable-rum-shopify-store/enable-rum-shopify-3.a42e80b6baa2b98991ed604340b4052d.png?auto=format"
      alt="Enable RUM on your Shopify store" /%}

1. Under the **Layout** directory, find the main file of your theme **theme.liquid**. Click the file to edit it.

   {% image
      source="https://datadog-docs.imgix.net/images/real_user_monitoring/guide/enable-rum-shopify-store/enable-rum-shopify-4.9c68ce2670860cf960bbacdf3e28fba4.png?auto=format"
      alt="Enable RUM on your Shopify store" /%}

1. 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](https://docs.datadoghq.com/real_user_monitoring/application_monitoring/browser/setup/#choose-the-right-installation-method/).

   {% image
      source="https://datadog-docs.imgix.net/images/real_user_monitoring/guide/enable-rum-shopify-store/enable-rum-shopify-5.802064475dac6e89262586bb3a554001.png?auto=format"
      alt="Enable RUM on your Shopify store" /%}

1. Click the **Save** button to save your changes.

The updated looks like the following in the Shopify UI:

{% image
   source="https://datadog-docs.imgix.net/images/real_user_monitoring/guide/enable-rum-shopify-store/enable-rum-shopify-6.97239f0ba161fa5b258c4d95ef918b96.png?auto=format"
   alt="Enable RUM on your Shopify store" /%}

See more information regarding theme code's editing in [Shopify's documentation](https://help.shopify.com/en/manual/online-store/themes/theme-structure/extend/edit-theme-code).

## Start exploring{% #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](https://docs.datadoghq.com/session_replay/browser/)
- [Generate metrics](https://docs.datadoghq.com/real_user_monitoring/platform/generate_metrics/) from newly captured sessions

## Further Reading{% #further-reading %}

- [Use RUM & Session Replay for Product Analytics](https://docs.datadoghq.com/real_user_monitoring/guide/rum-for-product-analytics/)
- [Alerting With Conversion Rates](https://docs.datadoghq.com/real_user_monitoring/guide/alerting-with-conversion-rates/)
