if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "47245",
"name": "Procaliber 9.7 AXS Gen 3",
"price": "35800.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47224",
"name": "Procaliber 9.6 Gen 3",
"price": "21800.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greenlight_tealdark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47223",
"name": "Procaliber 9.5 Gen 3",
"price": "16800.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35115",
"name": "Procaliber 9.8",
"price": "38800.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41643",
"name": "Procaliber 9.7",
"price": "33800.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41642",
"name": "Procaliber 9.6 Gen 2",
"price": "20800.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35113",
"name": "Procaliber 9.6",
"price": "19800.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "33258",
"name": "Procaliber 9.5 Gen 2",
"price": "15800.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "41618",
"name": "Procaliber 8",
"price": "12800.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "41615",
"name": "Procaliber 6",
"price": "10800.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}