if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "32600",
"name": "Electra Townie Original 7D Ladies' 26˝ Fork",
"price": "159.99",
"brand": "Electra",
"category": "Bike forks",
"variant": "blue_white",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "26450",
"name": "Electra Loft 7D Men's 700c Fork",
"price": "145.99",
"brand": "Electra",
"category": "Bike forks",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "26685",
"name": "Electra Loft-7i Chainguard",
"price": "62.99",
"brand": "Electra",
"category": "Bike chainguards & chain cases",
"variant": "blue",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "22715",
"name": "Electra Cruiser 7D Ladies' 26˝ Fork",
"price": "178.99",
"brand": "Electra",
"category": "Bike forks",
"variant": "green",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "22711",
"name": "Electra Cruiser 1 Men's 26˝ Fork",
"price": "178.99",
"brand": "Electra",
"category": "Bike forks",
"variant": "black_greydark",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "33877",
"name": "Bontrager Approved TK-32 11-Speed Freehub Body",
"price": "49.99",
"brand": "Bontrager",
"category": "Bike hubs & hub parts",
"variant": "",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "10382",
"name": "VP Components A76CG 1-1/8˝ Headset",
"price": "29.99",
"brand": "VP Components",
"category": "Bike headsets",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}