Features
Various display options: (Option to display Country Names or Flags or Both with user-defined number of results) , (Option to hide header ( Flags Country… )), (Option to display – Visits, Total Visits, Pageviews, Total Pageviews with percentages if you choose to hide the actual visits count), (Option to display – Total Countries that visited).Flags: Stats with country flags.
Cache support: feature to lessen the load on google analytics and in-turn page loading of wordpress page, where the widget is placed, will be faster.
Error Handling: Error handling/reporting in case of wrong username/password or Profile ID.
Download
Google Analytics VisitsScreenshots
Screenshot of Options Page and the Widget Preview:
Requirements
Requires PHP5Requires a WordPress (Version: 2.8.0 or higher) powered website (blog)
Requires a Google Analytics Account
A sidebar to place the widget (obviously)
Tested up to: 3.0
NOTE for WPMU users: I haven’t tested it and no support is provided for WPMU so far.
Installation
Installing should be a piece of cake and take fewer than five minutes.- Download it.
- Extract all files from the zip archive.
- Copy the linkable-title-html-and-php-widget folder to wp-content/plugins/
- Activate the plugin through the “Plugins” menu in wordpress.
- Go to the options page (Settings->Google Analytics Visits)

- enter the settings of your Analytics Account, username/password, enter the Profile ID of your website (get Profile ID from Analytics Home Page -> Actions -> Edit (Edit Profile) )


- Add the widget to the sidebar and give it a title or choose to leave the title blank.
Like the plugin?
If you are impressed with the plugin and would like to give back, here are some ways you can support this plugin:
- Rate this plugin 5 stars in WordPress Plugin Directory.
- Buy me a cup of coffee or two.
- Spread the word about my plugin by writing about it on your blog, tweeting, digging, stumbling, etc.
Changelog
1.1.4.4- NEW: Added debug reporting on Arturo’s request.
- Maintenance Release.
- Tested with WP 3.0 and works fine.
- Maintenance Release
- NEW: Option to define the number of days you want the analytics visits for! E.g. Visits from last 30 days.
- NEW: Added support to have custom header text.
- BUG FIX: Displaying “Total Pageviews” was removed since 1.1.3.7 by mistake and now its back.
- NEW: Added error reporting for invalid values in Profile ID.
- FIX: Better alignment for Flags, Countries, Visits and Pageviews.
- BUG FIX: A minor bug fixed. (Thanks Bart for reporting)
- BUG FIX: The plugin interfered with the WordPress flash and browser image uploaders. This has been fixed. (Thanks George for reporting)
- NEW: Added Option to display Visits with No Percentage.
- NEW: Added Option to display Pageviews with No Percentage.
- Added Flag for Réunion.
- Added show or hide Total Countries (Thanks Tudorminator for pointing that out).
- Added ‘Error Handling’ for user authentication and Profile ID (again on Tudorminator’s request)
- Added Flag for Mongolia.
- Some fixes.
- Some fixes as reported by Jim/Josh ( Thanks Jim/Josh ).
- Some fixes.
- NEW: Added more options like displaying percentage values or actual values of visits and pageviews.
- NEW: Added new flags.
- NEW: Added an option to hide header ( Flags Country… ).
- NEW: Added Country Flags.
- NEW: Added Option to display Country Names or Flags or Both.
- NEW: Added Visits and Pageviews actual count with percentages.
- NEW: Auto-clear cache when new settings are saved.
- NEW: Cache support – added cache feature to lessen the load on google analytics and inturn page loading of wordpress page, where the widget is placed, will be faster.
- NEW: If Cache Enabled, Cache Expires in — Minutes.
- NEW: You can choose to display Visits or not.
- NEW: You can choose to display Total Visits or not.
- NEW: You can choose to display Pageviews or not.
- NEW: You can choose to display Total Pageviews or not.
- First release.
Donations (Thank you!)
All donors giving $40 or more will automatically get a do-follow link on this list (this page is PR4!) for 180 days! It’s my way of saying, “Thank you for your generous support”. (need more reasons to donate?)- My Business Consultants – 5/31/2010
- George Prytulak – 4/26/2010
- RadioTuAmor Digital – 1/7/2010
- iogames.com – 12/29/2009
Testking:
Testking offers you up to date testking 000-076 study materials with guaranteed testking 642-691 dumps and testking F50-522 practice exam so you will pass exam in first try.
Testking offers you up to date testking 000-076 study materials with guaranteed testking 642-691 dumps and testking F50-522 practice exam so you will pass exam in first try.

