[PR #3900] [MERGED] Consolidate LangSmith CTA links with clean UTM tracking #3908

Closed
opened 2026-06-05 18:53:33 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/3900
Author: @lnhsingh
Created: 5/7/2026
Status: Merged
Merged: 5/7/2026
Merged by: @lnhsingh

Base: mainHead: metrics-updates


📝 Commits (1)

📊 Changes

43 files changed (+218 additions, -43 deletions)

View changed files

📝 pipeline/preprocessors/markdown_preprocessor.py (+4 -0)
pipeline/preprocessors/utm_links.py (+71 -0)
📝 src/index.mdx (+1 -1)
📝 src/langsmith/annotation-queues.mdx (+1 -1)
📝 src/langsmith/cicd-pipeline-example.mdx (+1 -1)
📝 src/langsmith/deployment-quickstart.mdx (+2 -2)
📝 src/langsmith/integrations.mdx (+1 -1)
📝 src/langsmith/trace-with-n8n.mdx (+2 -2)
📝 src/langsmith/trace-with-temporal.mdx (+1 -1)
📝 src/oss/deepagents/cli/overview.mdx (+1 -1)
📝 src/oss/deepagents/content-builder.mdx (+1 -1)
📝 src/oss/deepagents/deep-research.mdx (+1 -1)
📝 src/oss/javascript/integrations/tools/duckduckgo_search.mdx (+1 -1)
📝 src/oss/javascript/integrations/tools/google_scholar.mdx (+1 -1)
📝 src/oss/javascript/integrations/tools/nia.mdx (+1 -1)
📝 src/oss/javascript/integrations/tools/serpapi.mdx (+1 -1)
📝 src/oss/javascript/integrations/tools/tavily_crawl.mdx (+1 -1)
📝 src/oss/javascript/integrations/tools/tavily_extract.mdx (+1 -1)
📝 src/oss/javascript/integrations/tools/tavily_map.mdx (+1 -1)
📝 src/oss/javascript/integrations/tools/tavily_search.mdx (+1 -1)

...and 23 more files

📄 Description

Added a build pipeline preprocessor (pipeline/preprocessors/utm_links.py) that auto-tags LangSmith signup links with UTM
parameters at build time, so CTA attribution collapses to a single trackable URL in GA/Looker. Normalized 39 files with
inconsistent trailing slashes and manually tagged the home page card CTA (the only JSX href the preprocessor can't reach).

Fixes DOC-1088


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/docs/pull/3900 **Author:** [@lnhsingh](https://github.com/lnhsingh) **Created:** 5/7/2026 **Status:** ✅ Merged **Merged:** 5/7/2026 **Merged by:** [@lnhsingh](https://github.com/lnhsingh) **Base:** `main` ← **Head:** `metrics-updates` --- ### 📝 Commits (1) - [`6a71592`](https://github.com/langchain-ai/docs/commit/6a715929aa6c2dee69eee3fd2c1b9c4faf61eb4f) link clean up ### 📊 Changes **43 files changed** (+218 additions, -43 deletions) <details> <summary>View changed files</summary> 📝 `pipeline/preprocessors/markdown_preprocessor.py` (+4 -0) ➕ `pipeline/preprocessors/utm_links.py` (+71 -0) 📝 `src/index.mdx` (+1 -1) 📝 `src/langsmith/annotation-queues.mdx` (+1 -1) 📝 `src/langsmith/cicd-pipeline-example.mdx` (+1 -1) 📝 `src/langsmith/deployment-quickstart.mdx` (+2 -2) 📝 `src/langsmith/integrations.mdx` (+1 -1) 📝 `src/langsmith/trace-with-n8n.mdx` (+2 -2) 📝 `src/langsmith/trace-with-temporal.mdx` (+1 -1) 📝 `src/oss/deepagents/cli/overview.mdx` (+1 -1) 📝 `src/oss/deepagents/content-builder.mdx` (+1 -1) 📝 `src/oss/deepagents/deep-research.mdx` (+1 -1) 📝 `src/oss/javascript/integrations/tools/duckduckgo_search.mdx` (+1 -1) 📝 `src/oss/javascript/integrations/tools/google_scholar.mdx` (+1 -1) 📝 `src/oss/javascript/integrations/tools/nia.mdx` (+1 -1) 📝 `src/oss/javascript/integrations/tools/serpapi.mdx` (+1 -1) 📝 `src/oss/javascript/integrations/tools/tavily_crawl.mdx` (+1 -1) 📝 `src/oss/javascript/integrations/tools/tavily_extract.mdx` (+1 -1) 📝 `src/oss/javascript/integrations/tools/tavily_map.mdx` (+1 -1) 📝 `src/oss/javascript/integrations/tools/tavily_search.mdx` (+1 -1) _...and 23 more files_ </details> ### 📄 Description Added a build pipeline preprocessor (pipeline/preprocessors/utm_links.py) that auto-tags LangSmith signup links with UTM parameters at build time, so CTA attribution collapses to a single trackable URL in GA/Looker. Normalized 39 files with inconsistent trailing slashes and manually tagged the home page card CTA (the only JSX href the preprocessor can't reach). Fixes DOC-1088 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 18:53:33 -04:00
yindo closed this issue 2026-06-05 18:53:33 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#3908