---
title: "Widgets shown indefinitely even after setting an occurrence limit"
slug: "widgets-shown-indefinitely-despite-setting-occurrence"
updated: 2024-11-05T16:59:34Z
published: 2024-11-05T16:59:34Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://support.whatfix.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Widgets shown indefinitely despite set occurrence

### Issue

You have set an occurrence limit for Whatfix Widgets (Popups, Beacons, etc.) but they keep showing up for users indefinitely.

### Probable Cause

Sometimes, when a user logs out of an application, the local storage of that application is cleared automatically. This can cause Whatfix keys to also get deleted.

          your title goes here

          

Whatfix keys are Whatfix specific global variables that assign unique attributes to all the elements (content, widgets etc.) that you create. For more information, contact [support@whatfix.com](mailto:support@whatfix.com?subject=Know%20more%20about%20Whatfix%20Keys&amp;body=Hello%20Team%2C%0AI%20wish%20to%20know%20more%20about%20Whatfix%20Keys%20and%20which%20ones%20to%20preserve%2Fwhitelist.%20Please%20provide%20assistance.%0AThanks%20and%20Regards.%20).

These Whatfix keys ensure that any content created is shown according to the set Visibility and Display Rule conditions, and much more. If they are cleared, every time a user logs into the application, the widgets are refreshed and shown again, even if the set occurrence is exceeded.

### Suggested Solution

Whatfix keys can be preserved in the local storage to prevent this issue from happening. To know which keys to preserve, contact [support@whatfix.com](mailto:support@whatfix.com?subject=Request%20a%20list%20of%20Whatfix%20keys%20to%20preserve&amp;body=Hello%20Team%2C%0AThe%20widgets%20I%20create%20are%20being%20shown%20indefinitely%20to%20my%20end%20users.%20This%20may%20be%20because%20Whatfix%20keys%20are%20getting%20deleted%20from%20the%20local%20storage%20once%20a%20user%20logs%20out%20of%20the%20application.%20%0A%0AI%20request%20you%20send%20me%20a%20list%20of%20Whatfix%20keys%20that%20can%20be%20preserved%20to%20prevent%20this%20issue.%20%0A%0AThanks%20and%20Regards.%20).

## Related

- [Do widget occurrences get exhausted if you preview the widget?](/do-widget-occurrences-get-exhausted-if-you-preview-them.md)
