भारत की संस्कृति के लिए... भाषा की उन्नति के लिए... साहित्य के प्रसार के लिए
"मीडियाविकि:Common.js" के अवतरणों में अंतर
Kavita Kosh से
पंक्ति 14: | पंक्ति 14: | ||
"sampleText": ""}; | "sampleText": ""}; | ||
} | } | ||
− | + | ||
+ | googleAnalyticsTracker(); | ||
+ | |||
+ | function googleAnalyticsTracker(){ | ||
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); | var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); | ||
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); | document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); | ||
+ | alert("Analytics called: " + unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); | ||
var pageTracker = _gat._getTracker("UA-1068008-4"); | var pageTracker = _gat._getTracker("UA-1068008-4"); | ||
pageTracker._trackPageview(); | pageTracker._trackPageview(); | ||
+ | } |
03:50, 2 नवम्बर 2008 का अवतरण
if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/en/8/80/Button_upper_letter.png", "speedTip": "Insert Superscript", "tagOpen": "<sup>", "tagClose": "</sup>", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/en/1/13/Button_enter.png", "speedTip": "Line break", "tagOpen": "<br />", "tagClose": "", "sampleText": ""}; } googleAnalyticsTracker(); function googleAnalyticsTracker(){ var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); alert("Analytics called: " + unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); var pageTracker = _gat._getTracker("UA-1068008-4"); pageTracker._trackPageview(); }