This repository has been archived by the owner on Apr 25, 2024. It is now read-only.
Attribution event clicks are triple counted #1231
Labels
💻 aspect: code
Concerns the software code in the repository
🛠 goal: fix
Bug fix
🟨 priority: medium
Not blocking but should be fixed soon
🚦 status: awaiting triage
Has not been triaged & therefore, not ready for work
Description
When a user clicks the "copy attribution" button, we register an event with our analytics API to help us figure out which works are embedded most frequently. It seems like the frontend registers this event 3 times when it ought to only be registered once.
Reproduction
Expectation
The event should only be registered once (ideally clicking the copy button multiple times in the same session wouldn't trigger registration again)
Screenshots
Environment
Resolution
The text was updated successfully, but these errors were encountered: