Overview
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": "More Options",
"position": 1
}
,
{
"id": "36268",
"name": "Precaliber 20 7-Speed",
"price": "499.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "More Options",
"position": 2
}
,
{
"id": "36266",
"name": "Precaliber 16 Coaster Brake",
"price": "399.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "More Options",
"position": 3
}
,
{
"id": "36265",
"name": "Precaliber 12",
"price": "349.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "More Options",
"position": 4
}
,
{
"id": "28106",
"name": "Precaliber 20 7-speed",
"price": "499.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "blue",
"list": "More Options",
"position": 5
}
,
{
"id": "28107",
"name": "Precaliber 20 7-speed",
"price": "499.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "white",
"list": "More Options",
"position": 6
}
,
{
"id": "28592",
"name": "Precaliber 24 8-speed Suspension",
"price": "449.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "white",
"list": "More Options",
"position": 7
}
,
{
"id": "28293",
"name": "Precaliber 20",
"price": "449.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "28294",
"name": "Precaliber 20",
"price": "449.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "white",
"list": "More Options",
"position": 9
}
,
{
"id": "28589",
"name": "Precaliber 24 8-speed Suspension",
"price": "449.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "More Options",
"position": 10
}
,
{
"id": "26795",
"name": "Precaliber 16",
"price": "399.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "black",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}