if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "44529",
"name": "Fox Racing Union Mountain Bike Shoe",
"price": "152.99",
"brand": "Fox Racing",
"category": "Mountain bike shoes",
"variant": "tan",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44528",
"name": "Fox Racing Union Flat Mountain Bike Shoe",
"price": "127.99",
"brand": "Fox Racing",
"category": "Mountain bike shoes",
"variant": "tan",
"list": "CATEGORY",
"position": 2
}
,
{
"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": 3
}
,
{
"id": "34884",
"name": "DeFeet Slipstream Strada 6" Shoe Cover",
"price": "21.59",
"brand": "DeFeet",
"category": "Cycling booties & toe covers",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34886",
"name": "DeFeet Slipstream 4" Reflective Shoe Cover",
"price": "19.99",
"brand": "DeFeet",
"category": "Cycling booties & toe covers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34885",
"name": "DeFeet Slipstream 4" Shoe Cover",
"price": "17.59",
"brand": "DeFeet",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}