if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "13534",
"name": "Electra Linear Cup Holder",
"price": "24.93",
"brand": "Electra",
"category": "Bike water bottles & cages",
"variant": "white_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36760",
"name": "Electra Wired Can Holder & Ziggy Koozie",
"price": "19.93",
"brand": "Electra",
"category": "Bike water bottles & cages",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36761",
"name": "Electra Wired Can Holder & Tiki Koozie",
"price": "19.93",
"brand": "Electra",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "12624",
"name": "Electra Water Bottle Cage Adapter",
"price": "13.99",
"brand": "Electra",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33937",
"name": "Electra Water Bottle Cage",
"price": "13.99",
"brand": "Electra",
"category": "Bike water bottles & cages",
"variant": "grey",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}