We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44f6c50 commit d642ad0Copy full SHA for d642ad0
config/initializers/logstasher.rb
@@ -0,0 +1,5 @@
1
+if Object.const_defined?('LogStasher') && LogStasher.enabled
2
+ LogStasher.add_custom_fields do |fields|
3
+ fields[:govuk_content_pages_variant] = request.headers['GOVUK-ABTest-ContentPagesNav']
4
+ end
5
+end
0 commit comments