Shopify Integration
Installing Request Metrics into your Shopify store for real user monitoring and web performance is easy. It only takes a few minutes to add our code to your theme.
Installing Request Metrics into your Shopify store for real user monitoring and web performance is easy. It only takes a few minutes to add our code to your theme.
Installing Request Metrics in your Shopify Store
You add the Request Metrics snippet to your theme’s layout.liquid
file, so that it gets included on every page. Here’s how you do it:
- Open your Shopify store admin dashboard and go to “Online Store” -> “Themes”.
- Click the “…” next to your current theme, and select “Edit code”.
- From the file list on the left side, select
theme.liquid
- Somewhere in the
<head>
tag, paste the following snippet code. Be sure to changeyour:token
to your Request Metrics token.
NOTE: Shopify uses different controls for the checkout flow of stores and tightly controls the JavaScript that runs for security purposes. There is currently no way to add Request Metrics to checkout page itself.
Request Metrics Shopify App
There is also a Shopify app for Request Metrics in development that automates this and gives you navigation controls. If you are interested in using the app or joining our beta, contact us!