Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "26259",
"name": "Electra Townie Semi-Integrated Zero-Stack Threaded Headset",
"price": "29.99",
"brand": "Electra",
"category": "Bike headsets",
"variant": "greylight",
"list": "More Options",
"position": 1
}
,
{
"id": "35971",
"name": "Electra Townie Commute Go! Locking Headset",
"price": "19.99",
"brand": "Electra",
"category": "Bike headsets",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "41764",
"name": "Electra 1-1/8" Threadless External Cup Headset",
"price": "12.99",
"brand": "Electra",
"category": "Bike headsets",
"variant": "greylight",
"list": "More Options",
"position": 3
}
,
{
"id": "35972",
"name": "Electra Cruiser Go! Threaded Headset",
"price": "12.99",
"brand": "Electra",
"category": "Bike headsets",
"variant": "greylight",
"list": "More Options",
"position": 4
}
,
{
"id": "41871",
"name": "Trek M3x0.5 Socket Head Cap Screws",
"price": "2.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "greylight",
"list": "More Options",
"position": 5
}
,
{
"id": "41992",
"name": "Trek M4x0.7 Button Head Cap Screws",
"price": "2.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "greylight",
"list": "More Options",
"position": 6
}
,
{
"id": "45591",
"name": "Trek M5x0.8 Socket Head Cap Screws",
"price": "4.99",
"brand": "Bontrager-Electra",
"category": "Bike headsets",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "45589",
"name": "Trek M5x0.8 Button Head Cap Screws",
"price": "4.99",
"brand": "Bontrager-Electra",
"category": "Bike headsets",
"variant": "black_blue",
"list": "More Options",
"position": 8
}
,
{
"id": "45590",
"name": "Trek M6x1.0 Button Head Cap Screws",
"price": "4.99",
"brand": "Bontrager-Electra",
"category": "Bike headsets",
"variant": "black_blue",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}