Skip to content

Commit

Permalink
Update screen-tracking.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanneff authored Sep 13, 2024
1 parent 4d2608b commit ad7920f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions versioned_docs/version-6.x/screen-tracking.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export default () => {
ref={navigationRef}
onReady={() => {
routeNameRef.current = navigationRef.getCurrentRoute().name;
// Replace the line below to add the tracker from a mobile analytics SDK
await trackScreenView(routeNameRef.current);
}}
onStateChange={async () => {
Expand Down

0 comments on commit ad7920f

Please sign in to comment.