Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "10882",
"name": "Bontrager DT Aerolite Bladed Nail-Head Spoke - Box of 10",
"price": "3.5",
"brand": "Bontrager",
"category": "Spokes",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "45446",
"name": "Bontrager Aeolus Pro Spoke Nipple Washers",
"price": "2.99",
"brand": "Bontrager",
"category": "Spokes",
"variant": "greylight",
"list": "More Options",
"position": 2
}
,
{
"id": "12932",
"name": "Bontrager Aeolus D3 Spoke Nipple Washers",
"price": "1.5",
"brand": "Bontrager",
"category": "Spokes",
"variant": "greylight",
"list": "More Options",
"position": 3
}
,
{
"id": "32840",
"name": "Bontrager Round J-Bend Spoke Box of 10",
"price": "1.5",
"brand": "Bontrager",
"category": "Spokes",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "45421",
"name": "Electra Ponto Go! 20" Spokes",
"price": "2.99",
"brand": "Electra",
"category": "Spokes",
"variant": "greylight",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}