if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "17476",
"name": "Kickster",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "24065",
"name": "Wahoo 24",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "28297",
"name": "Precaliber 20",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "26796",
"name": "Precaliber 16",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "28126",
"name": "Precaliber 24 8 velocidades",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33491",
"name": "Roscoe 24",
"price": "",
"brand": "Trek",
"category": "Kids' mountain bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "28128",
"name": "Precaliber 24 8 velocidades",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pinkdark",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}