Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "34037",
"name": "Trek Commuter Pro RT Front Bike Light",
"price": "299.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "34035",
"name": "Trek Commuter Comp R Front Bike Light",
"price": "129.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "41444",
"name": "Trek Ion Pro RT Front Bike Light",
"price": "239.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "27821",
"name": "Bontrager Ion Elite R Front Bike Light",
"price": "199.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "grey",
"list": "More Options",
"position": 4
}
,
{
"id": "30763",
"name": "Bontrager Ion Comp R/Flare R City Bike Light Set",
"price": "229.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "grey",
"list": "More Options",
"position": 5
}
,
{
"id": "30762",
"name": "Bontrager Ion Comp R Front Bike Light",
"price": "169.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "grey",
"list": "More Options",
"position": 6
}
,
{
"id": "41449",
"name": "Trek Ion 200 RT Front Bike Light",
"price": "99.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "14259",
"name": "Bontrager Ion 100 R/Flare R City Bike Light Set",
"price": "114.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "14243",
"name": "Bontrager Ion 100 R Front Bike Light",
"price": "59.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "44446",
"name": "Trek Ion 50 R Front Bike Light",
"price": "34.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "41442",
"name": "Trek Ion 100 R Front Bike Light",
"price": "59.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "31074",
"name": "Bontrager Lync Ion Stem Mount Flash-beam Front Light",
"price": "468.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 12
}
,
{
"id": "41377",
"name": "Bontrager Lync Ion BES3 Front Light",
"price": "395.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "27118",
"name": "Bontrager Lync Ion Stem Mount Steady-beam Front Light",
"price": "391.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black_white",
"list": "More Options",
"position": 14
}
,
{
"id": "22466",
"name": "Bontrager Ion Pro RT Front Bike Light",
"price": "249.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 15
}
,
{
"id": "23709",
"name": "Bontrager Ion 200 RT Front Bike Light",
"price": "99.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 16
}
,
{
"id": "29076",
"name": "AXA Blueline50 Dynamo Front Bike Light Kit",
"price": "159.99",
"brand": "AXA",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 17
}
,
{
"id": "36736",
"name": "AXA Blueline 50 E-bike Front Bike Light",
"price": "158.99",
"brand": "AXA",
"category": "Bike lights",
"variant": "black_greylight",
"list": "More Options",
"position": 18
}
,
{
"id": "25645",
"name": "Electra Swingo XE E-bike Front Bike Light",
"price": "77.99",
"brand": "Electra",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 19
}
]
}
});
} else {
console.log("dataLayer");
}