Skip to content

Commit e5a7d2f

Browse files
Merge pull request #987 from ably/WEB-4827-tweak-mp-auto-capture
[WEB-4827] Disable automatic pageview tracking in Mixpanel autocapture
2 parents 1bbd348 + 7d4531b commit e5a7d2f

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.gitignore

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,11 @@ pnpm-error.log
77
/preview
88
/core
99
/reset
10-
.idea/*
1110
types
1211
index.d.ts
1312
/src/core/Icon/computed-icons
14-
/src/core/Icon/components/
13+
/src/core/Icon/components/
14+
15+
# Ignore local development tools
16+
.idea/*
17+
.claude/settings.local.json

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ably/ui",
3-
"version": "17.9.11",
3+
"version": "17.9.12",
44
"description": "Home of the Ably design system library ([design.ably.com](https://design.ably.com)). It provides a showcase, development/test environment and a publishing pipeline for different distributables.",
55
"repository": {
66
"type": "git",

src/core/insights/mixpanel.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export const initMixpanel = (
2121
? {
2222
block_selectors: blockSelectors,
2323
capture_text_content: true,
24+
pageview: false, // We'll track page views manually
2425
}
2526
: false,
2627
track_pageview: false, // We'll track page views manually

0 commit comments

Comments
 (0)