Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "11558",
"name": "Bontrager Speed Concept Low-Near Stem",
"price": "19.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "36244",
"name": "Bontrager Speed Concept Mid-Near Stem",
"price": "19.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "36243",
"name": "Bontrager Speed Concept Low-Far Stem",
"price": "19.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "36245",
"name": "Bontrager Speed Concept Mid-Far Stem",
"price": "19.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "36247",
"name": "Bontrager Speed Concept High-Far Stem",
"price": "19.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "25917",
"name": "Bontrager Speed Concept Gen 1 Stem Pinch Bolt M5 x 17mm",
"price": "3.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "41180",
"name": "Trek Speed Concept Stem Faceplate Bolt",
"price": "1.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "42018",
"name": "Bontrager Speed Concept Blendr Duo Base and Computer Mount",
"price": "119.99",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "42017",
"name": "Bontrager Speed Concept Blendr Mono Base and Computer Mount",
"price": "99.99",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "37655",
"name": "Bontrager Speed Concept Blendr Duo Base",
"price": "49.99",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}