Clients may want us to add Google Analytics feature in our Liferay Portal site—they may want our Liferay Portal site to be hooked up with the Google Analytics site. They may even want event reports and custom variable reports. Because these events may happen on any portal page, we will add the code for Google Analytics in the
portal_normal.vm file of a theme.
To send our site information to the Google Analytics site, first we need to create a Google Analytics account. If you already have a Gmail account, you can use it for your Google Analytics site.
Go to the Google Analytics site at http://www.google.com/analytics/ and sign in.
After you sign in, go to the Account Administration page, and create a new account for your ...