if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "25382",
"name": "Bontrager-Electra Fidlock SNAP Helmet Buckle",
"price": "50.0",
"brand": "Bontrager-Electra",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "48013",
"name": "BOA Shoe Replacement Li2 Left Dial Kit",
"price": "180.0",
"brand": "BOA Technologies",
"category": "Cycling shoe parts & insoles",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "48015",
"name": "BOA Shoe Replacement Li2 Left Dial Warranty Kit",
"price": "180.0",
"brand": "BOA Technologies",
"category": "Cycling shoe parts & insoles",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "48014",
"name": "BOA Shoe Replacement Li2 Right Dial Warranty Kit",
"price": "180.0",
"brand": "BOA Technologies",
"category": "Cycling shoe parts & insoles",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "48012",
"name": "BOA Shoe Replacement Li2 Right Dial Kit",
"price": "180.0",
"brand": "BOA Technologies",
"category": "Cycling shoe parts & insoles",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "25475",
"name": "BOA Shoe Replacement IP1 Right Dial Kit",
"price": "140.0",
"brand": "BOA Technologies",
"category": "Cycling shoe parts & insoles",
"variant": "white",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "25476",
"name": "BOA Shoe Replacement IP1 Left Dial Kit",
"price": "140.0",
"brand": "BOA Technologies",
"category": "Cycling shoe parts & insoles",
"variant": "white",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}