if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "36098",
"name": "Trek Fetch+ 2 Family Pack Kit",
"price": "319.99",
"brand": "Trek",
"category": "Bike racks",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45259",
"name": "Trek Fetch+ 2 Front Pannier Rack",
"price": "79.99",
"brand": "Trek",
"category": "Bike racks",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40145",
"name": "Trek Fetch+ 2 Fender Set",
"price": "59.99",
"brand": "Trek",
"category": "Bike fenders & accessories",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37921",
"name": "Trek Fetch+ 4 Rainfly Complete Set",
"price": "349.99",
"brand": "Trek",
"category": "Bike trailers & child seats",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37919",
"name": "Trek Fetch+ 4 MaxiCosi/CybexNuna Adapter",
"price": "339.99",
"brand": "Trek",
"category": "Bike baskets",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37920",
"name": "Trek Fetch+ 4 Britax/Romer Adapter",
"price": "339.99",
"brand": "Trek",
"category": "Bike baskets",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36097",
"name": "Trek Fetch+ 2 Rear Pannier Kit",
"price": "179.99",
"brand": "Trek",
"category": "Bike baskets",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "37918",
"name": "Trek Fetch+ 4 Recliner Seat",
"price": "179.99",
"brand": "Trek",
"category": "Bike trailers & child seats",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36099",
"name": "Trek Fetch+ 2 Front Pannier and Rack Kit",
"price": "179.99",
"brand": "Trek",
"category": "Bike baskets",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "37917",
"name": "Trek Fetch+ 4 Bench",
"price": "129.99",
"brand": "Trek",
"category": "Bike trailers & child seats",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}