Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "35914",
"name": "Trek 2022 Domane SL 7 700c Rigid Fork",
"price": "859.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "grey_black",
"list": "More Options",
"position": 1
}
,
{
"id": "35915",
"name": "Trek 2022 Domane SL 6 700c Rigid Fork",
"price": "859.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_black",
"list": "More Options",
"position": 2
}
,
{
"id": "35697",
"name": "Trek 2022 Emonda SL 700c Rigid Forks",
"price": "792.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_black",
"list": "More Options",
"position": 3
}
,
{
"id": "11836",
"name": "Trek Kids 24" Suspension Forks",
"price": "268.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "11882",
"name": "Trek Kids 20" Suspension Forks",
"price": "159.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "10156",
"name": "Trek SPA G1 Fork Parts",
"price": "3.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "black_grey",
"list": "More Options",
"position": 6
}
,
{
"id": "33577",
"name": "SR Suntour Mob45 27.5" Suspension Fork",
"price": "811.99",
"brand": "SR SUNTOUR",
"category": "Bike forks",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "31878",
"name": "SR Suntour XCE 28 Marlin 2019 27.5" Suspension Fork",
"price": "167.99",
"brand": "SR SUNTOUR",
"category": "Bike forks",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "31056",
"name": "Fox Racing Shox Remote Fork & Shock Lever",
"price": "123.99",
"brand": "Fox",
"category": "Bike forks",
"variant": "black",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}