Add Google Analytics
This topic describes how to add Google Analytics to your website.
Google Analytics is a web analytics service from Google that lets you track and analyze your website traffic.
To do this, get a tracking code from Google Analytics, paste it into your website's site verification settings, and view the data in your Google Analytics account.
Follow these steps:
1. Get the Google Analytics tracking code
Go to Google Analytics at https://analytics.google.com/, and then sign up or log in. To add your website, enter an Account Name, a Website Name, and your website's domain name in the Website URL field.
Optionally, select an industry category and set a reporting time zone.
After completing the fields, click Get Tracking ID.
The page displays the Global Site Tag (gtag.js). Copy this entire code snippet for the site verification step.
2. Return to your website's admin backend and navigate to site management > site verification.
Paste the code snippet into the HTML tag verification input box, and then click save.
3. Wait 24 to 48 hours for data to appear. You can then log in to your Google Analytics account to view your website's statistics.