Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 951 Bytes

2020-09-16-MonitoringGithubPageTraffic.md

File metadata and controls

38 lines (31 loc) · 951 Bytes
layout title date desc keywords categories tags icon
post
Monitoring Github Page Traffic via Google Analytics
2020-09-16
gh-page, google-analytics
Life
gh-page
google-analytics
icon-html

Problem:

I want to know the traffic about my github page.

Solution:

It's pretty straight forward since I used jekyll framework. So all you need to do is to add your google analitics trackid into _config.yml

# analytics
## google analytics
ga:  # if you wanna this feature, go to https://www.google.com/analytics/ to get your configuration; if not, comment following line.
  id: your_tracking_id







If you want to create a filter to exclude traffic from yourself, just create a filter in google analytics: