Skip to content

Track buttonClicked event when user copies CLI command - #37

Open
adimara wants to merge 1 commit into
mainfrom
track-cli-copy-event
Open

Track buttonClicked event when user copies CLI command#37
adimara wants to merge 1 commit into
mainfrom
track-cli-copy-event

Conversation

@adimara

@adimara adimara commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fires analytics.buttonClicked() when the user copies the CLI quickstart command (npm/yarn create @wix/new)
  • Mirrors the existing tracking in TryPrompt.tsx so both copy actions are measured consistently

Test plan

  • Click the Copy button on the CLI quickstart section and verify the buttonClicked analytics event fires
  • Confirm the "Copied" state still toggles correctly

🤖 Generated with Claude Code

Mirrors the existing analytics.buttonClicked() call in TryPrompt.tsx so
both copy actions are tracked consistently.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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