To learn more about what Google Analytics can do for you, take the official product tour at:
How to Configure Google Analytics for a Domain
To configure Google Analytics for your domain:
- Log into cPanel.
- In the Logs section, click on the Google Analytics Integration icon.
- Under Domain to Configure, select the domain to which you would like to add the Google Analytics code.
- In the text box, enter your Google Analytics Account ID for the domain you are configuring. It will look something like UA-12345678-1. You will need to obtain this from your Google Analytics account.
- Click Set Up Google Analytics.
Now, every time someone loads a page from the specified domain, the visit will be logged in Google Analytics. You will need to log into your Google Analytics account to see information about your visitors.
I do not see the option for Google Analytics Integration in my cPanel.
This feature is currently only enabled on our Shared hosting plans (Hatchling, Baby and Business).
I cannot publish using SiteBuilder after enabling the Google Analytics Plugin.
Because of the way the substitution engine works, if you are using the Google Analytics plugin in the HostGator control panel, you will not be able to publish your site in SiteBuilder.
To fix this, you will need to comment out the Google Analytics integration in the .htaccess file or disable it in cPanel, publish the website and then enable it again. For step-by-step instructions on how to resolve this issue, please see: