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

Configure Google Analytics in the docs site #1218

Closed
pakoito opened this issue Dec 23, 2018 · 1 comment · Fixed by #1251
Closed

Configure Google Analytics in the docs site #1218

pakoito opened this issue Dec 23, 2018 · 1 comment · Fixed by #1251
Assignees
Labels

Comments

@pakoito
Copy link
Member

pakoito commented Dec 23, 2018

We've currently lost all signals for traffic and referrals on Analytics. I check them regularly to see who's talking about us, and provide support where needed :D

See #482 for the original configuration.

@jorgegalindocruces
Copy link

jorgegalindocruces commented Jan 10, 2019

Hi there folks,

@calvellido here you have the code for adding to the head with the tracker

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

  gtag('config', 'UA-18433785-18');
</script>

Cheers!

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

Successfully merging a pull request may close this issue.

3 participants