We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11192c4 commit 4d2608bCopy full SHA for 4d2608b
versioned_docs/version-6.x/screen-tracking.md
@@ -32,6 +32,7 @@ export default () => {
32
ref={navigationRef}
33
onReady={() => {
34
routeNameRef.current = navigationRef.getCurrentRoute().name;
35
+ await trackScreenView(routeNameRef.current);
36
}}
37
onStateChange={async () => {
38
const previousRouteName = routeNameRef.current;
0 commit comments