Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "48906",
"name": "Rapha Merino Cycling Baselayer",
"price": "67.5",
"brand": "Rapha",
"category": "Men's cycling baselayers",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "47300",
"name": "Rapha Lightweight Sleeveless Cycling Baselayer",
"price": "50.25",
"brand": "Rapha",
"category": "Men's cycling baselayers",
"variant": "white",
"list": "More Options",
"position": 2
}
,
{
"id": "22809",
"name": "Bontrager Mesh Women's Sleeveless Cycling Baselayer",
"price": "29.99",
"brand": "Bontrager",
"category": "Women's cycling baselayers",
"variant": "white",
"list": "More Options",
"position": 3
}
,
{
"id": "22807",
"name": "Bontrager Mesh Women's Short Sleeve Cycling Baselayer",
"price": "29.99",
"brand": "Bontrager",
"category": "Women's cycling baselayers",
"variant": "white",
"list": "More Options",
"position": 4
}
,
{
"id": "36205",
"name": "Endura BaaBaa Blend Women's Long Sleeve Cycling Baselayer",
"price": "79.99",
"brand": "Endura",
"category": "Women's cycling baselayers",
"variant": "purpledark",
"list": "More Options",
"position": 5
}
,
{
"id": "36204",
"name": "Endura BaaBaa Blend Long Sleeve Cycling Baselayer",
"price": "79.99",
"brand": "Endura",
"category": "Men's cycling baselayers",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "36583",
"name": "Endura Transloft Long Sleeve Cycling Baselayer",
"price": "64.99",
"brand": "Endura",
"category": "Men's cycling baselayers",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "36584",
"name": "Endura Translite Windproof Sleeveless Cycling Baselayer",
"price": "59.99",
"brand": "Endura",
"category": "Men's cycling baselayers",
"variant": "white",
"list": "More Options",
"position": 8
}
,
{
"id": "40203",
"name": "Endura Translite Short Sleeve Cycling Baselayer II",
"price": "44.99",
"brand": "Endura",
"category": "Men's cycling baselayers",
"variant": "white",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}