Skip to content

Commit 3fa3724

Browse files
Fix Mixpanel error
1 parent c157b3f commit 3fa3724

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/components/Analytics.tsx

+1-4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export default function Analytics() {
88
useEffect(() => {
99
LogRocket.init('4sdo4i/replay-docs')
1010
mixpanel.init('ffaeda9ef8fb976a520ca3a65bba5014', {
11+
debug: true,
1112
track_pageview: 'url-with-path',
1213
})
1314

@@ -21,10 +22,6 @@ export default function Analytics() {
2122
src="/stats/script.js"
2223
data-website-id="9dab9357-6fa2-48ab-966a-82c4e1bb67fe"
2324
></script>
24-
<script
25-
async
26-
src="https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js"
27-
></script>
2825
</>
2926
)
3027
}

0 commit comments

Comments
 (0)