Skip to content

Commit

Permalink
Merge branch 'main' into julianneb-mixpanel-patch-8
Browse files Browse the repository at this point in the history
  • Loading branch information
myronkaifung authored Dec 17, 2024
2 parents dc47d72 + f776723 commit da5c5dd
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion pages/docs/community.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import { Cards } from 'nextra/components'
# Community

<Cards>
<Cards.Card icon title="Slack Community" href="https://www.mixpanel.com/community-slack" />
<Cards.Card icon title="Slack Community" href="https://community.mixpanel.com/" />
<Cards.Card icon title="Guidelines" href="/docs/community/guidelines" />
</Cards>
2 changes: 1 addition & 1 deletion pages/docs/tracking-methods/integrations/google-sheets.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Callout } from 'nextra/components'

## Overview

Mixpanel has a native extension for Google Sheets that enables you to import Sheets data to your Mixpanel project, and export your Mixpanel reports/cohorts to your Sheets.
Mixpanel has a native extension for Google Sheets that enables you to import CSV data to your Mixpanel project, and export your Mixpanel reports/cohorts to your Sheets.

The source code for this extension lives [here](https://github.com/mixpanel/sheets).

Expand Down
10 changes: 5 additions & 5 deletions pages/docs/tracking-methods/sdks/javascript.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -747,13 +747,13 @@ Here's a [full code sample](https://gist.github.com/ranic/80459104def4e4bcd73d5c

## Session Replay

Capture and replay data on how a user interacts with your application. Replay collection is disabled by default, and the Replay portion of the SDK will not be loaded into your application until specified. To use this feature, you must be on at least version 2.50.0 of our JavaScript SDK.
Capture and replay data on how users interact with your application. By default, the Replay functionality is disabled and will not be loaded into your application until explicitly enabled. Ensure your application runs at least version 2.50.0 of our JavaScript SDK to use this feature.

Before you enable Session Replay for a large audience, we recommend testing in a demo project, and starting in production with smaller sets of users or accounts, so that you can monitor performance and ensure your privacy rules align with company policies.

### Sampling Method
### Implementation / Sampling

The easiest way to begin capturing session replays is by sampling a subset of users, specified during initialization:
Implementing Session Replay and setting your sampling rate can be accomplished in a single step during the SDK initialization. Here’s how to activate Session Replay and control the volume of session data captured:

```javascript
mixpanel.init(
Expand All @@ -764,9 +764,9 @@ mixpanel.init(
)
```

Start with a smaller percentage and tune to fit your analytics needs.
Start with a low sampling rate, such as 1%, and adjust according to your specific analytics needs.

If you already have the JS SDK installed, this is the only code change you need to start capturing session replays.
Note: This is the only change needed in your existing JavaScript SDK setup to enable Session Replay.

### Init Options

Expand Down
5 changes: 2 additions & 3 deletions pages/overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -842,9 +842,8 @@ article img {

.changelogMainContainer {
background-color: colors.$lightbg;
border-right: 1px solid colors.$lightbg;
border-left: 1px solid colors.$lightbg;
box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.06);
border-right: 1px solid colors.$base120;
border-left: 1px solid colors.$base120;

.changelogTitle {
color: colors.$purple200;
Expand Down

0 comments on commit da5c5dd

Please sign in to comment.