Google Analytics
 

Vedran Mandić
2017-10-10

In just a few slides for the .NET dev

It's a marketing tool by Google

  • Freemium
  • Tracks website usage, e.g. visitor count
  • Handles tracking via a JavaScript tracker
  • Online dashboard for reporting
  • Provides different kinds of reports and insights

What does it look like?

Online dashboard - overview of Page visits

Manage multiple accounts at once

How to implement
the JS tracker?

...
<head>
    ...
    <!-- Global Site Tag (gtag.js) - Google Analytics -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-112344567-1"></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());
    
      gtag('config', 'UA-112344567-1');
    </script>
</head>
...

Tracker snippet in <head> 

Thanks...
 

...and demo time!