Skip to main content
Availability2023.3 or later

Deploy for Shopify

Monitoring, insights and actions

Automatic Installation

Recommended simplest setup

Manual RUM JS Deployment

Theme snippet and custom pixel

Troubleshooting

Fix Shopify deployment issues

Deploy Monitoring, Automated Insights & Actions for Shopify

Deploy GermainUX on Shopify to monitor real-user experience, session replay, conversion funnels, errors, customer feedback, storefront performance, checkout activity, integrations, and critical customer journeys. The recommended deployment method is the GermainUX Shopify App, which installs everything automatically. A manual deployment, with a theme snippet and a custom pixel, is also available when the app cannot be installed.

Monitoring Components

Before You Begin

You need:
  • A Shopify account with permission to install apps or modify the active theme
  • A GermainUX Cloud or on-premise environment
  • Your GermainUX hostname
  • The Shopify stores and environments to monitor
  • Approved privacy, consent, masking, and data-retention requirements
  • Test access to the monitored storefront and checkout journey
For manual theme deployment, create a backup or duplicate of the active theme before editing its code.

Choose a Deployment Method

Use either the app or the manual installation, not both. With both, GermainUX records every page and every Shopify event twice.

Method 1: Automatic Installation with the GermainUX Shopify App

This is the recommended and simplest deployment method. The app adds two things to your store:
  • The Start Monitoring app embed, which loads RUM JS on every storefront page
  • A web pixel, which collects Shopify events, including every checkout step

Install the App

  1. Open the GermainUX app in the Shopify App Store.
  2. Click Install.
  3. Sign in to Shopify if prompted.
  4. Select the store you want to monitor.
  5. Review the permissions requested by the app.
  6. Approve the installation.
The app requests these Shopify access scopes: Review the permissions and the GermainUX privacy policy before approving production access.

Complete Onboarding

After installation, the app opens the onboarding form.
Onboarding form in the GermainUX Shopify App with goal questions and the Alert Email field

Onboarding form in the GermainUX Shopify App - GermainUX

The form asks for:
  • Your main goals
  • How many hours per day you spend on them
  • How your team should hear from customers
  • The insights you need
  • Alert Email: where GermainUX sends alerts about issues on your store
  • The features you’re interested in
Click Request Trial. The GermainUX team then prepares your environment, typically within 24 hours, and emails your environment URL and login details to your store’s email address.

Turn On Monitoring

When your environment is ready, the app’s home page shows GermainUX Instance Ready! with your environment URL. GermainUX connects the web pixel for you. To start storefront monitoring, turn on the app embed:
1

On the app's home page, click Open Theme Editor

The theme editor opens on App embeds.
2

Find Start Monitoring

3

Turn on the switch and click Save

Shopify theme editor App embeds panel with the GermainUX Start Monitoring embed switched on

Start Monitoring app embed in the Shopify theme editor - GermainUX

Without the app embed, GermainUX receives Shopify events from the web pixel, but no storefront sessions, Session Replay, or page performance.

Trial and Subscription

The trial starts when GermainUX enables monitoring for your store. The app’s home page shows your current subscription and its expiration date. To choose a plan, click the subscription name under Current Subscription.

Validate the Installation

After onboarding:
1

Open the storefront in a new browser session

2

Accept or reject tracking consent according to the configured test case

3

Browse a collection and product page

4

Search for a product

5

Add a product to the cart

6

Begin checkout

7

Complete a test purchase when permitted

8

Open GermainUX and confirm that the session and Shopify events were collected

Verify both storefront and checkout events. A successful storefront test does not, by itself, confirm checkout coverage.

Method 2: Manual RUM JS Deployment via Shopify Theme

Use this method when you cannot install the Shopify App. It has two parts:
  • A theme snippet that loads RUM JS on the storefront
  • The GermainUX custom pixel, which collects Shopify events, including every checkout step
Together they give the same coverage as the app. The theme snippet alone doesn’t monitor checkout, third-party checkouts, or pages that don’t render the modified theme.

Add the GermainUX Script

  1. Sign in to the Shopify Admin.
  2. Go to Online Store > Themes.
  3. Locate the active theme.
  4. Open the theme actions menu.
  5. Select Edit code.
  6. Open the primary theme layout, normally: layout/theme.liquid
  7. Add the following code inside the <head> element:
