chore: add UTM parameters to all owned outbound links#4544
Open
devin-ai-integration[bot] wants to merge 2 commits intomainfrom
Open
chore: add UTM parameters to all owned outbound links#4544devin-ai-integration[bot] wants to merge 2 commits intomainfrom
devin-ai-integration[bot] wants to merge 2 commits intomainfrom
Conversation
Add UTM tracking parameters to owned links across GitHub files, desktop app, onboarding assets, blog articles, and docs to enable attribution of app installs and website traffic by source. Convention: - utm_source: github | app | website - utm_medium: readme | contributing | settings | changelog | onboarding | blog | docs - utm_campaign: organic Co-Authored-By: John <john@hyprnote.com>
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
✅ Deploy Preview for hyprnote-storybook canceled.
|
✅ Deploy Preview for hyprnote ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
…book Co-Authored-By: John <john@hyprnote.com>
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.
Summary
Adds UTM tracking parameters to owned outbound links across the repo so app installs and website traffic can be attributed by source. Also documents the UTM convention in the analytics developer docs and handbook so the team can maintain consistency going forward.
20 files changed across 6 areas:
utm_sourceutm_mediumgithubreadme,contributingappsettings,changelogapponboardingwebsiteblogwebsitedocsAll links use
utm_campaign=organic. UTM params are placed before#fragments where applicable. No existing query parameters were present on any of the modified URLs. Blog-to-blog cross-links and non-marketing links (Discord, account management) were intentionally left unchanged.Updates since last revision
apps/web/content/docs/developers/12.analytics.mdxdocumenting the convention, where UTMs are applied, rules for adding them, and how they connect to PostHog attribution.apps/web/content/handbook/how-we-work/8.analytics-funnel.mdxwith a cross-link to the full developer reference, and noted that PostHog captures UTMs automatically on session properties.Review & Testing Checklist for Human
utm_sourcevalues (github,app,website) andutm_mediumvalues (readme,settings,blog, etc.) align with how you want to segment in your analytics toolchar.comuseutm_source=website&utm_medium=blog. These will override the visitor's original session source in GA. Confirm this is desired vs. using internal campaign tracking/docs/developers/analytics#utm-parameters-on-owned-links. Confirm the docs framework generates this slug correctly from the## UTM parameters on owned linksheadinghyprnote.com— UTMs were added to the old-domain URLs incrates/db-user/assets/. These may need a separate domain migrationSuggested test plan: Deploy the preview, navigate to the analytics docs page and handbook funnel page, and verify the UTM convention tables render correctly and the cross-link between them works.
Notes
fastrepl/marketingrepo was empty (no commits), so it was skippedLink to Devin session: https://app.devin.ai/sessions/34101d26258248b490fe456d66f56073
Requested by: @ComputelessComputer