Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Google Analytics #18

Open
alunduil opened this issue Jan 8, 2018 · 0 comments
Open

Add Google Analytics #18

alunduil opened this issue Jan 8, 2018 · 0 comments
Assignees

Comments

@alunduil
Copy link
Collaborator

alunduil commented Jan 8, 2018

In order to track usage, we should consider Google Analytics.

Here's the tracking code (must be placed in the header of tracked pages):

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-111997230-1"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-111997230-1');
</script>

Alternatively, let me know where this goes and I can add it too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants