Skip to content

Commit 8b0ad22

Browse files
committed
Update README detailing web request event query filtering
1 parent 1c8a8f2 commit 8b0ad22

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,14 @@ user identifier proc can be defined in `config/initializers/dfe_analytics.rb`:
231231
DfE::Analytics.config.user_identifier = proc { |user| user&.uid }
232232
```
233233

234+
#### Filtering PII from web request query string data
235+
236+
Query strings may be filtered using the same `Rails.application.config.filter_parameters`
237+
configuration you'd normally use to prevent PII leakage to logs and error handling services.
238+
239+
To enable this option, ensure the attributes to filter are specified in `Rails.application.config.filter_parameters`.
240+
Then enable filtering with `DfE::Analytics.config.filter_web_request_events = true`.
241+
234242
### 6. Import existing data
235243

236244
To load the current contents of your database into BigQuery, run

0 commit comments

Comments
 (0)