Skip to content

Commit 7b12d49

Browse files
committed
add pathname to callback
1 parent fcb9cec commit 7b12d49

File tree

1 file changed

+1
-1
lines changed
  • www/packages/docs-ui/src/providers/Analytics

1 file changed

+1
-1
lines changed

www/packages/docs-ui/src/providers/Analytics/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export const AnalyticsProvider = ({
8787
})
8888
)
8989
},
90-
[trackWithSegment, trackWithPostHog]
90+
[trackWithSegment, trackWithPostHog, pathname]
9191
)
9292

9393
const track = ({ event }: { event: TrackedEvent }) => {

0 commit comments

Comments
 (0)