if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "46111",
"name": "Fox Racing Union Canvas Flat Mountain Bike Shoe",
"price": "134.96",
"brand": "Fox Racing",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44528",
"name": "Fox Racing Union Flat Mountain Bike Shoe",
"price": "134.93",
"brand": "Fox Racing",
"category": "Mountain bike shoes",
"variant": "tan",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44819",
"name": "Crankbrothers Stamp BOA Shoe",
"price": "239.99",
"brand": "Crankbrothers",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "21731",
"name": "Bontrager Flatline Women's Mountain Shoe",
"price": "179.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "grey_teal",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34790",
"name": "Bontrager Flatline Mountain Bike Shoe",
"price": "149.97",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "greendark_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "21730",
"name": "Bontrager Flatline Mountain Shoe",
"price": "54.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}