Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

How to add google Analytics to my core 2.1 web app locally?

$
0
0

Hi

I'm totally new at Google Analytics.

I want to add google Analytics to my core 2.1 web app. to show analytics on localhost, So I created a google analytics account.

And created Admin account and property like this:

Also created data streams like this:

Then I copied gtag.js code and paste it at <head> tag of my shared _Layout view.

Is there any steps missed? how to know if this is working? and how to open the google analytics results from the web application itself (localhost of course)?


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>