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

Update google plug-in #165

Closed
sylhare opened this issue Jun 17, 2019 · 1 comment
Closed

Update google plug-in #165

sylhare opened this issue Jun 17, 2019 · 1 comment

Comments

@sylhare
Copy link
Owner

sylhare commented Jun 17, 2019

The analytics plugin is a bit outdated, and need to be adjusted.
Also since Google + is going out, I will remove it from the options.

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

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

Also, if you wanne set up google analytics, don't forget to choose https if hosted on github.io

Screen Shot 2019-06-17 at 4 15 51 PM

sylhare added a commit that referenced this issue Jun 18, 2019
sylhare added a commit that referenced this issue Jun 18, 2019
@sylhare
Copy link
Owner Author

sylhare commented Jun 18, 2019

All good now

@sylhare sylhare closed this as completed Jun 18, 2019
OMEGA-Y pushed a commit to OMEGA-Y/OMEGA-Y.github.io that referenced this issue Dec 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant