Friday, April 30, 2010

PrestaShop Tips -- How to setup Google Analytics

Google Analytics (GA) is a free service offered by Google that generates detailed statistics about the visitors to a website. Its main highlight is that the product is aimed at marketers as opposed to webmasters and technologists from which the industry of web analytics originally grew. It is the most widely used website statistics service[1], currently in use at around 57% of the 10,000 most popular websites

Google public instructions on how to seup Google Analytics in any of your web sites. I have tried to setup myself for my PrestaShop on footer.tpl file based on Google's instructions, but it doesn't work and broke my page and my footer does not showup at all.

Finnaly I found out that in PrestaShop, there is an module included for Google Analytics. What you have to do it just install it and configure it.

Here is there instruction to do this:

1. Login as admin to your back office of PrestaShop
2. Click Modules tab
3. Search the page or go to "stat" section of the page to find "Google Analytics" module
4. Click Install if it is not installed
5. Click after you install it.
6. Input your site ID of Google Analytics and save it.
Example of ID: "UA-16143639-1"

See sample at:


Anonymous said...

Really helpful post...:)

Joomla development said...

I have searched many forums to install Google analytics code into prestashop web site. Here I can found simple excellent information. Thanks alot for sharing such a valuable information with us

Alvin said...

It is my pleasure and thanks for your encouragement.

Martin Radhose said...

Great post! Really helpful. Thanks :)

Anonymous said...

My prestashop module doesn't retain my UA number. Any thoughts?

Alvin said...

No idea why would that happens.
try to uninstall the module and reinstall it and then redo your setting to see if this changes.

Or could be cache some issues.
try to disable smarty cache temporary and enable force compile.

PrestaShop 1.4x or higher:
-Back office
-Preferences tab
-Performance tab

Anonymous said...

You also have this addon

It only add the simple analytics js code and it's working well. No step0, 1, 2...

Gaff Tapes said...

Appreciate this, just got my store up last year and had multiple problems with analytics. I tried embedding the code into header and footer. I didnt know they even had a module. Thanks!!!!