Skip to content

Commit be1d853

Browse files
Merge pull request #209 from srobo/plausible
Replace analytics with Plausible
2 parents e9cb4e2 + e12504b commit be1d853

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

_includes/script.html

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,6 @@
1010
{% endfor %}
1111
{% endif %}
1212

13-
<!-- Piwik -->
14-
<script type="text/javascript">
15-
var pkBaseURL = (("https:" == document.location.protocol) ? "https://www.studentrobotics.org/piwik/" : "http://www.studentrobotics.org/piwik/");
16-
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
17-
</script><script type="text/javascript">
18-
try {
19-
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
20-
piwikTracker.trackPageView();
21-
piwikTracker.enableLinkTracking();
22-
} catch( err ) {}
23-
</script>
24-
<!-- End Piwik Tag -->
13+
<script defer data-domain="studentrobotics.org" src="https://plausible.io/js/plausible.js"></script>
2514

2615
<script src="{{ '/js/navigation.js' | prepend: site.baseurl }}"></script>

0 commit comments

Comments
 (0)