if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "41559",
"name": "Trek Speed Concept SLR BTA 26oz Water Bottle Kit",
"price": "1530.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "38005",
"name": "Trek 2022 Speed Concept SLR Downtube 26oz Water Bottle",
"price": "250.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41603",
"name": "Trek Speed Concept Round Bottle BTA Cage",
"price": "200.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "13852",
"name": "Bontrager Speed Concept Water Bottle Cage Hardware",
"price": "188.0",
"brand": "Bontrager",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41930",
"name": "Trek Speed Concept BTA Mounting Cage",
"price": "60.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "38006",
"name": "Trek 2022 Speed Concept SLR Downtube Water Bottle Cage",
"price": "40.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}