script is not defined Line 24 Line 24 : var s = document.getElementsByTagName(script)[0]; s.parentNode.insertBefore(ga, s);