<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [TaggingXEvents](./x-components.taggingxevents.md) &gt; [UserClickedPDPAddToCart](./x-components.taggingxevents.userclickedpdpaddtocart.md)

## TaggingXEvents.UserClickedPDPAddToCart property

The user has clicked on the add to cart button from PDP. Payload: The id of the [result](./x-types.result.md) that the user clicked.

**Signature:**

```typescript
UserClickedPDPAddToCart: string | undefined;
```
