--- title: "LogRocket integration: show Userflow content in session replays" slug: "logrocket" updated: 2026-10-26T16:17:00Z published: 2026-10-26T16:17:00Z canonical: "help.userflow.com/logrocket" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.userflow.com/llms.txt > Use this file to discover all available pages before exploring further. # LogRocket integration: show Userflow content in session replays The LogRocket integration makes Userflow content (flows, checklists and the Resource Center) visible in LogRocket session replays. Without it, Userflow content shows up in replays as striped-out rectangles, because LogRocket doesn't read into Userflow's iframes. [LogRocket](https://logrocket.com/) is a session replay, error tracking and product analytics tool. ## Do I need a separate LogRocket integration for Staging and Production? Yes. Each LogRocket integration connects one Userflow environment to one LogRocket project. We suggest a separate LogRocket project for each of your app's environments, matched to your [Userflow environments](https://help.userflow.com/docs/environments-and-versions), so Staging data doesn't mix with Production data. If you have both Staging and Production, run the setup once for each. ## Prepare LogRocket in your app LogRocket must already be installed in your app. If it isn't, see **Settings → Project Setup** in LogRocket. 1. Add the `mergeIframes: true` option to the `LogRocket.init` call in your app: ``` LogRocket.init(YOUR_APP_ID, {  mergeIframes: true }) ``` 2. If you installed LogRocket with npm, also expose the `LogRocket` object on `window`: ``` import LogRocket from 'logrocket' window.LogRocket = LogRocket ``` If you installed LogRocket with a script tag, skip this step. ## Connect LogRocket to Userflow 1. Sign in to Userflow and select the environment you want from the drop-down in the top-right corner. 2. Go to **Settings → Integrations**. 3. Click **Add integration**. 4. Click **LogRocket**. 5. Click **Add LogRocket**. 6. In the **LogRocket App ID** field, enter the same app ID your app passes to `LogRocket.init(YOUR_APP_ID)`. 7. Click **Save**. ![LogRocket setup screen in Userflow Settings → Integrations](https://cdn.us.document360.io/9697557a-eb5d-476f-9b09-062b0f7bdcbd/Images/Documentation/settings.png) ## Why don't some LogRocket sessions show Userflow content? Userflow only starts LogRocket for users your app already runs LogRocket for. If your app doesn't start LogRocket for some users, for example admins, Userflow doesn't start it for them either. ## Related articles - [Setting up environments and versions](https://help.userflow.com/docs/environments-and-versions) - [Integrations](https://help.userflow.com/docs/integration-old)