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": "36246",
"name": "Bontrager Speed Concept High-Near Stem",
"price": "19.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "36243",
"name": "Bontrager Speed Concept Low-Far Stem",
"price": "19.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "36245",
"name": "Bontrager Speed Concept Mid-Far Stem",
"price": "19.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "36247",
"name": "Bontrager Speed Concept High-Far Stem",
"price": "19.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");
}