@empathyco/x-components
Version:
Empathy X Components
55 lines (49 loc) • 1.68 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [Tagging](./x-components.tagging.md)
## Tagging variable
This component enables and manages the sending of information to the \[Empathy Tagging API\](https://docs.empathy.co/develop-empathy-platform/api-reference/tagging-api.html). It allows you to activate or deactivate the session id management through the `consent` prop.
**Signature:**
```typescript
_default: import("vue").DefineComponent<{
storageTTLMs: {
type: NumberConstructor;
default: number;
};
storageKey: {
type: StringConstructor;
default: string;
};
sessionTTLMs: NumberConstructor;
queryTaggingDebounceMs: {
type: NumberConstructor;
default: number;
};
consent: {
type: BooleanConstructor;
default: null;
};
}, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
storageTTLMs: {
type: NumberConstructor;
default: number;
};
storageKey: {
type: StringConstructor;
default: string;
};
sessionTTLMs: NumberConstructor;
queryTaggingDebounceMs: {
type: NumberConstructor;
default: number;
};
consent: {
type: BooleanConstructor;
default: null;
};
}>>, {
storageTTLMs: number;
storageKey: string;
queryTaggingDebounceMs: number;
consent: boolean;
}, {}>
```