In this topic you will learn how to add Google Analytics to your site. Learning how to do this will help you understand how Google Analytics can help you measure how many people were reached by your website or mobile application, and how you can reach more.
1. Sign in to your Google Analytics
![How to Add Analytics to Your Site 1 001-Project Zealous](https://www.projectzealous.com/wp-content/uploads/2023/02/001-300x125.png)
2. Head over to the Admin section from your dashboard
![How to Add Analytics to Your Site 2 002-Project Zealous](https://www.projectzealous.com/wp-content/uploads/2023/02/002-300x132.png)
![How to Add Analytics to Your Site 3 003-Project Zealous](https://www.projectzealous.com/wp-content/uploads/2023/02/003-300x129.png)
3. In the Admin section, go to the property column
![How to Add Analytics to Your Site 4 004-Project Zealous](https://www.projectzealous.com/wp-content/uploads/2023/02/004-300x150.png)
![How to Add Analytics to Your Site 5 005-Project Zealous](https://www.projectzealous.com/wp-content/uploads/2023/02/005-300x222.png)
4. Use the dropdown menu of the property column to make sure that you have already selected the correct property of your website
![How to Add Analytics to Your Site 6 006-Project Zealous](https://www.projectzealous.com/wp-content/uploads/2023/02/006-274x300.png)
5. In the column property look for “Tracking Info”, select and click the button
![How to Add Analytics to Your Site 7 007-Project Zealous](https://www.projectzealous.com/wp-content/uploads/2023/02/007-205x300.png)
![How to Add Analytics to Your Site 8 008-Project Zealous](https://www.projectzealous.com/wp-content/uploads/2023/02/008-300x164.png)
6. Once you have clicked the Tracking Info button, a few sub-selections will be shown to you. This time choose “Tracking Code”
![How to Add Analytics to Your Site 9 009-Project Zealous](https://www.projectzealous.com/wp-content/uploads/2023/02/009-212x300.png)
7. Selecting Tracking Code will show your Tracking ID and the gtag.js code for your site
![How to Add Analytics to Your Site 10 010-Project Zealous](https://www.projectzealous.com/wp-content/uploads/2023/02/010-300x155.png)
![How to Add Analytics to Your Site 11 011-Project Zealous](https://www.projectzealous.com/wp-content/uploads/2023/02/011-300x172.png)
8. Copy the gtag.js also known as your Global Site Tag
![How to Add Analytics to Your Site 12 012-Project Zealous](https://www.projectzealous.com/wp-content/uploads/2023/02/012-300x83.png)
![How to Add Analytics to Your Site 13 013-Project Zealous](https://www.projectzealous.com/wp-content/uploads/2023/02/013-300x88.png)
9. Paste this code to your server, sign in to your server
![How to Add Analytics to Your Site 14 014-Project Zealous](https://www.projectzealous.com/wp-content/uploads/2023/02/014-300x158.png)
10. Go to Files category and select File Manager
![How to Add Analytics to Your Site 15 015-Project Zealous](https://www.projectzealous.com/wp-content/uploads/2023/02/015-300x40.png)
11. Inside File Manager
![How to Add Analytics to Your Site 16 016-Project Zealous](https://www.projectzealous.com/wp-content/uploads/2023/02/016-208x300.png)
12. From the files of public_html, select and open the wp-content
![How to Add Analytics to Your Site 17 017-Project Zealous](https://www.projectzealous.com/wp-content/uploads/2023/02/017-300x146.png)
13. Inside the wp-content folder, open the themes folder
![How to Add Analytics to Your Site 18 018-Project Zealous](https://www.projectzealous.com/wp-content/uploads/2023/02/018-300x218.png)
14. Inside the themes folder, select the child-theme folder and open it
![How to Add Analytics to Your Site 19 019-Project Zealous](https://www.projectzealous.com/wp-content/uploads/2023/02/019.png)
15. Select Functions.php
![How to Add Analytics to Your Site 20 020-Project Zealous](https://www.projectzealous.com/wp-content/uploads/2023/02/020.png)
16. Right-click and select Edit
![How to Add Analytics to Your Site 21 021-Project Zealous](https://www.projectzealous.com/wp-content/uploads/2023/02/021-300x261.png)
17. Paste the code
![How to Add Analytics to Your Site 22 022-Project Zealous](https://www.projectzealous.com/wp-content/uploads/2023/02/022-291x300.png)
18. Click Save changes
![How to Add Analytics to Your Site 23 023-Project Zealous](https://www.projectzealous.com/wp-content/uploads/2023/02/023-300x19.png)
19. Refresh and go back to your Google analytics, inside your tracking info under tracking code, send test traffic
![How to Add Analytics to Your Site 24 024-Project Zealous](https://www.projectzealous.com/wp-content/uploads/2023/02/024-300x155.png)
20. After you send your test traffic, it should show that it has one active user. Then you’re good to go
![How to Add Analytics to Your Site 25 025-Project Zealous](https://www.projectzealous.com/wp-content/uploads/2023/02/025-300x198.png)
![How to Add Analytics to Your Site 26 026-Project Zealous](https://www.projectzealous.com/wp-content/uploads/2023/02/026-300x149.png)