{{# Include dynamically added Scripts at the end of the body}}
{{include "chat.html"}}
{{for script in s3.scripts:}}
 {{=SCRIPT(_src=script)}}
{{pass}}
<script type="text/javascript">//<![CDATA[
{{for script in s3.js_global:}}
 {{=XML(script)}}
{{pass}}
{{ga_id = settings.get_google_analytics_tracking_id()}}{{if ga_id:}}(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');ga('create','{{=ga_id}}','auto');ga('send','pageview'){{pass}}
$(document).ready(function(){
 {{if s3.rtl:}}$('body').addClass('rtl')
 {{else:}}$('body').addClass('ltr'){{pass}}
 {{for script in s3.jquery_ready:}}
  {{=XML(script)}}
 {{pass}}
})
//]]></script>


{{# Include dynamically added Scripts at the end of the body}}
{{include "chat.html"}}
{{for script in s3.scripts:}}
 {{=SCRIPT(_src=script)}}
{{pass}}
<script type="text/javascript">//<![CDATA[
{{ga_id = settings.get_google_analytics_tracking_id()}}{{if ga_id:}}(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');ga('create','{{=ga_id}}','auto');ga('send','pageview'){{pass}}
{{for script in s3.js_global:}}
 {{=XML(script)}}
{{pass}}
$(document).ready(function(){
 {{if s3.rtl:}}$('body').addClass('rtl')
 {{else:}}$('body').addClass('ltr'){{pass}}
 {{for script in s3.jquery_ready:}}
  {{=XML(script)}}
 {{pass}}
})
//]]></script>


Fix Google Analytics COde Conflict
Fix Google Analytics COde Conflict
