Created
December 5, 2022 11:03
-
-
Save kamk/5d0c154a3c86944a2b8e54392686a5e9 to your computer and use it in GitHub Desktop.
Ecomail opuštěný košík
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.ecotrack('trackUnstructEvent', { | |
schema: '', | |
data: { | |
action: 'Basket', | |
products: upgates.cart.products.map((prod) => { | |
return({ | |
productId: prod.id, | |
name: prod.title, | |
price: prod.price.withVat | |
}) | |
}) | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment