# Remove the React Native tracker at runtime
> Remove individual trackers by namespace or remove all trackers at runtime using the React Native tracker API.
> Source: https://docs.snowplow.io/docs/sources/react-native-tracker/advanced-usage/
> Documentation index: https://docs.snowplow.io/llms.txt

The React Native tracker provides two functions that allow you to remove a tracker (or all of them) at runtime.

### removeTracker

As each tracker is identified by its namespace, in order to remove a tracker at runtime, you need to pass its namespace to the `removeTracker` function.

For example, assuming an existing tracker with namespace `sp1` :

```javascript
import { newTracker, removeTracker } from '@snowplow/react-native-tracker';

// ...

removeTracker('sp1');
```

### removeAllTrackers

The function removeAllTrackers, which accepts no arguments, will remove all trackers created in your app.

```javascript
import { removeAllTrackers } from '@snowplow/react-native-tracker';

removeAllTrackers();
```
