Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "32096",
"name": "Trek Top Fuel 29 2020 Chainstay Logo Decal",
"price": "",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "40455",
"name": "Trek Fetch+ 4 Head Badge",
"price": "",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "grey_black",
"list": "More Options",
"position": 2
}
,
{
"id": "32995",
"name": "Diamant Headbadge",
"price": "",
"brand": "Diamant",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "12711",
"name": "Electra Delivery 3i Tank Plate",
"price": "",
"brand": "Electra",
"category": "Bike frame parts",
"variant": "tan",
"list": "More Options",
"position": 4
}
,
{
"id": "34817",
"name": "Electra Headtube Badge",
"price": "",
"brand": "Electra",
"category": "Bike frame parts",
"variant": "greylight",
"list": "More Options",
"position": 5
}
,
{
"id": "12591",
"name": "Electra Chainguard Badge",
"price": "",
"brand": "Electra",
"category": "Bike frame parts",
"variant": "greylight",
"list": "More Options",
"position": 6
}
,
{
"id": "22778",
"name": "Electra Cruiser Lux Ad Panels",
"price": "",
"brand": "Electra",
"category": "Bike frame parts",
"variant": "white_black",
"list": "More Options",
"position": 7
}
,
{
"id": "44283",
"name": "Electra Loft Go! Seat Tube Badge",
"price": "",
"brand": "Electra",
"category": "Bike frame parts",
"variant": "greylight",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}