Support: 071 744 0084
Contact
071 744 0084
info@h-o.nl
Jos Verhaar - Magento support
Erwin Otten - New business
Paul Hachmang - Techniek

Free Magento Module: Google Analytics Dashboard

By Erwin Otten 26 april 2011 Laat een reactie achter Ga naar reacties

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

Download ZIP

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.

Erwin Otten

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'.

Helgi

Hello

I am getting this error:
GAPI: Failed to authenticate user. Error: "Error=BadAuthentication Url=https://x Info=WebLoginRequired "

I am certain that the PWD is correct, and I have copied the link in this error message, and authenticated it. What can I do to fix this ?

Erwin Otten

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’.

Navid

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

Ralf

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

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

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

Dave

Thanks Ben - this worked. Sounds like this needs to be updated in the download.

Mike

Thanks Ben, this cracked it.

Ben

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;"

Ben

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 :)

Simone

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

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

Paul Hachmang

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

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

Luca

ok! thanks!

Paul Hachmang

I noticed during the development of the update of this module that there are some bugs. In the new release I expect this to be fixed as well. Still planned somewhere next week.

mark

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

Thanks, works perfect on 1.5.1
Waiting for multiple account update

Satish M.

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.

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

Paul Hachmang

Could you please try it in a browser like Firefox or Google Chrome, do the top referrers show then?

Crystal D.

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

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!

Marco

Thanks, that worked out for me! This website is great!

Dave

Thanks Paul - logout/login worked. I forgot about that Magento nuance. Look forward to testing and checking this module out.

Paul Hachmang

Try clearing your cache and then log out and log in and then try again.

Dave

Also it is standard 1.5.0.1 install and logged in as full admin.

Colin

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

Joe Fletcher

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

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

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

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!

Erwin Otten

Ah, glad you figured it out! I was going to say you'd probably typed your password wrong ;)

braboin

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

neb nall

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'

Paul Hachmang

This is actually a good idea! Thanks for the suggestion!

Juergen

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

Geweldige plugin! Eenvoudig te installeren.

Heel hartelijk bedankt!

Wout

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?

Matthieu

You're welcome

Paul Hachmang

Thanks!

Matthieu

The special caracter : @

Paul Hachmang

What was the special character that caused the problem?

Matthieu

For information, I had remove special caracter in my password.
Now it works.

Paul Hachmang

This is almost always due to faulty credentials, please double, triple check.

Matthieu

I had the same problem with a Magento 1.4.0.1

ws

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

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 :)

Erwin Otten

Seems to work great, Bob. Thanks for your valuable addition.

Bob

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>
&lt;title&gt;Analytics&lt;/title&gt;
<sort_order>15</sort_order>
</analyticsdash>
</children>
</admin>

Mathijs

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

Paul

Any news regarding the multiple store front update?

Carl

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

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

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

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.

Erwin Otten

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

Qbizner

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.

sainom

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

Vincent

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

Premium-Humidor

Thanks, works perfect with 1.7.0.2

Tim

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

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

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

any ideas?

Kim

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

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

Blair

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

Michael

Hey Blair, I'm Magento 1.7 and your tweak worked, thanks heaps!

moukhtar

Hi, plz how can i use this module, H&O analytics on a multiple website Magento?
our magento manage 8 websites, and we have the H&O analytics module, i want to configure it to all my websites (the result of each websites).
Thx

manish

hi,
i am working with magento 1.8 and i need to setup google analytics to admin panel.i found this extension but not getting how to get these details can u give me detailed description on how to get these ids and do i need to add analytics code anywhere on my store..please help me

Laat een reactie achter