# GUID in the dataLayer

URL: https://shoptet.dev/news/frontend/guid-in-the-datalayer

May 10, 2024 · One min read
Pavel Husa

Due to several request we added GUID into dataLayer. Here is the example from [https://classic.shoptet.cz](https://classic.shoptet.cz)

For `getShoptetDataLayer('cart');` :

```json
{
  "code": "314",
  "guid": "c36b2df2-958b-11ed-935a-0cc47a6b4bcc",
  "priceId": 1784,
  "quantity": 1,
  "priceWithVat": 189,
  "priceWithoutDiscount": 189,
  "discounts": {
    "quantityRatio": 1,
    "customerRatio": 1,
    "volumeRatio": 1,
    "couponRatio": 1,
    "unknown": 1,
    "minimalRatio": null,
    "customerGroupMaximum": null,
    "cashDeskPriceRatio": 1,
    "summaryRatio": 1,
    "finalRatio": 1
  },
  "itemId": "66388ff0be7a0",
  "name": "Keramická miska BOLA",
  "weight": 0
}
```

**Tags:**
- [Frontend](/news/tags/frontend/)
