if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "44529",
"name": "Fox Racing Union Mountain Bike Shoe",
"price": "204.99",
"brand": "Fox Racing",
"category": "Mountain bike shoes",
"variant": "tan",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44528",
"name": "Fox Racing Union Flat Mountain Bike Shoe",
"price": "169.99",
"brand": "Fox Racing",
"category": "Mountain bike shoes",
"variant": "tan",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "22006",
"name": "Crankbrothers Premium Brass Cleat Set",
"price": "35.99",
"brand": "Crankbrothers",
"category": "Bike pedals",
"variant": "gold",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "25475",
"name": "BOA Shoe Replacement IP1 Right Dial Kit",
"price": "16.99",
"brand": "BOA Technologies",
"category": "Cycling shoe parts & insoles",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "25476",
"name": "BOA Shoe Replacement IP1 Left Dial Kit",
"price": "16.99",
"brand": "BOA Technologies",
"category": "Cycling shoe parts & insoles",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}