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