Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "36098",
"name": "Trek Fetch+ 2 Family Pack Kit",
"price": "599.99",
"brand": "Trek",
"category": "Bike racks",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "45161",
"name": "Trek Fetch+ 2 Family Pack Seat",
"price": "114.99",
"brand": "Trek",
"category": "Bike trailers & child seats",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "45162",
"name": "Trek Fetch+ 2 Family Pack Back Rest Pad",
"price": "99.99",
"brand": "Trek",
"category": "Bike trailers & child seats",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "45587",
"name": "Trek Fetch+ 4 Child Seat Cushion Set - Pair",
"price": "99.99",
"brand": "Trek",
"category": "Bike trailers & child seats",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "45462",
"name": "Trek Fetch+ 2 Safari Bar Mounting Kit",
"price": "39.99",
"brand": "Trek",
"category": "Bike trailers & child seats",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "45257",
"name": "Trek Fetch+ 2 Kicker Extension Bracket",
"price": "19.99",
"brand": "Trek",
"category": "Bike kickstands",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "45258",
"name": "Trek Fetch+ 2 Kicker Bracket Kit",
"price": "19.99",
"brand": "Trek",
"category": "Bike kickstands",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "10867",
"name": "Trek Trailer Flags",
"price": "19.99",
"brand": "Trek",
"category": "Bike trailers & child seats",
"variant": "orange",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}