概述
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "40281",
"name": "TQ HPR 增程器电池",
"price": "8600.0",
"brand": "TQ",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "47075",
"name": "Fetch+2 扩展器安装套件",
"price": "980.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "41264",
"name": "TQ Range Extender Retention Strap",
"price": "100.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "40280",
"name": "TQ HPR 360 Watt-Hour Battery",
"price": "11850.0",
"brand": "TQ",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "36733",
"name": "Hyena Range Extender 增程电池",
"price": "8070.0",
"brand": "Hyena",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "44848",
"name": "Hyena Gen 2 In-Tube 250Wh Battery",
"price": "6470.0",
"brand": "Hyena",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "36860",
"name": "Hyena In-Tube 250Wh Battery",
"price": "4760.0",
"brand": "Hyena",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "40635",
"name": "Trek Range Boost Mounting Kit",
"price": "4320.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "41347",
"name": "Trek Allant+ BES3 Battery Covers",
"price": "1420.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "greydark_grey",
"list": "More Options",
"position": 9
}
,
{
"id": "37650",
"name": "Trek 2022 Rail 29 Aluminum Paint Match Battery Cover",
"price": "1220.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "grey_white",
"list": "More Options",
"position": 10
}
,
{
"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": 11
}
,
{
"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": 12
}
,
{
"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": 13
}
,
{
"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": 14
}
,
{
"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": 15
}
,
{
"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": 16
}
,
{
"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": 17
}
,
{
"id": "34285",
"name": "Trek 2021 Rail 29 Battery Covers",
"price": "800.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "orange_greydark",
"list": "More Options",
"position": 18
}
,
{
"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": 19
}
,
{
"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": 20
}
,
{
"id": "30978",
"name": "Trek Powerfly 29 2020 电池盖",
"price": "770.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "greydark_grey",
"list": "More Options",
"position": 21
}
,
{
"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": 22
}
,
{
"id": "30970",
"name": "Trek 2020-2021 Rail 29 Carbon Paint Match Battery Covers",
"price": "750.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "red_black",
"list": "More Options",
"position": 23
}
,
{
"id": "41219",
"name": "Trek 2023 Verve+ 3 400/500/600Wh Battery Cover",
"price": "740.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "greendark",
"list": "More Options",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}