if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "35697",
"name": "Trek 2022 Emonda SL 700c Rigid Forks",
"price": "2900.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44457",
"name": "Bontrager SPA SS7 Disc Brake 700C Suspension Fork",
"price": "2190.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "11836",
"name": "Trek Kids 24" Suspension Forks",
"price": "1040.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36817",
"name": "Bontrager Digital Shock Pump",
"price": "658.0",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "10156",
"name": "Trek SPA G1 Fork Parts",
"price": "20.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black_grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41140",
"name": "SR Suntour Mobie 34 Unthreaded 60mm Travel 27.5" Suspension Fork",
"price": "4240.0",
"brand": "SR SUNTOUR",
"category": "Bike forks",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33577",
"name": "SR Suntour Mob45 27.5" Suspension Fork",
"price": "3250.0",
"brand": "SR SUNTOUR",
"category": "Bike forks",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "37704",
"name": "Suntour Mobie 20" 70mm Cargo Suspension Fork",
"price": "1880.0",
"brand": "SR SUNTOUR",
"category": "Bike forks",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "31056",
"name": "Fox Racing Shox Remote Fork & Shock Lever",
"price": "590.0",
"brand": "Fox",
"category": "Bike forks",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}