if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "28294",
"name": "Precaliber 20",
"price": "449.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "28589",
"name": "Precaliber 24 8-speed Suspension",
"price": "449.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "26796",
"name": "Precaliber 16",
"price": "399.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "purplelight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "26795",
"name": "Precaliber 16",
"price": "399.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "24429",
"name": "Cruiser 1 Step-Thru",
"price": "299.99",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "24430",
"name": "Cruiser 7D Step-Thru",
"price": "299.99",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "green",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "24423",
"name": "Cruiser 1 Step-Over",
"price": "299.99",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "24425",
"name": "Cruiser 7D Step-Over",
"price": "299.99",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "17476",
"name": "Kickster",
"price": "279.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "17339",
"name": "Session 27.5 Frameset",
"price": "6499.99",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "28711",
"name": "Domane SLR Disc Frame Set",
"price": "4249.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "23162",
"name": "Domane SLR Frameset",
"price": "4249.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "23395",
"name": "Domane SL Disc Frameset",
"price": "4100.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "24503",
"name": "Procaliber SL Frameset",
"price": "3711.5",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "28712",
"name": "Domane SL Disc Frameset Gen 3",
"price": "3411.75",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "purpledark_black",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "32693",
"name": "Checkpoint SL Frame Set",
"price": "3411.75",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "23396",
"name": "Domane SL Frameset",
"price": "2699.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "24014",
"name": "Émonda SL Frameset",
"price": "2199.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 18
}
]
}
});
} else {
console.log("dataLayer");
}