Collecting analytics
Now that our site is up and running, we need to start collecting metrics to understand how it is being used. Metrics are key to operating a web application.
Google Analytics has many facets. The main three are as follows:
- Acquisition, which measures how visitors arrive at your website
- Behavior, which measures how visitors interact with your website
- Conversions, which measure how visitors completed various goals on your website
Here's a look at the BEHAVIOR | Overview page from my website https://thejavascriptpromise.com/:
Figure 14.1: Google Analytics behavior overview
https://thejavascriptpromise.com/ is a simple single-page HTML site, hence the metrics are quite simple. Let's go over the various metrics on the screen:
- Pageviews shows the number of visitors.
- Unique Pageviews shows the number of unique visitors.
- Avg. Time on Page shows the amount of time each user spent on the site...