概述
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "28220",
"name": "Trek Powerfly FS Bosch Motor Armor",
"price": "1530.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "45594",
"name": "MRP MXg Bash Guard & Chain Guide for Trek 2024 Slash",
"price": "1218.0",
"brand": "Trek",
"category": "Bike chain guides",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "28215",
"name": "Trek 2018 Powerfly Bosch Motor Armor",
"price": "287.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "27511",
"name": "Trek 2014 Fuel EX/Remedy/Slash 27.5 保护罩套件",
"price": "272.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "37480",
"name": "Trek 2022 Rail 29 Motor Armor",
"price": "240.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "28462",
"name": "Trek Session Carbon Upper Chainstay Armor",
"price": "230.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "28463",
"name": "Trek Session Carbon Lower Chainstay Armor",
"price": "230.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "28460",
"name": "Trek 2019 Remedy Carbon Chainstay Armor",
"price": "225.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "28461",
"name": "Trek Session Carbon Downtube Armor",
"price": "215.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "28213",
"name": "Trek 2018 Session Headtube Bumper",
"price": "215.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "35416",
"name": "Trek 2021 Fuel EX Carbon Chainstay Armor",
"price": "210.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "34191",
"name": "Trek 2021 Slash Alloy Chainstay Armor",
"price": "200.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 12
}
,
{
"id": "32886",
"name": "Trek 2020 Fuel EX Chainstay Armor",
"price": "200.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "32895",
"name": "Trek 2020 Fuel EX Carbon Downtube Armor",
"price": "200.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 14
}
,
{
"id": "34190",
"name": "Trek 2021 Slash Alloy Lower Downtube Armor",
"price": "200.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 15
}
,
{
"id": "35062",
"name": "Trek 2021 Powerfly FS Motor Armor",
"price": "200.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 16
}
,
{
"id": "34187",
"name": "Trek 2021 Slash Carbon Chainstay Armor",
"price": "200.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 17
}
,
{
"id": "32896",
"name": "Trek 2020 Fuel EX Carbon Seatstay Armor",
"price": "200.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 18
}
,
{
"id": "34186",
"name": "Trek 2021 Slash Carbon Lower Downtube Armor",
"price": "200.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 19
}
,
{
"id": "34184",
"name": "Trek 2021 Slash Carbon Upper Downtube Armor - Small",
"price": "200.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 20
}
,
{
"id": "34189",
"name": "Trek 2021 Slash Alloy Upper Downtube Armor",
"price": "200.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 21
}
,
{
"id": "34185",
"name": "Trek 2021 Slash Carbon Upper Downtube Armor - Large",
"price": "200.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 22
}
,
{
"id": "27515",
"name": "Trek 2014 Remedy 29 Carbon Armor Kit",
"price": "192.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 23
}
,
{
"id": "27497",
"name": "Trek Session Carbon Seatstay Armor",
"price": "190.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}