diff --git a/app/views/layouts/find_layout.html.erb b/app/views/layouts/find_layout.html.erb index cd85467ee6..bcab7abd26 100644 --- a/app/views/layouts/find_layout.html.erb +++ b/app/views/layouts/find_layout.html.erb @@ -22,6 +22,16 @@ + +

Remote IP (what DfE analytics does) <%= request.remote_ip %>

+

DfE::Analytics.anonymise: <%= DfE::Analytics.anonymise(request.user_agent.to_s + request.remote_ip.to_s) %>

+

X-Forwarded-For: <%= request.headers['X-Forwarded-For'] %>

+

Client-IP: <%= request.headers['Client-IP'] || request.headers['client-ip'] %>

+

X-Real-IP: <%= request.headers['X-Real-IP'] || request.headers['x-real-ip'] %>

+

Request Fullpath: <%= request.fullpath %>

+

Request Origin: <%= request.origin %>

+

Request User Agent: <%= request.user_agent %>

+ <%= render "layouts/add_js_enabled_class_to_body" %> <% if google_analytics_allowed? %>