Leanplum's user guides and developer documentation.

Leanplum Documentation

Leanplum's user guides, SDK setup, API docs, and more resources are here to help you get the most out of A/B testing, Campaigns, Messaging, and Analytics.

Delete and deprecate events

Remove outdated events before adding new ones to stay within Leanplum's API limits

You may want to delete and/or deprecate events you are no longer interested in tracking in Leanplum.

🚧

Leanplum allows up to 500 unique tracked events. Once you have hit this limit, Leanplum will not be able to record any additional unique events. For this reason, it's a good idea to delete any events you are no longer interested in using. See Event tracking for tips on setting up events properly.

Deleting some unused or deprecated events and blocking them (preventing the same event from entering Leanplum again) will open up slots for new events to come in. See below for instructions on how to delete and block events.

How to delete events

After you release a new version of your app with new events instrumented, you can delete old events from Analytics. This will remove them from your 500 unique event limit.

To delete an event:

  1. In Analytics, click on the + metric tile.
  2. Scroll down to Events and click "Edit."
  3. Uncheck the events you want to delete.
  4. Click Finish to apply your changes.

Deleted events will no longer be available in Analytics or A/B tests. However, A/B test data that does not relate to the event will still be available.

🚧

If a user on an old app version and triggers the deleted event, the event will reappear in the Leanplum dashboard. This affects your 500 unique event limit. To fully block an old event from being tracked, you must deprecate the event as well.

How to deprecate events

Deprecating an event blocks it from being tracked by Leanplum, even if a user on an older app version triggers the event again. This clears up space for you to track new events within the 500 event limit.

To fully block an event from Leanplum, you must do three things:

  • Remove the event from your app’s code.
  • Delete the event by unchecking it in Leanplum Analytics.
  • Deprecate the event in Analytics by specifying a minimum app version.

In the same modal window for managing events, you can specify the minimum app version from which Leanplum will ingest events and states. You can enter unique app versions for iOS, Android, and Other versions.

To deprecate an event:

  1. In Analytics, click on the + metric tile.
  2. Scroll down to Events and click "Edit."
  3. Uncheck the events you want to deprecate.
  4. Enter the minimum app version from which your events will be tracked.
  5. Click Finish to apply your changes.

Leanplum will no longer ingest these events. This will ensure deleted events are not resurrected by old app versions.

Updated about a year ago


Delete and deprecate events


Remove outdated events before adding new ones to stay within Leanplum's API limits

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.