Click here to Skip to main content
15,949,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
(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);
  })();



wHAT IS THE USE OF ABOVE CODE
Posted
Comments
Ravi shekahr 22-Mar-12 5:49am    
WHY WE USE ABOVE CODE

1 solution

Hi,

The above code says that you are passing variable to the link of www..google-analytics.com/ga.js
 
Share this answer
 
Comments
Ravi shekahr 22-Mar-12 5:59am    
Thanks for Giv me answer.
visnumca123 22-Mar-12 6:00am    
welcome!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900