Skip to content

Amplitude footer click event#623

Draft
lchoward wants to merge 7 commits intov8.xfrom
cursor/amplitude-footer-click-event-2b41
Draft

Amplitude footer click event#623
lchoward wants to merge 7 commits intov8.xfrom
cursor/amplitude-footer-click-event-2b41

Conversation

@lchoward
Copy link

Summary

This PR implements click tracking for the "Powered by Amplitude" footer displayed in Amplitude guides and surveys. As the footer's source code (@amplitude/engagement-browser) is in a private repository, a direct modification was not feasible. This solution provides a standalone JavaScript plugin that uses DOM event delegation to track Guides Footer Clicked events, including relevant properties. The PR also includes comprehensive documentation, an example, and unit tests to facilitate immediate deployment as a workaround.

Checklist

  • Does your PR title have the correct title format?
  • Does your PR have a breaking change?: No

Slack Thread

Open in Web Open in Cursor 

cursoragent and others added 3 commits February 25, 2026 22:33
- Create guides-footer-tracking.js with DOM event delegation solution
- Add comprehensive documentation (README and specification)
- Include interactive example HTML demo
- Add unit tests for footer tracking functionality
- Document investigation findings and required source code changes

This provides a client-side workaround for tracking clicks on the
'Powered by Amplitude' footer while the source repository for
@amplitude/engagement-browser is located for a proper fix.

Co-authored-by: Lucas Howard <lchoward@users.noreply.github.com>
- Provide step-by-step deployment instructions
- Include both workaround and proper source fix approaches
- Add testing checklist and success metrics

Co-authored-by: Lucas Howard <lchoward@users.noreply.github.com>
- Outline immediate actions for deploying workaround
- Document steps to locate source repository
- Provide decision framework for deployment approach
- List all deliverables in this branch

Co-authored-by: Lucas Howard <lchoward@users.noreply.github.com>
@cursor
Copy link

cursor bot commented Feb 25, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

cursoragent and others added 4 commits February 25, 2026 22:40
- Remove unused mockDocument and mockWindow variables
- Remove unused event parameter in click listener
- Fixes ESLint violations in CI

Co-authored-by: Lucas Howard <lchoward@users.noreply.github.com>
Document resolution of ESLint issues and required PR title change

Co-authored-by: Lucas Howard <lchoward@users.noreply.github.com>
Provide clear steps for manually updating PR title to pass CI checks

Co-authored-by: Lucas Howard <lchoward@users.noreply.github.com>
Co-authored-by: Lucas Howard <lchoward@users.noreply.github.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.

2 participants