概述
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "41991",
"name": "Trek 2023 Madone SL Replacement Seatmasts",
"price": "2800.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "greydark_black",
"list": "More Options",
"position": 1
}
,
{
"id": "45092",
"name": "Trek IsoTongue Alloy M6 Washer",
"price": "1944.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "42049",
"name": "Trek Domane MKIV IsoSpeed Tongues",
"price": "1560.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "grey_black",
"list": "More Options",
"position": 3
}
,
{
"id": "47895",
"name": "Trek Checkmate SLR IsoSpeed Tongue",
"price": "1380.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "grey",
"list": "More Options",
"position": 4
}
,
{
"id": "31785",
"name": "Trek Domane IsoSpeed Front Coupler Assembly",
"price": "550.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "More Options",
"position": 5
}
,
{
"id": "22176",
"name": "MY18 Domane ALR IsoSpeed Covers",
"price": "500.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "More Options",
"position": 6
}
,
{
"id": "12844",
"name": "Trek Boone IsoSpeed Internal Parts Kit",
"price": "470.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "22269",
"name": "Trek FX Carbon IsoSpeed Kits",
"price": "470.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "42217",
"name": "Trek 2023 Madone SL6 IsoSpeed Headtube Cover",
"price": "380.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "34139",
"name": "Trek 2021 Madone SL IsoSpeed Cover",
"price": "350.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "white",
"list": "More Options",
"position": 10
}
,
{
"id": "37937",
"name": "Trek 2022 Madone SLR IsoSpeed Cover",
"price": "350.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "More Options",
"position": 11
}
,
{
"id": "14859",
"name": "Trek Domane ALR IsoSpeed Cover Set",
"price": "340.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "More Options",
"position": 12
}
,
{
"id": "38023",
"name": "Trek 2022 Speed Concept SLR Seatpost Wedge Cover",
"price": "330.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "27462",
"name": "Trek Domane+ IsoSpeed Cover",
"price": "310.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 14
}
,
{
"id": "30479",
"name": "Trek 2020 Madone SL IsoSpeed 封套",
"price": "310.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "More Options",
"position": 15
}
,
{
"id": "26589",
"name": "Trek Madone SLR IsoSpeed Seat Tube Cover",
"price": "300.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "More Options",
"position": 16
}
,
{
"id": "34763",
"name": "Trek Madone 9 Aero IsoSpeed Internal Parts Kit",
"price": "290.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 17
}
,
{
"id": "41361",
"name": "Trek 2023 Madone SL7 IsoCover",
"price": "280.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "bluedark",
"list": "More Options",
"position": 18
}
,
{
"id": "41362",
"name": "Trek 2023 Madone SL6 IsoSpeed Top Tube Cover",
"price": "280.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "blue",
"list": "More Options",
"position": 19
}
,
{
"id": "42026",
"name": "Trek Domane MKIV IsoSpeed Hardware Kit",
"price": "280.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 20
}
,
{
"id": "42225",
"name": "Trek Madone SLR IsoSpeed Seat Tube Cover",
"price": "280.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "yellowvisibility",
"list": "More Options",
"position": 21
}
,
{
"id": "33690",
"name": "Trek 2021 Checkpoint SL IsoSpeed Cover",
"price": "250.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "orange",
"list": "More Options",
"position": 22
}
,
{
"id": "31790",
"name": "Trek Domane IsoSpeed Front Pivot Hardware",
"price": "240.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "grey",
"list": "More Options",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}