Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "41741",
"name": "Trek Softshell Cycling Shoe Cover",
"price": "74.99",
"brand": "Trek",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "41742",
"name": "Trek Waterproof Cycling Shoe Cover",
"price": "74.99",
"brand": "Trek",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "41740",
"name": "Trek Windshell Cycling Toe Cover",
"price": "29.99",
"brand": "Trek",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "14773",
"name": "Bontrager S2 Softshell Cycling Shoe Cover",
"price": "104.99",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "25046",
"name": "Bontrager Waterproof Cycling Shoe Cover",
"price": "54.99",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "14775",
"name": "Bontrager S1 Softshell Cycling Shoe Cover",
"price": "39.99",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "yellowvisibility",
"list": "More Options",
"position": 6
}
,
{
"id": "25045",
"name": "Bontrager Windshell Cycling Toe Cover",
"price": "12.99",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "36196",
"name": "Endura Urban Luminite Waterproof Shoe Cover",
"price": "69.99",
"brand": "Endura",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "34887",
"name": "DeFeet Slipstream Strada Wool 6" Shoe Cover",
"price": "27.99",
"brand": "DeFeet",
"category": "Cycling booties & toe covers",
"variant": "greydark",
"list": "More Options",
"position": 9
}
,
{
"id": "34884",
"name": "DeFeet Slipstream Strada 6" Shoe Cover",
"price": "21.59",
"brand": "DeFeet",
"category": "Cycling booties & toe covers",
"variant": "white",
"list": "More Options",
"position": 10
}
,
{
"id": "34885",
"name": "DeFeet Slipstream 4" Shoe Cover",
"price": "17.59",
"brand": "DeFeet",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}