# How to setup Inactive User Tracking feature

This feature enables the tracking of irregular or inactive users.<br>

To set up Inactive User Tracking feature, follow these steps -

1. Login to the ZTrust Admin Console.
2. Go to the Realm Settings tab on the right.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FAjWHdmmjY0BZbyEIGgWm%2F4.png?alt=media&#x26;token=eed15fe8-02b0-4475-a806-d30857c52b11" alt=""><figcaption></figcaption></figure>

3. Go to the Localization tab.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FeecynvkzNF7TZN12pbzX%2F5.png?alt=media&#x26;token=98030bef-6934-4d68-b429-e5bb7ecc177f" alt=""><figcaption></figcaption></figure>

4. Click on Realm overrides.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FIArRW7pvONiFimnroKFW%2F6.png?alt=media&#x26;token=b58d9681-7e45-433a-a03e-519ded58264e" alt=""><figcaption></figcaption></figure>

5. Click on Add translation.
6. Give any name, for example - Inactive User and click on Create.
7. Give the Key as track-inactive-users and Value as false.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2Frfrm3tD0snEH6D7aP1Gc%2F7.png?alt=media&#x26;token=3f78b5e8-9c0d-4a98-8fdf-d963df9224ce" alt=""><figcaption></figcaption></figure>

8. Click on Create.
9. Click on Add translation.
10. Create a Key as max-idle-time and give any number as Value, for example - 5

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FvFjOwfhDXiNwBCeX82vB%2F8.png?alt=media&#x26;token=dd055fef-a923-4858-b802-824f386be692" alt=""><figcaption></figcaption></figure>

11. Click on Create.
12. Click on Add translation.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FZtp1sb5KMVfCAdnNzLHN%2F9.png?alt=media&#x26;token=5ada9b8c-8cfa-47c8-a4a4-954f7e1abdea" alt=""><figcaption></figcaption></figure>

13. Provide the Key as max-idle-time-unit, and provide the Value as hours, minutes, days as required. For example - minutes.
14. Click on Create.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FxaJAp490w1HDoFShwFhq%2F10.png?alt=media&#x26;token=56a5cdf3-b493-4944-a59d-a7b6faba382d" alt=""><figcaption></figcaption></figure>

15. Click on Add translation.
16. Provide the Key as warning-time and the Value as required, for example - 3.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FHP6FOua9ocMeeKPOPHTM%2F11.png?alt=media&#x26;token=4de97f7e-a58e-4fd8-a27d-3e7637613070" alt=""><figcaption></figcaption></figure>

17. Click on Create.
18. Follow the same steps from 15 to 17 and create another localization text with Key as warning-time-unit and Value as required, for example - minutes.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2Ff6xO6PIf0ZtsgnsDoZM4%2F12.png?alt=media&#x26;token=abffaede-2c78-49ed-bda3-b2921da1dc53" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FvNMBl1y5RveoFSHRuv76%2F13.png?alt=media&#x26;token=ca9e2685-ccb7-43ad-89ff-373a50d0a05f" alt=""><figcaption></figcaption></figure>

19. Again create another translation with Key as api-base-url and Value as required.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2Fw3O36ahpGhZJpu6253EQ%2Fimage.png?alt=media&#x26;token=bc6bbcf3-12b6-4da3-919e-e5f296108789" alt=""><figcaption></figcaption></figure>

20. &#x20;Click on Create.

A table will be displayed which will have all the Key-Value pairs that you have created along with the Actions to Edit or Delete.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FzRML9OXIwGBpc1LptcPR%2F13.png?alt=media&#x26;token=9a8f0207-1aed-4cea-8445-5fcf57f8cb28" alt=""><figcaption></figcaption></figure>

21. Click Edit for track-inactive-users.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FTnGbl1INg1YT3mm4Y645%2F16.png?alt=media&#x26;token=868c4f1e-ca4e-4ab2-bd37-58b6e3193618" alt=""><figcaption></figcaption></figure>

22. Change the Value to true from false.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FAjKn2QnJdJEUBLotVcX7%2F17.png?alt=media&#x26;token=42793c57-0ba1-4b64-a526-f958ec9bd457" alt=""><figcaption></figcaption></figure>

23. Click on the tick symbol.

The Inactive User Tracking feature is configured now.

<br>


---

# 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://ztrust.gitbook.io/ztrust-documentation/user-manual-ztrust-v2.0/admin-manual/how-to-setup-inactive-user-tracking-feature.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.
