Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "10882",
"name": "Bontrager DT Aerolite Bladed Nail-Head Spoke - Box of 10",
"price": "4.49",
"brand": "Bontrager",
"category": "Spokes",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "12932",
"name": "Bontrager Aeolus D3 Spoke Nipple Washers",
"price": "1.99",
"brand": "Bontrager",
"category": "Spokes",
"variant": "greylight",
"list": "More Options",
"position": 2
}
,
{
"id": "32840",
"name": "Bontrager Round J-Bend Spoke Box of 10",
"price": "1.99",
"brand": "Bontrager",
"category": "Spokes",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "45421",
"name": "Electra Ponto Go! 20" Spokes",
"price": "3.99",
"brand": "Electra",
"category": "Spokes",
"variant": "greylight",
"list": "More Options",
"position": 4
}
,
{
"id": "44340",
"name": "Alpina Spark 13/14 Gauge Round J-Bend Spoke Box of 10",
"price": "2.49",
"brand": "Alpina",
"category": "Spokes",
"variant": "black",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}