if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "33560",
"name": "Casque Electra Lifestyle",
"price": "64.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "orange",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33697",
"name": "Casque Electra Lifestyle Lux Solid Color",
"price": "49.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "white_greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34331",
"name": "Casque cyclique Electra Mountain Sky Lifestyle Lux",
"price": "49.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "black_white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "21684",
"name": "Casque vélo Electra Lifestyle Lux Ace",
"price": "49.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34329",
"name": "Casque Electra Honeycomb Lifestyle Lux",
"price": "49.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "yellow",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34330",
"name": "Casque Electra Gnome Lifestyle Lux",
"price": "49.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "21663",
"name": "Electra Commute Mips Bike Helmet",
"price": "39.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "purpledark",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}