---
title: Logging activities - example
related:
  - https://docs.kentico.com/k11/on-line-marketing-features/configuring-and-customizing-your-on-line-marketing-features/configuring-activities/enabling-activity-tracking.md
  - https://docs.kentico.com/k11/on-line-marketing-features/managing-your-on-line-marketing-features/contact-management/working-with-contacts.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.

The following example demonstrates how the system logs [activities](https://docs.kentico.com/k11/on-line-marketing-features/managing-your-on-line-marketing-features/contact-management/tracking-contact-activities.md) for anonymous visitors and registered users. You can try out the example on the sample **Dancing Goat** site.

1. Visit the live website as an anonymous visitor (without signing in) and perform some actions, for example, view the Home page and search for _Colombian coffee_.
2. Sign in to Kentico as an administrator.
3. Open the **Contact management** application on the **Contacts** tab.
   - The system has created an anonymous visitor.

     ![](https://docs.kentico.com/docsassets/k11/logging-activities-example/anonymous-name.png)
4. **Manage**() the new anonymous visitor and switch to the **Activities**tab.
   - You can see that the system logged the _Landing\*\*page_,_Internal search_, and _Page visit_ activities.

     ![](https://docs.kentico.com/docsassets/k11/logging-activities-example/anonymous-actions.png)
5. Sign out of Kentico and view the live site as an anonymous visitor again.
6. On the live site, register as a new user, for example, _Peter Chelmsford_.
7. View the Home page and search for _Colombian coffee_ again.
8. Sign in to Kentico as an administrator again.
9. Open the **Contact management**application on the **Contacts** tab.

   - The system has renamed the original anonymous visitor according to the entered registration data.

     ![](https://docs.kentico.com/docsassets/k11/logging-activities-example/nonanonymous-name.png)
10. **Manage**() the contact and switch to the **Activities** tab.

    ![](https://docs.kentico.com/docsassets/k11/logging-activities-example/nonanonymous-activities.png)

The system has updated the activity log for the new user.