116 Comments
Tried it and got the following error:
Parse error: parse error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in …/wp-content/plugins/google-analytics-visits/gapi.class.php on line 29
Does it require PHP 5?
Francisco
hi Fahirsch, yes it requires PHP5
how can I get my profile ID in order to use Google Analytics Visits plugin?
hi Imah
please read How to use it? section on this page we have put the help with screenshots, do drop in if you still face any problem.
Tried your plugin & widget and nothing happens… Literally, there’s nothing displayed in the preview, or the sidebar widget. It is currently active on the site, no title and should be displayed at the bottom. But nothing.
hi Seventh Town,
will you let me know your WP Version and the Php version?
also which version of “Google Analytics Visits” are you using?
do let me know!
WordPress 2.8.6
PHP Version 5.2.11
Google Analytics Visits Version 1.1.2
did you enter your analytics credentials well?
1). your username
2). your password
3). and your profile id of the website?
Hi,
I actually was thinking about doing setting this up, but then I noticed you comments. I like the layout. What comments plugin do you use?
Thanks,
Alex
not any special plugin

Settings -> discussion -> Enable threaded (nested) comments — levels deep
hope this helps!
Weird. I have that too, but for reason, it won’t allow for nesting. Or the reply button to actually reply.
oh your theme must support it, i guess your theme doesn’t.
i just wish to let u know this plugin do crash the sharing plugin such as addthis, addtoany sharing to facebook….
all the links share to facebook will missing the image…
please update… i really love this plugin but it crash with the sharing function for image….
Hi Cyber,
glad you like our plugin!
can you list the plugins that crashed so we can test them?
it works fine here with Sociable plugin
Crash with Enhanced WP Contact Form
Hi Jim,
can you please provide us with the error?
thank you!
It’s safe to input the Password?
and by username you refer to the email?
Hey some points need clarification…
yes its safe to input the password since the gapi uses https for authentication, but as of now the plugin stores the password in the DB as is and not encrypted so your password is safe as long as your DB is safe, if you need it encrypted in the DB let me know i’ll make this available in the next release possibly this weekend, and yes username meaning Google Analytics username mostly email.
Google Analytics Visits Error: please enter your account details in the options page.
Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/***/public_html/investors/wp-content/plugins/google-analytics-visits/google-analytics-visits.php:893) i
hi Jim,
please make sure you gave correct username ( Google Analytics username mostly email ) and password, this will fix the problem!
I wrongly put username: http://www.mydomain.com and now when I try to add my email gives me this error:
-Uncaught exception ‘Exception’ with message ‘GAPI: Failed to authenticate user. Error: “Error=BadAuthentication “‘ …-
thanks for reporting Jim its fixed in Version 1.1.3.2
Thanks to you! all day trying I don’t want to give up on this nice plugin
Wow, it’s the first plugin that I will support by donations… promise!
I just have 2 problems:
- How can I remove the result: ‘Total Countries’ (tried to remove but keeps giving me errors)
- How can I cancel data from a country? Administration logings keep altering real results
Thanks
Great thanks for supporting Josh!
1). You have an option to remove ‘Total Countries’ in the plugin options page.
2). Right now canceling data from a country is not possible.
3). Sorry i didn’t get you when you said ‘Administration logings keep altering real results’, did you mean you have enabled admin logging too in the analytics plugin? if so please disable admin logging in whatever plugin you are using
you are welcome!
Yes, my loggings are making raise the percentage of the country I’m now, and I want to avoid that… it’s possible?
You must be using some “Google Analytics” Plugin where in its options must be set to log even admin/backend activities you can disable admin logging in that Plugin’s settings page. If you would like to have a feature where you don’t need to depend on some other plugin for Google Analytics code in the front end page i will add it Josh, such that when logged in your activities are not logged
I cannot get any thing to show, there’s nothing displayed in the preview. I just upgraded to WP 2.9 via the automatic update. I ented my username/password and profile ID that I got from registering with Google. In my status screen it just shows zero for everything. Can you please help.
Hi Chris! yep im here to help!
lets do it “again” from the beginning.
1). Make sure your Php version is 5
2). Please fill the Username field with the email address you use to login to your Google Analytics.
3). Please fill password correct too again.
4). check for your Profile ID the way explained in http://peplamb.com/google-analytics-visits/ (How to use it works/Installation)
5). just in case to debug the problem disable the Cache.
after doing these again if it still doen’t work please let me know.
Also I need to know the following
1). Was the plugin “Google Analytics Visits” working before upgrading your wordpress to WP 2.9? did it work on any other versions of WP (if you tried the plugin before) and you mean its not working in WP 2.9?
2). Or did you try the plugin for the first time and the very beginning it didn’t work in WP 2.9?
Please let me know Chris
Hi, great plugin, thank you!
I’m currently running version 1.1.3.4 with WP 2.9.1 and I’d like to point out a few small problems I have found, if you don’t mind:
- I have accidentally misspelled the Profile ID on the options page so I was getting the message ”Google Analytics Visits Error: please enter your account details in the options page”, which to me it sounded like an authentication problem, so it took me a few retries before noticing the profile ID. I confess I have no idea what the Analytics API allows you to do, but if at all possible, having a different error message for each field would be more helpful;
- If Display Visits option is set to Yes, the output is something like ”Romania 827 (92)”. Now I understand that the second number is the percentage, but I don’t believe my visitors would get that without the % sign.
- In comment #62 you say ”You have an option to remove ‘Total Countries’ in the plugin options page.” I’m sorry but I have no such option (and I’ve used find on the page, so I’m pretty sure
)
Hope this helps. Good work, thank you.
Oh, and I forgot to mention that internationalization would be nice, too
hey Tudorminator, some good points you made will look into these
Great, didn’t expect to find you up so late so I was preparing myself for a few hours in the moderation queue
Thanks, looking forward to the next version!
hey all done except localization/internationalization that will be a bit more work will think of it, but again thats a good idea
Thank you, that was really fast!
Updated through WP’s automated mechanism, everything went smoothly and new version is working as expected.
Cheers!
I try several times to put de analytics visits and is not workin ..also i donate ….wht im doing wrong?? Pilar Admin of the website…
7KN97298SK140791Xis teh numbr of the pay pal donation
Hi friend, I’m here to help!
) but before that make sure you pass the “Requirements” section.
what’s the error message you see in the preview? can you let me know?
Please follow “Installation” section (you have the help with screenshots
if you still face any problem please let me know and i will be glad to fix this problem for you
and thanks a lot for the donation
Easy Question….
Where is this?…………….
Go to the options page (Settings->Google Analytics Visits) enter the settings of your Analytics Account, username/password, enter the Profile ID of your website (get Profile ID from Analytics Home Page -> Actions -> Edit (Edit Profile) )
How do I get there?
Thanks
Rick
Hi Rick, I updated Installation section with a new screenshot in there for (Settings->Google Analytics Visits), once you get to “Settings->Google Analytics Visits” you you’ll find all the options there, hope this helps
Dear Pep, thank you for your great plugin. I want to know what is the number in brackets near the number of visits, and if there is a way to turn that number off… I like to keep things really simple.
Hi Pablo, glad you like the plugin
the number in the brackets is the percentage of visits/pageviews, right now there is no option to turn that down when you select,
“Display Visits?” as Yes
and
“Display Pageviews?” as Yes
i’ll give the option to turn that off in the next release!
thanks for your comment!
Real nice Plugin as I tried it on my blog and works nice.
The country flags is a nice touch.
Great Plugin!!
Just one question: Is it possible to define the number of days you want the analytics visits for? E.g. last 30 days Now your plugin takes all visits.
Thanks for your support!
yep its possible,
i’ll try making this available in the next release
Do you already know when this option will be available? It would make a lot of sense to include this option.
Many thanks!
hey hi again Edgar,
and oops i missed your request completely, thanks for reminding me again Edgar, i’ll need an other hmmm say a week or 2 to get this done fine? been busy the past few days, anyway you’ll have your request ready in 1 or 2 weeks
Many thinks too for using my plugin!
hey Edgar,
The option is available now also you can have a custom header too just in case an other tiny feature
anyway hope you like it!
GREAT!! Thanks for adding this feature to the plugin!! Works perfect!
Many thanks!!
Edgar
@PepLamb
if “Username” have dot (see my e-mail):
if my Username without dot -work
thanks
and:
may be add “no”
IMO in footer enough info about total visit per month and total Pageviews per month
I haven’t understood how installation of the plugin works.
-> I’ve installed it and create a Googles analytics account.
It gives 0 visit and google anlytics account says that the google anlytics code has been put on welcome page and that I have to put this code on all pages !!!!
-> what is the figure of max results ? max days ? max last pages viewed ? visits ? countries ?
I thought this was an easy way to stat WP, but I am feeling that I better user webanalyser; this lack of information is not an encouragement to use this plugin.
Michel
I tried hundred times, username, password and ID, all are correct, but I´m havinf this message:
Google Analytics Vists Alert: please check/recheck/enter your Google Analytics account details (username and password).
What could be the problem ?
Thank you,
Lucas
I can’t get it to work. It says ”
Preview
Google Analytics Vists Alert: please check/recheck/enter your Google Analytics Profile ID” But my Profile ID is correct. I do have to sites under my ID so this one ends with -1. Is that a problem?
Nevermind I just found your installation guide
great
It does not work, I put my username and password and nothing happens
Hi Lucas,
Sorry for the late reply i have been busy the last week, let me ask you few questions.
1). Is your username, a google username ( a google email address )
2). Does your username have a “.” ( dot ) without quotes? if so this is not going to work. the API doesn’t support the dot right now, google needs to look into their API structure.
do let me know I’m here to help you out ok?
Thank you PepLamb,
1) Yes my username is a google username,
2) No my username does not have a “.”
Thank you to help-me !
Just to inform you, I updated to last version, 1.1.3.6, and doens´t work yet, the problem was not solved.
I have the google analycator plugin installed too, there are some plugin conflict with it ?
Thank you for support.
Hi Lucas,
Let me let you know that this plugin is not broken at all and it will help me if you give me clear details on the problem and the errors you get when you use this plugin, say for example whats the error you find when using this plugin etc lets take some time together to examine this ok?
say for example lets take time a day where you and i can work on the issue you have with your installation and your username and password fine?
this should be the only solution since others aren’t facing the same problem but just you so we can together troubleshoot this problem to get to some fix
Thank you for reporting we will work together on this!
Hi!
I have problem getting my Google analytics to work. It just says:
Google Analytics Vists Alert: please check/recheck/enter your Google Analytics account details (username and password).
so I wander if the username and password is the same as I have in google? for my gmail for example? if its correct, than what is my profile ID?
Best,
Eva
Hi Eva,
Yep you are right! your username is your google email address ex: your…@gmail.com and then the password of your google mail.
Please Note though dot in a username isn’t supported so say for example your username is firs…@gmail.com this will not let you authenticate to your google Analytics account.
You will find help with your profile id of the specific website you want stats for in point 6 of my post above with details screenshots
Hope this helps you Eva, let me know if you still find any problem I’m here to help
Very nice plug-in, but it interferes with the WordPress flash and browser image uploaders. They just hang, and I have to close the browser. To upload an image, I have to temporarily deactivate the plug-in. Not a big deal now that I know about it.
Hi George,
Glad you like the plugin
I’ll release a new version of this plugin in a moment (version 1.1.3.8) and I’d like you to test if this issue you mentioned is fixed.
Thanks for reporting it helps making the plugin better
I have a three suggestions;
-Storage password to the DB using MD5 Encryption, only for security purposes.
-On the options dashboard, can you add a little sign (green/red) depending on connection stablished, it would be very useful to know if it is the password or ID are correctly written.
-Are you thinking to support multilanguage? If you do, I’m applying to translate a pair of languages (spanish and catalan), my “Poedit” is ready to work ;P
Nice tool! Thanks for your work
Sure i’ll look into these suggestions in the next release


