Skip to content

Commit a542d64

Browse files
authored
Merge pull request #96131 from BharathNimmala-MSFT/patch-6
Update javascript.md
2 parents 26ea2a2 + 09b7d22 commit a542d64

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

articles/azure-monitor/app/javascript.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ const appInsights = new ApplicationInsights({ config: {
3737
/* ...Other Configuration Options... */
3838
} });
3939
appInsights.loadAppInsights();
40+
appInsights.trackPageView(); // Manually call trackPageView to establish the current user/session/pageview
4041
```
4142

4243
### Snippet based setup

0 commit comments

Comments
 (0)