# Snippet

The Birdie snippet enables log and network request capture during recordings. It also powers sensitive data masking. Install it on your product pages — it sleeps until a recording starts and won't affect your app's performance at rest.

{% hint style="info" %}
Birdie Snippet **is required** for [capturing logs](/birdie-docs/request-screen-recordings/devtools-console-logs-and-network-requests.md).\
Birdie Snippet **is required** if you want to [hide sensitive data](/birdie-docs/security/hide-sensitive-data.md).&#x20;
{% endhint %}

#### Single domain setup - <mark style="color:$success;">recommended</mark>&#x20;

Your product lives on one domain, including any subdomains. \
This is the standard setup - simpler, faster, and works for the vast majority of products.\
e.g. `app.acme.com` · `dashboard.acme.com` · `acme.com`

{% content-ref url="/pages/7oW5RCmeXyrF2bozeaAi" %}
[Single Domain Setup](/birdie-docs/request-screen-recordings/installation/snippet/single-domain-setup.md)
{% endcontent-ref %}

***

> Your product spans multiple *separate* domains (e.g. `acme.com` and `acme.eu`)? \
> This requires a different setup and must be enabled by Birdie first. \
> [See the Multiple Domains setup →](/birdie-docs/request-screen-recordings/installation/snippet/multiple-domains-setup.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.birdie.so/birdie-docs/request-screen-recordings/installation/snippet.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
