pluf2

pluf2 Commit Details


Date:2009-07-14 07:34:53 (15 years 5 months ago)
Author:Loic d'Anterroches
Branch:master
Commit:f275abbf0ccdd3daaea4b44d71b8f649e5190750
Parents: 06fd8001b9b17d099124438db1fb9de9fa81d1bc
Message:Updated the Google Analytics javascript.

Changes:

File differences

src/Pluf/Middleware/GoogleAnalytics.php
6262
6363
6464
65
65
6666
67
67
6868
6969
7070
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"));
</script>
<script type="text/javascript">
<script type="text/javascript"> try {
var pageTracker = _gat._getTracker("'.Pluf::f('google_analytics_id').'");
pageTracker._trackPageview();
pageTracker._trackPageview(); } catch(err) {}
</script>';
$response->content = str_replace('</body>', $js.'</body>', $response->content);
return $response;

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.05789s using 13 queries.