mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-02 19:44:59 +08:00
This adds country_code to the browser pageview event payload emitted by RequestTracker. The value is resolved in core using DiscourseIpInfo.get(data[:request_remote_ip])[:country_code], so both normal browser pageview events and beacon pageview events can persist the visitor country when the browser pageview events plugin handles them. |
||
|---|---|---|
| .. | ||
| anonymous_cache.rb | ||
| crawler_hooks.rb | ||
| csp_script_nonce_injector.rb | ||
| default_headers.rb | ||
| discourse_public_exceptions.rb | ||
| enforce_hostname.rb | ||
| missing_avatars.rb | ||
| omniauth_bypass_middleware.rb | ||
| overload_protections.rb | ||
| processing_request.rb | ||
| request_tracker.rb | ||