Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "45594",
"name": "MRP MXg Bash Guard & Chain Guide for Trek 2024 Slash",
"price": "154.99",
"brand": "Trek",
"category": "Bike chain guides",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "41311",
"name": "Trek Fetch+ 2 Chain Guide Assembly",
"price": "9.99",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "45290",
"name": "Trek Wahoo Chainkeeper",
"price": "3.99",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "33933",
"name": "Wolf Tooth Gnarwolf Braze-On Chainguide",
"price": "49.95",
"brand": "Wolf Tooth Components",
"category": "Bike chain guides",
"variant": "black_greydark",
"list": "More Options",
"position": 4
}
,
{
"id": "33934",
"name": "Wolf Tooth Gnarwolf ISCG Chainguide",
"price": "49.95",
"brand": "Wolf Tooth Components",
"category": "Bike chain guides",
"variant": "black_greydark",
"list": "More Options",
"position": 5
}
,
{
"id": "21905",
"name": "Trek Powerfly F/S Chainguide",
"price": "4.99",
"brand": "Ride+",
"category": "Bike chain guides",
"variant": "black",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}