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