if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "JPY",
"impressions": [
{
"id": "36846",
"name": "Precaliber 24 8-Speed Suspension",
"price": "55000.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "28592",
"name": "Precaliber 24 8-speed Suspension",
"price": "54890.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "28589",
"name": "Precaliber 24 8-speed Suspension",
"price": "54890.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36268",
"name": "Precaliber 20 7-Speed",
"price": "50000.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33490",
"name": "Roscoe 20",
"price": "50000.0",
"brand": "Trek",
"category": "Kids' mountain bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "28106",
"name": "Precaliber 20 7-speed",
"price": "50000.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "28107",
"name": "Precaliber 20 7-speed",
"price": "49390.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "white",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36267",
"name": "Precaliber 16",
"price": "42000.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "28291",
"name": "Precaliber 16",
"price": "42000.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "28292",
"name": "Precaliber 16",
"price": "41690.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "17476",
"name": "Kickster",
"price": "20900.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}