Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "44556",
"name": "Trek Speed Concept Gen 3 Aerobar Replacement Pads",
"price": "",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "25847",
"name": "Trek Speed Concept Aerobar Arm Pads",
"price": "",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "41170",
"name": "Trek Speed Concept Arm Pad Set",
"price": "",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "25841",
"name": "Bontrager IsoZone Gel Handlebar Pad Kit",
"price": "",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "white",
"list": "More Options",
"position": 4
}
,
{
"id": "25840",
"name": "Bontrager Race X Lite IsoZone Handlebar Pad Kit",
"price": "",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "red",
"list": "More Options",
"position": 5
}
,
{
"id": "14673",
"name": "Bontrager Aero Arm Pads Set",
"price": "",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "14672",
"name": "Bontrager Aero Arm Pads",
"price": "",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}