mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-21 18:09:23 +01:00
Add Google Analytics
here people are probably even more likely to block this.
This commit is contained in:
parent
b9d9e67307
commit
a3d98f8b3c
11
_includes/google_analytics.html
Normal file
11
_includes/google_analytics.html
Normal file
@ -0,0 +1,11 @@
|
||||
<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','//www.google-analytics.com/analytics.js','ga');
|
||||
|
||||
ga('create', 'UA-40171169-6', 'auto');
|
||||
ga('send', 'pageview');
|
||||
ga(‘set’, ‘&uid’, {{USER_ID}}); // Määritä käyttäjätunnus käyttämällä sisäänkirjautunutta käyttäjätunnusta.
|
||||
|
||||
</script>
|
@ -15,6 +15,8 @@
|
||||
|
||||
{% include footer.html %}
|
||||
|
||||
{% include google_analytics.html %}
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user