Recording Link
Configure your website for getting screen recording and technical details for issues using Recording Links: Login > Workspace Settings > Recording Link
Quick Overview: Step-by-Step Breakdown for Configuring Recording Links for Your Custom Domain
Here’s what the complete process looks like:
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.
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.
Verify -> Finally, validate and verify the successful installation with the “Verify” button.
And you’re good to go.
How to Register Your Own Domain/Website with BetterBugs.io Recording Links: Step-by-Step
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>(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>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
Add Details for the New Recording Link
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.
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.
Example Code: Installing Recording Link (that captures console logs, network requests, and others) With Theme Customization Options
Quick Overview: All Customization Options for the Recorder UI
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