您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

7 年前
123456789101112
  1. {% if GOOGLE_ANALYTICS %}
  2. <script type="text/javascript">
  3. var _gaq = _gaq || [];
  4. _gaq.push(['_setAccount', '{{GOOGLE_ANALYTICS}}']);
  5. _gaq.push(['_trackPageview']);
  6. (function() {
  7. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  8. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  9. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  10. })();
  11. </script>
  12. {% endif %}