Skip to content

Commit

Permalink
Fixed check for Google Analytics Tracker object, if exist in page
Browse files Browse the repository at this point in the history
  • Loading branch information
jorkas committed Mar 12, 2011
1 parent 62c8a2d commit cb20400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.analyticseventtracking.js
Expand Up @@ -65,7 +65,7 @@
if (options){
settings = $.extend(settings, options);
}
if(_gaq){
if(typeof(_gaq) !== "undefined"){
methods.init.call( this, settings );
}else{
alert("Google Analaytics _gaq varible not found...");
Expand Down

0 comments on commit cb20400

Please sign in to comment.