Free Magento Module: Google Analytics Dashboard

Google Analytics is a brilliant tool for tracking visits and learning more about your visitors. However, if you want a quick look at your webshops' stats, logging in to your account is quite some hassle. To make things a little easier for you (and, if you are a webdesigner: to make things a little easier for your customers), we've created Analyticsdash; a simple, integrated overview of your most important stats directly accessible from your Magento admin panel.

Features

  • A quick overview of today's and yesterday's visits, pageviews, average pages per view, and average time on the site.
  • And overview of top content and top referrals.
  • Quick and easy to install, configure your website id, username, password and desirable cache lifetime
  • Will cache if block caching is enabled
  • Quick access button to your full report at google.com/analytics

Installation

  • Copy the files provided to your Magento installation
  • Browse to System > Configuration and click on the tab on the left: Analytics.
  • Fill in your information. For the Profile ID, login to Google Analytics and select your profile. You'll find the profile ID in the URL of your profile, e.g.: Old Analytics or the New Analytics.
  • Refresh cache

Please join our mailinglist to download for free, no spam guarantee. If you've already joined our mailinglist before, please login at our secured download page

Please let me know if you are experiencing problems. I've only tested this module in Magento 1.5, but I don't think it will give problems in older versions. If you want to stay informed about updates and new freebies, you definitely want to subscribe to our RSS feed. Otherwise, you can find us at Twitter.

H&O is expert in het oplossen van complexe Magento vraagstukken, maatwerk grafisch ontwerp en het bouwen van custom Magento modules.

Als je op zoek bent naar een partner die je kan helpen met het beantwoorden van moeilijke Magento vragen, een maatwerk productimport voor je ontwikkeld of een custom Magento module voor je schrijft die jouw assortiment met een andere webshop koppelt, dan ben je aan het juiste adres. H&O heeft zich sinds 2007 verdiept in de techniek en ontwikkelingen van het e-commerce CMS, speelt een actieve rol in de community, heeft verschillende modules uitgebracht en heeft voor klanten uiteenlopende technische modules ontwikkeld. Ons kantoor is gevestigd in Roelofarendsveen, direct naast de A4 én slechts op 15 minuten afstand van Amsterdam. Neem contact met ons op en kom eens langs, dan bespreken we jouw vraagstuk!

Paul Hachmang

Paul Hachmang is a Back-end Developer from Roelofarendsveen (The Netherlands) and co-founder of H&O. His weapons of choice include PHP, MySQL, HTML, Javascript, ExpressionEngine, Magento and a good cup of coffee. Contact Paul Hachmang

