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

Updated to site.highlighter and removed analytics ignore #78

Merged
merged 1 commit into from Mar 10, 2015
Merged

Updated to site.highlighter and removed analytics ignore #78

merged 1 commit into from Mar 10, 2015

Conversation

yanneves
Copy link
Member

  • pygments: is deprecated, have updated to highlighter:
  • analytics would also always fail, not sure if these are monitored anyway, have fixed for efficacy

@larister
Copy link
Contributor

Yeah I have no idea what the GA login is :-/ Thanks for fixing anyway :)

larister added a commit that referenced this pull request Mar 10, 2015
Updated to site.highlighter and removed analytics ignore
@larister larister merged commit a81bdd6 into asyncjs:master Mar 10, 2015
@aron
Copy link
Member

aron commented Mar 10, 2015

@aaunel that site.pygments check was there to only enable the analytics when deployed to GitHub pages (i.e. in production), GitHub used to force set pygments: true. Sorry it should have been commented better. Now the analytics script will be included when running the site in development locally. This may not be an issue, but I'm not familiar enough with Google Analytics to know.

@larister, @premasagar should be able to give you the details for the analytics. Or if no-one is using it at all, we can just pull out the whole block.

@aron
Copy link
Member

aron commented Mar 10, 2015

It could use site.github instead now. https://help.github.com/articles/using-jekyll-with-pages/#defaults

@premasagar
Copy link
Member

I've just added @larister @aaunel and @chrisnewtn to analytics, in case it is useful and wanted.

@premasagar
Copy link
Member

Because I was curious, here is a list of the top 100 cities from which people have visited the website since 2010.

#   City        Sessions
1.  Brighton    7,990   13.73%
2.  London  7,036   12.09%
3.  Paris   2,533   4.35%
4.  (not set)   1,019   1.75%
5.  New York    680 1.17%
6.  San Francisco   583 1.00%
7.  Bengaluru   497 0.85%
8.  Berlin  459 0.79%
9.  Hove    378 0.65%
10. Moscow  377 0.65%
11. Croydon 302 0.52%
12. Stockholm   280 0.48%
13. Toronto 274 0.47%
14. Sydney  267 0.46%
15. Chennai 251 0.43%
16. Beijing 248 0.43%
17. Madrid  244 0.42%
18. Seoul   239 0.41%
19. Crawley 227 0.39%
20. Oxford  223 0.38%
21. Singapore   222 0.38%
22. Seattle 216 0.37%
23. Melbourne   209 0.36%
24. Tel Aviv-Yafo   204 0.35%
25. Los Angeles 203 0.35%
26. Amsterdam   201 0.35%
27. Sao Paulo   196 0.34%
28. Chicago 190 0.33%
29. Cambridge   189 0.32%
30. London Borough of Lambeth   186 0.32%
31. Shanghai    186 0.32%
32. Munich  185 0.32%
33. Hong Kong   182 0.31%
34. Mumbai  178 0.31%
35. Manchester  177 0.30%
36. Kyiv    166 0.29%
37. Poplar  164 0.28%
38. Sutton  164 0.28%
39. Hyderabad   164 0.28%
40. Dublin  162 0.28%
41. Barcelona   159 0.27%
42. Bangkok 154 0.26%
43. San Jose    151 0.26%
44. Istanbul    149 0.26%
45. Austin  148 0.25%
46. Bristol 147 0.25%
47. Prague  146 0.25%
48. Helsinki    146 0.25%
49. New Delhi   146 0.25%
50. Milan   144 0.25%
51. Montreal    142 0.24%
52. Copenhagen  142 0.24%
53. Buenos Aires    141 0.24%
54. Pune    141 0.24%
55. Ho Chi Minh City    136 0.23%
56. Atlanta 135 0.23%
57. Royal Borough of Kensington and Chelsea 134 0.23%
58. Mountain View   134 0.23%
59. Birmingham  133 0.23%
60. Edinburgh   133 0.23%
61. Vienna  127 0.22%
62. Oslo    124 0.21%
63. Epsom   123 0.21%
64. Leeds   123 0.21%
65. Saint Petersburg    122 0.21%
66. Washington  119 0.20%
67. Vancouver   117 0.20%
68. Findon  116 0.20%
69. Bucharest   115 0.20%
70. Sunnyvale   115 0.20%
71. Wallington  113 0.19%
72. Jakarta 112 0.19%
73. Budapest    110 0.19%
74. San Diego   110 0.19%
75. Worthing    108 0.19%
76. Hamburg 106 0.18%
77. Warsaw  106 0.18%
78. Sofia   105 0.18%
79. Southampton 105 0.18%
80. Lisbon  104 0.18%
81. London  102 0.18%
82. (not set)   101 0.17%
83. Zurich  101 0.17%
84. Brisbane    100 0.17%
85. Rio de Janeiro  100 0.17%
86. Boston  99  0.17%
87. Rome    98  0.17%
88. Athens  97  0.17%
89. Teddington  96  0.16%
90. Mexico City 96  0.16%
91. Shenzhen    95  0.16%
92. Sheffield   95  0.16%
93. Auckland    94  0.16%
94. Hanoi   94  0.16%
95. Kharkiv 92  0.16%
96. Cologne 91  0.16%
97. Horsham 91  0.16%
98. Leatherhead 87  0.15%
99. Portland    87  0.15%
100.    Montrouge   86  0.15%

@yanneves
Copy link
Member Author

Very interesting @aron, I did wonder why it was there, had actually imagined it might be a typo expecting to check whether the analytics id exists.

As far as I'm aware, Google Analytics shouldn't track a localhost address, but I don't know for sure. From reading on StackOverflow it appears you'd need to explicitly ignore the domain to track local environments. site.github may be a good idea, though!

That's quite the list of countries @premasagar!

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

Successfully merging this pull request may close these issues.

None yet

4 participants