ソースを参照

Remove google analytics from docs.

JC Brand 9 年 前
コミット
19ad5728f9
2 ファイル変更1 行追加9 行削除
  1. 1 8
      docs/source/_templates/layout.html
  2. 0 1
      index.html

+ 1 - 8
docs/source/_templates/layout.html

@@ -8,21 +8,14 @@
 {# Add some extra stuff before and use existing with 'super()' call. #}
 {# Add some extra stuff before and use existing with 'super()' call. #}
 {% block footer %}
 {% block footer %}
     {{ super() }}
     {{ super() }}
-    <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-2128260-8"); pageTracker._trackPageview(); } catch(err) {}</script>
     <script>
     <script>
         require(['converse'], function (converse) {
         require(['converse'], function (converse) {
             converse.initialize({
             converse.initialize({
                 bosh_service_url: 'https://conversejs.org/http-bind/', // Please use this connection manager only for testing purposes
                 bosh_service_url: 'https://conversejs.org/http-bind/', // Please use this connection manager only for testing purposes
-                i18n: locales['en'], // Refer to ./locale/locales.js to see which locales are supported
                 keepalive: true,
                 keepalive: true,
                 play_sounds: true,
                 play_sounds: true,
+                message_carbons: true,
                 roster_groups: true,
                 roster_groups: true,
-                debug: false,
-                xhr_user_search: false
             });
             });
         });
         });
     </script>
     </script>

+ 0 - 1
index.html

@@ -244,7 +244,6 @@
             play_sounds: true,
             play_sounds: true,
             roster_groups: true,
             roster_groups: true,
             show_controlbox_by_default: true,
             show_controlbox_by_default: true,
-            xhr_user_search: false
         });
         });
     });
     });
 </script>
 </script>