if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "48020",
"name": "Speed Concept SLR 9 AXS",
"price": "105800.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "49162",
"name": "Speed Concept SLR 8 AXS",
"price": "82800.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41499",
"name": "Speed Concept SLR 7 AXS",
"price": "82800.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35577",
"name": "Speed Concept SLR 7",
"price": "69800.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35757",
"name": "Speed Concept SLR 9",
"price": "101800.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35756",
"name": "Speed Concept SLR 9 AXS",
"price": "91800.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "green_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35754",
"name": "Speed Concept SLR 6 AXS",
"price": "71800.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35671",
"name": "Speed Concept SLR 车架组",
"price": "35000.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35746",
"name": "Speed Concept TT 车架",
"price": "35000.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}