Skip to content

Commit

Permalink
analytics: downplay id for tracking usage
Browse files Browse the repository at this point in the history
  • Loading branch information
mimecuvalo committed Nov 2, 2023
1 parent ab80feb commit 58e549f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/analytics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ function handleMouseDown(evt: MouseEvent) {
target.getAttribute('data-track') ||
target.getAttribute('aria-label') ||
target.title ||
target.id ||
target.innerText ||
target.getAttribute('placeholder') ||
target.getAttribute('name') ||
target.getAttribute('alt') ||
target.id ||
target.className ||
(target as HTMLImageElement).src ||
(target as HTMLImageElement).srcset;
Expand Down

0 comments on commit 58e549f

Please sign in to comment.