if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "37760",
"name": "Santini Trek-Segafredo Women's Team Cycling Socks",
"price": "158.0",
"brand": "Santini",
"category": "Cycling socks",
"variant": "white_bluelight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47322",
"name": "Rapha 徽标骑行袜",
"price": "150.0",
"brand": "Rapha",
"category": "Men's cycling socks",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "14986",
"name": "Bontrager/Electra Training Wheel Hardware",
"price": "72.0",
"brand": "Trek-Electra",
"category": "Bike training wheels",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "45139",
"name": "e*Thirteen Chainguide for Bosch 52mm to 55mm Chainline Kit",
"price": "68.0",
"brand": "EThirteen",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44822",
"name": "Spanninga Pimento RR 02 Rear Light Reflector",
"price": "68.0",
"brand": "Spanninga",
"category": "Bike lights",
"variant": "reddark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "44934",
"name": "e*Thirteen e*Spec 1mm Chainline Spacer for Bosch",
"price": "18.0",
"brand": "EThirteen",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}