SDKsCapabilities
History
History
History controls the Chat History navigation item. The default is on. This key is boolean only.
There is no useHashRouting on history.
Hash routing lives on chat.hashRouting.
See Chat.
Prerequisites
| Item | Requirement |
|---|---|
| Host page | Serves HTTPS and can load a third-party script |
| Persona | loyalty-concierge |
| Bundle global | window.AugeoChatSdkLoyaltyConcierge |
Load a pinned production loyalty bundle first.
Read Capabilities for the shared true / false / object contract.
Values
| Value | Effect |
|---|---|
| omitted | Shows Chat History |
true | Shows Chat History |
false | Hides Chat History |
There is no options object.
Hide history
Pass false to hide the Chat History item.
const { AugeoAssistant } = window.AugeoChatSdkLoyaltyConcierge;
new AugeoAssistant({
container: '#chat-host',
auth: { getToken: () => bearerToken },
capabilities: { history: false },
});Members no longer see Chat History in navigation.
Thread routes still follow chat.hashRouting.
Keep history on
Omit the key or pass true.
new AugeoAssistant({
container: '#chat-host',
auth: { getToken: () => bearerToken },
capabilities: { history: true },
});Chat History stays in navigation. This does not change hash routing.
Related pages
| Topic | Page |
|---|---|
| Product scope | Overview |
| Constructor fields | Configuration |
| Placement | Surfaces |
| Capability list | Capabilities |
| Privacy | Privacy |
| Message actions | Message actions |
| Chat | Chat |
| Suggestions | Suggestions |
| Wishlist | Wishlist |
| Event options | Event options |
| Analytics | Analytics |
| Support | Support |
| Recovery | Recovery |
| Devtools | Devtools |
| DOM events | Events |
| Public types | API |