Delete / Blacklist event names

There are a few reasons why you would want to delete or blacklist certain events on the Leanplum dashboard.

#1 Event limit

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. Deleting and blocking (preventing the same event from entering Leanplum again) some unused / deprecated events will open up slots for new events to come in.

#2 Instrumentation error

Sometimes the integration may introduce errors so that incorrect events are being sent in. Such as using the purchase id as the event name, this will quickly blow up your event limit, it also makes the event hard to understand as it will be a numeric id. 

How to delete events

After you have released the new version of your app with the new events instrumented, you can delete your old events in the Analytics space. This will remove them from your 500 unique event limit.

  1. In Analytics, Click on the "+" metric tile under analytics
  2. Click on "Edit" next to "Events"
  3. Uncheck each event to delete
  4. Click "Finish"

    Note: Deleted events will no longer be avalable in Analytics reports or analytics for A/B tests. However, the A/B test data that does not relate to the event should still be available.

How to deprecate events

In the same modal window for managing your events, you'll see a feature at the top that allows you to select the minimum app version to accept new events and states for iOS, Android, and Other

  1. In Analytics, Click on the "+" metric tile under analytics
  2. Click on "Edit" next to "Events"
  3. Set the minimum versions
  4. Click "Finish"

For each version you set, Leanplum will no longer ingest obsolete events from older app versions. So, if a user is on a version below the specified app version, we will only collect events and states that are already on your events list. This will ensure deleted events are not resurrected by old app versions.

Was this article helpful?
Have more questions? Submit a request