Remove google analytics

This commit is contained in:
Blaine Motsinger 2020-09-15 11:32:30 -05:00
parent 6c8ee3e883
commit 93a205f9de
4 changed files with 7 additions and 33 deletions

View File

@ -10,19 +10,6 @@
<link rel="stylesheet" href="https://msmhq.com/assets/css/bootstrap.min.css">
<link rel="stylesheet" href="https://msmhq.com/assets/css/style.css">
<link rel="stylesheet" href="https://msmhq.com/assets/css/bootstrap-responsive.min.css">
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-32675598-2']);
_gaq.push(['_setDomainName', 'msmhq.com']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>

View File

@ -10,19 +10,6 @@
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/bootstrap.min.css">
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/style.css">
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/bootstrap-responsive.min.css">
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-32675598-2']);
_gaq.push(['_setDomainName', 'msmhq.com']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body class="{% if page.tab %}section-{{ page.tab }}{% endif %}">

View File

@ -7,18 +7,18 @@ docsitem: home
<div class="hero-unit">
<h1>Getting Started</h1>
<p>If you're looking to get going see the <a href="{{ site.baseurl }}/docs/installation.html" onclick="_gaq.push(['_trackEvent', 'Documentation', 'Home: Install Guide']);">Install guide</a>, then peruse <a href="{{ site.baseurl }}/docs/commands/" onclick="_gaq.push(['_trackEvent', 'Documentation', 'Home: The Commands']);">the commands</a>. After that maybe watch the project for updates on <a href="https://github.com/marcuswhybrow/minecraft-server-manager/" onclick="_gaq.push(['_trackEvent', 'Documentation', 'Home: GitHub']);">GitHub</a> and join the MSM community.</p>
<p>If you're looking to get going see the <a href="{{ site.baseurl }}/docs/installation.html">Install guide</a>, then peruse <a href="{{ site.baseurl }}/docs/commands/">the commands</a>. After that maybe watch the project for updates on <a href="https://github.com/marcuswhybrow/minecraft-server-manager/">GitHub</a> and join the MSM community.</p>
<p>
<a
class="btn btn-primary btn-large"
href="{{ site.baseurl }}/docs/installation.html"
onclick="_gaq.push(['_trackEvent', 'Documentation', 'Home: Get Started Installing']);">
>
Get Started Installing</a>
</p>
</div>
<h2>Contributing to this Documentation</h2>
<p>If there is something in this documentation which you thinks needs changing, now you can change it by <a href="https://github.com/marcuswhybrow/minecraft-server-manager/tree/gh-pages" onclick="_gaq.push(['_trackEvent', 'Documentation', 'Home: Fork gh-pages']);">forking gh-pages</a> and sending a pull request.</p>
<p>If there is something in this documentation which you thinks needs changing, now you can change it by <a href="https://github.com/marcuswhybrow/minecraft-server-manager/tree/gh-pages">forking gh-pages</a> and sending a pull request.</p>
<p>Equally if there is something which you do not understand <a href="https://github.com/marcuswhybrow/minecraft-server-manager/issues" onclick="_gaq.push(['_trackEvent', 'Documentation', 'Home: Post an issue']);">post an issue</a> and I will help you out and update the documentation to better prevent confusion in the future.</p>
<p>Equally if there is something which you do not understand <a href="https://github.com/marcuswhybrow/minecraft-server-manager/issues">post an issue</a> and I will help you out and update the documentation to better prevent confusion in the future.</p>

View File

@ -6,7 +6,7 @@ tab: overview
<div class="masthead">
<div class="new-blog-post">
<a href="{{ site.baseurl}}{{ paginator.posts[0].url }}" onclick="_gaq.push(['_trackEvent', 'Masthead Actions', 'New Blog Post', '{{ paginator.posts[0].title }}']);">
<a href="{{ site.baseurl}}{{ paginator.posts[0].url }}">
New Blog Post: <strong>{{ paginator.posts[0].title }}</strong>
</a>
</div>
@ -15,8 +15,8 @@ tab: overview
<p>A comprehensive start up script for Minecraft and Bukkit servers.</p>
<div class="buttons">
<a id="view-button" href="https://github.com/msmhq/msm" class="btn btn-primary btn-large" onclick="_gaq.push(['_trackEvent', 'Masthead Actions', 'Github Project', 'View project on GitHub']);">View project on GitHub</a>
<a id="install-button" href="{{ site.baseurl }}/docs/" class="btn btn-large" onclick="_gaq.push(['_trackEvent', 'Masthead Actions', 'Install']);">Install Guide <small>(0.9.3)</small></a>
<a id="view-button" href="https://github.com/msmhq/msm" class="btn btn-primary btn-large">View project on GitHub</a>
<a id="install-button" href="{{ site.baseurl }}/docs/" class="btn btn-large">Install Guide <small>(0.9.3)</small></a>
</div>
<ul class="quick-links">