概述
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "47075",
"name": "Fetch+2 扩展器安装套件",
"price": "980.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "40635",
"name": "Trek Range Boost Mounting Kit",
"price": "4320.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "41347",
"name": "Trek Allant+ BES3 Battery Cover",
"price": "1420.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "greydark_grey",
"list": "More Options",
"position": 3
}
,
{
"id": "37650",
"name": "Trek 2022 Rail 29 Aluminum Battery Cover",
"price": "1220.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "grey_white",
"list": "More Options",
"position": 4
}
,
{
"id": "44371",
"name": "Trek 2023 Rail 29 Aluminum Frame Battery Cover",
"price": "1180.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "teal_greydark",
"list": "More Options",
"position": 5
}
,
{
"id": "32912",
"name": "Trek Verve+ 3 RIB Battery Cover",
"price": "880.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "black_greydark",
"list": "More Options",
"position": 6
}
,
{
"id": "34547",
"name": "Trek Verve+ 4 RIB Battery Cover",
"price": "880.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "reddark_black",
"list": "More Options",
"position": 7
}
,
{
"id": "35536",
"name": "Trek 2022 District+ 8 RIB Battery Cover",
"price": "860.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "gold_grey",
"list": "More Options",
"position": 8
}
,
{
"id": "35534",
"name": "Trek 2022 Verve+ 3 RIB Battery Cover",
"price": "860.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "grey_blue",
"list": "More Options",
"position": 9
}
,
{
"id": "36225",
"name": "Trek 2022 District+ 9 RIB Battery Cover",
"price": "860.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "grey_black",
"list": "More Options",
"position": 10
}
,
{
"id": "35537",
"name": "Trek 2022 Verve+ 4 RIB Battery Cover",
"price": "860.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "greydark_brown",
"list": "More Options",
"position": 11
}
,
{
"id": "34285",
"name": "Trek 2021 Rail 29 Battery Cover",
"price": "800.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "orange_greydark",
"list": "More Options",
"position": 12
}
,
{
"id": "34290",
"name": "Trek 2021 Powerfly 29 Battery Cover",
"price": "800.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "bluedark_grey",
"list": "More Options",
"position": 13
}
,
{
"id": "37360",
"name": "Trek 2022-2023 Rail 29 Carbon 750W Battery Cover",
"price": "800.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "greendark_black",
"list": "More Options",
"position": 14
}
,
{
"id": "30978",
"name": "Trek Powerfly 29 2020 电池盖",
"price": "770.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "greydark_grey",
"list": "More Options",
"position": 15
}
,
{
"id": "37359",
"name": "Trek 2022-2023 Rail 29 Carbon 625W Battery Cover",
"price": "760.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "greendark_black",
"list": "More Options",
"position": 16
}
,
{
"id": "30970",
"name": "Trek 2020-2021 Rail 29 Carbon Paint Match Battery Cover",
"price": "750.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "red_black",
"list": "More Options",
"position": 17
}
,
{
"id": "41219",
"name": "Trek 2023 Verve+ 3 400/500/600W Battery Cover",
"price": "740.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "greendark",
"list": "More Options",
"position": 18
}
,
{
"id": "41221",
"name": "Trek 2023 District+ 4 400/500/600W Battery Cover",
"price": "740.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "orange",
"list": "More Options",
"position": 19
}
,
{
"id": "41220",
"name": "Trek 2023 Verve+ 4 400/500/600W Battery Cover",
"price": "740.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "bluedark",
"list": "More Options",
"position": 20
}
,
{
"id": "26942",
"name": "Trek Dual Sport+ Battery Cover",
"price": "700.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "black_grey",
"list": "More Options",
"position": 21
}
,
{
"id": "34145",
"name": "Trek Allant+ 9 Battery Cover",
"price": "700.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "black_grey",
"list": "More Options",
"position": 22
}
,
{
"id": "34146",
"name": "Trek Allant+ 9.9 Battery Cover",
"price": "700.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "black_grey",
"list": "More Options",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}