if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "36572",
"name": "Endura Strike Waterproof Cycling Glove",
"price": "49.99",
"brand": "Endura",
"category": "Full finger cycling gloves",
"variant": "yellowvisibility_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40203",
"name": "Endura Translite Short Sleeve Cycling Baselayer II",
"price": "44.99",
"brand": "Endura",
"category": "Men's cycling baselayers",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40201",
"name": "Endura Translite Sleeveless Cycling Baselayer II",
"price": "42.5",
"brand": "Endura",
"category": "Men's cycling baselayers",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36199",
"name": "Endura Hummvee Waterproof Cycling Sock II",
"price": "25.0",
"brand": "Endura",
"category": "Cycling socks",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36573",
"name": "Endura Hummvee Plus Cycling Glove II",
"price": "24.99",
"brand": "Endura",
"category": "Full finger cycling gloves",
"variant": "black_grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36585",
"name": "Endura BaaBaa Merino Winter Cycling Sock",
"price": "24.99",
"brand": "Endura",
"category": "Men's cycling socks",
"variant": "black_grey",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36201",
"name": "Endura Bandwidth Cycling Sock",
"price": "22.5",
"brand": "Endura",
"category": "Cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36586",
"name": "Endura BaaBaa Merino Stripe Cycling Sock",
"price": "19.99",
"brand": "Endura",
"category": "Men's cycling socks",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "40272",
"name": "Endura Women's Hummvee Lite Icon Mountain Bike Glove",
"price": "18.0",
"brand": "Endura",
"category": "Fingerless cycling gloves",
"variant": "tealdark_pink",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36200",
"name": "Endura Jagged Cycling Sock",
"price": "18.0",
"brand": "Endura",
"category": "Cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "36195",
"name": "Endura Singletrack Cycling Neck Gaiter",
"price": "10.0",
"brand": "Endura",
"category": "Cycling caps & headwear",
"variant": "green",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}