Skip to content

Add Google Analytics tag to ADK Kotlin API reference docs#1785

Merged
koverholt merged 3 commits into
mainfrom
add-ga-tag-kotlin-api-docs
May 21, 2026
Merged

Add Google Analytics tag to ADK Kotlin API reference docs#1785
koverholt merged 3 commits into
mainfrom
add-ga-tag-kotlin-api-docs

Conversation

@koverholt
Copy link
Copy Markdown
Collaborator

@koverholt koverholt commented May 20, 2026

Add Google Analytics tag to ADK Kotlin API reference docs:

  1. Script: Adds GA tag injection to the Kotlin API docs generation script (tools/kotlin-api-docs/generate.sh), matching the Python CLI and REST API ref docs. The script now post-processes Dokka's HTML output to insert the GA snippet to all generated pages, using the same GA property as the rest of the site. Also removes the unnecessary gradle prerequisite check since the script uses ./gradlew from the cloned adk-kotlin repo.

  2. Generated docs: Regenerated ADK Kotlin 0.1.0 API reference docs with the GA tag now present in all generated HTML pages.

koverholt added 2 commits May 20, 2026 12:30
- Inject Google Analytics tag into all generated HTML files using awk
- Remove unnecessary gradle prerequisite check (script uses ./gradlew)
- Update prerequisites comment to clarify Android SDK requirement
@koverholt koverholt requested a review from joefernandez May 20, 2026 17:34
@netlify
Copy link
Copy Markdown

netlify Bot commented May 20, 2026

Deploy Preview for adk-docs-preview ready!

Name Link
🔨 Latest commit 2ef249f
🔍 Latest deploy log https://app.netlify.com/projects/adk-docs-preview/deploys/6a0f309fbf373f0008623d3e
😎 Deploy Preview https://deploy-preview-1785--adk-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@koverholt koverholt merged commit c001269 into main May 21, 2026
10 of 11 checks passed
@koverholt koverholt deleted the add-ga-tag-kotlin-api-docs branch May 21, 2026 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants