diff --git a/src/Pluf/Middleware/GoogleAnalytics.php b/src/Pluf/Middleware/GoogleAnalytics.php index 4801c22..0a1a9a7 100644 --- a/src/Pluf/Middleware/GoogleAnalytics.php +++ b/src/Pluf/Middleware/GoogleAnalytics.php @@ -62,9 +62,9 @@ class Pluf_Middleware_GoogleAnalytics 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")); -'; $response->content = str_replace('', $js.'', $response->content); return $response;