@empathyco/x-components
Version:
Empathy X Components
25 lines (14 loc) • 815 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [DefaultExternalTaggingService](./x-components.defaultexternaltaggingservice.md) > [storeAddToCart](./x-components.defaultexternaltaggingservice.storeaddtocart.md)
## DefaultExternalTaggingService.storeAddToCart() method
Stores in the local storage the information from the Result added to the cart by the user in order to be able to track the checkout later on when the checkout process has been completed by shopper.
**Signature:**
```typescript
storeAddToCart(result: Result): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| result | Result | The result to store. |
**Returns:**
void