Skip to content

Commit

Permalink
Update README detailing web request event query filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
steventux committed Feb 1, 2024
1 parent 34b5954 commit 23459aa
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,14 @@ user identifier proc can be defined in `config/initializers/dfe_analytics.rb`:
DfE::Analytics.config.user_identifier = proc { |user| user&.uid }
```

#### Filtering PII from web request query string data

Query strings may be filtered using the same `Rails.application.config.filter_parameters`
configuration you'd normally use to prevent PII leakage to logs and error handling services.

To enable this option, ensure the attributes to filter are specified in `Rails.application.config.filter_parameters`.
Then enable filtering with `DfE::Analytics.config.filter_web_request_events = true`.

### 6. Import existing data

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

0 comments on commit 23459aa

Please sign in to comment.