---
title: NSPersistentHistoryTrackingKey
framework: coredata
role: symbol
role_heading: Global Variable
path: coredata/nspersistenthistorytrackingkey
---

# NSPersistentHistoryTrackingKey

The key you use to enable persistent history tracking.

## Declaration

```swift
let NSPersistentHistoryTrackingKey: String
```

## Mentioned in

Consuming relevant store changes

## Discussion

Discussion Persistent history tracking is off by default.

## See Also

### Maintaining a record of changes

- [currentPersistentHistoryToken(fromStores:)](coredata/nspersistentstorecoordinator/currentpersistenthistorytoken(fromstores:).md)
