Skip to content

Fix History API rate limit errors caused by Google Tag Manager#1419

Merged
danlamanna merged 1 commit intomasterfrom
data-explorer-history
Mar 9, 2026
Merged

Fix History API rate limit errors caused by Google Tag Manager#1419
danlamanna merged 1 commit intomasterfrom
data-explorer-history

Conversation

@danlamanna
Copy link
Member

  • Add a tox env for checking for flaky tests
  • Fix History API rate limit errors caused by Google Tag Manager

GTM hooks into history.replaceState and makes its own History API calls
to track page views. During page load, combined calls can exceed the
browser's rate limit, causing a SecurityError. Catch that specific error
and debounce URL updates to reduce the likelihood.
@danlamanna danlamanna merged commit 435ed2a into master Mar 9, 2026
2 checks passed
@danlamanna danlamanna deleted the data-explorer-history branch March 9, 2026 23:11
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