Comments
  • Erwin Otten

    (mei 02)
    Reply to this comment

    For those who are getting an error, please read what the error says.

    - If you get Error=BadAuthentication, please double check your login information (account and password).
    - If you get the error “User does not have permission to access profile xxx”, please check your permissions at Google Analytics.

    Also, if you want to uninstall the module please delete app/etc/modules/HO_Analyticsdash.xml or edit it and change ‘true’ to ‘false’.

    • Navid

      (mei 03)
      Reply to this comment

      Hi,

      How can In uninstall this, it is not working on our website, I tried everything. It does not even let me know to refresh the cache.

      Please let me know the instruction to unistall this.

      Thanks
      Navid

      • Erwin Otten

        (mei 03)
        Reply to this comment

        You can uninstall Analyticsdash just like any other module:

        1: Disable caching, remove all caches via the admin panel (or just remove var/cache in your magento root)
        2: Delete app/etc/modules/HO_Analyticsdash.xml or edit it and change ‘true’ to ‘false’.

  • Ralf

    (mei 03)
    Reply to this comment

    Works great, but we are using it in an multi store environment and at this time stores all data for multiple stores but only showing on store under analytics tab. Is there any possibility to switch between the stores or to show the data from all stores?

    • Paul Hachmang

      (mei 05)
      Reply to this comment

      Haha, I was afraid someone was going to ask this question sooner or later. As you guessed it’s not possible right now, but maybe we could implement something like a multi profile setup in the future. I’ll think about it.

  • Photocopiers & Multifunction Printers

    (mei 31)
    Reply to this comment

    Another nice solution guys and thanks for sharing, but I notice that the ‘Top Referrals’ list is to the right of the pie chart rather than beneath it!

    Mike

    • Ben

      (jun 16)
      Reply to this comment

      Navigate to app/design/adminhtml/default/default/template/Analyticsdash/index.phtml

      find this:
      <span>

      and replace with this:
      <span>

      Thanks for the extension guys, quite useful :)

      • Ben

        (jun 16)
        Reply to this comment

        Sorry, try replacing:
        span style=“float:left;width:100%;background:#fff;text-align:center;padding:10px 0”

        with:
        span style=“width:100%;background:#fff;text-align:center;padding:10px 0;display:block;”

  • Simone

    (jun 16)
    Reply to this comment

    Hello, module works really great. i’m the Admin of ducatimilano.it adn i have created a user just to create products but in roles, i can not find the analyticsdashboard to assign permission to view this tab to newly created user.

    do you have a trick for this?

    when i log in with admin, tab is there, when i log in with user, no dash :(

    thank you
    Simone

  • Simone

    (jun 23)
    Reply to this comment

    Hy, could please someone reply to my question? thank you very much
    Simone

    • Paul Hachmang

      (jun 23)
      Reply to this comment

      Hi Simone,

      Although this should work, there seems to be a bug. I’m working on an update which addresses the roles issue. Besides that, I’m also looking into the multi store environment. I expect a release somewhere next week.

  • Luca

    (jun 24)
    Reply to this comment

    hi

    it works on 1.4.0.1 ?

    in admin panel i see this error:

    Fatal error: Class ‘HO_Analyticsdash_Helper_Data’ not found in C:\wamp\www\magento1401\app\Mage.php on line 523

  • mark

    (jul 04)
    Reply to this comment

    works perfect in 1.5.1.0 and to find the profile id look at link when going to VIEW REPORTS and loo in url:

    https://www.google.com/analytics/reporting/?reset=1&id=XXXXXXXX <————————-here

    thanks !

  • Ovidiu

    (jul 14)
    Reply to this comment

    Thanks, works perfect on 1.5.1
    Waiting for multiple account update

  • Satish M.

    (jul 23)
    Reply to this comment

    You did good work with snap shots.  The most significant feature of Magentocommerce is multiple website or Multi store feature. Magento allows multiple websites or web stores within one installation. You can get same and more info about the setting of magento multi store here.http://www.thiswasspam.com/

  • Crystal D.

    (aug 04)
    Reply to this comment

    Thanks for this module, it’s great. For some reason, I don’t show the top referring links- like it shows in the screen shot. I only have the piechart. Am I missing something?

    Thanks :D

  • Crystal D.

    (aug 05)
    Reply to this comment

    I have been using Firefox to access the backend of my magento install because of IE and Chrome won’t allow me to log in, think it has something to do with cookies/ session management, a problem I haven’t had the time to resolve yet. Still have the piechart but no links.

  • Dave

    (aug 09)
    Reply to this comment

    Hi Paul - copied 3 folders/files into /app folders, refreshed cache, can see top Analytics nav (Error=BadAuthentication which is expected before configuration), but I am getting a 404/page not found in the System | H&O | Analytics config link to add my Google info.  Link it is pointing to is: https://domainname.com/index.php/admin/system_config/edit/section/analyticsdash/ - any idea on that?  Thanks!

  • Colin

    (aug 16)
    Reply to this comment

    I too would like to see a version that supports multiple websites! -Thanks for providing this nifty little module!

  • Joe Fletcher

    (aug 17)
    Reply to this comment

    I’ve been waiting for a Google Analytics Dashboard Magento extension like this for over 2 years! I tried out Jiraffe Analytics once, but it was too buggy (circa 4/2011).

    There was an alignment issue for some of the cells (Chrome 14 beta Win 7) as seen here: http://screencast.com/t/h43HLms9pMr

    I fixed mine with style=“vertical-align:middle;”

  • Jay

    (aug 19)
    Reply to this comment

    On 1.5, works great. Thank you for sharing this extension. 

    Request: Could you please add E-Commerce stats to the analytics dashboard as well? I imagine most store owners would want to see it :)

    • Erwin Otten

      (aug 22)
      Reply to this comment

      Hi Jay. Good to hear it works for you. Adding E-Commerce stats is not a bad idea, we’ll think about it. Thanks for the suggestion!

  • braboin

    (aug 27)
    Reply to this comment

    Hi I just installed the extension on 1.6, cleared cache, logged out/in, and still receiving the error:
    GAPI: Failed to authenticate user. Error: “Error=BadAuthentication “

    any thoughts?  I am using the profile ID and not our UA tag.

    Thanks, looking forward to using a great extension!

    • braboin

      (aug 28)
      Reply to this comment

      issue resolved, I had fat-fingered my password so it was erroring out. great extension!

  • neb nall

    (sep 07)
    Reply to this comment

    this extension rocks!!!...so, how would i go about adding blocks to the admin dashboard? say under the last search terms etc..blocks like todays visits, yesturdays visits and pie chart???...once again awsome extension HO’

  • Juergen

    (sep 12)
    Reply to this comment

    I keep getting the authentication error on the dashboard… GAPI: Failed to authenticate user. Error: ....
    But if I click on View Full Report it opens it in analytics just fine. checked my credentials 3 times over, but it’s not making a difference

  • Pieter de Jong

    (sep 16)
    Reply to this comment

    Geweldige plugin! Eenvoudig te installeren.

    Heel hartelijk bedankt!

  • Wout

    (sep 18)
    Reply to this comment

    Installed the Google Analytics in Magento CE 1.5.1.  I get the following message:
    “GAPI: Failed to authenticate user. Error: “”“. 
    The [View full report] option works fine and gives me access to my Google Analytics account as it should be.
    What is causing this problem and how is it solved?

  • ws

    (okt 24)
    Reply to this comment

    With Magento 1.6.1.0, this produced the error that was already mentioned above: The frontend works fine, but the backend after refreshing all caches only shows “Fatal error: Class ‘HO_Analyticsdash_Helper_Data’ not found in xxx\app\Mage.php on line xxx” (for me it was line 516 this time). Only solved it by killing the cache and removing all Analyticsdash files. Would’ve been a great add-on…

  • Bob

    (nov 10)
    Reply to this comment

    Hi,

    I was just wondering if there is any update to the custom user role bug where the Analytics tab is not visible to non admin users ?

    Otherwise a fantastic addition to magento
    Thanks :)

    • Bob

      (nov 11)
      Reply to this comment

      For anyone else having an issue with custom permission roles you need to add the following block of code on line 47 directly after <resources>  to enable you to enable the Analytics option in the main menu

      app/code/community/HO/Analyticsdash/etc/config.xml

        <admin>
          <children>
          <analyticsdash>
                  <title>Analytics</title>
                  <sort_order>15</sort_order>
          </analyticsdash>
          </children>
        </admin>

  • Mathijs

    (dec 06)
    Reply to this comment

    Seem to work great here to! Thank you so much for this great extension!

  • Paul

    (jan 21)
    Reply to this comment

    Any news regarding the multiple store front update?

  • Carl

    (feb 28)
    Reply to this comment

    I have been able to configure my login settings (systen>configuration>Analytics) However the top link doesn’t appear. The entire Google Analytics dashboard isn’t viewable at all. Did someone ran into the same issue? H&O, please advise, thanks in advance.

    • Carl

      (feb 28)
      Reply to this comment

      Also just found out that System>configuration>advanced>‘system’ and ‘admin’ didn’t work anymore. It gave me an error 500. Version 1.5.0.1. Now deleted everything, which restored it back to normal. I would like to have this feature though.. :(

  • Steven

    (feb 29)
    Reply to this comment

    Hey Paul, just a side note: Looks like they (http://www.magento4all.com/google-analytics-dashboard.html) are selling your “free” Analytics Modul.
    Beside that: Any updates planned for Magento 1.6.2.0?
    Great extension, keep going! :)

  • Qbizner

    (apr 15)
    Reply to this comment

    In welk map moet ik het exact uploaden?
    Ik heb het nl in de app map geplaatst maar zie de extensie niet onder systeem/configuratie.

    Alvast bedankt voor de antwoord.

    • Qbizner

      (apr 15)
      Reply to this comment

      Ik heb wel gevonden waar ik de bestanden moest plaatsen en dat heb ik ook gedaan. Maar krijg nu een error 404 als ik op systeem/configuratie op Analytics klik. Mis ik nog ergens een bestand? En even voor de duidelijkheid, ik zie ook alvast de Analytics link naast de dashboard tabblad.

      • Erwin Otten

        (apr 16)
        Reply to this comment

        Hoi Qbizner, Dat is waarschijnlijk een kwestie van uit- en weer inloggen op het adminpanel. Dat heb je altijd als je een nieuwe Magento module installeert die een eigen admin pagina heeft! Succes, Erwin

  • sainom

    (jul 30)
    Reply to this comment

    Hi,
    Not working in 1.7, not show any thing, any idea how it works?.....

  • Vincent

    (sep 18)
    Reply to this comment

    Nice module, worked out of the box! Managing several stores is in the road map? Thanks!

  • Premium-Humidor

    (okt 18)
    Reply to this comment

    Thanks, works perfect with 1.7.0.2

  • Tim

    (nov 29)
    Reply to this comment

    Installed fine. Looks pretty. Seems to be working perfectly in Magento 1.7.0.2 CE.

    One question: Is there a way to control the time zone? The module seems to be living in UTC and I’m living in UTC-8.

    Thanks!

  • Steve

    (dec 23)
    Reply to this comment

    thanks for this extension. Ive installed correctly but all the data is set to 0. my google analytics propertly is 1 year old

    any ideas?

  • Steve

    (dec 23)
    Reply to this comment

    Great extension! ive installed correctly but no data is coming into magento admin

    any ideas?

  • Kim

    (feb 04)
    Reply to this comment

    I am using magento 1.7.0.2. I have installed your extension but I got following erorr
    “GAPI: Failed to authenticate user. Error: “Error=BadAuthentication”
    Any thought? Thanks

  • World Gufts

    (feb 17)
    Reply to this comment

    I have Magento 1.6.1 and it does not work in spite of doing everything written above

  • Blair

    (apr 09)
    Reply to this comment

    Guys, if you are having issues with permissions, you have to access https://accounts.google.com/DisplayUnlockCaptcha first, with whatever account you are trying to login with.
    Once you do this, the module should start working

Reageren

Contact

Bel mij terug

Vul uw telefoonnummer in en we bellen u zo spoedig mogelijk terug.

Contactgegevens

H&O
Veenderveld 20
2371 TV
Roelofarendsveen
info@h-o.nl
www.h-o.nl
071 744 0084
KvK Rijnland nr. 28119089
BTW nr. NL818554071B01

Nieuwe projecten

Wilt u weten wat H&O kan betekenen voor uw Magento project? Stuur ons een mailtje:

Paul Hachmang

p.hachmang@h-o.nl

Erwin Otten

e.otten@h-o.nl

Contactformulier