Spark User Doc: Analytics and fixes
This commit is contained in:
1 parent
7e8ef4d273
commit
defdcc5d44
4 files changed
+59
-41
No files matched your search
@@ -5,7 +5,9 @@
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
{% if page and page.is_homepage %}<meta name="description" content="{{ config['site_description'] }}">{% endif %}
|
||||
<meta name="keywords" content="Futures, Options, Derivatives, Trade, Trading, Professional, options trading, futures trading, Software" />
|
||||
<meta name="rights" content="© Blue Trading Systems" />
|
||||
<meta name="description" content="Documentation for Blue Trading Systems' BTS Spark" />
|
||||
{% if config.site_author %}<meta name="author" content="{{ config.site_author }}">{% endif %}
|
||||
{% if page and page.canonical_url %}<link rel="canonical" href="{{ page.canonical_url }}">{% endif %}
|
||||
{% if config.site_favicon %}<link rel="shortcut icon" href="{{ base_url }}/{{ config.site_favicon }}">
|
||||
@@ -25,41 +27,54 @@
|
||||
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600" rel="stylesheet" />
|
||||
<link rel="stylesheet" href="{{ base_url }}/css/local.css?1529096332" type="text/css" />
|
||||
<!--link rel="stylesheet" href="https://www.bluetradingsystems.com/templates/bluetradesys/scripts/colorbox-master/example5/colorbox.css" type="text/css" /-->
|
||||
{%- for path in extra_css %}
|
||||
<link href="{{ path }}" rel="stylesheet">
|
||||
{%- endfor %}
|
||||
{%- endblock %}
|
||||
|
||||
{%- block libs %}
|
||||
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<script src="{{ base_url }}/js/jquery-1.10.2.min.js" defer></script>
|
||||
<script src="{{ base_url }}/js/bootstrap-3.0.3.min.js" defer></script>
|
||||
<script src="{{ base_url }}/js/highlight.pack.js" defer></script>
|
||||
{%- for path in extra_css %}
|
||||
<link href="{{ path }}" rel="stylesheet">
|
||||
{%- endfor %}
|
||||
|
||||
{%- endblock %}
|
||||
|
||||
{%- block analytics %}
|
||||
{%- if config.google_analytics %}
|
||||
<script>
|
||||
(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','https://www.google-analytics.com/analytics.js','ga');
|
||||
|
||||
ga('create', '{{ config.google_analytics[0] }}', '{{ config.google_analytics[1] }}');
|
||||
ga('send', 'pageview');
|
||||
</script>
|
||||
{%- endif %}
|
||||
{%- endblock %}
|
||||
|
||||
{%- block extrahead %} {% endblock %}
|
||||
|
||||
<script>
|
||||
dataLayer = [];
|
||||
</script>
|
||||
<script>
|
||||
debug_mode = location.hostname !== "www.bluetradingsystems.com";
|
||||
|
||||
if(debug_mode)
|
||||
{
|
||||
console.log("debug mode enabled (no analytics)");
|
||||
|
||||
if(location.hostname !== "www.bluetradingsystems.com")
|
||||
{
|
||||
console.log("Hostname != www.bluetradingsystems.com");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
||||
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
||||
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
||||
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
||||
})(window,document,'script','dataLayer','GTM-56FHG8R');
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<script src="{{ base_url }}/js/jquery-1.10.2.min.js" defer></script>
|
||||
<script src="{{ base_url }}/js/bootstrap-3.0.3.min.js" defer></script>
|
||||
|
||||
</head>
|
||||
|
||||
<body{% if page and page.is_homepage %} class="homepage"{% endif %}>
|
||||
<!-- Google Tag Manager (noscript) -->
|
||||
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-56FHG8R"
|
||||
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
||||
<!-- End Google Tag Manager (noscript) -->
|
||||
|
||||
{% include "nav.html" %}
|
||||
|
||||
@@ -91,13 +106,16 @@
|
||||
{%- include "keyboard-modal.html" %}
|
||||
|
||||
{% if page and page.is_homepage %}
|
||||
<!--
|
||||
MkDocs version : {{ mkdocs_version }}
|
||||
-->
|
||||
<p style="float:right; padding: 1em; color:#bbb;">
|
||||
|
||||
<!--p style="float:right; padding: 1em; color:#bbb;">
|
||||
Build Date UTC : {{ build_date_utc }}
|
||||
</p>
|
||||
</p-->
|
||||
{% endif %}
|
||||
|
||||
<script src="{{ base_url }}/js/highlight.pack.js" defer></script>
|
||||
|
||||
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script>
|
||||
<!--script src="https://www.bluetradingsystems.com/templates/bluetradesys/scripts/colorbox-master/jquery.colorbox-min.js"></script-->
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
|
||||
<h4 class="modal-title" id="exampleModalLabel">Keyboard Shortcuts</h4>
|
||||
<h4 class="modal-title">Keyboard Shortcuts</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<table class="table">
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
|
||||
<h4 class="modal-title" id="exampleModalLabel">Search</h4>
|
||||
<h4 class="modal-title">Search</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p>
|
||||
|
||||
@@ -7,13 +7,13 @@ If you need specific information quickly use the Search button in the top right
|
||||
<ol>
|
||||
<li><a href="Logging-In-to-the-System">Login</a></li>
|
||||
<li><a href="Launcher">Module Launcher</a></li>
|
||||
<li><a href="Market">Market
|
||||
<li><a href="Market">Market</a>
|
||||
<ul>
|
||||
<li><a href="Market/#market-view">Market View</a></li>
|
||||
<li><a href="Market/#time-and-sales">Time and Sales</a></li>
|
||||
</ul>
|
||||
</a></li>
|
||||
<li><a href="Trading">Trading
|
||||
</li>
|
||||
<li><a href="Trading">Trading</a>
|
||||
<ul>
|
||||
<li><a href="Trading/#order-book">Order Book</a></li>
|
||||
<li><a href="Trading/#fills">Fills</a></li>
|
||||
@@ -21,17 +21,17 @@ If you need specific information quickly use the Search button in the top right
|
||||
<li><a href="Trading/#ladder">Ladder</a></li>
|
||||
<li><a href="Trading/#order-ticket">Order Ticket</a></li>
|
||||
</ul>
|
||||
</a></li>
|
||||
</li>
|
||||
<li><a href="Spreader">Spreader</a></li>
|
||||
<li><a href="My-Windows">My Windows</a></li>
|
||||
<li><a href="Settings">Settings
|
||||
<li><a href="Settings">Settings</a>
|
||||
<ul><li><a href="Settings/#workspaces">Workspaces</a></li></ul>
|
||||
</a></li>
|
||||
<li><a href="Help">Help
|
||||
</li>
|
||||
<li><a href="Help">Help</a>
|
||||
<ul>
|
||||
<li><a href="Help/#report-a-problem">Report a Problem</a></li>
|
||||
<li><a href="Help/#about-spark">About Spark</a></li>
|
||||
<li><a href="Help/#activity-log">Activity Log</a></li>
|
||||
</ul>
|
||||
</a></li>
|
||||
</li>
|
||||
</ol>
|
||||
Reference in new issue
Block a user