René's URL Explorer Experiment


Title: Update analytics data sending method by Shrishti0423 · Pull Request #4002 · javascript-tutorial/en.javascript.info · GitHub

Open Graph Title: Update analytics data sending method by Shrishti0423 · Pull Request #4002 · javascript-tutorial/en.javascript.info

X Title: Update analytics data sending method by Shrishti0423 · Pull Request #4002 · javascript-tutorial/en.javascript.info

Description: Updated the analytics example to use the visibilitychange event instead of unload. The analytics data is sent using navigator.sendBeacon() when the document becomes hidden, which is more reliable for sending data when a user leaves or switches away from a page.

Open Graph Description: Updated the analytics example to use the visibilitychange event instead of unload. The analytics data is sent using navigator.sendBeacon() when the document becomes hidden, which is more reliable f...

X Description: Updated the analytics example to use the visibilitychange event instead of unload. The analytics data is sent using navigator.sendBeacon() when the document becomes hidden, which is more reliable f...

Opengraph URL: https://github.com/javascript-tutorial/en.javascript.info/pull/4002

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:836045dd-5c85-9be3-f4af-e5279a0ee414
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id934E:298944:184728:2091D7:6AFBDF79
html-safe-noncef789f36845a2e239afb9d773afbc22c8bf1c96cce52f6ba28540564bc127180c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzRFOjI5ODk0NDoxODQ3Mjg6MjA5MUQ3OjZBRkJERjc5IiwidmlzaXRvcl9pZCI6IjYwMDI4ODQ3MjEyMDM5OTQ0ODkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace40c8ceff31bf12876893761b11d7161beaa84ea0287a29acf951d8b1449c25b
hovercard-subject-tagpull_request:4972979272
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/javascript-tutorial/en.javascript.info/pull/4002/files
twitter:imagehttps://avatars.githubusercontent.com/u/146873449?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/146873449?s=400&v=4
og:image:altUpdated the analytics example to use the visibilitychange event instead of unload. The analytics data is sent using navigator.sendBeacon() when the document becomes hidden, which is more reliable f...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None744d4381b1c4dbd6d8736c7d7e5bbe7dc11217584e457a3555020c631764e8ec
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/javascript-tutorial/en.javascript.info git https://github.com/javascript-tutorial/en.javascript.info.git
octolytics-dimension-user_id49552305
octolytics-dimension-user_loginjavascript-tutorial
octolytics-dimension-repository_id93253246
octolytics-dimension-repository_nwojavascript-tutorial/en.javascript.info
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id93253246
octolytics-dimension-repository_network_root_nwojavascript-tutorial/en.javascript.info
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasedf859c48a4c8b4c0009c19bb4e82101aacb4b998
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/javascript-tutorial/en.javascript.info/pull/4002/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjavascript-tutorial%2Fen.javascript.info%2Fpull%2F4002%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjavascript-tutorial%2Fen.javascript.info%2Fpull%2F4002%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=javascript-tutorial%2Fen.javascript.info
Reloadhttps://github.com/javascript-tutorial/en.javascript.info/pull/4002/files
Reloadhttps://github.com/javascript-tutorial/en.javascript.info/pull/4002/files
Reloadhttps://github.com/javascript-tutorial/en.javascript.info/pull/4002/files
javascript-tutorialhttps://github.com/javascript-tutorial
en.javascript.infohttps://github.com/javascript-tutorial/en.javascript.info
Codehttps://github.com/javascript-tutorial/en.javascript.info
Issues252 (252)https://github.com/javascript-tutorial/en.javascript.info/issues
Pull requests289 (289)https://github.com/javascript-tutorial/en.javascript.info/pulls
Discussionshttps://github.com/javascript-tutorial/en.javascript.info/discussions
Actionshttps://github.com/javascript-tutorial/en.javascript.info/actions
Security and qualityhttps://github.com/javascript-tutorial/en.javascript.info/security
Insightshttps://github.com/javascript-tutorial/en.javascript.info/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fjavascript-tutorial%2Fen.javascript.info%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fjavascript-tutorial%2Fen.javascript.info%2Fissues%2Fnew%2Fchoose
Shrishti0423https://github.com/Shrishti0423
javascript-tutorial:masterhttps://github.com/javascript-tutorial/en.javascript.info/tree/master
Shrishti0423:Shrishti0423-patch-1https://github.com/Shrishti0423/en.javascript.info/tree/Shrishti0423-patch-1
Conversation 4 https://github.com/javascript-tutorial/en.javascript.info/pull/4002
Commits 2 https://github.com/javascript-tutorial/en.javascript.info/pull/4002/commits
Checks 0 https://github.com/javascript-tutorial/en.javascript.info/pull/4002/checks
Files changed https://github.com/javascript-tutorial/en.javascript.info/pull/4002/files
Please reload this pagehttps://github.com/javascript-tutorial/en.javascript.info/pull/4002/files
Update analytics data sending method https://github.com/javascript-tutorial/en.javascript.info/pull/4002/files#top
Show all changes 2 commits https://github.com/javascript-tutorial/en.javascript.info/pull/4002/files
8212df2 Update analytics data sending method Shrishti0423 Oct 22, 2026 https://github.com/javascript-tutorial/en.javascript.info/pull/4002/commits/8212df2b2e7aa11e48445b102263b5b4cd0039b8
1a7496a Fix analytics reporting on visibility change Shrishti0423 Nov 3, 2026 https://github.com/javascript-tutorial/en.javascript.info/pull/4002/commits/1a7496ac78d3294522015fa2fe830ea6e0934e82
Clear filters https://github.com/javascript-tutorial/en.javascript.info/pull/4002/files
Please reload this pagehttps://github.com/javascript-tutorial/en.javascript.info/pull/4002/files
Please reload this pagehttps://github.com/javascript-tutorial/en.javascript.info/pull/4002/files
2-ui/5-loading/01-onload-ondomcontentloaded/article.mdhttps://github.com/javascript-tutorial/en.javascript.info/pull/4002/files#diff-5cb175e314e1d2b9fe687af2d7a18b78bd568a1099805764b45a5f56702cd4f9
View file https://github.com/javascript-tutorial/en.javascript.info/blob/1a7496ac78d3294522015fa2fe830ea6e0934e82/2-ui/5-loading/01-onload-ondomcontentloaded/article.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/javascript-tutorial/en.javascript.info/pull/4002/{{ revealButtonHref }}
https://github.com/javascript-tutorial/en.javascript.info/pull/4002/files#diff-5cb175e314e1d2b9fe687af2d7a18b78bd568a1099805764b45a5f56702cd4f9
https://github.com/javascript-tutorial/en.javascript.info/pull/4002/files#diff-5cb175e314e1d2b9fe687af2d7a18b78bd568a1099805764b45a5f56702cd4f9
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.