if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "28080",
"name": "Townie 7D Step-Thru",
"price": "499.99",
"brand": "Electra",
"category": "Townie",
"variant": "green",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35276",
"name": "Townie Go! 7D Step-Over",
"price": "1999.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35277",
"name": "Townie Go! 7D Step-Thru",
"price": "1999.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35003",
"name": "FX 2 Disc",
"price": "799.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "28079",
"name": "Townie 7D Step-Over",
"price": "499.99",
"brand": "Electra",
"category": "Townie",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "16810",
"name": "Loft 7D Step-Thru",
"price": "399.99",
"brand": "Electra",
"category": "Loft",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "16717",
"name": "Loft 7D Step-Over",
"price": "399.99",
"brand": "Electra",
"category": "Loft",
"variant": "brown_green",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35021",
"name": "FX 3 Disc",
"price": "1199.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red_reddark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35104",
"name": "Dual Sport 3 Gen 4",
"price": "1049.99",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35044",
"name": "Dual Sport 2 Gen 4",
"price": "849.99",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "32734",
"name": "Verve 2 Disc Lowstep",
"price": "849.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "32735",
"name": "Verve 2 Disc",
"price": "799.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "36454",
"name": "Verve 2 Lowstep",
"price": "799.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "green",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "36453",
"name": "Verve 2",
"price": "799.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "36450",
"name": "Verve 1 Lowstep",
"price": "599.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "35060",
"name": "Dual Sport 1 Gen 4",
"price": "599.99",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "35001",
"name": "FX 1 Disc",
"price": "599.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "35002",
"name": "FX 1 Disc Stagger",
"price": "599.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "36811",
"name": "Verve 1",
"price": "599.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 19
}
]
}
});
} else {
console.log("dataLayer");
}