if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "36265",
"name": "Precaliber 12",
"price": "279.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36266",
"name": "Precaliber 16",
"price": "299.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35412",
"name": "Tutti Frutti Sprocket 16"",
"price": "329.99",
"brand": "Electra",
"category": "Electra kids' bikes",
"variant": "pinklight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35413",
"name": "Super Sprocket 16"",
"price": "329.99",
"brand": "Electra",
"category": "Electra kids' bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36270",
"name": "Precaliber 20",
"price": "329.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35411",
"name": "EBC 3000 Sprocket 20"",
"price": "349.99",
"brand": "Electra",
"category": "Electra kids' bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35410",
"name": "Cat's Meow Sprocket 20"",
"price": "349.99",
"brand": "Electra",
"category": "Electra kids' bikes",
"variant": "white",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36605",
"name": "Sprocket 1 16"",
"price": "359.99",
"brand": "Electra",
"category": "Electra kids' bikes",
"variant": "yellow",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36607",
"name": "Sprocket 1 20"",
"price": "389.99",
"brand": "Electra",
"category": "Electra kids' bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36268",
"name": "Precaliber 20 7-speed",
"price": "399.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "36846",
"name": "Precaliber 24 8-speed Suspension",
"price": "469.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "40928",
"name": "Wahoo 24 Path",
"price": "549.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "40929",
"name": "Wahoo 26 Path",
"price": "599.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "41014",
"name": "Wahoo 20 Trail",
"price": "649.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "greenvisibility",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "41013",
"name": "Wahoo 24 Trail",
"price": "699.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "green",
"list": "CATEGORY",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}