# Отправка событий об активации экрана

Если передается настройка Kraken.activateAutoTracking(this), то запуск активностей в первый раз фиксируется автоматически. Если необходимо самостоятельно фиксировать просмотр экрана, то можно воспользоваться отдельным методом.

Для ручной отправки события о просмотре экрана необходимо при активации Activity при ее создании выполнить следующий код

{% tabs %}
{% tab title="Kotlin" %}

```
Kraken.trackPageView("SCREEN_CLASS", "URL", "TITLE")
```

{% endtab %}

{% tab title="Java" %}

```
Kraken.trackPageView("SCREEN_CLASS", "URL", "TITLE");
```

{% endtab %}
{% endtabs %}

**SCREEN\_CLASS** (обязательный) - название активности, например, "MainActivity"\
**URL** (опциональный) - релевантный url для web страницы, например, "<https://rambler.ru"\\>
**TITLE** (опциональный) - название экрана


---

# 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://top-100-writer.gitbook.io/top100-documentation/nastroika-sbora-i-otpravki-dannykh/android-sdk/metody-po-rabote-s-android-sdk/otpravka-sobytii-ob-aktivacii-ekrana.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.