1). yep i thought on the password security in the DB but the problem is it needs to get back to its original state form MD5 Encryption before it calls the Google API, so will need an MD5 decryption code.
2). not sure what you meant in your second point
3). i’ll need your help with the languages then
glad you liked the plugin!
The first one, as I know you can not use literally MD5, CRC32 or SHA1 because all are made for only to encrypt (one way), then they are methods not reversibles. But maybe you can use the STR_ROT13, it is the only I know that accept reversible, you can combine this method with split of password into two different strings … or something more. I’m very sorry I can not provide a example for this right now, I will have to search and I will post here.
Well regarding to the 2nd point, a picture is worth a thousand words.
http://img690.imageshack.us/img690/9019/googleanalyticsvisits.jpg
It would be only to know if the password or ID are correct.
Hey hi again Neoshinji!
Point 1 sure its good if the password is protected in the DB i understand i will look for some good encryption method(s)
Point 2 it would be good to have that kind of feature, i do have the reporting section below in the plugin preview if there are authentication errors or Profile ID error, red/green thing makes sense
hope i’ll have them in 1.1.4.1 or 1.1.4.2 release
thanks for the cool ideas Neoshinji
some errors:
Preview
Fatal error: Uncaught exception ‘Exception’ with message ‘GAPI: Failed to request report data. Error: “Invalid value for ids parameter: ga:UA-15880689-2″‘ in /home/fxwonc/domains/fxwon.com/public_html/blog/wp-content/plugins/google-analytics-visits/gapi.class.php:218 Stack trace: #0 /home/fxwonc/domains/fxwon.com/public_html/blog/wp-content/plugins/google-analytics-visits/google-analytics-visits.php(1088): gapi->requestReportData(‘UA-15880689-2′, Array, Array, Array, NULL, ’2005-01-01′, NULL, NULL, ’10′) #1 /home/fxwonc/domains/fxwon.com/public_html/blog/wp-content/plugins/google-analytics-visits/google-analytics-visits.php(500): GoogleAnalyticsVisits_widget_output() #2 /home/fxwonc/domains/fxwon.com/public_html/blog/wp-content/plugins/google-analytics-visits/google-analytics-visits.php(471): GoogleAnalyticsVisits_print() #3 /home/fxwonc/domains/fxwon.com/public_html/blog/wp-includes/plugin.php(339): GoogleAnalyticsVisits_options() #4 /home/fxwonc/domains/fxwon.com/public_html/blog/wp-admin/admin.php(95): do_action() #5 / in /home/fxwonc/domains/fxwon.com/public_html/blog/wp-content/plugins/google-analytics-visits/gapi.class.php on line 218
Hi Yarlung!
Make sure you entered the right “Profile ID”, the one you entered is not a “Profile ID” but “Google Analytics’ UID” so please put the right “Profile ID” to make the plugin work smoothly
I can’t seem to get this to work…when i go to show enter my profile and password it only shows the profile ID.
hmmmm what do you see in the preview section? do you see any erry? your password is hidden and you can change it any time the plugin is made that way so you won’t see the password make sure you entered the right profile id, username your gmail and the password with no special characters in it. let me know if this helps if not then lets get in touch and we shoot this problem
I have a problem with the plugin
Whats the problem?
Hi, I’ve a problem. Under the password form appear this label:
Password is protected or re-enter password to change!
And at the bottom of the page:
Google Analytics Visits Error: please enter your account details in the options page.
I enter my account details, but nothing changed…
oh hmmm please make note that your password must not contain any special characters
also make sure your username which is your gmail must not contain a “.” (dot) say for example some…@gmail.com is not valid since it contains a dot character hope this solves the problem
let me know if you still face any problem, im here to help
I had exactly the same problem. It look like the plugin does not save the password. I write it down but nothing happend. Only when i click save the pass desapear and i got the same message at the bottom:
Google Analytics Visits Error: please enter your account details in the options page.
User and pass are only normal characters.
Is possible this plugin is broken??
I’m ussing WPMU 2.9.2
Also i’ve in the DB that the fields are correct.. Now i get error:
Google Analytics Vists Alert: please check/recheck/enter your Google Analytics Profile ID.
(this after i changed the ua code to check if it was validating google page)
Now the ua code is correct but it seems can’t get.. I don’t see where could be the error.
I’ve got the plugin analytics dashboard and it works fine… (curl enabled)
I repeat this plugin must be used only with WP not with WPMU thanks
Hi This plugin isn’t designed for WPMU at all so please do not use it for that it only supports WP and till WP 3.0 and works perfectly with it
Let me know if you have any more Questions Thanks
So, are you saying that the user cannot have a dot within or the plugin won’t work? So if my username is john…@gmail.com won’t work? =/
yes so far,
but go ahead and test if it works though i tested and it won’t work
pls i need a detailed explanation on how to get the profile id.i understand everythin but i find it difficult to locate the profile id.
Hey forgive me for the late reply been busy with some stuff over the weekend
you got the profile ID just as mentioned in the screenshot,
drop back here again one more time and go through the detailed explanation on the Installation and you’ll find it
Hey,
Mine isnt working also…please help! Is the password supposed to stay in the field once it is saved?
No the password will not be visible once the password is saved and you will have a notification saying “Password is protected or re-enter password to change!” meaning the password is already saved and protected ( so not visible ) and if you think of changing the password you can do it
Make sure you don’t have special characters in the password, a-z A-Z 0-9 are fine as password characters.
Hope this helps
It wasn’t working but I changed the settings and now it shows total visits as “0″ but I googled my page and had others go on my site and it is still “0″. Does it take a while to it to reflect on how many people visit?
I also went onto the google analytics page and my status is shown as “Tracking not installed”.
You must have an analytics plugin installed
the plugin don’t work for me. This is the third message i write down i hope it doesn’t get deleted again.
The plugin do not validate me in google analitics. My WordPress is now 3.0
I get :
Google Analytics Vists Alert: please check/recheck/enter your Google Analytics Profile ID.
I’ve checked in the database and the user and pass is correct. Also the UA code (if the UA format is :UA-XXXXX-X and not any other format) so i guess so i can’t see where is the error.
Peraps the plugin is broken? Could you manage the validation in the same way as Google analycator (it takes you to the google page to validation).
Also other plugins (like google analytics dashboard) works fine. So i guess if i missing something in my server configuration i can’t see it.
Nope the plugin is not broken at all
Just that it doesn’t support WPMU,
Works fine for me from WP 2.8 to WP 3.0
I cant this Plugin install….
Parse error: syntax error, unexpected ‘{‘ in /home/www/webxxxxx/html/hauli.ch/wp-content/plugins/google-analytics-visits/google-analytics-visits.php on line 224
any one a idea?
Im use WordPress 3.0
and Platinum SEO as only Plugin
my Style is Motion 1.0.7 von Sam @ 85ideas
please reinstall the plugin im sure you haven’t installed it well or may be the automatic upgrade didn’t work, re-installing the plugin will fix this
it’s great . i love it
Glad you like it
I also went onto the google analytics page and my status is shown as “Tracking not installed”.
Hi Deena
You gatta install the tracker code or use plugins to do the job and if you require me to have that feature too in the plugin itself i will do it for you Deena
Pep
Debug Report: ( In-case you see this you have some problem kindly used this data to report me or fix things yourself remember im always here to help
)
exception ‘Exception’ with message ‘GAPI: Failed to authenticate user. Error: “Request failed, fopen provides no further information”‘ in /www/claude.inrs-ener.uquebec.ca/htdocs/wp/wp-content/plugins/google-analytics-visits/gapi.class.php:418
Stack trace:
#0 /www/claude.inrs-ener.uquebec.ca/htdocs/wp/wp-content/plugins/google-analytics-visits/gapi.class.php(62): gapi->authenticateUser(‘claude.s.bouche…’, ‘…’)
#1 /www/claude.inrs-ener.uquebec.ca/htdocs/wp/wp-content/plugins/google-analytics-visits/google-analytics-visits.php(1123): gapi->__construct(‘claude.s.bouche…’, ‘…’)
#2 /www/claude.inrs-ener.uquebec.ca/htdocs/wp/wp-content/plugins/google-analytics-visits/google-analytics-visits.php(523): GoogleAnalyticsVisits_widget_output()
#3 /www/claude.inrs-ener.uquebec.ca/htdocs/wp/wp-content/plugins/google-analytics-visits/google-analytics-visits.php(486): GoogleAnalyticsVisits_print(true)
#4 [internal function]: GoogleAnalyticsVisits_options(”)
#5 /www/claude.inrs-ener.uquebec.ca/htdocs/wp/wp-includes/plugin.php(339): call_user_func_array(‘GoogleAnalytics…’, Array)
#6 /www/claude.inrs-ener.uquebec.ca/htdocs/wp/wp-admin/admin.php(95): do_action(‘settings_page_g…’)
#7 /www/claude.inrs-ener.uquebec.ca/htdocs/wp/wp-admin/options-general.php(10): require_once(‘/www/claude.inr…’)
#8 {main}
Hi Claude
I guess your username has dot the api designed doesn’t work if the username has a dot in it
Pep
Hi, the plugin is great, works just fine, but I have got a problem.
In the installation howto you write, that I can put the counter using widgets menu, but I have created my sidebar by editing the code. What code should I put to my sidebar.php to view the counter.
thanks
hey Marek,
You just have to drag and drop this widget to the Sidebar from your Admin -> Appearance -> Widgets -> Your Sidebar. Thats it, you don’t have to put any code manually all is automated this way, let me know if you still have any issues im here to help you
Pep
thanks, I know it’s automated, but is there any posiblitiy to add somtehing like I don’t know and it would do just the same as dragging a widget?
sorry I ment:
thanks, I know it’s automated, but is there any posiblitiy to add somtehing like I don’t know
and it would do just the same as dragging a widget?sorry again
know it’s automated, but is there any posiblitiy to add somtehing like I don’t know <?php GoogleAnalyticsVisit(something) ; > and it would do just the same as dragging a widget?
I hope, now it would work
yes abso!

you can Marek
use
< ?php GoogleAnalyticsVisits_print(); ?>this will do things as you want
Pep
thank you! It´s working great:)
and sorry again for the mess in the posts. I couldn´t figure out how to write those acute parenthesis
Ah thats fine Marek, you don’t have to be sorry
Glad its working
I get this error
I’d really appreciate your help
Hi Hossein,
yep I’m here to help
it looks like Curl is not supported on your server or atleast you can enable it going to php.ini and just by uncommenting
;extension=php_curl.dlljust remove;(if you have permissions to modify php.ini or please contact the server administrator) thats it and it looks like you have no response when using the fopen php function either will look into this issue and get back to you soon, are you sure the username and password are registered with google? can you user the same username and password and get into your Google Analytics account? let me know…Hi Hossein,
can you make sure you username and password are correct?
if they are are you able to login into your account? and make sure the email doen’t have a dot in it and in your case it doesn’t look it has but i am suspicious about a “-” in your email can you check?
hello im trying to get google analytics on to my website but it keeps comin up with the same error.
Debug Report: ( In-case you see this you have some problem kindly used this data to report me or fix things yourself remember im always here to help
)
exception ‘Exception’ with message ‘GAPI: Failed to authenticate user. Error: “CaptchaToken=T3iS9fWuIUAlar4w8SmTSLer36I47dB3Dd_u4tFPvlDZSxLCVt4CFEAcD6qike03_J5NhEX6EGL_rhIniRfmGfi4iz-OOY2c3TQjBqyQ0ow:A-FbPOYs8y4_p6GMMrj4qQ
CaptchaUrl=Captcha?ctoken=T3iS9fWuIUAlar4w8SmTSLer36I47dB3Dd_u4tFPvlDZSxLCVt4CFEAcD6qike03_J5NhEX6EGL_rhIniRfmGfi4iz-OOY2c3TQjBqyQ0ow%3AA-FbPOYs8y4_p6GMMrj4qQ
Error=CaptchaRequired
Url=https://www.google.com/accounts/ErrorMsg?Email=admin%40gmail.com&service=analytics&id=cr&timeStmp=1281955437&secTok=.AG5fkS8ZPIJ4eXpLRPcfGFnlCTEinI7Ehw%3D%3D
“‘ in /mounted-storage/home139/sub017/sc75759-SGIW/www.floridatickets.co.uk/wp-content/plugins/google-analytics-visits/gapi.class.php:418
Stack trace:
#0 /mounted-storage/home139/sub017/sc75759-SGIW/www.floridatickets.co.uk/wp-content/plugins/google-analytics-visits/gapi.class.php(62): gapi->authenticateUser(‘user’, ‘pwd’)
#1 /mounted-storage/home139/sub017/sc75759-SGIW/www.floridatickets.co.uk/wp-content/plugins/google-analytics-visits/google-analytics-visits.php(1123): gapi->__construct(‘user’, ‘pwd’)
#2 /mounted-storage/home139/sub017/sc75759-SGIW/www.floridatickets.co.uk/wp-content/plugins/google-analytics-visits/google-analytics-visits.php(523): GoogleAnalyticsVisits_widget_output()
#3 /mounted-storage/home139/sub017/sc75759-SGIW/www.floridatickets.co.uk/wp-content/plugins/google-analytics-visits/google-analytics-visits.php(486): GoogleAnalyticsVisits_print(true)
#4 [internal function]: GoogleAnalyticsVisits_options(”)
#5 /mounted-storage/home139/sub017/sc75759-SGIW/www.floridatickets.co.uk/wp-includes/plugin.php(339): call_user_func_array(‘GoogleAnalytics…’, Array)
#6 /mounted-storage/home139/sub017/sc75759-SGIW/www.floridatickets.co.uk/wp-admin/admin.php(95): do_action(‘settings_page_g…’)
#7 /mounted-storage/home139/sub017/sc75759-SGIW/www.floridatickets.co.uk/wp-admin/options-general.php(10): require_once(‘/mounted-storag…’)
#8 {main}
Whats does this error mean?
Thanks
hi Terri,


Please answer me these questions
1). Are you using proxy to connect to the internet? Google don’t like that!
2). I saw the email used isn’t the gmail email and username ‘admin’. Are you trying to connect with the your wordpress credentials? If yes please don’t do that use your gmail
hope this helps if you still face any problem let me know
GOD bless!
Also please Make sure,
1). UA-xxxxxxx-xx is not the Profile ID, read the instructions on top to find your profile id for that domain. if you need help finding it out i am hear to help.
2). you must enter your gmail username and password in the username and password fields for this plugin to work.
Can I put username, password anh ID to plugin by plugin editor?
You can Tran, but better be it stored in the database rather than the plugin itself
2 Trackbacks
[...] Where do I download and read documentation? Please visit the original plugin post. [...]
[...] Where do I download and read documentation? Please visit the original plugin post. [...]