How to: Anonymity Sets & Cookies
Ahoy can switch from cookies to [anonymity sets](https://privacypatterns.org/patterns/Anonymity-set). Instead of cookies, visitors with the same IP mask and user agent are grouped together in an anonymity set.

```ruby
Ahoy.cookies = :none
```

Note: If Ahoy was installed before v5, [add an index](https://github.com/ankane/ahoy/tree/v5.0.0?tab=readme-ov-file#50) before making this change.

Previously set cookies are automatically deleted. If you use JavaScript tracking, also set:

```javascript
ahoy.configure({cookies: false});
```