Fix the errors on your e-commerce site

A checkout error opens a ticket, an agent writes the fix and your team reviews the merge request before release.

  • Error tracking, even for a site hosted elsewhere
  • Session replays, text and fields masked
  • Anonymous, cookieless audience
42merge
Errors/TypeError: cart.items is undefined
Fix in review
Production error

TypeError: cart.items is undefined

Activity
  • Error captured at the payment step54 occurrences · 31 people · 25 min ago
  • Replay of the last minuteBrowser · text and fields masked
  • Merge request !87 openedJulien · preview ready · 6 min ago
Fix

Task #212: merge request !87 to review

Day to day in an online store's tech team

On an online store, an error in the checkout blocks purchases. The team still has to hear about it and find out what caused it.

Errors in the checkout

An error at the cart or payment step stops the order, and the shopper leaves without reporting anything.

Bugs that are hard to reproduce

The error message says nothing about what the shopper did just before, so the team has to reproduce the case by hand.

Visitor questions left unanswered

Visitors ask their questions while they are buying, and the team cannot answer at every hour.

The store, its errors and their fixes

The store is a project that groups its applications (site, API, mobile app). ERHA tracks their errors, and agents write the fixes your team reviews.

Errors captured and grouped

Install the official Sentry SDK with the DSN ERHA provides, or a script tag on a site with no build. Errors are then grouped, with the pages involved and the people affected.

Session replays

As an option, ERHA keeps the last minute before the error, on browser and mobile alike, with text and fields masked.

The fix written by an agent

The Fix automatically button starts the ticket with an agent. In merge request mode, the fix lands on a branch for your team to review.

A preview before release

On ERHA Cloud, every open merge request has a preview where you test the checkout before merging.

The site chat

The AI answers visitors from the chat's knowledge base. When it does not know, it says so and hands over to your team, who carry on in Support.

Cookieless audience

Anonymous and cookieless, the visit tracker is installed through a task handed to an agent.

Connecting ERHA to an e-commerce site

The store stays with its host, since error tracking also works for an application hosted elsewhere.

  1. 01Create the store's projectAdd the store's applications and connect their GitHub or GitLab repository.
  2. 02Install error trackingTake the official Sentry SDK for your language and give it the ERHA DSN. A site with no build only needs a script tag.
  3. 03Turn on the options you needSession replays are an option of error tracking, while the site chat and audience are installed through a task handed to an agent.
  4. 04Work through the Error inboxEvery new error opens a ticket there, which joins the board as soon as a person or an agent picks it up.

Example: the payment button stops responding

An online store runs a Next.js site and an API, both in merge request mode, with session replays turned on. After a release, the payment button stops responding on some browsers.

  1. The error is captured and grouped, then the ticket lands in the Error inbox with the pages and the people affected.
  2. A developer watches the replay: the last minute before the error, text and fields masked.
  3. They click Fix automatically, and an agent writes the fix, then opens the merge request.
  4. The team reviews the merge request and merges. Once the fix ships, the error moves to resolved.

Outcome

The team saw what the shopper was doing before the error, and the fix was reviewed before it went live.

Frequently asked questions

What does a session replay show?

The last minute before the error, on browser and on mobile, with text and fields masked. The option is set per application and stays off by default.

What data does error tracking keep?

Occurrences, for 90 days. Secrets are filtered, no IP address is stored, and the identity of the people affected is kept only if you turn the option on.

Does our store have to be hosted by ERHA?

No. Error tracking works for an application hosted elsewhere, and the site chat installs with a script tag. Previews per merge request, on the other hand, require ERHA Cloud.

Who approves a fix before release?

Your team, without whom nothing is merged in merge request mode. The task's reviewers go over the work once it is in review, and the project sets the number of approvals required, from 1 to 5.

How many errors are included?

5,000 error events per application per month, on every plan. Beyond that, error tracking is billed at its own price, the same on every plan.

What do we pay for the site chat?

Only the AI's answers, which draw on the AI credit. The chat, the Support inbox and your team's answers are free. The chat answers in seven languages, and every bubble written by the AI is labelled as such.

Hand your first task to an agent this week

Create your space in a few minutes, or book a demo to connect a first repository with the ERHA team.