1

Replace both occurrences of GERMAIN_UX_HOSTNAME with the hostname of your GermainUX environment

2

Save the file

3

Preview the theme before publishing it

For example, if your GermainUX environment is hosted at mycompany.germainux.com, the script source begins with:
Do not add another https:// prefix if the value supplied for the placeholder already includes one. Follow the hostname format used by your GermainUX environment and generated monitoring profile.

Deploy to Multiple Themes

Shopify executes the snippet only on pages rendered by a theme containing it. If you publish a different theme, confirm that the GermainUX snippet is present in the newly published theme. Repeat the deployment for:
  • Production themes
  • Development or staging themes
  • Country- or brand-specific storefront themes
  • Additional Shopify stores
Use different application or environment names when the data must remain distinguishable in GermainUX.

Add the GermainUX Custom Pixel

The custom pixel collects the same Shopify events as the app’s web pixel, including every checkout step. Ask GermainUX Support for the GermainUX custom pixel code. Support sends it with your application name and GermainUX URL already set. The application name is your store name, the same name the theme snippet sends, so checkout events join the storefront session.
  1. In the Shopify Admin, go to Settings > Customer events.
  2. Click Add custom pixel.
  3. Enter a name for the pixel, such as GermainUX, and click Add pixel.
  4. Under Customer privacy, set Permission and Data sale to match your store’s consent policy.
  5. Replace the sample code in the code editor with the GermainUX custom pixel code.
  6. Click Save, then click Connect.
Shopify customer events custom pixel editor with the Customer privacy settings and the code editor

Custom pixel editor in Shopify customer events - GermainUX

Validate the Theme Deployment

  1. Open the storefront.
  2. Use the browser’s developer tools to confirm that germainapm.js loads successfully.
  3. Confirm that the request is not blocked by Content Security Policy, consent management, an ad blocker, or a network proxy.
  4. Navigate across several storefront pages.
  5. Perform clicks, searches, cart updates, and other monitored actions.
  6. Confirm that a new session appears in GermainUX.
  7. Open the session and verify page views, clicks, network requests, and replay data.
  8. If you added the custom pixel, add a product to the cart and start checkout. Confirm that Shopify Product Cart Addition and Shopify Checkout events appear in the same session.
Before production rollout, set the masking, exclusion, and consent rules in the Shopify UX monitoring profile. Never capture passwords, payment-card details, security codes, authentication tokens, or other protected credentials. For what to mask or exclude and how to test consent, see Privacy and Consent.

Deploy Customer-Feedback Monitoring

GermainUX can display a feedback popup that lets shoppers report satisfaction, frustration, or a specific problem while it occurs, linked to their session and Session Replay. The Shopify profile ships with the popup turned off. For setup, see Configure User Feedback for Shopify.

Deploy Business-Process and Conversion Monitoring

GermainUX ships three Shopify business processes: Shopify Checkout, Shopify Landing Page to Checkout, and Shopify All Steps. They measure completion, duration, abandonment, and delays for the whole journey and for each step. Add your own processes for other journeys, such as login or returns. For the shipped processes, see Ready-to-Use Dashboards, Business Processes and Reports. To add a process, see Configure Business-Process Monitoring.

Deploy Shopify Event Monitoring

The GermainUX Shopify App, or the GermainUX custom pixel in a manual installation, collects the Shopify standard events automatically, from page and product views to every checkout step and the purchase. Available events depend on the store configuration and consent status. Validate product identifiers, currency, values, discounts, and quantities before using the data for conversion or revenue reporting. For the event-to-KPI mapping, see Configure Shopify Events.

Deploy Monitoring for Third-Party Checkout

Some stores send customers to an external checkout. GermainUX monitors it only when RUM JS is deployed there too, with the same application name, so the checkout joins the storefront journey. When that isn’t possible, use the Engine to monitor the provider’s API instead. For the supported providers and their steps, see Configure Third-Party Checkout Monitoring.

Deploy Shopify API and Integration Monitoring

