Javascript Error: Uncaught ReferenceError: ga is not defined at HTMLImageElement.onload

Hi, I found this error on my Jquery Page. Uncaught ReferenceError: ga is not defined at HTMLImageElement.onload I added this below script now it has been solved window['GoogleAnalyticsObject'] = 'ga'; window['ga'] = window['ga'] || function() { (window['ga'].q = window['ga'].q || []).push(arguments) };