You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3. This opens MCP.json where you paste the following configuration:
180
+
3. This opens MCP.json where you paste the following configuration (replace the URL with `https://mcp-eu.mixpanel.com/mcp` for EU or `https://mcp-in.mixpanel.com/mcp` for IN):
Running this command will provide a link in your terminal to authorize your access with Mixpanel. Follow the authorization steps in your browser. After logging in via OAuth, you should see a confirmation message.
240
246
241
-
4.**Verify Configuration (or Create It Manually):**
247
+
4.**Verify Configuration (or Create It Manually):**
242
248
After authorization, your `settings.json` file for the Gemini CLI should be updated automatically. You can find this file at `~/.gemini/settings.json`. To check, run:
243
249
```bash
244
250
ls -la ~/.gemini
245
251
cat ~/.gemini/settings.json
246
252
```
247
-
The contents should be similar to the following:
253
+
The contents should be similar to the following (replace the URL with `https://mcp-eu.mixpanel.com/mcp` for EU or `https://mcp-in.mixpanel.com/mcp` for IN):
The following scopes are **optional** — they enable additional features when granted:
360
+
361
+
```
362
+
dashboard_reports bookmarks user_details
363
+
```
364
+
365
+
<Callouttype="info">
366
+
To request only a subset of scopes, pass `--static-oauth-client-metadata '{ "scope": "..." }'` to `npx mcp-remote`. Otherwise, all available scopes are requested automatically.
-**Desktop app issues:** Restart application after configuration changes
459
475
-**Free user limitations:** Remote URL integrations only supported in desktop app
476
+
-**"MCP access is not enabled for this project":** This means MCP has not been enabled at the organization level. Ask your **organization administrator** to enable MCP access in **Settings > Org > Overview**. Note that after the admin enables access, it may take up to 15 minutes for the change to take effect.
477
+
-**"Missing scope" error:** This usually means your cached authorization was created with an outdated scope list. To fix this, clear your cached auth data by deleting the `.mcp-auth` folder in the directory where you ran the authorization command, then re-run the authorization command to get a fresh token with all available scopes. If you previously used `--static-oauth-client-metadata` in your authorization command, either remove that flag so the client auto-discovers all scopes from the server or update the scopes used for that parameter for explicit control of scopes requested.
Copy file name to clipboardExpand all lines: pages/docs/session-replay.mdx
+21Lines changed: 21 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,6 +80,27 @@ The Replay Feed on the left of the player also allows you to:
80
80
- See a feed of events that occurred during each replay
81
81
- Display properties and their values within the event feed
82
82
83
+
### Magic Playlists
84
+
85
+
Magic Playlists allow you to save playlists of replays based on events or properties, making it easy to revisit groups of replays that matter to you over time. This feature helps solve common pain points:
86
+
87
+
-**Save interesting replays**: No need to repeatedly recreate replay searches
88
+
-**Dynamic playlists**: Create playlists based on your Mixpanel events and properties that automatically update as new replays meet your criteria
89
+
-**AI-powered insights**: Get AI text summaries that identify key patterns and insights across numerous replays at once
90
+
91
+
<Callouttype="info">
92
+
AI summaries for Magic Playlists are currently in beta and publicly available for all customers using Magic Playlists.
93
+
</Callout>
94
+
95
+
To create a Magic Playlist:
96
+
97
+
1. Access Session Replay from the side navigation in your Mixpanel project
98
+
2. Configure filters based on events, properties, or custom time ranges
99
+
3. Save the playlist, which will remember the filters you've applied
100
+
4. Select a destination Mixpanel board where you want the playlist to appear
101
+
102
+
Once saved, your Magic Playlist will appear as a playlist card on your selected board. Any time new replays meet your saved criteria, they will automatically appear in your playlist, keeping your board up-to-date with the replays that matter most to you.
103
+
83
104
## Best Practices
84
105
85
106
Session Replay is a powerful way to understand and debug user behavior by showing exactly what users see on their screens. This visibility is core to its value—but also introduces inherent privacy and security risks, especially when sensitive information appears in the UI.
Copy file name to clipboardExpand all lines: pages/docs/session-replay/heatmaps.mdx
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ To function, Heatmaps require Session Replay to be enabled, as they rely on sess
28
28
Heatmaps only capture data during sessions with recorded replays. If a page has limited replay coverage, the Heatmap may not offer meaningful insights.
29
29
30
30
<Callouttype="warning">
31
-
When clicks occur very close to page navigation events, the heatmap may occasionally show clicks on the wrong page. This happens because the timing between page changes and click events may not align perfectly. If you notice clicks appearing on the wrong page, try using a different [backdrop](#backdrops) to find the correct page state.
31
+
When clicks occur very close to page navigation events, the heatmap may occasionally show clicks on the wrong page. This happens because the timing between page changes and click events may not align perfectly. If you notice clicks appearing on the wrong page, try using a different [UI State](#ui-states) to find the correct page state.
4. Rotate through backdrops to view different states of your application for the same URL.
91
+
4. Rotate through UI States to view different states of your application for the same URL.
92
92
93
-

93
+

94
94
95
95
5. Use the Click Map and Heatmap toggles to show or hide each view. Click Maps help you see exactly which elements users click, which can clarify any inaccuracies in traditional heatmaps caused by dynamic page elements.
96
96
@@ -116,12 +116,12 @@ Once enabled, Goal Mode highlights the UI elements driving the most conversions,
116
116
Goal Mode works with any of your existing events and properties directly out of the box—no additional setup required.
117
117
</Callout>
118
118
119
-
### Backdrops
119
+
### UI States
120
120
121
-
Backdrops are snapshots of your application in various states (such as a modal open, a menu expanded, or different page layouts). Backdrops are pulled from session replays that match the URL you're analyzing, helping you understand how different views or UI states affect user interactions.
121
+
UI States are snapshots of your application in various states (such as a modal open, a menu expanded, or different page layouts). UI States are pulled from session replays that match the URL you're analyzing, helping you understand how different views or UI states affect user interactions.
122
122
123
-
Backdrops are subject to the same retention policies as your session replays. Once a session replay expires, it can no longer be used as a backdrop. If you don't see enough backdrops (or can't find the specific view or state you're looking for), consider increasing your session replay sampling rate to capture a wider set of application states.
123
+
UI States are subject to the same retention policies as your session replays. Once a session replay expires, it can no longer be used as a UI State. If you don't see enough UI States (or can't find the specific view or state you're looking for), consider increasing your session replay sampling rate to capture a wider set of application states.
124
124
125
125
<Callouttype="warning">
126
-
Heatmaps only track scrolling on the main page (window). If your site scrolls inside a nested container (like a div with its own scrollbar), heatmaps and interactive mode may not display data correctly. The interactive backdrops feature lets you customize your backdrop, but click positions within nested scrollable elements will still not be fully reflected.
126
+
Heatmaps only track scrolling on the main page (window). If your site scrolls inside a nested container (like a div with its own scrollbar), heatmaps and interactive mode may not display data correctly. The interactive UI States feature lets you customize your UI State, but click positions within nested scrollable elements will still not be fully reflected.
mParticle's Web SDK has a `.getDeviceId()` method which can be used to [retrieve the device_id](https://docs.mparticle.com/developers/client-sdks/web/initialization/#device-id-device-application-stamp). In the following example, we use this method to bind mParticle's device_id to Mixpanel's device_id, as well as patching [logPageView()](https://docs.mparticle.com/developers/sdk/web/core-apidocs/classes/mParticle%20&%20mParticleInstance.html#method_logPageView) and [logEvent()](https://docs.mparticle.com/developers/sdk/web/core-apidocs/classes/mParticle%20&%20mParticleInstance.html#method_logEvent) to include session replay properties on all mParticle events.
336
+
mParticle offers a direct integration for Session Replay with Mixpanel. You can configure Session Replay settings directly in your mParticle connection settings, which automatically handles session replay properties on all events.
337
337
338
-
This configuration assumes you are [forwarding web requests server side](https://docs.mparticle.com/integrations/mixpanel/event/#connection-settings) in the connection settings.
1. Ensure you have the mParticle Mixpanel Web integration enabled for your web workspace. This will load the Mixpanel JavaScript SDK and Session Replay on your site automatically via mParticle (no separate SDK install in your app code is required).
343
+
2. Configure Session Replay settings in your [mParticle Mixpanel connection settings](https://docs.mparticle.com/integrations/mixpanel/event/#connection-settings), including:
344
+
-**Session Recording Percentage**: Percentage of SDK initializations that will qualify for replay data capture
345
+
-**Record Heatmap Data**: Enable heatmap, rage click, and dead click collection
346
+
- Additional privacy and configuration options as needed
347
+
348
+
The direct integration automatically includes session replay properties (`$mp_replay_id`) on all events forwarded through mParticle, without requiring any additional code changes.
0 commit comments