if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "40318",
"name": "Sacoche pour téléphone Electra Coral Reef",
"price": "44.93",
"brand": "Electra",
"category": "Bike bags",
"variant": "tan",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40326",
"name": "Sacoche de cintre Electra Coral Reef",
"price": "24.93",
"brand": "Electra",
"category": "Bike bags",
"variant": "tan",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40190",
"name": "Sonnette Electra Coral Reef Ding Dong",
"price": "21.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "tan",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40652",
"name": "Electra Coral Reef Socks",
"price": "12.93",
"brand": "Electra",
"category": "Men's cycling socks",
"variant": "tan_pinklight",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}