I'm using sfGoogleAnalyticsPlugin in a site and it's been pointed out
to me that the Javascript it inserts is different from what Google is
currently suggesting.
Current Javascript from Analytics:
<script type="text/javascript">
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">
try {
var pageTracker = _gat._getTracker("UA-7538209-1");
pageTracker._trackPageview();
} catch(err) {}</script>
Javascript generated by sfGoogleAnalyticsPlugin:
<script type="text/javascript">
//<![CDATA[
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">
//<![CDATA[
var pageTracker=_gat._getTracker("UA-7538209-1");
pageTracker._initData();
pageTracker._trackPageview();
//]]>
</script>
It still seems to be working properly, but I noticed that the plugin
hasn't been updated since last year. Is this as simple as I'm assuming?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---