Skip to content

Conversation

harlan-zw
Copy link
Collaborator

πŸ”— Linked issue

#482

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

Add source option to GoogleTagManagerOptions schema to allow custom GTM script URLs for server-side implementations.

  • Add source parameter to GoogleTagManagerOptions
  • Update script URL construction to use custom source
  • Add documentation and examples for server-side GTM setup

harlan-zw and others added 2 commits September 18, 2025 09:24
Add source option to GoogleTagManagerOptions schema to allow custom GTM script URLs for server-side implementations.

- Add source parameter to GoogleTagManagerOptions
- Update script URL construction to use custom source
- Add documentation and examples for server-side GTM setup

Resolves #482

πŸ€– Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Add detailed documentation and playground examples for setting up Google Analytics with multi-language and multi-domain applications.

- Add Multi-Domain and i18n Setup section to GA docs
- Include examples for @nuxtjs/i18n integration
- Add domain-based analytics configuration
- Create composable and plugin approaches
- Add best practices for performance and data segmentation
- Create interactive playground example demonstrating locale and domain-based tracking

Resolves #490

πŸ€– Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Copy link

vercel bot commented Sep 18, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
scripts-docs Ready Ready Preview Comment Sep 18, 2025 0:09am
scripts-playground Ready Ready Preview Comment Sep 18, 2025 0:09am

@harlan-zw harlan-zw changed the base branch from main to issue-482-gtm-source-option September 18, 2025 00:10
Copy link

pkg-pr-new bot commented Sep 18, 2025

Open in StackBlitz

npm i https://pkg.pr.new/nuxt/scripts/@nuxt/scripts@502

commit: e961e71

@harlan-zw harlan-zw changed the title feat: add source option to Google Tag Manager doc(gtm): i18n usage Sep 22, 2025
Base automatically changed from issue-482-gtm-source-option to main September 22, 2025 07:16
@harlan-zw harlan-zw closed this Sep 22, 2025
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.

1 participant