---
title: Configuring contact detection
related:
  - https://docs.kentico.com/k81/on-line-marketing-features/contact-management/working-with-contacts.md
  - https://docs.kentico.com/k81/on-line-marketing-features/contact-management/working-with-contacts/mapping-fields-to-contact-attributes.md
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

> **Info:** **Kentico EMS required**
>
> Features described on this page require the **Kentico EMS** license.

To set up detection and processing of [contacts](https://docs.kentico.com/k81/on-line-marketing-features/contact-management/working-with-contacts.md) on your website:

1. Open the **Settings** application.
2. Switch to **On-line marketing**.
3. Check the **Enable on-line marketing** box.
4. Click **Save**.
5. Select the **Contact management** sub-category of the on-line marketing settings.
6. Configure the following contact detection settings:

   | Setting                                        | Description                                                                                                                                                                                                                                                                                                                                          |
   | ---------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
   | Log IP address                                 | If enabled, the system logs the IP addresses of contacts.<br>To view the IP addresses of contacts:<br>Open the **Contact management** application.<br>Edit a contact.<br>Switch to the **IPs** tab.                                                                                                                                                  |
   | Remember contacts permanently                  | Determines how long the system remembers the relationships between contacts and visitors.<br>If checked, the website can identify contacts until visitors delete their browser cookies or until the system assigns a different contact to the given visitor.<br>If disabled, the system only remembers contacts until the visitor's session expires. |
   | Automatically recognize visitors by user agent | Determines whether the system uses the browser user agent information to assign contacts to anonymous visitors.                                                                                                                                                                                                                                      |
   | Automatically recognize visitors by IP address | Determines whether the system uses IP addresses to assign contacts to anonymous visitors.                                                                                                                                                                                                                                                            |
7. Click **Save**.

Your website now keeps tracks of visitors as contacts. When an anonymous website visitor arrives on the website for the first time, the system automatically creates a new contact. If the same visitor registers on the live site as a new user, the system updates the contact's data and binds the contact to the given user account.

> **Note:** **Contact management and web bots**
>
> Contact management does not track [web bots](http://en.wikipedia.org/wiki/Web_robot) (such as search engine crawlers) by default, because they are not relevant from a marketing point of view. If you wish to log bots in the system as contacts, you can change the default behavior by adding the following key to the _appSettings_ section of your web.config file:
>
> ```html
>
> <add key="CMSEnableContactBots" value="true" />
>
> ```
