Add Events to Marketplace Interactions#202
Merged
bryantgillespie merged 2 commits intomainfrom Sep 22, 2025
Merged
Conversation
✅ Deploy Preview for directus-website ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
Pull Request Overview
This pull request adds comprehensive event tracking to the Marketplace interactions, enabling analytics for user behavior while maintaining privacy through hashed instance URLs.
- Implements event tracking for card clicks across extensions, integrations, and templates
- Adds detailed analytics for extension installation flow including modal interactions and URL editing
- Introduces secure URL hashing using ohash library for privacy-compliant tracking
Reviewed Changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| package.json | Adds ohash dependency for URL hashing functionality |
| TemplatesActions.vue | Implements click tracking for template action buttons |
| MarketplaceExtensionActions.vue | Adds comprehensive tracking for extension interactions and hashed instance URL handling |
| SearchDirectory.vue | Adds click tracking for extension, integration, and template cards |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request adds event tracking to the Marketplace, enabling more granular analytics for user interactions such as browsing, editing instance url, and installing. It also introduces hashed instance URL tracking for privacy.
Marketplace and Templates UI event tracking:
v-captureanalytics tracking for clicks on extension, integration, and template cards inSearchDirectory.vue, capturing relevant IDs and names for each entity. [1] [2] [3]v-capturetracking for template action button clicks inTemplatesActions.vue, including button details and template metadata.MarketplaceExtensionActions.vue, capturing extension metadata for each event. [1] [2]Hashed instance URL tracking and analytics:
ohashlibrary to anonymize and track instance usage in extension install flows, with related analytics events for opening/editing/saving instance URLs and launching installs. [1] [2] [3] [4] [5]$posthogevent capture for all major extension installation actions, including modal opens, edits, saves, and launches, with hashed instance URLs and extension details. [1] [2] [3]Dependency updates:
ohashtopackage.jsonfor hashing functionality and updated related lockfile entries. [1] [2] [3]pnpm-lock.yamlfor packages such as@nuxtjs/sitemap,unstorage,acorn,eslint-scope, and others. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]