if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "14203",
"name": "Bar Mitts Road",
"price": "74.95",
"brand": "Bar Mitts",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36198",
"name": "Endura Road Waterproof Shoe Cover",
"price": "69.99",
"brand": "Endura",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36196",
"name": "Endura Urban Luminite Waterproof Shoe Cover",
"price": "69.99",
"brand": "Endura",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"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": 4
}
,
{
"id": "34884",
"name": "DeFeet Slipstream Strada 6" Shoe Cover",
"price": "21.59",
"brand": "DeFeet",
"category": "Cycling booties & toe covers",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34886",
"name": "DeFeet Slipstream 4" Reflective Shoe Cover",
"price": "19.99",
"brand": "DeFeet",
"category": "Cycling booties & toe covers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "34885",
"name": "DeFeet Slipstream 4" Shoe Cover",
"price": "17.59",
"brand": "DeFeet",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}