RUM JS provides browser-side storefront telemetry. Use the GermainUX Engine when you also need backend or integration monitoring. The Engine can monitor supported:
  • Shopify REST API availability, duration, and errors
  • Orders, products, and collections read from the Shopify REST API
  • The availability of other HTTP endpoints your store depends on
  • Changes to your store, recorded as Deployment Run events: themes published, created, updated or deleted, including changes to the files of the published theme, apps installed or uninstalled, and changes to script tags, the checkout profile, payment and delivery customizations, and automatic discounts
  • The status of each Shopify platform component, such as Storefront and Checkout, from shopifystatus.com
The GermainUX team sets up the Engine and the Shopify REST API monitoring for you. You provide a Shopify Admin API access token for your store, and the GermainUX team helps you create it with only the read permissions the monitoring needs. Contact GermainUX Support to start.

Deploy the JS Profiler

Deploy the GermainUX JS Profiler when standard RUM telemetry doesn’t give enough browser-side detail, typically for support teams, QA users, or test devices. It isn’t required for Shopify RUM and Session Replay. It analyzes browser-side JavaScript and network activity, not Shopify’s server-side code. For its capabilities and deployment, see JS Profiler.

Deploy Synthetic Monitoring

Use the GermainUX RPA Bot Recorder to record a Shopify customer journey as a Selenium scenario. Typical scenarios include:
  • Open the storefront
  • Search for a product
  • Open a product page
  • Add an item to the cart
  • Start checkout
  • Validate availability, price, or shipping information
  • Confirm that a critical page or integration is working
After recording the scenario, GermainUX can schedule and manage its execution across supported locations and environments. Synthetic monitoring helps detect:
  • Storefront outages
  • Slow pages
  • Broken searches
  • Add-to-cart failures
  • Checkout failures
  • Missing products or content
  • Integration failures
  • Regional or network-specific issues
Use dedicated synthetic accounts and test data. Avoid completing real purchases or modifying production data unless the scenario has been designed to do so safely.

Deploy Automation

After monitoring produces reliable data, configure GermainUX automation to detect, analyze, notify, or remediate problems. Examples include:
  • Alert when checkout failures exceed a threshold
  • Detect an increase in cart abandonment
  • Identify dead-end searches
  • Notify a team when a third-party service fails
  • Run a synthetic scenario after a deployment
  • Trigger an API or webhook action
  • Restart a failed integration where authorized
  • Generate recurring conversion or experience reports
  • Use AI-driven analysis to summarize affected sessions and likely causes
Configure safeguards, authorization, and auditability before enabling corrective actions in production.

Production Rollout Checklist

Before completing the deployment, verify that:

Troubleshooting

No Shopify Data Appears

Confirm that:
  • The GermainUX App is installed and onboarding is complete.
  • The theme containing the snippet is published.
  • The GermainUX hostname is correct.
  • germainapm.js loads successfully.
  • The configured application and profile names exist.
  • Tracking consent has been granted when required.
  • Browser extensions or network security tools are not blocking collection.
  • The storefront URL matches the monitoring profile.

Storefront Data Appears but Checkout Data Does Not

A theme snippet normally covers pages rendered by that theme. Confirm that:
  • The GermainUX Shopify App is installed, or, for a manual installation, the GermainUX custom pixel is connected.
  • The pixel shows as connected in the Shopify Admin under Settings > Customer events.
  • Consent permits checkout collection.
  • The checkout is hosted by Shopify rather than an unmonitored third party.
  • The store and Shopify plan support the required integration.

Sessions or Events Are Duplicated

Check whether RUM JS is being loaded by more than one source, such as:
  • The GermainUX Shopify App
  • theme.liquid
  • A tag manager
  • A custom pixel
  • Another theme integration
Retain only the intended deployment unless the monitoring profiles explicitly deduplicate the data.

Session Replay Is Incomplete

Review:
  • Consent status
  • Privacy exclusions
  • Capture limits
  • Dynamic or iframe-hosted content
  • Cross-domain transitions
  • Unsupported checkout or third-party pages
  • Network interruptions
  • RUM profile settings
Session Replay reconstructs the user experience from captured browser events; it is not a video recording.

Get Help

Contact GermainUX Support

The GermainUX team helps you get up and running faster, empower your team, turn data into actionable insights, and optimize performance to deliver measurable business outcomes.

Can't Find What You Need?

Search all GermainUX docs with Ctrl + K, or use the feedback buttons at the bottom of this page to tell us what is missing.

The content of this document is proprietary to GERMAIN SOFTWARE.