Skip to content

Commit c0acb9c

Browse files
committed
feat: track click to profiles and contact page
Bump nuxt-umami to v2.6.4
1 parent ed3c5e1 commit c0acb9c

File tree

4 files changed

+18
-70
lines changed

4 files changed

+18
-70
lines changed

app.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ export default defineAppConfig({
33
host: 'https://stats.lamanufactu.re',
44
id: '91e5f788-0a06-48d9-aaae-c7a06c2e13e2',
55
ignoreLocalhost: true,
6-
version: 2
6+
version: 2,
7+
useDirective: true
78
}
89
})

components/HeaderBar.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ import logoSrc from '~/assets/logo.svg'
99
</div>
1010
<div class="col-4 flex justify-content-end align-items-center">
1111
<NuxtLink to="/links" class="mx-2">Links</NuxtLink>
12-
<a href="https://www.linkedin.com/in/thomas-lamant-9a28423b/" aria-label="LinkedIn profile" target="_blank"><i class="pi pi-linkedin mx-2" /></a>
13-
<a href="https://instagram.com/tmlmt" aria-label="Instagram profile" target="_blank"><i class="pi pi-instagram mx-2" /></a>
14-
<a href="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/tmlmt" aria-label="GitHub profile" target="_blank"><i class="pi pi-github mx-2" /></a>
15-
<a href="https://blog.tmlmt.com/contact" aria-label="Send me a message" target="_blank"><i class="pi pi-envelope mx-2" /></a>
12+
<a v-umami="'LinkedIn profile'" href="https://www.linkedin.com/in/thomas-lamant-9a28423b/" aria-label="LinkedIn profile" target="_blank"><i class="pi pi-linkedin mx-2" /></a>
13+
<a v-umami="'Instagram profile'" href="https://instagram.com/tmlmt" aria-label="Instagram profile" target="_blank"><i class="pi pi-instagram mx-2" /></a>
14+
<a v-umami="'Github profile'" href="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/tmlmt" aria-label="GitHub profile" target="_blank"><i class="pi pi-github mx-2" /></a>
15+
<a v-umami="'Contact link'" href="https://blog.tmlmt.com/contact" aria-label="Send me a message" target="_blank"><i class="pi pi-envelope mx-2" /></a>
1616
</div>
1717
</div>
1818
</template>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"vue-tsc": "2.0.29"
3030
},
3131
"dependencies": {
32-
"nuxt-umami": "2.4.2",
32+
"nuxt-umami": "2.6.4",
3333
"primeflex": "3.3.0",
3434
"primeicons": "6.0.1",
3535
"primevue": "3.29.1"

pnpm-lock.yaml

Lines changed: 11 additions & 64 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)