if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "35931",
"name": "SRAM GX Eagle AXS Upgrade Kit",
"price": "568.0",
"brand": "SRAM",
"category": "Bike groupsets & build kits",
"variant": "",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36055",
"name": "SRAM Red AXS Hydraulic Flat Mount Center Lock 1x12 Groupset",
"price": "2206.0",
"brand": "SRAM",
"category": "Bike groupsets & build kits",
"variant": "",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44600",
"name": "SRAM XX SL Eagle T-Type 1x12 Groupset",
"price": "2199.0",
"brand": "SRAM",
"category": "Bike groupsets & build kits",
"variant": "",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "49692",
"name": "SRAM Flight Attendant Upgrade Kit for Gen 2 Supercaliber SLR 9.9 XO / 9.8 GX",
"price": "2100.0",
"brand": "SRAM",
"category": "Bike groupsets & build kits",
"variant": "",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "49693",
"name": "SRAM Flight Attendant Upgrade Kit for Gen 2 Supercaliber SLR 9.9 XX",
"price": "2100.0",
"brand": "SRAM",
"category": "Bike groupsets & build kits",
"variant": "",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "44599",
"name": "SRAM XX Eagle T-Type 1x12 Groupset",
"price": "2049.0",
"brand": "SRAM",
"category": "Bike groupsets & build kits",
"variant": "",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "44833",
"name": "SRAM GX T-Type Eagle AXS 12 Speed MTB Groupset",
"price": "1099.0",
"brand": "SRAM",
"category": "Bike groupsets & build kits",
"variant": "",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36263",
"name": "SRAM X01 Eagle AXS 1x12 Upgrade Kit w/Rocker Paddle",
"price": "844.0",
"brand": "SRAM",
"category": "Bike groupsets & build kits",
"variant": "",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36262",
"name": "SRAM XX1 Eagle AXS 1x12 Upgrade Kit w/Rocker Paddle",
"price": "750.0",
"brand": "SRAM",
"category": "Bike groupsets & build kits",
"variant": "",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}