Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "49691",
"name": "Camisola com capuz Trek Right Stacked Unisexo",
"price": "69.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greenlight",
"list": "More Options",
"position": 1
}
,
{
"id": "49118",
"name": "Camisola com capuz Trek Left Stacked Unisexo",
"price": "69.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "36294",
"name": "Camisola com Capuz Trek Original",
"price": "69.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "grey",
"list": "More Options",
"position": 3
}
,
{
"id": "36293",
"name": "Camisola com Capuz Trek Vintage Logo",
"price": "67.49",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "37320",
"name": "Camisola com Capuz Trek Go By Bike",
"price": "67.49",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "41978",
"name": "Trek Fun Badge Unisex Hoodie",
"price": "59.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "reddark",
"list": "More Options",
"position": 6
}
,
{
"id": "41971",
"name": "Trek Chain Stitch Unisex Hoodie",
"price": "59.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "tan",
"list": "More Options",
"position": 7
}
,
{
"id": "41972",
"name": "Trek Color Block Logo Unisex Hoodie",
"price": "59.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greendark_tan",
"list": "More Options",
"position": 8
}
,
{
"id": "37316",
"name": "Camisola com Capuz Trek 80s Fade",
"price": "37.5",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "More Options",
"position": 9
}
,
{
"id": "36295",
"name": "Sweatshirt Trek Original Crewneck",
"price": "37.5",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "More Options",
"position": 10
}
,
{
"id": "37319",
"name": "Sweatshirt Básica Trek Script",
"price": "37.5",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greydark",
"list": "More Options",
"position": 11
}
,
{
"id": "37321",
"name": "Camisola com Capuz Trek Bicycle Co Lightweight",
"price": "34.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "More Options",
"position": 12
}
,
{
"id": "34760",
"name": "Camisola de Manga Comprida Trek USA Stamp",
"price": "31.49",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "34749",
"name": "Camisola com Capuz Trek Bicycle Script",
"price": "52.49",
"brand": "BCycle",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "More Options",
"position": 14
}
]
}
});
} else {
console.log("dataLayer");
}