forked from zereight/gitlab-mcp
-
Notifications
You must be signed in to change notification settings - Fork 1
feat(docs): upgrade vue-privacy with GA4 tracking + dependency updates #282
Copy link
Copy link
Closed
Labels
Description
Summary
Upgrade vue-privacy with proper GA4 event tracking and update other dependencies.
Part 1: vue-privacy GA4 Integration
Current State
-
vue-privacy
^1.2.3is installed but only basic features are used:enhanceWithConsent()for consent managementConsentBannercomponentcreateKVStorage()for consent persistence- Automatic page view tracking
-
NOT used: Custom event tracking capabilities
Proposed Changes
1. Upgrade vue-privacy to latest
yarn add @structured-world/vue-privacy@latest2. Implement GA4 recommended events
Based on GA4 recommended events:
| Event | Trigger | Parameters |
|---|---|---|
search |
VitePress local search | search_term |
file_download |
.mcpb bundle download | file_name, file_extension, link_url |
click |
External link clicks | link_url, link_domain, outbound: true |
Part 2: Dependency Updates
| Package | Current | Target | Type |
|---|---|---|---|
@structured-world/vue-privacy |
^1.2.3 | latest | devDependencies |
@modelcontextprotocol/sdk |
^1.25.3 | ^1.26.0 | dependencies |
@cloudflare/workers-types |
^4.20260131.0 | ^4.20260203.0 | devDependencies |
@types/node |
^24.10.9 | ^24.10.10 | devDependencies |
picomatch |
^4.0.0 | ^4.0.3 | dependencies |
undici |
^7.19.2 | ^7.20.0 | dependencies |
Update Command
yarn add @structured-world/vue-privacy@latest @modelcontextprotocol/sdk@^1.26.0 picomatch@^4.0.3 undici@^7.20.0
yarn add -D @cloudflare/workers-types@^4.20260203.0 @types/node@^24.10.10References
Time Estimate
3-4 hours
Acceptance Criteria
vue-privacy tracking
- vue-privacy upgraded to latest
- Search events tracked with
search_termparameter - File download events tracked for .mcpb files
- Outbound link clicks tracked
- Events visible in GA4 Realtime report
- No tracking occurs when analytics consent is denied
Dependency updates
- All dependencies updated
-
yarn lintpasses -
yarn testpasses -
yarn buildcompletes - MCP server starts without errors
Reactions are currently unavailable