Add analytics.js to Your Site Stay organized with collections Save and categorize content based on your preferences. The analytics.js library (also known as "the Google Analytics tag") is a JavaScript library for measuring how users interact with your website. This document explains how to add the Google Analytics tag to your site. The Google Analytics tag The Google Analytics tag should be added
![Add analytics.js to Your Site | Analytics for Web (analytics.js) | Google for Developers](https://cdn-ak-scissors.b.st-hatena.com/image/square/6d3eb3510d7d9f9f1d480a59d063b90f3493495f/height=288;version=1;width=512/https%3A%2F%2Fwww.gstatic.com%2Fdevrel-devsite%2Fprod%2Fve5ef9ac7b497e19ece9427facc78d0c59aaab7a2bc6a0f75fdae93f4ee589f67%2Fdevelopers%2Fimages%2Fopengraph%2Forange.png)