Zen Cart Logo
Forums / All Other Contributions/Addons / "__gat is undefined" error from Google Analytics code

"__gat is undefined" error from Google Analytics code

Locked

Views: 1,010

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
11 Sep 2010, 5:28 PM
#1
jabbawest avatar

jabbawest

Zen Follower

Join Date:
Oct 2009
Location:
Texas
Posts:
197
Plugin Contributions:
0

"__gat is undefined" error from Google Analytics code

Has anyone successfully fixed this issue related to the Google Analytics code?
In IE v8, I believe this is causing the dreaded security warning pop-up as I transition from non-secured to secured pages.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2; OfficeLiveConnector.1.4; OfficeLivePatch.1.3; AskTB5.6)
Timestamp: Sat, 11 Sep 2010 17:18:31 UTC

Message: '_gat' is undefined
Line: 965
Char: 1
Code: 0
URI: https://sterlingleafjewelry.com/index.php?main_page=login

Thank you,
Stephen

13 Sep 2010, 9:10 AM
#2
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,286
Plugin Contributions:
39

Re: "__gat is undefined" error from Google Analytics code

It has nothing to do with your Analytics code.... Google's code is secured, rather you have a different element which is NOT secured inside of HTTPS pages.

~Melanie

13 Sep 2010, 1:07 PM
#3
jabbawest avatar

jabbawest

Zen Follower

Join Date:
Oct 2009
Location:
Texas
Posts:
197
Plugin Contributions:
0

Re: "__gat is undefined" error from Google Analytics code

mprough:

It has nothing to do with your Analytics code.... Google's code is secured, rather you have a different element which is NOT secured inside of HTTPS pages.

~Melanie
Thanks Melanie, but it's my bad. I made the mistake of putting my https: url in my trusted site list.
I took it out and the warnings stopped and, as far as I can see in IE, all of my SSL pages are devoid of any non-secured elements.

Thank you,
Stephen

p.s. but the Google code issue is still bugging me. I thought I had it fixed, as most of the errors are a result of response timing in the code, but I guess not.