# 4.20 Setup Inactive User Tracking feature

This feature enables the tracking of irregular or inactive users.\\

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%2FTvKNV55b4UPgDhYb3MLp%2Fimage.png?alt=media&#x26;token=1b7f8a50-670f-4c51-8258-b8ef4c4fa618" alt=""><figcaption><p>Fig. 4.20.a: Navigating to Realm Settings</p></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><p>Fig. 4.20.b: Navigating to Localization in Realm Settings</p></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><p>Fig. 4.20.c: Navigating to Realm Settings ⇒ Localization ⇒ Realm Overrides</p></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><p>Fig. 4.20.d: Adding a new translation for enablng/disabling inactive user tracker</p></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><p>Fig. 4.20.e: Adding a new translation for maximum idle time</p></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><p>Fig. 4.20.f: Adding a new translation for unit of max idle time</p></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><p>Fig. 4.20.g: Created keys for inactive user tracker</p></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><p>Fig. 4.20.h: Adding a new translation for warning time</p></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><p>Fig. 4.20.i: Adding a new translation for unit of warning time</p></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><p>Fig. 4.20.j: Saved the keys for inactive user warning</p></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><p>Fig. 4.20.k: Adding a new translation for api base url</p></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><p>Fig. 4.20.l: Saving the api base url</p></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><p>Fig. 4.20.m: Editing the 'track-inactive-users' key</p></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><p>Fig. 4.20.n: Making the 'track-inactive-users' true</p></figcaption></figure>

23. Click on the tick symbol.

The Inactive User Tracking feature is configured now.

\\
