cancel
Showing results for 
Search instead for 
Did you mean: 

Google Analytics integration

SOLVED

Google Analytics integration

In order to integrate Google Analytics in my store, I have got the corresponding account; and prepared the analyticstracking.php file. Google advises to "use a common include or template to paste the code" <?php include_once("analyticstracking.php") ?>. Grateful for any hints on where to copy the file and how and where to paste the piece code.

Best regards,

3 REPLIES

Re: Google Analytics integration

Actually it is a lot easier than that. Magento has built-in support for the Analytics API so all you need to do is add your GA account number in the Google Analytics section in System -> Configuration -> Sales -> Google API. Click Save Config and the tracking code will be automatically added to your site.

Sindre M, CEO & Founder
ProperHost.com - The Magento Hosting Experts

Re: Google Analytics integration

Problem solved. Thanks a lot.

Re: Google Analytics integration

I just shared my Magento screen with Google developers and they said my Magento Google API was out of date. How do we update it? I tried to install a new plugin 

Google Universal Analytics

But it did not work. After install, the plugin shows a 404 error. 

 

Any suggestions to update Google API?