Skip to content

Commit

Permalink
Update packages/x-components/static-docs/build-search-ui/web-archetyp…
Browse files Browse the repository at this point in the history
…e-integration-guide.md

Co-authored-by: Gerardo Vázquez <[email protected]>
  • Loading branch information
mlcorton and herrardo authored Nov 10, 2023
1 parent bbe6a4e commit c6688e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ To track your shoppers' add-to-cart interactions from any PDP based on a non-spa
})
```

2. Call the `InterfaceX.addProductToCart('11776347-ES')` function to track the event when the add-to-cart button is clicekd.
2. Call the `InterfaceX.addProductToCart('11776347-ES')` function to track the event when the add-to-cart button is clicked.

```html
yourCommerceStoreEnvironment.addToCartButton.addEventListener('click', () =>
Expand Down

0 comments on commit c6688e5

Please sign in to comment.