Measurement pixel
Once you set up the Recustomer measurement pixel, shopping behaviour data on your storefront (the shop screens your shoppers browse) is sent to Recustomer.
Shopify only
The measurement pixel is set up with Shopify's "Customer events" feature. If you use a cart system other than Shopify, this setting is not needed.
1. What is measured
The pixel measures the following behaviour.
| Behaviour | Description |
|---|---|
| Page views | Views of the home page, product pages, collection pages and so on |
| Cart actions | Adding and removing products from the cart, and views of the cart page |
| Checkout | Starting and completing checkout |
| Recustomer features | Displays of and clicks on the Try Before You Buy button and pop-up, displays of the Checkout+ banner and pop-up, and whether the shopper went to checkout with Checkout+ added |
For each behaviour, the pixel sends the information that Shopify passes with the customer event. The main contents are listed below. For the full list of fields, see Shopify's standard events reference.
| Type | Contents |
|---|---|
| Event | The type of behaviour, date and time, and event ID |
| Browser | An ID that Shopify assigns to each browser, user agent, language setting, screen and window size, and scroll position |
| Page | URL (including the query string after "?"), referrer URL and page title |
| Products and cart | Product and variant ID, name, price and SKU, quantity, and cart attributes |
| Checkout | Checkout token, order ID, customer ID, products, amounts, discounts, delivery method, payment type, and checkout attributes |
| Store | The store's myshopify.com domain |
Recustomer also records the date and time it received the data and the sender's IP address.
Fields whose names contain "email", "phone" or "address" (email addresses, phone numbers, and billing and shipping addresses including the recipient's name) are removed before the data is sent.
Some personal data may be sent
Only fields that can be identified by their names are removed; the values themselves are not checked. Besides the customer ID and browser ID, information contained in values such as the following is sent as is.
- Email addresses or subscriber IDs in the URL query string of links from newsletters and the like
- What shoppers enter in cart or checkout attributes
2. How the data is used and how long it is kept
The data sent to Recustomer is used to measure and improve the effectiveness of Recustomer features such as Try Before You Buy and Checkout+.
The received data and the records made on receipt (including IP addresses) are deleted automatically 365 days after receipt. If you want data for your whole store or for a specific shopper deleted before then, contact your Recustomer representative.
3. How to set it up
Sign in to the Shopify admin
Open Settings > Customer events
Click "Add custom pixel" in the top right

Enter any name for the pixel and click "Add pixel"

When the code editor opens, paste the following code as is
const recustomerEvents = []; globalThis.recustomerEvents = recustomerEvents; globalThis.recustomerInit = init; analytics.subscribe("all_standard_events", (event) => recustomerEvents.push(event)); analytics.subscribe("all_custom_events", (event) => recustomerEvents.push(event)); const script = document.createElement("script"); script.src = "https://script.rcmr.io/pixel/main.js"; script.async = true; document.head.append(script);Click "Save" in the top right, then change the pixel status to "Connect". You are done once the status shows "Connected"
4. Notes
- The code you pasted is a "loader" that pulls in the measurement script itself. The measurement logic is updated on the Recustomer side, so you only need to paste the code once.
- If you use several Shopify stores, follow the same steps in each store's admin. The code is the same for every store; stores are identified automatically.
- To pause measurement, go to Settings > Customer events and change the status of the Recustomer pixel to "Disconnect". You do not need to delete the code.
- Uninstalling the Recustomer app does not delete the pixel, so it keeps sending data. If you stop using it, delete the Recustomer pixel in Settings > Customer events.
- The measurement script is loaded asynchronously and runs inside Shopify's sandbox, so the impact on your store's loading speed is negligible.