Skip to main content
Skip table of contents

Monitoring & Analytics - Custom Transaction injected in a Replay

Customer(s)

Online Stock Trading Platform

Description

One of our clients needed to automatically inject a “Custom” Transaction into a User Session Replay (recorded automatically by Germain), everytime its clients click on a button (e.g. Checkout Cart, Session Started) on their eCommerce UI.

This allows them to faster identify session they care about the most. Alternatively, they could have used our Business Process mechanism to define that user click.

Configuration

These rest APIs:

Germain.createEvent(name, details) where

  • name: name of event (e.g. session started)

  • details: an optional object where you can pass along additional information that’s available on drillthrough screens

Germain.createMetric(name, value, details) where

  • name: is the name of the metric you want to record

  • value: a numeric value (type double) for the metric

  • details: an optional object where you can pass along additional information that’s available on drillthrough screens

The events/metrics will be shown in the event list of replays (see screenshot). If you configure the SLAs for each of these KPIs (Browser Event/Browser Metric), SLA violations will also show up in the timeline of a replay

 You can of course also configure portlets on your dashboard for these events/metrics. 

Example

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.