What is Google Analytics?
Google Analytics is the enterprise-class web analytics solution that gives you rich insights into your website traffic and marketing effectiveness. Powerful, flexible and easy-to-use features now let you see and analyze your traffic data in an entirely new way. With Google Analytics, you're more prepared to write better-targeted ads, strengthen your marketing initiatives and create higher converting websites. (Text © Google)
For more info click here.
Adding Google Analytics to Maian Cart
Implementing Google Analytics is usually fairly simple and requires that code be placed in the head or body tags of a web page or pages. Maian Cart has a single header / footer file, which means code added to these main files will automatically appear on all pages. Depending on where you need to place code, edit the following files:
content/*theme*/header.tpl.php (Header Code)
content/*theme*/html/footer-google-analytics.htm (Footer Code)
Additional Footer Code
Any additional footer code should be placed in the following file: content/*theme*/html/footer-google-analytics.htm (Footer Code)
Self Hosted Solution
Some people may prefer a self hosted solution, so Google doesn`t have access to data. A recommended feature packed open source solution is Piwik. It even has an iPhone app for anyone who`s interested.
After installation, add the necessary code to either the header or footer template files as detailed above.