Informacje ogólne
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "41970",
"name": "Trek Sunset Script Unisex Hoodie",
"price": "349.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "More Options",
"position": 1
}
,
{
"id": "41973",
"name": "Bluza unisex z okrągłym kołnierzem i pikowaniem Trek",
"price": "349.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "More Options",
"position": 2
}
,
{
"id": "41971",
"name": "Trek Chain Stitch Unisex Hoodie",
"price": "279.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "tan",
"list": "More Options",
"position": 3
}
,
{
"id": "41978",
"name": "Trek Fun Badge Unisex Hoodie",
"price": "279.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "reddark",
"list": "More Options",
"position": 4
}
,
{
"id": "41972",
"name": "Trek Color Block Logo Unisex Hoodie",
"price": "279.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greendark_tan",
"list": "More Options",
"position": 5
}
,
{
"id": "37316",
"name": "Bluza z kapturem z przejściem Trek 80s",
"price": "244.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "More Options",
"position": 6
}
,
{
"id": "45019",
"name": "Bluza z kapturem w barwach Trek Factory Racing",
"price": "349.0",
"brand": "100%",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}