PDA

View Full Version : Need help here.



alphaomega
08-14-2010, 08:21 AM
Hi, I have noticed a new Java script on client's index page. Can someone tell me what this is? I am not familiar with Java scripting.
Thanks.

<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-17311756-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<script type="text/javascript">
function MM_popupMsg(msg) { //v1.0
alert(msg);}
</script>

mjtaylor
08-14-2010, 08:28 AM
It's GA script, I believe. I think you will find http://code.google.com/apis/analytics/docs/tracking/asyncUsageGuide.html ... and http://www.google.com/support/forum/p/Google+Analytics/thread?tid=1d7e3ce5fd3d86c7&hl=en to be helpful.

alphaomega
08-14-2010, 08:31 AM
Thanks I thought that what it was, but was not sure. Thanks again.

williamc
11-19-2010, 06:30 AM
Actually, the question was answered by MJ above.

mjtaylor
11-19-2010, 06:31 AM
Thanks, William. Clearly I should have closed this thread. Doing so now.