Skip to content

Commit

Permalink
Update javascript.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pizzaz93 authored Apr 8, 2022
1 parent 46c3335 commit c470dd7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions articles/azure-monitor/app/javascript.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ appInsights.loadAppInsights();
appInsights.trackPageView(); // Manually call trackPageView to establish the current user/session/pageview
```

---

### Snippet based setup

If your app doesn't use npm, you can directly instrument your webpages with Application Insights by pasting this snippet at the top of each your pages. Preferably, it should be the first script in your `<head>` section so that it can monitor any potential issues with all of your dependencies and optionally any JavaScript errors. If you're using Blazor Server App, add the snippet at the top of the file `_Host.cshtml` in the `<head>` section.
Expand Down

0 comments on commit c470dd7

Please sign in to comment.