We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

New extension: Google Analytics Panel

Development and Programming

doubleplusgood's avatar
doubleplusgood
199 posts
16 years ago
doubleplusgood's avatar doubleplusgood

Hey, yes it still seemed to do it even when I removed all third party plugins from the directory. :(

       
Derek Hogue's avatar
Derek Hogue
317 posts
16 years ago
Derek Hogue's avatar Derek Hogue

Very strange. I can’t even speculate on an explanation for that.

If you want to track it down, I’d suggest a fresh EE install on the same server, and installing only this extensions to see if it still happens.

       
sm9's avatar
sm9
352 posts
16 years ago
sm9's avatar sm9
Just tried this on another website on a completely different web server (running php 5.1.6) and it worked great, first time.
Glad it worked out on another server. I wonder if maybe the first server was lacking cURL and had fopen disabled? One of the two are required to authorize.

Hi there,

I’ve finally got this extension working on that particular server! 😊 Although both fopen and Curl were listed as being enabled in the phpinfo, I noticed in the Apache settings that CurlSSL and Curlwrappers weren’t enabled. Enabling these seems to have done the trick.

Thanks for the great extension and look forward to the EE2 accessory when you get a chance to look at this! 😉

       
Dylan Smith/Context Design's avatar
Dylan Smith/Context Design
346 posts
16 years ago
Dylan Smith/Context Design's avatar Dylan Smith/Context Design

Having a funky problem w/ this extension: When I try to save the settings, I get the good ol’ white screen of death.

fopen and cURL are enabled. Any ideas?

FWIW, I have the same problem with Seeries - when I try to save any settings, I get a white screen. Haven’t been able to sort that out either.

thx!

       
Derek Hogue's avatar
Derek Hogue
317 posts
16 years ago
Derek Hogue's avatar Derek Hogue
When I try to save the settings, I get the good ol’ white screen of death.

Two things come to mind: are you running PHP 5+? Have you uploaded the ‘analytics_panel’ folder to your /system/lib/ directory?

       
Dylan Smith/Context Design's avatar
Dylan Smith/Context Design
346 posts
16 years ago
Dylan Smith/Context Design's avatar Dylan Smith/Context Design
Two things come to mind: are you running PHP 5+? Have you uploaded the ‘analytics_panel’ folder to your /system/lib/ directory?

Aye to both. Running 5.1.6, and the folder is uploaded.

       
Derek Hogue's avatar
Derek Hogue
317 posts
16 years ago
Derek Hogue's avatar Derek Hogue

Dylan - hmm, not sure what could be causing that then. Perhaps an extension conflict. If you’re able to disable all other extensions, you could give that a try.

In other news, I just updated the extension to version 1.1.5, which adds hourly caching of “today’s” stats (ported from the necessary work on the forthcoming 2.0 accessory), along with a few other small fixes..

       
Derek Hogue's avatar
Derek Hogue
317 posts
16 years ago
Derek Hogue's avatar Derek Hogue

For interested folks, I just released the EE2 accessory version of Analytics Panel, called CP Analytics. Check out the forum thread or find it on GitHub.

       
Marc Miller's avatar
Marc Miller
84 posts
16 years ago
Marc Miller's avatar Marc Miller

Would there be any reason why 1 server running PHP 5.2.4 can’t authenticate whereas if I use all the same settings on a server running PHP 5.2.9 there are no problems.

allow_url_fopen is on/on cURL support enabled on both servers. Used the same google username/pass for both servers.

GA Plugin 1.1.5 EE 1.6.8 on both - although the working one is build 20090723, the non-working one is build 20100121 Error message is: Couldn’t authenticate with the credentials provided.

There are different extensions in each site, but I’m not getting any white screen issues or php error messages. Just the authentication problem. I’ve reuploaded all the files a couple times. Even changed my GA account password.

Works like a charm on one, but not the other. Anything else I can look for?

       
Derek Hogue's avatar
Derek Hogue
317 posts
16 years ago
Derek Hogue's avatar Derek Hogue

Marc – that’s an odd one. I can’t think of anything that might be causing this. I’ve got version 1.1.5 running just fine on all recent 1.6.8 builds.

If you’re comfortable digging around i some code, the GAPI class that’s included with the extension (in the /lib/ folder) has some commented-out exception throws in it. You could uncomment these and see if you could track f=down where exactly the authentication is failing. (Look in the authenticateUser() and httpRequest() functions.)

       
Marc Miller's avatar
Marc Miller
84 posts
16 years ago
Marc Miller's avatar Marc Miller

Ah disregard. I had my host reboot my server last night and this morning I can now authenticate. Weird.

Thanks for the fast reply and the awesome addon!

       
Marc Miller's avatar
Marc Miller
84 posts
about 16 years ago
Marc Miller's avatar Marc Miller

Did something change? Perhaps on Google’s end?

This extension stopped working for me on all the sites I had it going.

If I got to the extension settings, it says I’m authenticated, but there are no profiles to choose from in the drop down. On a site where I hadn’t set this up yet, it won’t authenticate me.

On the sites it was working, it’s now returning all zeros and a php error at the bottom of the CP GA panel:

Viewing profile
Notice: Undefined index: id in /home/site/public_html/wcp/lib/analytics_panel/analytics_panel_display.php on line 87
(
Notice: Undefined index: title in /home/site/public_html/wcp/lib/analytics_panel/analytics_panel_display.php on line 87
)
       
Derek Hogue's avatar
Derek Hogue
317 posts
about 16 years ago
Derek Hogue's avatar Derek Hogue

Marc – nothing’s changed on Google’s end, and the extension is working elsewhere. Did your host downgrade you to PHP < 5 maybe? Unless you somehow broke the API limit:

– 10,000 requests per 24 hours (this limit applies to a single web property) – 10 requests in any given 1-second period (this limit applies across all queries an application makes to the API)

       
Marc Miller's avatar
Marc Miller
84 posts
about 16 years ago
Marc Miller's avatar Marc Miller

ok - that’s good to know at least. I’ll have to figure out what happened. Thanks for the fast reply. (it’s not a PHP downgrade, I know that)

       
Djive's avatar
Djive
97 posts
15 years ago
Djive's avatar Djive

I have over 100 website profiles attached to three analytics accounts that are all under one Google Analytics username. It seems that Google Analytics Panel has a limit of 100 profiles. I can’t choose all the profiles i want in “Choose an Analytics profile” dropdown. Is this a limitation in the extension or API?

Thanks

       
First 5 6 7 8

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.