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

fix(tracker): simplify tagged event click logic #123

Merged
merged 5 commits into from
Aug 16, 2024
Merged

Conversation

ayuhito
Copy link
Member

@ayuhito ayuhito commented Aug 16, 2024

PR 7/? for #9.

This simplifies the logic needed for click tracking reducing the bundle size and also fixing some edge cases in the process!

File Size Compressed (gzip) Compressed (brotli)
tagged-events.min.js (old) 2036 bytes (1.99 KB) 997 bytes (0.97 KB) 802 bytes (0.78 KB)
tagged-events.min.js (new) 1959 bytes (1.91 KB) 958 bytes (0.94 KB) 775 bytes (0.76 KB)

Full tests are also now included for tagged events in this PR.

@ayuhito
Copy link
Member Author

ayuhito commented Aug 16, 2024

Failing test due to randomly updated golang-ci-lint rule. This is fixed in #120.

@ayuhito ayuhito merged commit a867b13 into main Aug 16, 2024
6 of 7 checks passed
@ayuhito ayuhito deleted the tracker/tagged-tests branch August 16, 2024 13:41
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