if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "34331",
"name": "Electra Mountain Sky Lifestyle Lux Bike Helmet",
"price": "35.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "black_white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "21684",
"name": "Electra Lifestyle Lux Ace Bike Helmet",
"price": "35.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34329",
"name": "Electra Honeycomb Lifestyle Lux Bike Helmet",
"price": "35.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "yellow",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34330",
"name": "Electra Gnome Lifestyle Lux Bike Helmet",
"price": "35.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "21663",
"name": "Electra Commute Mips Bike Helmet",
"price": "29.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36199",
"name": "Endura Hummvee Waterproof Cycling Sock II",
"price": "25.0",
"brand": "Endura",
"category": "Cycling socks",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36200",
"name": "Endura Jagged Cycling Sock",
"price": "18.0",
"brand": "Endura",
"category": "Cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35361",
"name": "100% Rhythm Merino Wool Performance Cycling Socks",
"price": "10.5",
"brand": "100%",
"category": "Cycling socks",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36576",
"name": "Endura SingleTrack Hooded Mountain Bike Jacket II",
"price": "100.0",
"brand": "Endura",
"category": "Cycling jackets",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36577",
"name": "Endura Women's SingleTrack Hooded Mountain Bike Jacket II",
"price": "100.0",
"brand": "Endura",
"category": "Cycling jackets",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "41415",
"name": "PEARL iZUMi Sugar Thermal Women's Tight",
"price": "75.0",
"brand": "PEARL iZUMi",
"category": "Women's cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}