@stacksjs/defaults 0.74.68 → 0.74.69

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -122,6 +122,13 @@ interface GoogleAnalyticsConfig {
122
122
  debug?: boolean // debug_mode -> DebugView
123
123
  }
124
124
 
125
+ interface AnalyticsHqConfig {
126
+ siteId: string // the data-site id AnalyticsHQ minted
127
+ scriptUrl?: string // self-hosted instance or verified custom domain
128
+ respectDnt?: boolean // false counts DNT/GPC visitors (skipped by default)
129
+ vitals?: boolean // false stops Core Web Vitals beacons
130
+ }
131
+
125
132
  interface SelfHostedConfig {
126
133
  siteId: string // unique site identifier
127
134
  apiEndpoint: string // analytics API URL
@@ -135,8 +142,9 @@ interface SelfHostedConfig {
135
142
 
136
143
  ```typescript
137
144
  {
138
- driver: 'fathom', // 'fathom' | 'plausible' | 'google-analytics' | 'self-hosted'
145
+ driver: 'fathom', // 'fathom' | 'plausible' | 'google-analytics' | 'self-hosted' | 'analyticshq'
139
146
  drivers: {
147
+ analyticshq: { siteId: '' },
140
148
  googleAnalytics: { trackingId: '' },
141
149
  fathom: { siteId: '' },
142
150
  plausible: { domain: '' },
@@ -167,3 +175,4 @@ Analytics dashboard at `/dashboard/analytics` displays:
167
175
  - Fathom is a paid service - self-hosted is free but requires infrastructure
168
176
  - `trackOutboundLinks` adds click handlers to external `<a>` tags
169
177
  - `capturePageviews` is server-side and independent of `driver`
178
+ - AnalyticsHQ custom events need no script: `data-analyticshq-event="Ticket click"` on any element, with other `data-analyticshq-*` attributes as properties
@@ -2,7 +2,7 @@
2
2
  "publisher": "Stacks",
3
3
  "name": "vscode-stacks",
4
4
  "displayName": "Stacks",
5
- "version": "0.74.68",
5
+ "version": "0.74.69",
6
6
  "description": "A modern Stacks development environment.",
7
7
  "license": "MIT",
8
8
  "funding": "https://github.com/sponsors/chrisbbreuer",
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@stacksjs/defaults",
3
3
  "type": "module",
4
4
  "sideEffects": false,
5
- "version": "0.74.68",
5
+ "version": "0.74.69",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git+https://github.com/stacksjs/stacks.git",
@@ -55,7 +55,7 @@
55
55
  "dependencies": {
56
56
  "@iconify-json/f7": "^1.2.2",
57
57
  "@iconify-json/hugeicons": "^1.2.27",
58
- "@stacksjs/mobile": "^0.74.68",
58
+ "@stacksjs/mobile": "^0.74.69",
59
59
  "@stacksjs/sanitizer": "^0.2.113",
60
60
  "ts-qr-codes": "^0.1.8"
61
61
  }