mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-01 19:00:38 +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_spec.rb | ||
| crawler_hooks_spec.rb | ||
| discourse_public_exceptions_spec.rb | ||
| enforce_hostname_spec.rb | ||
| overload_protections_spec.rb | ||
| processing_request_spec.rb | ||
| request_tracker_spec.rb | ||