# Tracking Interface

Tracking information lets the FactFinder Search tool learn automatically from user behavior.

The data provided through this interface can be used for a variety of purposes, including tracking events such as users clicking on a detail page, placing a product into the shopping cart, and purchasing it. This information forms the basis for automated search optimization and improves search results based on established customer behavior.

Information about product clicks, shopping basket events, and purchases (that is, user behavior) is required for the Personalization module, which provides tailored search results for each user. The information on product purchases can also be used by the Recommendation Engine module. More information is available in the corresponding [documentation](https://ng-demo.fact-finder.de/fact-finder/swagger-ui.html#/tracking).

The events you pass to FactFinder depend on your needs and objectives. However, automated search optimization requires at least the shopping basket and buy events. The following events are supported:

* Clicking on the product details page
* Placing a product into the shopping basket
* Purchasing a product
* A user is logging into the shop
* Clicking on a product suggested by the Recommendation Engine
* User feedback for the search results
* Shop Cachehit

Please note that personalization only works if a proper session ID is sent with each search request.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fact-finder.com/integration/tracking-interface.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
