if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "14647",
"name": "Electra Lifestyle Lux Cool Cat Helmet",
"price": "114.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "pink",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "14453",
"name": "Electra Lifestyle Lux Soft Serve Graphic Helmet",
"price": "114.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "white_teal",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "21663",
"name": "Electra Commute Mips Bike Helmet",
"price": "109.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "teal",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33699",
"name": "Electra Go! Mips Bike Helmet",
"price": "109.93",
"brand": "Electra",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35902",
"name": "Electra Tutti Frutti Lifestyle Helmet",
"price": "69.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "pink",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34242",
"name": "Electra Unicorn Lifestyle Bike Helmet",
"price": "66.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35900",
"name": "Electra Ziggy Lifestyle Helmet",
"price": "49.93",
"brand": "Electra",
"category": "Bike helmets",
"variant": "tan_blue",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "33697",
"name": "Electra Lifestyle Lux Solid Color Helmet",
"price": "49.93",
"brand": "Electra",
"category": "Bike helmets",
"variant": "white_greylight",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "33560",
"name": "Electra Lifestyle Bike Helmet",
"price": "49.93",
"brand": "Electra",
"category": "Bike helmets",
"variant": "orange",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "34243",
"name": "Electra EBC 3000 Lifestyle Bike Helmet",
"price": "49.93",
"brand": "Electra",
"category": "Bike helmets",
"variant": "grey",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "34331",
"name": "Electra Mountain Sky Lifestyle Lux Bike Helmet",
"price": "49.93",
"brand": "Electra",
"category": "Bike helmets",
"variant": "black_white",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "35901",
"name": "Electra Miami Lifestyle Helmet",
"price": "49.93",
"brand": "Electra",
"category": "Bike helmets",
"variant": "teal_pinkdark",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "34329",
"name": "Electra Honeycomb Lifestyle Lux Bike Helmet",
"price": "49.93",
"brand": "Electra",
"category": "Bike helmets",
"variant": "yellow",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "34330",
"name": "Electra Gnome Lifestyle Lux Bike Helmet",
"price": "49.93",
"brand": "Electra",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "35903",
"name": "Electra Slime Lifestyle Helmet",
"price": "49.93",
"brand": "Electra",
"category": "Bike helmets",
"variant": "black_green",
"list": "CATEGORY",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}