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

# XblUserStatisticsStopTrackingStatistics

> XblUserStatisticsStopTrackingStatistics

Configures the set of stats that will be tracked real-time. Updates will no longer be received for the provided stats and users.

## Syntax

```cpp theme={null}
HRESULT XblUserStatisticsStopTrackingStatistics(  
         XblContextHandle xblContextHandle,  
         const uint64_t* xboxUserIds,  
         size_t xboxUserIdsCount,  
         const char* serviceConfigurationId,  
         const char** statisticNames,  
         size_t statisticNamesCount  
)  
```

### Parameters

*xblContextHandle*   \_In\_\
Type: [XblContextHandle](https://docs.xbox.com/reference/live/xsapi-c/types_c/handles/xblcontexthandle.md)

XBOX services context for the local user.

*xboxUserIds*   \_In\_\
Type: uint64\_t\*

Array of XboxUserIDs for whom to stop tracking the provided stats.

*xboxUserIdsCount*   \_In\_\
Type: size\_t

Length of xboxUserIds array.

*serviceConfigurationId*   \_In\_z\_\
Type: char\*

The Service Configuration ID (SCID) for the title. The SCID is considered case sensitive so paste it directly from the Partner Center.

*statisticNames*   \_In\_\
Type: char\*\*

Array of statistic names for which real-time updates are no longer needed.

*statisticNamesCount*   \_In\_\
Type: size\_t

Length of statisticNames array.

### Return value

Type: HRESULT

HRESULT return code for this API operation.

## Requirements

**Header:** user\_statistics\_c.h

**Library:** Microsoft.Xbox.Services.142.C.lib or Microsoft.Xbox.Services.143.C.lib

## See also

[user\_statistics\_c](https://docs.xbox.com/reference/live/xsapi-c/user_statistics_c/user_statistics_c_members.md)\
[XblUserStatisticsTrackStatistics](https://docs.xbox.com/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticstrackstatistics.md)\
[XblUserStatisticsStopTrackingUsers](https://docs.xbox.com/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsstoptrackingusers.md)\
[XblUserStatisticsRemoveStatisticChangedHandler](https://docs.xbox.com/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsremovestatisticchangedhandler.md)\
[Programming the RTA service](https://docs.xbox.com/services/xbox-services/fundamentals/rta/how-to/live-programming-rta.md)


## Related topics

- [XblUserStatisticsStopTrackingUsers](https://docs.xbox.com/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsstoptrackingusers.md)
- [XblUserStatisticsTrackStatistics](https://docs.xbox.com/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticstrackstatistics.md)
- [XblUserStatisticsAddStatisticChangedHandler](https://docs.xbox.com/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsaddstatisticchangedhandler.md)
- [Handle an event-based stat change](https://docs.xbox.com/services/xbox-services/player-data/stats-leaderboards/event-based/how-to/live-handling-eb-stat-change.md)
- [user_statistics_c (contents)](https://docs.xbox.com/reference/live/xsapi-c/user_statistics_c/user_statistics_c_members.md)
