if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "34331",
"name": "Casque cyclique Electra Mountain Sky Lifestyle Lux",
"price": "49.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "black_white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "21684",
"name": "Casque vélo Electra Lifestyle Lux Ace",
"price": "49.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34329",
"name": "Casque Electra Honeycomb Lifestyle Lux",
"price": "49.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "yellow",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34330",
"name": "Casque Electra Gnome Lifestyle Lux",
"price": "49.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "21663",
"name": "Electra Commute Mips Bike Helmet",
"price": "39.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "purpledark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35361",
"name": "100% Rhythm Merino Wool Performance Cycling Socks",
"price": "13.99",
"brand": "100%",
"category": "Cycling socks",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35360",
"name": "100% Terrain Performance Cycling Socks",
"price": "11.99",
"brand": "100%",
"category": "Cycling socks",
"variant": "white",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41415",
"name": "PEARL iZUMi Sugar Thermal Women's Tight",
"price": "99.99",
"brand": "PEARL iZUMi",
"category": "Women's cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "33838",
"name": "Chaussettes Electra Tie Dye",
"price": "15.99",
"brand": "Electra",
"category": "Cycling socks",
"variant": "purple",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "33835",
"name": "Chaussettes Electra Surfbird",
"price": "14.99",
"brand": "Electra",
"category": "Cycling socks",
"variant": "blue_greenvisibility",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "33836",
"name": "Chaussettes Electra Burger",
"price": "14.99",
"brand": "Electra",
"category": "Cycling socks",
"variant": "tan_red",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}