In this video, I walk through installing the Google Analytics plugin on a Gatsby site, talk about some of the plugin's configuration options, walk through how to track custom events, and walk through how to track outbound links.
Note: This video covers adding Google Universal Analytics properties. Google Analytics 4 is now the default property type when creating new projects. To follow along with this video you'll need to create a Google Universal Analytics property type.
If you are looking for videos on how to add GA4 to a Gatsby site, see my recent video on adding GA4 to a Gatsby site using GTAG.
Subscribe for future videos►[ Ссылка ]
Links:
Gatsby JS - [ Ссылка ]
Gatsby Google Analytics Plugin - [ Ссылка ]
Google Analytics - [ Ссылка ]
Timestamps:
0:00 - Introduction
0:48 - Installing the Gatsby Google Analytics plugin
3:02 - Configuration options
4:49 - Tracking custom events
6:21 - Tracking outbound links
Connect:
Gatsby Fundamentals Udemy Course: [ Ссылка ]
Website - [ Ссылка ]
Twitter - [ Ссылка ]
LinkedIn - [ Ссылка ]
Facebook - [ Ссылка ]
#gatsbyjs #googleanalytics #webanalytics
![](https://i.ytimg.com/vi/x7hNcYCMao0/maxresdefault.jpg)