if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "47073",
"name": "Checkpoint SL 7 AXS Gen 3",
"price": "8499.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "bronze_grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47072",
"name": "Checkpoint SL 6 AXS Gen 3",
"price": "5999.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47071",
"name": "Checkpoint SL 5 AXS Gen 3",
"price": "4999.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47243",
"name": "FX Sport 4",
"price": "2599.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35296",
"name": "Checkpoint SLR 9 AXS",
"price": "18499.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "white_green",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41349",
"name": "Checkpoint SLR 7 AXS",
"price": "12999.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "yellowlight_bluedark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35293",
"name": "Checkpoint SLR 6 AXS",
"price": "11999.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "yellow_bluedark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41397",
"name": "Checkpoint SL 6 AXS Gen 2",
"price": "4999.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "greenlight",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "41398",
"name": "Checkpoint SL 5 Gen 2",
"price": "3799.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35785",
"name": "FX Sport 4",
"price": "2499.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "35295",
"name": "Checkpoint SLR 7 AXS",
"price": "11199.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "black_greendark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "35171",
"name": "Checkpoint SL 7 AXS Gen 2",
"price": "8999.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "blue_grey",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "35170",
"name": "Checkpoint SL 6 AXS",
"price": "5899.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red_reddark",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "35169",
"name": "Checkpoint SL 5",
"price": "3499.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red_bluedark",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "35172",
"name": "Checkpoint ALR 5",
"price": "1999.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "white_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
}
]
}
});
} else {
console.log("dataLayer");
}