if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "36846",
"name": "Precaliber 24 8-Speed Suspension",
"price": "549.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36268",
"name": "Precaliber 20 7-Speed",
"price": "499.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36266",
"name": "Precaliber 16 Coaster Brake",
"price": "399.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36265",
"name": "Precaliber 12",
"price": "349.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "28106",
"name": "Precaliber 20 7-speed",
"price": "499.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "28107",
"name": "Precaliber 20 7-speed",
"price": "499.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "white",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "28592",
"name": "Precaliber 24 8-speed Suspension",
"price": "449.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "white",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "28293",
"name": "Precaliber 20",
"price": "449.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "28294",
"name": "Precaliber 20",
"price": "449.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "white",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "28589",
"name": "Precaliber 24 8-speed Suspension",
"price": "449.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "26795",
"name": "Precaliber 16",
"price": "399.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "17476",
"name": "Kickster",
"price": "279.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}