Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "13980",
"name": "Bontrager H2 Hard-Case Ultimate Reflective Hybrid Tyre",
"price": "79.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "More Options",
"position": 1
}
,
{
"id": "31553",
"name": "Bontrager H2 Hard-Case Ultimate Reflective Hybrid Tyre",
"price": "79.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "More Options",
"position": 2
}
,
{
"id": "31552",
"name": "Bontrager H2 Hard-Case Lite Reflective Hybrid Tyre",
"price": "69.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "More Options",
"position": 3
}
,
{
"id": "28498",
"name": "Bontrager E6 Hard-Case Lite E-bike Tyre",
"price": "69.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "More Options",
"position": 4
}
,
{
"id": "11522",
"name": "Bontrager H2 Hybrid Tyre",
"price": "59.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "31551",
"name": "Bontrager H2 Comp Hybrid Tyre",
"price": "59.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "08058",
"name": "Bontrager LT3 Hybrid Tyre",
"price": "49.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}