if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "44483",
"name": "Bontrager Girona RSL GR TLR Gravel Tyre",
"price": "139.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44484",
"name": "Bontrager Betasso RSL GX TLR Gravel Tyre",
"price": "139.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "45432",
"name": "Bontrager Girona Pro TLR Gravel Tyre",
"price": "89.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "23611",
"name": "Bontrager GR2 Team Issue Gravel Tyre",
"price": "99.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "24706",
"name": "Bontrager GR1 Team Issue Gravel Tyre",
"price": "99.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "46160",
"name": "Pirelli P ZERO Race TLR Road Tyre",
"price": "149.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "38204",
"name": "Pirelli Cinturato Gravel H Tyre",
"price": "125.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "38208",
"name": "Pirelli Cinturato Gravel M Tyre",
"price": "125.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "37430",
"name": "Bontrager GR0 Comp Gravel Tire",
"price": "49.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "26804",
"name": "Bontrager GR1 Comp Gravel Tyre",
"price": "49.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}