Skip to content

Commit b893313

Browse files
jeremymanningclaude
andcommitted
Add GoatCounter analytics to all pages (closes #12)
Added GoatCounter snippet to all site pages: static pages (index, research, contact), templates (publications, people, software, news), and the CV HTML generator. Privacy-respecting, no cookies, no consent banner needed. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 4d245db commit b893313

File tree

14 files changed

+26
-0
lines changed

14 files changed

+26
-0
lines changed

contact.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,5 +174,7 @@ <h2>get in touch</h2>
174174
</nav>
175175

176176
<script src="js/main.js"></script>
177+
<script data-goatcounter="https://context-lab.goatcounter.com/count"
178+
async src="//gc.zgo.at/count.js"></script>
177179
</body>
178180
</html>

documents/JRM_CV.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -747,5 +747,7 @@ <h3>Ad-hoc reviewer</h3>
747747
</script>
748748
</footer>
749749
</div>
750+
<script data-goatcounter="https://context-lab.goatcounter.com/count"
751+
async src="//gc.zgo.at/count.js"></script>
750752
</body>
751753
</html>

documents/JRM_CV.pdf

-2 Bytes
Binary file not shown.

index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,5 +100,7 @@ <h2>how does memory work and what are its limits?</h2>
100100
</nav>
101101

102102
<script src="js/main.js"></script>
103+
<script data-goatcounter="https://context-lab.goatcounter.com/count"
104+
async src="//gc.zgo.at/count.js"></script>
103105
</body>
104106
</html>

news.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,5 +224,7 @@ <h2>latest from bluesky</h2>
224224

225225
<script src="js/bluesky-feed.js"></script>
226226
<script src="js/main.js"></script>
227+
<script data-goatcounter="https://context-lab.goatcounter.com/count"
228+
async src="//gc.zgo.at/count.js"></script>
227229
</body>
228230
</html>

people.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -490,5 +490,7 @@ <h2>get in touch</h2>
490490
</nav>
491491

492492
<script src="js/main.js"></script>
493+
<script data-goatcounter="https://context-lab.goatcounter.com/count"
494+
async src="//gc.zgo.at/count.js"></script>
493495
</body>
494496
</html>

publications.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,5 +1187,7 @@ <h4><a href="http://caligari.dartmouth.edu/~jmanning/posters/CNS2005.pdf" target
11871187
</nav>
11881188

11891189
<script src="js/main.js"></script>
1190+
<script data-goatcounter="https://context-lab.goatcounter.com/count"
1191+
async src="//gc.zgo.at/count.js"></script>
11901192
</body>
11911193
</html>

research.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,5 +135,7 @@ <h2>building better brain models</h2>
135135
</nav>
136136

137137
<script src="js/main.js"></script>
138+
<script data-goatcounter="https://context-lab.goatcounter.com/count"
139+
async src="//gc.zgo.at/count.js"></script>
138140
</body>
139141
</html>

scripts/extract_cv.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -630,6 +630,8 @@ def generate_html(tex_content: str) -> str:
630630
</script>
631631
</footer>
632632
</div>
633+
<script data-goatcounter="https://context-lab.goatcounter.com/count"
634+
async src="//gc.zgo.at/count.js"></script>
633635
</body>
634636
</html>
635637
''')

software.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,5 +163,7 @@ <h2><img src="images/software/matlab-icon.png" alt="MATLAB">matlab code</h2>
163163
</nav>
164164

165165
<script src="js/main.js"></script>
166+
<script data-goatcounter="https://context-lab.goatcounter.com/count"
167+
async src="//gc.zgo.at/count.js"></script>
166168
</body>
167169
</html>

0 commit comments

Comments
 (0)