Set up Analytics tracking with gtag.js

gtag.js is the web tagging library that works for Google's site measurement, conversion tracking, and remarketing products – giving you better control while making implementation easier. By using gtag.js, you will be able to benefit from the latest dynamic features and integrations as they become available.

Basic instructions

If you have not already done so, create a property in Google Analytics. Create one Analytics property for each website you want to track. Creating a property generates a tracking ID, which you'll use in your gtag.js tracking code snippet.