---
title: Logging activities - example
related:
  - https://docs.kentico.com/13/on-line-marketing-features/configuring-and-customizing-your-on-line-marketing-features/configuring-activities/enabling-activity-tracking.md
  - https://docs.kentico.com/13/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:** **Enterprise license required**
>
> Features described on this page require the **Kentico Xperience Enterprise** license.

The following example demonstrates how the system logs [activities](https://docs.kentico.com/13/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 MVC** 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 Xperience 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/13/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/13/logging-activities-example/anonymous-actions.png)
5. Sign out of Xperience 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 Xperience 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/13/logging-activities-example/nonanonymous-name.png)
10. **Manage** () the contact and switch to the **Activities** tab.

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

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

## Example

Look at this short video to see the activity tracking functionality in action on our sample site:

🎬 [Video](https://docs.kentico.com/docsassets/13/logging-activities-example/kx13-demo-tracking-contact-optim.mp4)
