if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "24972",
"name": "Bontrager Avert Mountain Bike Rain Jacket",
"price": "59.99",
"brand": "Bontrager",
"category": "Cycling jackets",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "24718",
"name": "Bontrager Avert Women's Mountain Bike Rain Jacket",
"price": "59.99",
"brand": "Bontrager",
"category": "Cycling jackets",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "13457",
"name": "Bontrager OMW Softshell Fat Bike Pant",
"price": "39.99",
"brand": "Bontrager",
"category": "Cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "22165",
"name": "Bontrager Kalia Women's Thermal Fitness Bike Tight",
"price": "29.99",
"brand": "Bontrager",
"category": "Cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36195",
"name": "Endura Singletrack Cycling Neck Gaiter",
"price": "10.0",
"brand": "Endura",
"category": "Cycling caps & headwear",
"variant": "green",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34887",
"name": "DeFeet Slipstream Strada Wool 6" Shoe Cover",
"price": "27.99",
"brand": "DeFeet",
"category": "Cycling booties & toe covers",
"variant": "greydark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "34884",
"name": "DeFeet Slipstream Strada 6" Shoe Cover",
"price": "21.59",
"brand": "DeFeet",
"category": "Cycling booties & toe covers",
"variant": "white",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "34886",
"name": "DeFeet Slipstream 4" Reflective Shoe Cover",
"price": "19.99",
"brand": "DeFeet",
"category": "Cycling booties & toe covers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "34885",
"name": "DeFeet Slipstream 4" Shoe Cover",
"price": "17.59",
"brand": "DeFeet",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}