Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track “Copy to clipboard” button clicks in guides in GA4 #3937

Open
shin19991207 opened this issue Jan 30, 2025 · 0 comments
Open

Track “Copy to clipboard” button clicks in guides in GA4 #3937

shin19991207 opened this issue Jan 30, 2025 · 0 comments

Comments

@shin19991207
Copy link

From Laura Cowen:

Do we, by any chance, measure (in Google Analytics) whether guide users actually click the Copy to clipboard buttons within the guide text column? I was just thinking that maybe if we could see how far down the page the clipboard icons are clicked, we could get some sense of whether someone has actually tried to use the guide (rather than just reading it).

If we could track that (and identify which instance of the icon on a page), we could do some automated dashboard of how far users get down the guide for the standard sections (like in Guide X they always clone but not many get further, whereas in Guide Y they get further). Then we could drill into individual guides to see how far people get through them.

We want to track when users click the “Copy to clipboard” buttons within guide pages and analyze how far they progress through the guide based on these interactions. This data will help us understand guide engagement beyond just page views—such as whether users are copying commands and how far down they reach.

Specifically, we need:

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

No branches or pull requests

1 participant