if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "34884",
"name": "DeFeet Slipstream Strada 6" Shoe Cover",
"price": "21.59",
"brand": "DeFeet",
"category": "Cycling booties & toe covers",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34886",
"name": "DeFeet Slipstream 4" Reflective Shoe Cover",
"price": "19.99",
"brand": "DeFeet",
"category": "Cycling booties & toe covers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25045",
"name": "Bontrager Windshell Cycling Toe Cover",
"price": "17.99",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34885",
"name": "DeFeet Slipstream 4" Shoe Cover",
"price": "17.59",
"brand": "DeFeet",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}