Index: trunk/extensions/googleAnalytics/googleAnalytics.php |
— | — | @@ -27,7 +27,7 @@ |
28 | 28 | global $wgOut, $wgGoogleAnalyticsAccount, $wgGoogleAnalyticsAddASAC; |
29 | 29 | |
30 | 30 | if( !empty($wgGoogleAnalyticsAccount) && $wgGoogleAnalyticsAddASAC ) { |
31 | | - $wgOut->addScript('<script>window.google_analytics_uacct = "' . $wgGoogleAnalyticsAccount . '";</script>'); |
| 31 | + $wgOut->addScript('<script type="text/javascript">window.google_analytics_uacct = "' . $wgGoogleAnalyticsAccount . '";</script>'); |
32 | 32 | } |
33 | 33 | |
34 | 34 | return true; |