Single Domain Setup
Birdie automatically captures console logs when a user records an issue.
Setup overview
To capture console logs, you need to:
Install the Birdie snippet on your app
Whitelist Birdie in your Content Security Policies
Identify your users with an email (optional)
Configure a recording page
1. Install the Birdie snippet
You can choose between 2 options:
Option A: Frontend Integration using NPM
npm install @birdie-so/snippet
# or
yarn add @birdie-so/snippetOption B: Manual installation
Go to Settings → Logs
Click on Send to developer, or Copy the snippet code and paste it in the
<head>section of your web app. Note that the snippet is unique to your organization.
2. Whitelist Birdie in your Content Security Policy
To ensure proper functionality, whitelist the following:
HTTPS:
https://*.birdie.soSecure WebSocket protocol:
wss://*.birdie.soPort:
443, 3478 (TCP and UDP)IP Address:
18.189.92.93and3.20.198.186
Popup communication compatibility
Some Birdie flows require the Recorder opened in a new window to communicate with the window that opened it.
If your page sends the following header:
Cross-Origin-Opener-Policy: noopener-allow-popups
then the opened page may not have access to window.opener, and popup-to-opener communication may not work.
Make sure your opened page does not isolate itself from its opener in a way that disables window.opener.
3. Identify your customer with an email - optional
The setup depends on how you installed the snippet:
If you installed with NPM
Set the contact: { email: ""} value, or update it as soon as you have it. See full example above:
If you installed manually
Add contact_email info in your window.birdieSettings . See example above:
4. Recording Page
When a customer opens a Birdie recording link, Birdie needs a page to display the recording interface. This page is called your recording page.
If you registered a Custom Domain name in Birdie, we can handle that page for you: just go to Birdie settings and enable Log Capture. You're done!
Otherwise, if you don't have a Custom domain name, or want to setup a testing environment, go ahead:
5. Configure and verify your recording page
You must setup a blank and unauthenticated page on your app containing our snippet: Birdie will always use this page to open the recorder...
You can think of it as a simple entry point on your site where Birdie launch the recorder and allow customers to record their screen directly from your site.
Step 1: Create your recording page
The best practice here is to create a dedicated recording page on your app. Example:
This page should:
include the Birdie snippet
be on the same domain as your app
be a blank page
be accessible without authentication (like your login page)
not redirect anywhere
👉 This ensures your recorder works reliably in all situations.
Important: redirects can break the recorder
If your recording page redirects users, for example to a login page, Birdie parameters may be lost.
Example:
If these parameters are removed:
the recording interface will not appear
logs will not be captured.
Requirement: preserve query parameters
If your app performs redirects, your developers must ensure that:
the full query string is preserved, or
parameters are forwarded to the destination page
Here is a typical example of a recording page:
What happens when a recording starts
When a customer opens a recording link:
Birdie opens your recording page
The Birdie snippet loads
The recording interface appears
Logs are captured during the session across your app
👉 This is why the page must be on your domain and include the Birdie snippet.
Step 2: Add your recording page in Birdie
Go to your Birdie logs settings:
Enter your recording page URL
Click Verify
Birdie will check that your setup is correct before enabling log collection:

Quick test before verifying
Before clicking Verify :
Open your recording page in an incognito window
Add a test parameter, for example:
Check that:
the page does not redirect, or
the parameter is still present after redirect
If the parameter disappears, your setup needs adjustment.
If you need help or have a question, contact us at support@birdie.so
Last updated

