Skip to content

Commit

Permalink
feat: adding google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
solderneer committed Jul 4, 2023
1 parent 17a533e commit da080d0
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 34 deletions.
40 changes: 8 additions & 32 deletions site/src/.obsidian/workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,37 +4,18 @@
"type": "split",
"children": [
{
"id": "10e82af6a3e91dfc",
"id": "2ca9f371134a9365",
"type": "tabs",
"children": [
{
"id": "cf164f7d0b563fe7",
"id": "e26050a3c219a34a",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "_private/_inbox/80000-hours.md",
"mode": "source",
"backlinks": true,
"source": false
}
}
},
{
"id": "8bc10f050bdfd59e",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "content/notes/principles.md",
"mode": "source",
"backlinks": true,
"source": false
}
"type": "empty",
"state": {}
}
}
],
"currentTab": 1
]
}
],
"direction": "vertical"
Expand Down Expand Up @@ -79,7 +60,6 @@
"state": {
"type": "localgraph",
"state": {
"file": "content/notes/principles.md",
"options": {
"collapse-filter": true,
"search": "",
Expand Down Expand Up @@ -159,7 +139,6 @@
"state": {
"type": "backlink",
"state": {
"file": "content/notes/principles.md",
"collapseAll": true,
"extraContext": false,
"sortOrder": "alphabetical",
Expand All @@ -176,7 +155,6 @@
"state": {
"type": "outgoing-link",
"state": {
"file": "content/notes/principles.md",
"linksCollapsed": false,
"unlinkedCollapsed": true
}
Expand All @@ -187,9 +165,7 @@
"type": "leaf",
"state": {
"type": "outline",
"state": {
"file": "content/notes/principles.md"
}
"state": {}
}
},
{
Expand Down Expand Up @@ -220,11 +196,11 @@
"command-palette:Open command palette": false
}
},
"active": "8bc10f050bdfd59e",
"active": "e26050a3c219a34a",
"lastOpenFiles": [
"content/notes/do-what-contributes.md",
"_private/_inbox/80000-hours.md",
"content/notes/principles.md",
"content/notes/do-what-contributes.md",
"content/notes/104-days-of-summer-vacation.md",
"content/notes/grieving-otherselves.md",
"content/notes/write-simply.md",
Expand Down
13 changes: 13 additions & 0 deletions site/src/components/BaseHead.astro
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,16 @@ const { title, description, emoji, image } = Astro.props;
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/katex@0.16.0/dist/katex.min.css"
/>

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

gtag("config", "G-V7F3B1YVBS");
</script>
3 changes: 1 addition & 2 deletions site/src/content/notes/do-what-contributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ But there is lots of wisdom to take away, even disregarding the value judgements

4. **Make great contributions.** If you do stellar work, you build your reputation and it allows you to meet other high achievers.


Tomorrow, I'll be writing more about effective altruism and the specific value judgements that it makes. I'm also slowly working through the 80,000 hours exercises, to build more clarity for myself. You can find that note here: [[80000-hours]].
Tomorrow, I'll be writing more about effective altruism and the specific value judgements that it makes. I'm also patiently working through the 80,000 hours exercises, to build more clarity for myself.

In the meantime, I think I've spent long enough on the computer for today, it's a beautiful day in India. It's time to take a walk, perhaps even, for you too dear reader! See you tomorrow :)

Expand Down

0 comments on commit da080d0

Please sign in to comment.