diff --git a/layouts/default.vue b/layouts/default.vue
index edc2294..e16fc39 100644
--- a/layouts/default.vue
+++ b/layouts/default.vue
@@ -1,7 +1,18 @@
diff --git a/nuxt.config.ts b/nuxt.config.ts
index 41dbfa3..b9d7ab6 100644
--- a/nuxt.config.ts
+++ b/nuxt.config.ts
@@ -82,6 +82,12 @@ export default defineNuxtConfig({
'/',
'/de',
'/en',
+ '/about',
+ '/de/about',
+ '/en/about',
+ '/activities',
+ '/de/activities',
+ '/en/activities',
'/de/artist/anke-feuchtenberger',
'/de/artist/jul-gordon',
'/de/artist/nele-jongeling',
@@ -90,6 +96,24 @@ export default defineNuxtConfig({
'/en/artist/jul-gordon',
'/en/artist/nele-jongeling',
'/en/artist/regina-hofer',
+ '/book',
+ '/de/book',
+ '/en/book',
+ '/collaborations',
+ '/de/collaborations',
+ '/en/collaborations',
+ '/database',
+ '/de/database',
+ '/en/database',
+ '/imprint',
+ '/de/imprint',
+ '/en/imprint',
+ '/privacy',
+ '/de/privacy',
+ '/en/privacy',
+ '/team',
+ '/de/team',
+ '/en/team',
],
},
},
diff --git a/package-lock.json b/package-lock.json
index ce6429e..55e4724 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,17 +1,18 @@
{
"name": "gendercomics-webapp",
- "version": "2.3.1-SNAPSHOT",
+ "version": "2.3.3-SNAPSHOT",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "gendercomics-webapp",
- "version": "2.3.1-SNAPSHOT",
+ "version": "2.3.3-SNAPSHOT",
"dependencies": {
"@nuxt/content": "^2.13.2",
"@nuxtjs/i18n": "^8.5.5",
"@pinia/nuxt": "^0.5.4",
"@vueuse/core": "^11.1.0",
+ "insights-js": "^1.2.11",
"nuxt-security": "^2.0.0",
"pinia": "^2.2.4",
"vue": "^3.5.12",
@@ -6752,6 +6753,11 @@
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
}
},
+ "node_modules/insights-js": {
+ "version": "1.2.11",
+ "resolved": "https://registry.npmjs.org/insights-js/-/insights-js-1.2.11.tgz",
+ "integrity": "sha512-rmNnMM2LnOmKVJAZOMmeZ6GYMm98ztGMC4nA7KUOTBoPBpce8uUx++ZPJDnU02ORH6lCzBCy0AOLwsC/v1dp1Q=="
+ },
"node_modules/ioredis": {
"version": "5.4.2",
"resolved": "https://registry.npmjs.org/ioredis/-/ioredis-5.4.2.tgz",
diff --git a/package.json b/package.json
index f0fb3b2..048fca0 100644
--- a/package.json
+++ b/package.json
@@ -16,6 +16,7 @@
"@nuxtjs/i18n": "^8.5.5",
"@pinia/nuxt": "^0.5.4",
"@vueuse/core": "^11.1.0",
+ "insights-js": "^1.2.11",
"nuxt-security": "^2.0.0",
"pinia": "^2.2.4",
"vue": "^3.5.12",
diff --git a/pages/database/index.vue b/pages/database/index.vue
index 38e19e1..189682c 100644
--- a/pages/database/index.vue
+++ b/pages/database/index.vue
@@ -2,6 +2,7 @@
import SearchResultFooter from '~/components/SearchResultFooter.vue'
import { useDebounceFn } from '@vueuse/core'
import { useAsyncData } from '#app'
+import { track } from 'insights-js'
const { locale } = useI18n()
const searchStore = useSearchStore()
@@ -39,6 +40,10 @@ const onInput = useDebounceFn(() => {
}, 500)
async function search() {
+ track({
+ id: 'database-search',
+ parameters: { searchTerm: searchInput.searchTerm },
+ })
try {
data = await $fetch(appConfig.dbApiBaseUrl + '/search-web', {
//query: { searchTerm: searchInput.searchTerm },