if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "47080",
"name": "Trek Integrated City Handlebar",
"price": "69.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34025",
"name": "Trek Riser 25.4 20 Degree Cruiser Handlebar",
"price": "45.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "31740",
"name": "Bontrager Urban 31.8 Carbon Cruiser Handlebar",
"price": "309.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "22200",
"name": "Bontrager Satellite 31.8 Matte Alloy Cruiser Handlebar",
"price": "45.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35280",
"name": "Bontrager Satellite 31.8 Polished Alloy Cruiser Handlebar",
"price": "39.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "greylight",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35281",
"name": "Bontrager Capital 31.8 Polished Alloy Cruiser Handlebar",
"price": "39.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "34024",
"name": "Bontrager Satellite 25.4 35 Degree Cruiser Handlebar",
"price": "34.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "greylight",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "12765",
"name": "Electra Amsterdam Handlebar",
"price": "88.99",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "greylight",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "32443",
"name": "Electra Attitude Cruiser Handlebar",
"price": "76.99",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "31774",
"name": "Electra Townie Original Handlebar",
"price": "76.99",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "36170",
"name": "Electra Vale Sandblasted Handlebar",
"price": "69.99",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "greylight",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "32444",
"name": "Electra Café Cruiser Handlebar",
"price": "61.99",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "36737",
"name": "Electra Townie Sandblasted Handlebar",
"price": "55.99",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "greylight",
"list": "CATEGORY",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}