For the complete documentation index, see llms.txt. This page is also available as Markdown.

Recording Link

Configure your website for getting screen recording and technical details for issues using Recording Links: Login > Workspace Settings > Recording Link

lightbulb

Here’s what the complete process looks like:

  1. Install the recorder and log-capturing feature for the shared recording URLs coming from your website -> For this, you'd add two code snippets (provided below in the configuration steps) to your website’s HTML head.

  2. Add/register the base domain address with BetterBugs.io ->This enables you to generate one or more recording URL(s) containing your own domain address.

  3. Verify -> Finally, validate and verify the successful installation with the “Verify” button.

And you’re good to go.

1

Click on BetterBugs.io Workspace name at the top left side of app screen. Now, click the gear icon to open Workspace Settings > Recording Link

2

Add the Log Capture and Recorder Scripts

Add the following recorder and logs capturer scripts to your website's HTML head tag.

These allow your recording URL to capture technical details (console logs and network requests) to auto-attach with your recording.

<html>
  <head>
    <!-- Put this in the HTML head tag -->
    <script src="https://pkg.betterbugs.io/scripts/latest/logs-capture.js"></script>
    <script src="https://pkg.betterbugs.io/scripts/latest/recorder.js"></script>
  </head>
</html>
3

(Optional) Customize Theme for Recorder UI

You can also customize the recorder UI theme as per your brand colors and design. Add the following code to your website's HTML head tag. You can modify the values for all options as per your need.

<html>
  <head>
    <!-- Put this in the HTML head tag -->
    <!-- All Customization Options for Recording Links UI -->
    <script>
      window.__BetterbugsRecordingLinkConfig = {
        styles: {
          theme: "light",
          primaryColor: "#000000",
          primaryTextColor: "#ffffff",
        },
        startRecordingBtnText: "Start recording",
        mainHeaderText: "Ready to record?",
        subHeaderText: "Record your screen",
        emailFieldLabel: "Email",
        titleFieldLabel: "Title",
        descriptionFieldLabel: "Description",
        emailFieldPlaceholder: "Enter your email",
        titleFieldPlaceholder: "Enter your title",
        descriptionFieldPlaceholder: "Enter your description",
        successMessageHeaderText: "All set!",
        successMessageSubHeaderText: "We've saved your input",
        metaData: {
          key: "value",
        },
      };
    </script>
  </head>
</html>
4

Register Your Domain

To register your website address/base domain with BetterBugs.io, click “Verify” and the bottom right.

5

Add Site URL

Now, add your website address/base domain and click "Add URL". You should get a toast notification for successful validation.

6

Verify Script Installation

Finally, click the “Verify” button to check if everything works correctly. This step verifies the correct installation of the added scripts.

A new tab should open a widget should appear, which shows the successful installation for:

  • Recorder script

  • Web SDK initialization

You’re good to go.

Now, you’re ready to create recording links (using BetterBugs) that come from your web address and also give you the devtools info (console logs and network requests) when your users record any issue using them.

How to Generate Recording URL(s) that Captures Developer Logs (After Registering Your Domain): One-Time Usage

1

From your BetterBugs.io dashboard, click on “Recording Links” located just below your workspace name.

2

Click “+ New Link” located on the top right.

3

Disable the Reusable Option

Disable the "Reusable" option to create link for single usage.

lightbulb

Here, we've covered the steps to generate the recording link for a one time usage.

You can follow the same steps for generating reusable recording links by enabling the "Reusable" option and specifying the expiry date + number of times it can be reused.

4

Add the following details:

  • Choose Project* -> Select a BetterBugs.io project (from the current workspace) to which the recording would be saved. It’s a required field.

  • Name your recording link -> Add a name for the recording link (e.g., issue with the login, Payment issue, Customer issue, or any others).

  • Capture logs from -> Select the domain to get logs from.

    lightbulb

    MORE INFO

    The “Capture logs from” dropdown shows the list of domains you’ve added for getting logs. If you’ve added just one domain, the same would be used by default for the recording URL that captures logs.

5

Hit the “Create link” button. This creates a one-time usage recording link with the “Ready to Record” tag.

Okay! You're all set.

Now, when you share the Recording Links and a user submits a bug report to you, you’ll also get auto-attached technical details from the devtools in the same report, everything bundled.

Quick Overview: All Customization Options for the Recorder UI

Option
Type
Description

styles

{ theme?: "light" | "dark",

primaryColor?: string, primaryTextColor?: string, }

Set the styles of the recorder

startRecordingBtnText

string

Text for the start recording button in the recorder UI

mainHeaderText

string

Main header text in the recorder UI

subHeaderText

string

Sub header text for recorder UI

emailFieldLabel

string

Email field label in the submit form after the recording is finished

titleFieldLabel

string

Title field label in the submit form

descriptionFieldLabel

string

Description field label in the submit form

emailFieldPlaceholder

string

Email field placeholder in the submit form

titleFieldPlaceholder

string

Title field placeholder in the submit form

descriptionFieldPlaceholder

string

Description field placeholder in the submit form

successMessageHeaderText

string

Main header text in the UI after the report is successfully submitted

successMessageSubHeaderText

string

Sub header text in the UI after the report is successfully submitted

metaData

object

Custom metadata to attach to reports. e.g.,

{ username: "obi-wan", plan: "individual", userID: 1234, }

Last updated