if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "41070",
"name": "Saris MHS 3+1 Hitch Base 2" Hitch Rack",
"price": "199.93",
"brand": "Saris",
"category": "Bike car racks",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "32496",
"name": "Saris Mag+ Trainer",
"price": "129.93",
"brand": "Saris",
"category": "Bike trainers & rollers",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "30408",
"name": "Saris Freedom SuperClamp Hitch Rack Cargo Accessory",
"price": "99.93",
"brand": "Saris",
"category": "Bike car racks",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33955",
"name": "Saris Trunk Rack Lock",
"price": "49.99",
"brand": "Saris",
"category": "Bike car racks",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "32500",
"name": "Saris Trainer Climbing Riser Block",
"price": "19.93",
"brand": "Saris",
"category": "Bike trainers & rollers",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "32511",
"name": "Saris Smart Trainer USB Adapter",
"price": "18.93",
"brand": "Saris",
"category": "Bike trainers & rollers",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41075",
"name": "Saris Bones Strap Management End Caps",
"price": "9.93",
"brand": "Saris",
"category": "Bike car racks",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}